| /trunk/main/sal/rtl/source/ |
| H A D | ustring.c | 156 const sal_Char* pStr2 ) in rtl_ustr_ascii_compare() argument 160 ((sal_Int32)((unsigned char)(*pStr2)))) == 0) && in rtl_ustr_ascii_compare() 161 *pStr2 ) in rtl_ustr_ascii_compare() 164 pStr2++; in rtl_ustr_ascii_compare() 174 const sal_Char* pStr2 ) in rtl_ustr_ascii_compare_WithLength() argument 178 ((sal_Int32)((unsigned char)(*pStr2)))) == 0) && in rtl_ustr_ascii_compare_WithLength() 179 nStr1Len && *pStr2 ) in rtl_ustr_ascii_compare_WithLength() 182 pStr2++; in rtl_ustr_ascii_compare_WithLength() 193 const sal_Char* pStr2, in rtl_ustr_ascii_shortenedCompare_WithLength() argument 199 (pStr1 < pStr1End) && *pStr2 ) in rtl_ustr_ascii_shortenedCompare_WithLength() [all …]
|
| H A D | strtmpl.c | 73 const IMPL_RTL_STRCODE* pStr2 ) in IMPL_RTL_STRNAME() 77 ((sal_Int32)(IMPL_RTL_USTRCODE(*pStr2)))) == 0) && in IMPL_RTL_STRNAME() 78 *pStr2 ) in IMPL_RTL_STRNAME() 81 pStr2++; in IMPL_RTL_STRNAME() 91 const IMPL_RTL_STRCODE* pStr2, in IMPL_RTL_STRNAME() 98 --pStr2; in IMPL_RTL_STRNAME() 99 while( (--nCount >= 0) && (*++pStr1 == *++pStr2) ); in IMPL_RTL_STRNAME() 103 - ((sal_Int32)(IMPL_RTL_USTRCODE( *pStr2 ))); in IMPL_RTL_STRNAME() 112 const IMPL_RTL_STRCODE* pStr2, in IMPL_RTL_STRNAME() 117 const IMPL_RTL_STRCODE* pStr2End = pStr2 + nStr2Len; in IMPL_RTL_STRNAME() [all …]
|
| /trunk/main/sal/qa/rtl/ostring/ |
| H A D | rtl_str.cxx | 593 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local 594 if (pStr2) in TEST_F() 596 strcpy(pStr2, pStr); in TEST_F() 597 rtl_str_trim_WithLength( pStr2, 2 ); in TEST_F() 599 ASSERT_TRUE(strlen(pStr2) == 0) << "string should be empty"; in TEST_F() 600 free(pStr2); in TEST_F() 607 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in TEST_F() local 608 if (pStr2) in TEST_F() 610 strcpy(pStr2, pStr); in TEST_F() 611 rtl_str_trim_WithLength( pStr2, 5 ); in TEST_F() [all …]
|
| /trunk/main/tools/source/string/ |
| H A D | strascii.cxx | 64 static sal_Int32 ImplStringCompareAscii( const sal_Unicode* pStr1, const sal_Char* pStr2 ) in ImplStringCompareAscii() argument 67 while ( ((nRet = ((sal_Int32)*pStr1)-((sal_Int32)((unsigned char)*pStr2))) == 0) && in ImplStringCompareAscii() 68 *pStr2 ) in ImplStringCompareAscii() 71 ++pStr2; in ImplStringCompareAscii() 79 static sal_Int32 ImplStringCompareAscii( const sal_Unicode* pStr1, const sal_Char* pStr2, in ImplStringCompareAscii() argument 84 ((nRet = ((sal_Int32)*pStr1)-((sal_Int32)((unsigned char)*pStr2))) == 0) && in ImplStringCompareAscii() 85 *pStr2 ) in ImplStringCompareAscii() 88 ++pStr2, in ImplStringCompareAscii() 97 static sal_Int32 ImplStringCompareWithoutZeroAscii( const sal_Unicode* pStr1, const sal_Char* pStr2, in ImplStringCompareWithoutZeroAscii() argument 102 ((nRet = ((sal_Int32)*pStr1)-((sal_Int32)((unsigned char)*pStr2))) == 0) ) in ImplStringCompareWithoutZeroAscii() [all …]
|
| H A D | strimp.cxx | 28 static sal_Int32 ImplStringCompare( const STRCODE* pStr1, const STRCODE* pStr2 ) in ImplStringCompare() argument 31 while ( ((nRet = ((sal_Int32)((STRCODEU)*pStr1))-((sal_Int32)((STRCODEU)*pStr2))) == 0) && in ImplStringCompare() 32 *pStr2 ) in ImplStringCompare() 35 ++pStr2; in ImplStringCompare() 43 static sal_Int32 ImplStringCompare( const STRCODE* pStr1, const STRCODE* pStr2, in ImplStringCompare() argument 48 ((nRet = ((sal_Int32)((STRCODEU)*pStr1))-((sal_Int32)((STRCODEU)*pStr2))) == 0) && in ImplStringCompare() 49 *pStr2 ) in ImplStringCompare() 52 ++pStr2, in ImplStringCompare() 61 static sal_Int32 ImplStringCompareWithoutZero( const STRCODE* pStr1, const STRCODE* pStr2, in ImplStringCompareWithoutZero() argument 66 ((nRet = ((sal_Int32)((STRCODEU)*pStr1))-((sal_Int32)((STRCODEU)*pStr2))) == 0) ) in ImplStringCompareWithoutZero() [all …]
|
| /trunk/main/setup_native/source/win32/customactions/regpatchactivex/ |
| H A D | regpatchactivex.cxx | 40 BOOL UnicodeEquals( wchar_t* pStr1, wchar_t* pStr2 ) in UnicodeEquals() argument 42 if ( pStr1 == NULL && pStr2 == NULL ) in UnicodeEquals() 44 else if ( pStr1 == NULL || pStr2 == NULL ) in UnicodeEquals() 47 while( *pStr1 == *pStr2 && *pStr1 && *pStr2 ) in UnicodeEquals() 48 pStr1++, pStr2++; in UnicodeEquals() 50 return ( *pStr1 == 0 && *pStr2 == 0 ); in UnicodeEquals()
|
| /trunk/main/setup_native/source/win32/customactions/reg64/ |
| H A D | reg64.cxx | 140 BOOL UnicodeEquals( wchar_t* pStr1, wchar_t* pStr2 ) in UnicodeEquals() argument 142 if ( pStr1 == NULL && pStr2 == NULL ) in UnicodeEquals() 144 else if ( pStr1 == NULL || pStr2 == NULL ) in UnicodeEquals() 147 while( *pStr1 == *pStr2 && *pStr1 && *pStr2 ) in UnicodeEquals() 148 pStr1++, pStr2++; in UnicodeEquals() 150 return ( *pStr1 == 0 && *pStr2 == 0 ); in UnicodeEquals()
|
| /trunk/main/setup_native/source/win32/customactions/regactivex/ |
| H A D | regactivex.cxx | 50 BOOL UnicodeEquals( wchar_t* pStr1, wchar_t* pStr2 ) in UnicodeEquals() argument 52 if ( pStr1 == NULL && pStr2 == NULL ) in UnicodeEquals() 54 else if ( pStr1 == NULL || pStr2 == NULL ) in UnicodeEquals() 57 while( *pStr1 == *pStr2 && *pStr1 && *pStr2 ) in UnicodeEquals() 58 pStr1++, pStr2++; in UnicodeEquals() 60 return ( *pStr1 == 0 && *pStr2 == 0 ); in UnicodeEquals()
|
| /trunk/main/svl/source/items/ |
| H A D | slstitm.cxx | 83 String* pStr2 = (String*)aList.GetObject( nCur+1 ); in Sort() local 85 StringCompare eCompare = pStr1->CompareIgnoreCaseToAscii( *pStr2 ); //@@@ in Sort() 99 aList.Replace( pStr2, nCur ); in Sort() 133 String *pStr1, *pStr2; in SfxStringListItem() local 137 pStr2 = new String( *pStr1 ); in SfxStringListItem() 138 pImp->aList.Insert( pStr2, LIST_APPEND ); in SfxStringListItem()
|
| /trunk/main/vcl/win/source/app/ |
| H A D | saldata.cxx | 89 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 ) in ImplSalWICompareAscii() argument 98 c2 = *pStr2; in ImplSalWICompareAscii() 108 pStr2++; in ImplSalWICompareAscii()
|
| /trunk/main/svx/source/items/ |
| H A D | clipfmtitem.cxx | 120 const String* pStr1, *pStr2; in operator ==() local 125 (0 == ( pStr2 = rCmp.pImpl->aFmtNms[ n ] ) )) || in operator ==() 126 ( pStr1 && *pStr1 != *pStr2 )) in operator ==()
|
| /trunk/main/sal/inc/rtl/ |
| H A D | string.hxx | 411 friend sal_Bool operator == ( const OString& rStr1, const sal_Char * pStr2 ) SAL_THROW(()) in operator ==() argument 412 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==() 418 friend sal_Bool operator != ( const OString& rStr1, const sal_Char * pStr2 ) SAL_THROW(()) in operator !=() argument 419 { return !(operator == ( rStr1, pStr2 )); } in operator !=()
|
| H A D | ustring.hxx | 718 …friend sal_Bool operator == ( const OUString& rStr1, const sal_Unicode * pStr2 ) SAL_THROW(… in operator ==() argument 719 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==() 725 …friend sal_Bool operator != ( const OUString& rStr1, const sal_Unicode * pStr2 ) SAL_THROW(… in operator !=() argument 726 { return !(operator == ( rStr1, pStr2 )); } in operator !=()
|
| /trunk/main/ucb/source/ucp/webdav/ |
| H A D | CurlUri.cxx | 49 sal_Char const * pStr2, in matchIgnoreAsciiCase() argument 54 rStr1.getStr(), rStr1.getLength(), pStr2, nStr2Len, nStr2Len) in matchIgnoreAsciiCase()
|
| /trunk/main/sc/source/core/data/ |
| H A D | patattr.cxx | 134 inline int StrCmp( const String* pStr1, const String* pStr2 ) in StrCmp() argument 136 …return ( pStr1 ? ( pStr2 ? ( *pStr1 == *pStr2 ) : sal_False ) : ( pStr2 ? sal_False : sal_True ) ); in StrCmp()
|
| /trunk/main/vcl/inc/win/ |
| H A D | saldata.hxx | 250 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 );
|
| /trunk/main/linguistic/source/ |
| H A D | lngsvcmgr.cxx | 1528 const OUString *pStr2 = rList2.getConstArray(); in IsEqSvcList() local 1532 if (*pStr1++ != *pStr2++) in IsEqSvcList()
|
| /trunk/main/sal/qa/OStringBuffer/ |
| H A D | rtl_OStringBuffer.cxx | 102 const sal_Char* pStr2 = aStrBuf2.getStr(); in TEST_F() local 114 *pStr2 == '\0' && in TEST_F()
|