| /AOO41X/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 …]
|
| /AOO41X/main/sal/qa/rtl/ostring/ |
| H A D | rtl_str.cxx | 744 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_001() local 745 if (pStr2) in trim_WithLength_001() 747 strcpy(pStr2, pStr); in trim_WithLength_001() 748 rtl_str_trim_WithLength( pStr2, 2 ); in trim_WithLength_001() 750 CPPUNIT_ASSERT_MESSAGE("string should be empty", strlen(pStr2) == 0); in trim_WithLength_001() 751 free(pStr2); in trim_WithLength_001() 758 sal_Char *pStr2 = (sal_Char*)malloc(strlen(pStr) + 1); in trim_WithLength_002() local 759 if (pStr2) in trim_WithLength_002() 761 strcpy(pStr2, pStr); in trim_WithLength_002() 762 rtl_str_trim_WithLength( pStr2, 5 ); in trim_WithLength_002() [all …]
|
| /AOO41X/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 …]
|
| /AOO41X/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()
|
| /AOO41X/main/setup_native/source/win32/customactions/reg64/ |
| H A D | reg64.cxx | 147 BOOL UnicodeEquals( wchar_t* pStr1, wchar_t* pStr2 ) in UnicodeEquals() argument 149 if ( pStr1 == NULL && pStr2 == NULL ) in UnicodeEquals() 151 else if ( pStr1 == NULL || pStr2 == NULL ) in UnicodeEquals() 154 while( *pStr1 == *pStr2 && *pStr1 && *pStr2 ) in UnicodeEquals() 155 pStr1++, pStr2++; in UnicodeEquals() 157 return ( *pStr1 == 0 && *pStr2 == 0 ); in UnicodeEquals()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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 ==()
|
| /AOO41X/main/sal/inc/rtl/ |
| H A D | string.hxx | 408 friend sal_Bool operator == ( const OString& rStr1, const sal_Char * pStr2 ) SAL_THROW(()) in operator ==() argument 409 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==() 415 friend sal_Bool operator != ( const OString& rStr1, const sal_Char * pStr2 ) SAL_THROW(()) in operator !=() argument 416 { 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 !=()
|
| /AOO41X/main/ucb/source/ucp/webdav/ |
| H A D | SerfUri.cxx | 48 sal_Char const * pStr2, in matchIgnoreAsciiCase() argument 53 rStr1.getStr(), rStr1.getLength(), pStr2, nStr2Len, nStr2Len) in matchIgnoreAsciiCase()
|
| /AOO41X/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()
|
| /AOO41X/main/vcl/inc/win/ |
| H A D | saldata.hxx | 250 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 );
|
| /AOO41X/main/linguistic/source/ |
| H A D | lngsvcmgr.cxx | 1528 const OUString *pStr2 = rList2.getConstArray(); in IsEqSvcList() local 1532 if (*pStr1++ != *pStr2++) in IsEqSvcList()
|
| /AOO41X/main/sal/qa/OStringBuffer/ |
| H A D | rtl_OStringBuffer.cxx | 112 const sal_Char* pStr2 = aStrBuf2.getStr(); in ctor_003() local 132 *pStr2 == '\0' && in ctor_003()
|