Searched defs:srcChars (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/icu/source/common/
H A Dunistr_case.cpp40 const UChar *srcChars,
46 // treat const UChar *srcChars==NULL as an empty string
54 if(srcChars == NULL) {
62 srcChars += srcStart;
64 if(chars != srcChars) {
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
74 srcLength = u_strlen(srcChars + srcStart);
38 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
H A Dunistr.cpp572 const UChar *srcChars,
577 // treat const UChar *srcChars==NULL as an empty string
585 if(srcChars == NULL) {
593 srcChars += srcStart;
600 srcLength = u_strlen(srcChars + srcStart);
625 if(minLength > 0 && chars != srcChars) {
630 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar));
637 result = ((int32_t)*(chars++) - (int32_t)*(srcChars++));
651 const UChar *srcChars,
656 // treat const UChar *srcChars
570 doCompare( int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
649 doCompareCodePointOrder(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
893 indexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
957 lastIndexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
1223 doReplace(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
[all...]
/external/icu4c/common/
H A Dunistr_case.cpp38 const UChar *srcChars,
44 // treat const UChar *srcChars==NULL as an empty string
52 if(srcChars == NULL) {
61 srcChars += srcStart;
64 if(chars != srcChars) {
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
74 srcLength = u_strlen(srcChars + srcStart);
36 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
H A Dunistr.cpp581 const UChar *srcChars,
593 if(srcChars == NULL) {
594 // treat const UChar *srcChars==NULL as an empty string
602 srcChars += srcStart;
609 srcLength = u_strlen(srcChars + srcStart);
634 if(minLength > 0 && chars != srcChars) {
639 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar));
646 result = ((int32_t)*(chars++) - (int32_t)*(srcChars++));
660 const UChar *srcChars,
665 // treat const UChar *srcChars
579 doCompare( int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
658 doCompareCodePointOrder(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
939 indexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
1003 lastIndexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
1294 doReplace(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
[all...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dunistr.h323 * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
324 * @param srcChars The characters to compare to this UnicodeString.
325 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
327 * contains the same characters as <code>srcChars</code>, -1 if the characters in
328 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
330 * in <code>srcChars</code>.
333 inline int8_t compare(const UChar *srcChars,
339 * <TT>length</TT> characters in <TT>srcChars</TT>
342 * @param srcChars the characters to be compared
344 * contains the same characters as <code>srcChars</cod
3588 compare(const UChar *srcChars, int32_t srcLength) const argument
3607 compare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3649 compareCodePointOrder(const UChar *srcChars, int32_t srcLength) const argument
3668 compareCodePointOrder(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3714 caseCompare(const UChar *srcChars, int32_t srcLength, uint32_t options) const argument
3731 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, uint32_t options) const argument
3739 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
3792 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
3800 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3841 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3848 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
3935 startsWith(const UChar *srcChars, int32_t srcLength) const argument
3940 startsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3960 endsWith(const UChar *srcChars, int32_t srcLength) const argument
3970 endsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3998 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcLength) argument
4005 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4278 setTo(const UChar *srcChars, int32_t srcLength) argument
4310 append(const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4316 append(const UChar *srcChars, int32_t srcLength) argument
4360 insert(int32_t start, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4367 insert(int32_t start, const UChar *srcChars, int32_t srcLength) argument
[all...]
/external/icu4c/common/unicode/
H A Dunistr.h384 * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
385 * @param srcChars The characters to compare to this UnicodeString.
386 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
388 * contains the same characters as <code>srcChars</code>, -1 if the characters in
389 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
391 * in <code>srcChars</code>.
394 inline int8_t compare(const UChar *srcChars,
400 * <TT>length</TT> characters in <TT>srcChars</TT>
403 * @param srcChars the characters to be compared
405 * contains the same characters as <code>srcChars</cod
3720 compare(const UChar *srcChars, int32_t srcLength) const argument
3739 compare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3781 compareCodePointOrder(const UChar *srcChars, int32_t srcLength) const argument
3800 compareCodePointOrder(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3846 caseCompare(const UChar *srcChars, int32_t srcLength, uint32_t options) const argument
3863 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, uint32_t options) const argument
3871 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
3924 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
3932 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3973 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3980 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
4067 startsWith(const UChar *srcChars, int32_t srcLength) const argument
4075 startsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
4097 endsWith(const UChar *srcChars, int32_t srcLength) const argument
4107 endsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
4135 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcLength) argument
4142 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4359 setTo(const UChar *srcChars, int32_t srcLength) argument
4391 append(const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4397 append(const UChar *srcChars, int32_t srcLength) argument
4431 insert(int32_t start, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4438 insert(int32_t start, const UChar *srcChars, int32_t srcLength) argument
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiditst.c85 const char *srcChars, const char *destChars,
88 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
496 static UBool checkWhatYouCan(UBiDi *bidi, const char *srcChars, const char *dstChars) argument
497 /* srcChars and dstChars are char arrays encoded as pseudo Bidi */
531 accumDst[idx] = srcChars[i];
532 if (!matchingPair(bidi, i, srcChars[i], dstChars[idx])) {
543 printCaseInfo(bidi, srcChars, dstChars);
560 printCaseInfo(bidi, srcChars, dstChars);
580 if (!matchingPair(bidi, idx, srcChars[idx], dstChars[i])) {
591 printCaseInfo(bidi, srcChars, dstChar
3215 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars, const char *destChars, const UChar *dest, int32_t destLen, int mode, int option, UBiDiLevel level) argument
3392 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
3562 const char *srcChars = textIn[tc]; local
3648 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
[all...]
/external/icu4c/test/cintltst/
H A Dcbiditst.c95 const char *srcChars, const char *destChars,
98 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
512 static UBool checkWhatYouCan(UBiDi *bidi, const char *srcChars, const char *dstChars) argument
513 /* srcChars and dstChars are char arrays encoded as pseudo Bidi */
547 accumDst[idx] = srcChars[i];
548 if (!matchingPair(bidi, i, srcChars[i], dstChars[idx])) {
559 printCaseInfo(bidi, srcChars, dstChars);
576 printCaseInfo(bidi, srcChars, dstChars);
596 if (!matchingPair(bidi, idx, srcChars[idx], dstChars[i])) {
607 printCaseInfo(bidi, srcChars, dstChar
3695 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars, const char *destChars, const UChar *dest, int32_t destLen, int mode, int option, UBiDiLevel level) argument
3872 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
4042 const char *srcChars = textIn[tc]; local
4128 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
[all...]

Completed in 133 milliseconds