Home
last modified time | relevance | path

Searched refs:pStr1 (Results 1 – 16 of 16) sorted by relevance

/AOO41X/main/sal/rtl/source/
H A Dustring.c155 sal_Int32 SAL_CALL rtl_ustr_ascii_compare( const sal_Unicode* pStr1, in rtl_ustr_ascii_compare() argument
159 while ( ((nRet = ((sal_Int32)(*pStr1))- in rtl_ustr_ascii_compare()
163 pStr1++; in rtl_ustr_ascii_compare()
172 sal_Int32 SAL_CALL rtl_ustr_ascii_compare_WithLength( const sal_Unicode* pStr1, in rtl_ustr_ascii_compare_WithLength() argument
177 while( ((nRet = (nStr1Len ? (sal_Int32)(*pStr1) : 0)- in rtl_ustr_ascii_compare_WithLength()
181 pStr1++; in rtl_ustr_ascii_compare_WithLength()
191 sal_Int32 SAL_CALL rtl_ustr_ascii_shortenedCompare_WithLength( const sal_Unicode* pStr1, in rtl_ustr_ascii_shortenedCompare_WithLength() argument
196 const sal_Unicode* pStr1End = pStr1 + nStr1Len; in rtl_ustr_ascii_shortenedCompare_WithLength()
199 (pStr1 < pStr1End) && *pStr2 ) in rtl_ustr_ascii_shortenedCompare_WithLength()
204 nRet = ((sal_Int32)*pStr1)- in rtl_ustr_ascii_shortenedCompare_WithLength()
[all …]
H A Dstrtmpl.c72 sal_Int32 SAL_CALL IMPL_RTL_STRNAME( compare )( const IMPL_RTL_STRCODE* pStr1, in IMPL_RTL_STRNAME()
76 while ( ((nRet = ((sal_Int32)(IMPL_RTL_USTRCODE(*pStr1)))- in IMPL_RTL_STRNAME()
80 pStr1++; in IMPL_RTL_STRNAME()
89 sal_Int32 SAL_CALL IMPL_RTL_STRNAME( compare_WithLength )( const IMPL_RTL_STRCODE* pStr1, in IMPL_RTL_STRNAME()
97 --pStr1; in IMPL_RTL_STRNAME()
99 while( (--nCount >= 0) && (*++pStr1 == *++pStr2) ); in IMPL_RTL_STRNAME()
102 nRet = ((sal_Int32)(IMPL_RTL_USTRCODE( *pStr1 ))) in IMPL_RTL_STRNAME()
110 sal_Int32 SAL_CALL IMPL_RTL_STRNAME( shortenedCompare_WithLength )( const IMPL_RTL_STRCODE* pStr1, in IMPL_RTL_STRNAME()
116 const IMPL_RTL_STRCODE* pStr1End = pStr1 + nStr1Len; in IMPL_RTL_STRNAME()
120 (pStr1 < pStr1End) && (pStr2 < pStr2End) ) in IMPL_RTL_STRNAME()
[all …]
/AOO41X/main/tools/source/string/
H A Dstrascii.cxx64 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()
70 ++pStr1, 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()
87 ++pStr1, 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()
104 ++pStr1, in ImplStringCompareWithoutZeroAscii()
114 static sal_Int32 ImplStringICompareAscii( const sal_Unicode* pStr1, const sal_Char* pStr2 ) in ImplStringICompareAscii() argument
[all …]
H A Dstrimp.cxx28 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()
34 ++pStr1, 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()
51 ++pStr1, 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()
68 ++pStr1, in ImplStringCompareWithoutZero()
78 static sal_Int32 ImplStringICompare( const STRCODE* pStr1, const STRCODE* pStr2 ) in ImplStringICompare() argument
[all …]
/AOO41X/main/setup_native/source/win32/customactions/regpatchactivex/
H A Dregpatchactivex.cxx40 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 Dreg64.cxx147 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 Dregactivex.cxx50 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 Dslstitm.cxx82 String* pStr1 = (String*)aList.GetObject( nCur ); in Sort() local
85 StringCompare eCompare = pStr1->CompareIgnoreCaseToAscii( *pStr2 ); //@@@ in Sort()
98 aList.Replace( pStr1, nCur + 1 ); in Sort()
133 String *pStr1, *pStr2; in SfxStringListItem() local
136 pStr1 = (String*)pList->GetObject(i); in SfxStringListItem()
137 pStr2 = new String( *pStr1 ); in SfxStringListItem()
/AOO41X/main/svx/source/items/
H A Dclipfmtitem.cxx120 const String* pStr1, *pStr2; in operator ==() local
124 ( (0 == ( pStr1 = pImpl->aFmtNms[ n ] )) ^ in operator ==()
126 ( pStr1 && *pStr1 != *pStr2 )) in operator ==()
/AOO41X/main/vcl/win/source/app/
H A Dsaldata.cxx89 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 ) in ImplSalWICompareAscii() argument
97 c1 = *pStr1; in ImplSalWICompareAscii()
107 pStr1++; in ImplSalWICompareAscii()
/AOO41X/main/sal/inc/rtl/
H A Dstring.hxx410 friend sal_Bool operator == ( const sal_Char * pStr1, const OString& rStr2 ) SAL_THROW(()) in operator ==() argument
411 { return OString( pStr1 ).compareTo( rStr2 ) == 0; } in operator ==()
417 friend sal_Bool operator != ( const sal_Char * pStr1, const OString& rStr2 ) SAL_THROW(()) in operator !=() argument
418 { return !(operator == ( pStr1, rStr2 )); } in operator !=()
H A Dustring.hxx720 …friend sal_Bool operator == ( const sal_Unicode * pStr1, const OUString& rStr2 ) SAL_THROW(… in operator ==() argument
721 { return OUString( pStr1 ).compareTo( rStr2 ) == 0; } in operator ==()
727 …friend sal_Bool operator != ( const sal_Unicode * pStr1, const OUString& rStr2 ) SAL_THROW(… in operator !=() argument
728 { return !(operator == ( pStr1, rStr2 )); } in operator !=()
/AOO41X/main/sc/source/core/data/
H A Dpatattr.cxx134 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 Dsaldata.hxx250 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 );
/AOO41X/main/linguistic/source/
H A Dlngsvcmgr.cxx1527 const OUString *pStr1 = rList1.getConstArray(); in IsEqSvcList() local
1532 if (*pStr1++ != *pStr2++) in IsEqSvcList()
/AOO41X/main/sal/qa/OStringBuffer/
H A Drtl_OStringBuffer.cxx111 const sal_Char* pStr1 = aStrBuf1.getStr(); in ctor_003() local
129 *pStr1 == '\0' && in ctor_003()