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/icu/icu4c/source/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.cpp577 const UChar *srcChars,
589 if(srcChars == NULL) {
590 // treat const UChar *srcChars==NULL as an empty string
598 srcChars += srcStart;
605 srcLength = u_strlen(srcChars + srcStart);
630 if(minLength > 0 && chars != srcChars) {
635 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar));
642 result = ((int32_t)*(chars++) - (int32_t)*(srcChars++));
656 const UChar *srcChars,
661 // treat const UChar *srcChars
575 doCompare( int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
654 doCompareCodePointOrder(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
935 indexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
999 lastIndexOf(const UChar *srcChars, int32_t srcStart, int32_t srcLength, int32_t start, int32_t length) const argument
1328 doReplace(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dunistr.h382 * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
383 * @param srcChars The characters to compare to this UnicodeString.
384 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
386 * contains the same characters as <code>srcChars</code>, -1 if the characters in
387 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
389 * in <code>srcChars</code>.
392 inline int8_t compare(const UChar *srcChars,
398 * <TT>length</TT> characters in <TT>srcChars</TT>
401 * @param srcChars the characters to be compared
403 * contains the same characters as <code>srcChars</cod
3718 compare(const UChar *srcChars, int32_t srcLength) const argument
3737 compare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3779 compareCodePointOrder(const UChar *srcChars, int32_t srcLength) const argument
3798 compareCodePointOrder(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
3844 caseCompare(const UChar *srcChars, int32_t srcLength, uint32_t options) const argument
3861 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, uint32_t options) const argument
3869 caseCompare(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
3922 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
3930 indexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3971 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start, int32_t _length) const argument
3978 lastIndexOf(const UChar *srcChars, int32_t srcLength, int32_t start) const argument
4065 startsWith(const UChar *srcChars, int32_t srcLength) const argument
4073 startsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
4095 endsWith(const UChar *srcChars, int32_t srcLength) const argument
4105 endsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const argument
4133 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcLength) argument
4140 replace(int32_t start, int32_t _length, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4315 setTo(const UChar *srcChars, int32_t srcLength) argument
4347 append(const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4353 append(const UChar *srcChars, int32_t srcLength) argument
4387 insert(int32_t start, const UChar *srcChars, int32_t srcStart, int32_t srcLength) argument
4394 insert(int32_t start, const UChar *srcChars, 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/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/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c99 const char *srcChars, const char *destChars,
102 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
517 static UBool checkWhatYouCan(UBiDi *bidi, const char *srcChars, const char *dstChars) argument
518 /* srcChars and dstChars are char arrays encoded as pseudo Bidi */
552 accumDst[idx] = srcChars[i];
553 if (!matchingPair(bidi, i, srcChars[i], dstChars[idx])) {
564 printCaseInfo(bidi, srcChars, dstChars);
581 printCaseInfo(bidi, srcChars, dstChars);
601 if (!matchingPair(bidi, idx, srcChars[idx], dstChars[i])) {
612 printCaseInfo(bidi, srcChars, dstChar
3938 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
4115 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
4285 const char *srcChars = textIn[tc]; local
4371 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
[all...]

Completed in 267 milliseconds