Home
last modified time | relevance | path

Searched refs:srcLimit (Results 1 - 25 of 41) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DReplaceableString.java116 * index <code>srcLimit-1</code> (thus the total number of
117 * characters to be copied is <code>srcLimit-srcStart</code>). The
120 * <code>dstStart + (srcLimit-srcStart) - 1</code>.
124 * @param srcLimit the ending index to copy, exclusive;
131 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
132 if (srcStart != srcLimit) { in getChars()
133 buf.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
H A DReplaceable.java92 * index <code>srcLimit-1</code> (thus the total number of
93 * characters to be copied is <code>srcLimit-srcStart</code>). The
96 * <code>dstStart + (srcLimit-srcStart) - 1</code>.
100 * @param srcLimit the ending index to copy, exclusive;
106 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
H A DNormalizer.java720 * @param srcLimit Limit index of the source
735 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
738 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
800 * @param srcLimit Limit index of the source
815 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
818 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
886 * @param srcLimit Limit index of the source
901 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
904 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DReplaceableString.java109 * index <code>srcLimit-1</code> (thus the total number of
110 * characters to be copied is <code>srcLimit-srcStart</code>). The
113 * <code>dstStart + (srcLimit-srcStart) - 1</code>.
117 * @param srcLimit the ending index to copy, exclusive;
123 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
124 if (srcStart != srcLimit) { in getChars()
125 buf.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
H A DReplaceable.java89 * index <code>srcLimit-1</code> (thus the total number of
90 * characters to be copied is <code>srcLimit-srcStart</code>). The
93 * <code>dstStart + (srcLimit-srcStart) - 1</code>.
97 * @param srcLimit the ending index to copy, exclusive;
102 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
H A DNormalizer.java737 * @param srcLimit Limit index of the source
753 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
756 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
821 * @param srcLimit Limit index of the source
837 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
840 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
911 * @param srcLimit Limit index of the source
927 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
930 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
/third_party/icu/icu4c/source/common/
H A Dustrtrns.cpp47 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
86 srcLimit = src; in u_strFromUTF32WithSub()
89 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
92 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub()
96 while(src < srcLimit) { in u_strFromUTF32WithSub()
161 const UChar *srcLimit; in u_strToUTF32WithSub() local
200 srcLimit = src; in u_strToUTF32WithSub()
203 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
206 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub()
210 while(src < srcLimit) { in u_strToUTF32WithSub()
[all...]
H A Dunistr_cnv.cpp262 const UChar *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
278 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, true, &errorCode); in doExtract()
289 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, true, &errorCode); in doExtract()
H A Ducnv_ext.h355 const char **src, const char *srcLimit,
375 const UChar **src, const UChar *srcLimit,
H A Ducnv_ext.cpp281 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU()
292 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchToU()
324 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchToU()
411 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchToU()
752 const UChar **src, const UChar *srcLimit, in ucnv_extInitialMatchFromU()
763 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
796 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchFromU()
914 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchFromU()
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchToU() argument
750 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchFromU() argument
/third_party/node/deps/icu-small/source/common/
H A Dustrtrns.cpp47 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
86 srcLimit = src; in u_strFromUTF32WithSub()
89 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
92 srcLimit = (src!=nullptr)?(src + srcLength):nullptr; in u_strFromUTF32WithSub()
96 while(src < srcLimit) { in u_strFromUTF32WithSub()
161 const char16_t *srcLimit; in u_strToUTF32WithSub() local
200 srcLimit = src; in u_strToUTF32WithSub()
203 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
206 srcLimit = (src!=nullptr)?(src + srcLength):nullptr; in u_strToUTF32WithSub()
210 while(src < srcLimit) { in u_strToUTF32WithSub()
[all...]
H A Dunistr_cnv.cpp262 const char16_t *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
278 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, true, &errorCode); in doExtract()
289 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, true, &errorCode); in doExtract()
H A Ducnv_ext.h355 const char **src, const char *srcLimit,
375 const UChar **src, const UChar *srcLimit,
H A Ducnv_ext.cpp281 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU()
292 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchToU()
324 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchToU()
411 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchToU()
752 const char16_t **src, const char16_t *srcLimit, in ucnv_extInitialMatchFromU()
763 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
796 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchFromU()
914 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchFromU()
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, char16_t **target, const char16_t *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchToU() argument
750 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const char16_t **src, const char16_t *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchFromU() argument
/third_party/skia/third_party/externals/icu/source/common/
H A Dustrtrns.cpp47 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
86 srcLimit = src; in u_strFromUTF32WithSub()
89 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
92 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub()
96 while(src < srcLimit) { in u_strFromUTF32WithSub()
161 const UChar *srcLimit; in u_strToUTF32WithSub() local
200 srcLimit = src; in u_strToUTF32WithSub()
203 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
206 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub()
210 while(src < srcLimit) { in u_strToUTF32WithSub()
[all...]
H A Dunistr_cnv.cpp262 const UChar *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
278 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
289 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
H A Ducnv_ext.h355 const char **src, const char *srcLimit,
375 const UChar **src, const UChar *srcLimit,
H A Ducasemap.cpp201 * caseLocale >= 0: Lowercases [srcStart..srcLimit[ but takes context [0..srcLength[ into account.
202 * caseLocale < 0: Case-folds [srcStart..srcLimit[.
205 const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, in toLower()
224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower()
248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower()
269 (srcIndex + 2) <= srcLimit && in toLower()
276 U8_NEXT(src, srcIndex, srcLimit, c); in toLower()
204 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument
H A Ducnv_ext.cpp281 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU()
292 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchToU()
324 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchToU()
411 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchToU()
752 const UChar **src, const UChar *srcLimit, in ucnv_extInitialMatchFromU()
763 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
796 *src=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extInitialMatchFromU()
914 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchFromU()
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchToU() argument
750 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchFromU() argument
/third_party/icu/icu4c/source/common/unicode/
H A Dunistr.h490 * [`srcStart`, `srcLimit`).
495 * @param srcLimit the offset into `srcText` to limit comparison
507 int32_t srcLimit) const;
664 * @param srcLimit The offset after the last code unit from that string to compare.
674 int32_t srcLimit) const;
835 * @param srcLimit The offset after the last code unit from that string to compare.
853 int32_t srcLimit,
2433 * [`srcStart`, `srcLimit`). `srcText` is not modified.
2439 * @param srcLimit the offset immediately following the range to copy
2448 int32_t srcLimit);
4152 caseCompareBetween(int32_t start, int32_t limit, const UnicodeString &srcText, int32_t srcStart, int32_t srcLimit, uint32_t options) const caseCompareBetween() argument
4433 replaceBetween(int32_t start, int32_t limit, const UnicodeString& srcText, int32_t srcStart, int32_t srcLimit) replaceBetween() argument
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Dunistr.h490 * [`srcStart`, `srcLimit`).
495 * @param srcLimit the offset into `srcText` to limit comparison
507 int32_t srcLimit) const;
664 * @param srcLimit The offset after the last code unit from that string to compare.
674 int32_t srcLimit) const;
835 * @param srcLimit The offset after the last code unit from that string to compare.
853 int32_t srcLimit,
2433 * [`srcStart`, `srcLimit`). `srcText` is not modified.
2439 * @param srcLimit the offset immediately following the range to copy
2448 int32_t srcLimit);
4180 caseCompareBetween(int32_t start, int32_t limit, const UnicodeString &srcText, int32_t srcStart, int32_t srcLimit, uint32_t options) const caseCompareBetween() argument
4460 replaceBetween(int32_t start, int32_t limit, const UnicodeString& srcText, int32_t srcStart, int32_t srcLimit) replaceBetween() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dunistr.h490 * [`srcStart`, `srcLimit`).
495 * @param srcLimit the offset into `srcText` to limit comparison
507 int32_t srcLimit) const;
664 * @param srcLimit The offset after the last code unit from that string to compare.
674 int32_t srcLimit) const;
835 * @param srcLimit The offset after the last code unit from that string to compare.
853 int32_t srcLimit,
2433 * [`srcStart`, `srcLimit`). `srcText` is not modified.
2439 * @param srcLimit the offset immediately following the range to copy
2448 int32_t srcLimit);
4152 caseCompareBetween(int32_t start, int32_t limit, const UnicodeString &srcText, int32_t srcStart, int32_t srcLimit, uint32_t options) const caseCompareBetween() argument
4433 replaceBetween(int32_t start, int32_t limit, const UnicodeString& srcText, int32_t srcStart, int32_t srcLimit) replaceBetween() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DReplaceableTest.java139 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
140 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DReplaceableTest.java136 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
137 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
/third_party/icu/icu4c/source/test/cintltst/
H A Dncnvfbts.c304 const char *srcLimit; in testConvertToUnicode() local
361 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
378 (const char *)srcLimit, in testConvertToUnicode()
380 (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
382 } while ( (status == U_BUFFER_OVERFLOW_ERROR) || (srcLimit < realSourceEnd) ); /* while we just need another buffer */ in testConvertToUnicode()

Completed in 34 milliseconds

12