Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
bd4053f8
Kaydet (Commit)
bd4053f8
authored
Ock 28, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bool improvements
Change-Id: I7ae2b02e435d21390843c6c56877a8ce3a73f9f2
üst
cc2606a7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
16 deletions
+16
-16
debugbase.cxx
sal/osl/all/debugbase.cxx
+1
-1
osl_File.cxx
sal/qa/osl/file/osl_File.cxx
+2
-2
osl_Module.cxx
sal/qa/osl/module/osl_Module.cxx
+4
-4
osl_Mutex.cxx
sal/qa/osl/mutex/osl_Mutex.cxx
+1
-1
osl_Thread.cxx
sal/qa/osl/process/osl_Thread.cxx
+1
-1
osl_Security.cxx
sal/qa/osl/security/osl_Security.cxx
+1
-1
alloc_global.cxx
sal/rtl/alloc_global.cxx
+3
-3
hash.cxx
sal/rtl/hash.cxx
+2
-2
uri.cxx
sal/rtl/uri.cxx
+1
-1
No files found.
sal/osl/all/debugbase.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -32,7 +32,7 @@
{ \
if (!(c) && _OSL_GLOBAL osl_assertFailedLine(f, l, m)) \
_OSL_GLOBAL osl_breakDebug(); \
} while (
0
)
} while (
false
)
#define DEBUGBASE_ENSURE(c, m) DEBUGBASE_ENSURE_(c, OSL_THIS_FILE, __LINE__, m)
namespace
{
...
...
sal/qa/osl/file/osl_File.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -2586,7 +2586,7 @@ namespace osl_FileStatus
::
osl
::
FileBase
::
RC
nError1
=
testDirectory
.
open
();
::
rtl
::
OUString
aFileName
(
"link.file"
);
sal_Bool
bOk
=
sal_False
;
while
(
1
)
{
while
(
true
)
{
nError1
=
testDirectory
.
getNextItem
(
rItem_link
,
4
);
if
(
::
osl
::
FileBase
::
E_None
==
nError1
)
{
sal_uInt32
mask_link
=
osl_FileStatus_Mask_FileName
|
osl_FileStatus_Mask_LinkTargetURL
;
...
...
@@ -5638,7 +5638,7 @@ namespace osl_Directory
CPPUNIT_ASSERT
(
::
osl
::
FileBase
::
E_None
==
nError1
);
::
rtl
::
OUString
aFileName
(
"link.file"
);
while
(
1
)
{
while
(
true
)
{
nError1
=
testDirectory
.
getNextItem
(
rItem
,
4
);
if
(
::
osl
::
FileBase
::
E_None
==
nError1
)
{
::
osl
::
FileStatus
rFileStatus
(
osl_FileStatus_Mask_FileName
|
osl_FileStatus_Mask_Type
);
...
...
sal/qa/osl/module/osl_Module.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -189,7 +189,7 @@ namespace osl_Module
if
(
!
(
bRes
)
)
{
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
sal_False
);
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
false
);
}
::
osl
::
Module
aMod
(
aFileURL
);
...
...
@@ -221,7 +221,7 @@ namespace osl_Module
bRes
=
osl
::
Module
::
getUrlFromAddress
(
(
void
*
)
&::
osl_Module
::
testClass
::
myFunc
,
aFileURL
)
;
if
(
!
(
bRes
)
)
{
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
sal_False
);
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
false
);
}
CPPUNIT_ASSERT_MESSAGE
(
"#test comment#: test get Module URL from address."
,
...
...
@@ -239,7 +239,7 @@ namespace osl_Module
bRes
=
osl
::
Module
::
getUrlFromAddress
(
(
void
*
)
pFunc
,
aFileURL
);
if
(
!
(
bRes
)
)
{
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
sal_False
);
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module."
,
false
);
}
aMod
.
unload
(
);
...
...
@@ -325,7 +325,7 @@ namespace osl_Module
bRes
=
osl
::
Module
::
getUrlFromAddress
(
(
void
*
)
&::
osl_Module
::
testClass
::
myFunc
,
aFileURL
);
if
(
!
(
bRes
)
)
{
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module - using executable instead"
,
sal_False
);
CPPUNIT_ASSERT_MESSAGE
(
"Cannot locate current module - using executable instead"
,
false
);
}
::
osl
::
Module
aMod
;
...
...
sal/qa/osl/mutex/osl_Mutex.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -732,7 +732,7 @@ namespace osl_ClearableGuard
// wait 1 second to assure the child thread has begun
ThreadHelper
::
thread_sleep
(
1
);
while
(
1
)
while
(
true
)
{
if
(
aMutex
.
tryToAcquire
())
{
...
...
sal/qa/osl/process/osl_Thread.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -626,7 +626,7 @@ namespace osl_Thread
void
suspendCountThread
(
OCountThread
*
_pCountThread
)
{
sal_Int32
nValue
=
0
;
while
(
1
)
while
(
true
)
{
nValue
=
_pCountThread
->
getValue
();
if
(
nValue
>=
3
)
...
...
sal/qa/osl/security/osl_Security.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -280,7 +280,7 @@ namespace osl_Security
{
::
osl
::
Security
aSec
;
osl_unloadUserProfile
(
aSec
.
getHandle
());
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
sal_T
rue
);
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
t
rue
);
}
CPPUNIT_TEST_SUITE
(
UserProfile
);
...
...
sal/rtl/alloc_global.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -291,7 +291,7 @@ void* SAL_CALL rtl_allocateMemory (sal_Size n) SAL_THROW_EXTERN_C()
n
>=
SAL_MAX_INT32
,
"sal.rtl"
,
"suspicious massive alloc "
<<
n
);
#if !defined(FORCE_SYSALLOC)
while
(
1
)
while
(
true
)
{
if
(
alloc_mode
==
AMode_CUSTOM
)
{
...
...
@@ -314,7 +314,7 @@ void* SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C()
n
>=
SAL_MAX_INT32
,
"sal.rtl"
,
"suspicious massive alloc "
<<
n
);
#if !defined(FORCE_SYSALLOC)
while
(
1
)
while
(
true
)
{
if
(
alloc_mode
==
AMode_CUSTOM
)
{
...
...
@@ -334,7 +334,7 @@ void* SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C()
void
SAL_CALL
rtl_freeMemory
(
void
*
p
)
SAL_THROW_EXTERN_C
()
{
#if !defined(FORCE_SYSALLOC)
while
(
1
)
while
(
true
)
{
if
(
alloc_mode
==
AMode_CUSTOM
)
{
...
...
sal/rtl/hash.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -139,9 +139,9 @@ static bool
compareEqual
(
rtl_uString
*
pStringA
,
rtl_uString
*
pStringB
)
{
if
(
pStringA
==
pStringB
)
return
1
;
return
true
;
if
(
pStringA
->
length
!=
pStringB
->
length
)
return
0
;
return
false
;
return
!
rtl_ustr_compare_WithLength
(
pStringA
->
buffer
,
pStringA
->
length
,
pStringB
->
buffer
,
pStringB
->
length
);
}
...
...
sal/rtl/uri.cxx
Dosyayı görüntüle @
bd4053f8
...
...
@@ -142,7 +142,7 @@ sal_uInt32 readUcs4(sal_Unicode const ** pBegin, sal_Unicode const * pEnd,
||
nWeight1
>
11
||
(
nWeight2
=
getHexWeight
(
p
[
2
]))
<
0
)
{
bUTF8
=
sal_F
alse
;
bUTF8
=
f
alse
;
break
;
}
p
+=
3
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment