Home
last modified time | relevance | path

Searched refs:fillIn (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DEraRules.java150 public int[] getStartDate(int eraIdx, int[] fillIn) { in getStartDate() argument
154 return decodeDate(startDates[eraIdx], fillIn); in getStartDate()
262 private static int[] decodeDate(int encodedDate, int[] fillIn) { in decodeDate() argument
274 if (fillIn != null && fillIn.length >= 3) { in decodeDate()
275 fillIn[0] = year; in decodeDate()
276 fillIn[1] = month; in decodeDate()
277 fillIn[2] = day; in decodeDate()
278 return fillIn; in decodeDate()
DReplaceableUCharacterIterator.java194 public int getText(char[] fillIn, int offset){ in getText() argument
196 if(offset < 0 || offset + length > fillIn.length){ in getText()
199 replaceable.getChars(0,length,fillIn,offset); in getText()
DCharacterIteratorWrapper.java112 public int getText(char[] fillIn, int offset){ in getText() argument
115 if(offset < 0 || offset + length > fillIn.length){ in getText()
120 fillIn[offset++] = ch; in getText()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java148 public int[] getStartDate(int eraIdx, int[] fillIn) { in getStartDate() argument
152 return decodeDate(startDates[eraIdx], fillIn); in getStartDate()
260 private static int[] decodeDate(int encodedDate, int[] fillIn) { in decodeDate() argument
272 if (fillIn != null && fillIn.length >= 3) { in decodeDate()
273 fillIn[0] = year; in decodeDate()
274 fillIn[1] = month; in decodeDate()
275 fillIn[2] = day; in decodeDate()
276 return fillIn; in decodeDate()
DReplaceableUCharacterIterator.java192 public int getText(char[] fillIn, int offset){ in getText() argument
194 if(offset < 0 || offset + length > fillIn.length){ in getText()
197 replaceable.getChars(0,length,fillIn,offset); in getText()
DCharacterIteratorWrapper.java110 public int getText(char[] fillIn, int offset){ in getText() argument
113 if(offset < 0 || offset + length > fillIn.length){ in getText()
118 fillIn[offset++] = ch; in getText()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duscript.cpp97 UScriptCode* fillIn, in uscript_getCode() argument
109 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
119 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
124 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
131 length = getCodesFromLocale(likely, fillIn, capacity, err); in uscript_getCode()
140 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
Duresbund.cpp1531 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1537 return fillIn; in ures_getNextResource()
1542 return fillIn; in ures_getNextResource()
1556 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1564 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1571 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1574 return fillIn; in ures_getNextResource()
1578 return fillIn; in ures_getNextResource()
1581 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1587 return fillIn; in ures_getByIndex()
[all …]
Duresimp.h130 UResourceBundle *fillIn, UErrorCode *status);
150 UResourceBundle *fillIn, UErrorCode *status);
203 UResourceBundle *fillIn,
/third_party/node/deps/icu-small/source/common/
Duscript.cpp100 UScriptCode* fillIn, in uscript_getCode() argument
111 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
121 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
126 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
136 length = getCodesFromLocale(likely.data(), fillIn, capacity, err); in uscript_getCode()
145 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
Duresbund.cpp1610 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1616 return fillIn; in ures_getNextResource()
1621 return fillIn; in ures_getNextResource()
1635 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1643 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1650 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1653 return fillIn; in ures_getNextResource()
1657 return fillIn; in ures_getNextResource()
1660 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1666 return fillIn; in ures_getByIndex()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Duscript.cpp100 UScriptCode* fillIn, in uscript_getCode() argument
111 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
121 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
126 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
136 length = getCodesFromLocale(likely.data(), fillIn, capacity, err); in uscript_getCode()
145 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
Duresbund.cpp1559 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1565 return fillIn; in ures_getNextResource()
1570 return fillIn; in ures_getNextResource()
1584 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1592 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1599 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1602 return fillIn; in ures_getNextResource()
1606 return fillIn; in ures_getNextResource()
1609 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1615 return fillIn; in ures_getByIndex()
[all …]
/third_party/icu/icu4c/source/common/
Duscript.cpp100 UScriptCode* fillIn, in uscript_getCode() argument
111 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
121 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
126 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
136 length = getCodesFromLocale(likely.data(), fillIn, capacity, err); in uscript_getCode()
145 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
Duresbund.cpp1559 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1565 return fillIn; in ures_getNextResource()
1570 return fillIn; in ures_getNextResource()
1584 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1592 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1599 …rn init_resb_result(&(resB->fResData), r, key, resB->fIndex, resB->fData, resB, 0, fillIn, status); in ures_getNextResource()
1602 return fillIn; in ures_getNextResource()
1606 return fillIn; in ures_getNextResource()
1609 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1615 return fillIn; in ures_getByIndex()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_longnames.cpp449 StackUResourceBundle fillIn; in getMeasureData() local
450 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
452 outArray[GENDER_INDEX] = ures_getUnicodeString(fillIn.getAlias(), &localStatus); in getMeasureData()
896 LongNameHandler *fillIn, in forMeasureUnit() argument
903 U_ASSERT(fillIn != nullptr); in forMeasureUnit()
916 fillIn->rules = rules; in forMeasureUnit()
917 fillIn->parent = parent; in forMeasureUnit()
918 fillIn->simpleFormatsToModifiers(simpleFormats, in forMeasureUnit()
921 fillIn->gender = getGenderString(simpleFormats[GENDER_INDEX], status); in forMeasureUnit()
937 forArbitraryUnit(loc, unitRef, width, unitDisplayCase, fillIn, status); in forMeasureUnit()
[all …]
Dutrans.cpp518 USet* fillIn, in utrans_getSourceSet() argument
520 utrans_ENTRY(status) fillIn; in utrans_getSourceSet() local
522 if (fillIn == NULL) { in utrans_getSourceSet()
523 fillIn = uset_openEmpty(); in utrans_getSourceSet()
526 ((Transliterator*) trans)->handleGetSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
528 ((Transliterator*) trans)->getSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
530 return fillIn; in utrans_getSourceSet()
/third_party/icu/icu4c/source/i18n/
Dnumber_longnames.cpp464 StackUResourceBundle fillIn; in getMeasureData() local
465 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
467 outArray[GENDER_INDEX] = ures_getUnicodeString(fillIn.getAlias(), &localStatus); in getMeasureData()
918 LongNameHandler *fillIn, in forMeasureUnit() argument
925 U_ASSERT(fillIn != nullptr); in forMeasureUnit()
938 fillIn->rules = rules; in forMeasureUnit()
939 fillIn->parent = parent; in forMeasureUnit()
940 fillIn->simpleFormatsToModifiers(simpleFormats, in forMeasureUnit()
943 fillIn->gender = getGenderString(simpleFormats[GENDER_INDEX], status); in forMeasureUnit()
959 forArbitraryUnit(loc, unitRef, width, unitDisplayCase, fillIn, status); in forMeasureUnit()
[all …]
Dutrans.cpp518 USet* fillIn, in utrans_getSourceSet() argument
520 utrans_ENTRY(status) fillIn; in utrans_getSourceSet() local
522 if (fillIn == NULL) { in utrans_getSourceSet()
523 fillIn = uset_openEmpty(); in utrans_getSourceSet()
526 ((Transliterator*) trans)->handleGetSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
528 ((Transliterator*) trans)->getSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
530 return fillIn; in utrans_getSourceSet()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_longnames.cpp464 StackUResourceBundle fillIn; in getMeasureData() local
465 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
467 outArray[GENDER_INDEX] = ures_getUnicodeString(fillIn.getAlias(), &localStatus); in getMeasureData()
918 LongNameHandler *fillIn, in forMeasureUnit() argument
925 U_ASSERT(fillIn != nullptr); in forMeasureUnit()
938 fillIn->rules = rules; in forMeasureUnit()
939 fillIn->parent = parent; in forMeasureUnit()
940 fillIn->simpleFormatsToModifiers(simpleFormats, in forMeasureUnit()
943 fillIn->gender = getGenderString(simpleFormats[GENDER_INDEX], status); in forMeasureUnit()
959 forArbitraryUnit(loc, unitRef, width, unitDisplayCase, fillIn, status); in forMeasureUnit()
[all …]
Dutrans.cpp518 USet* fillIn, in utrans_getSourceSet() argument
520 utrans_ENTRY(status) fillIn; in utrans_getSourceSet() local
522 if (fillIn == NULL) { in utrans_getSourceSet()
523 fillIn = uset_openEmpty(); in utrans_getSourceSet()
526 ((Transliterator*) trans)->handleGetSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
528 ((Transliterator*) trans)->getSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
530 return fillIn; in utrans_getSourceSet()
Dulocdata.cpp104 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn, in ulocdata_getExemplarSet() argument
130 if(fillIn != NULL) in ulocdata_getExemplarSet()
131 uset_applyPattern(fillIn, exemplarChars, len, in ulocdata_getExemplarSet()
134 fillIn = uset_openPatternOptions(exemplarChars, len, in ulocdata_getExemplarSet()
137 return fillIn; in ulocdata_getExemplarSet()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dutrans.cpp518 USet* fillIn, in utrans_getSourceSet() argument
520 utrans_ENTRY(status) fillIn; in utrans_getSourceSet() local
522 if (fillIn == NULL) { in utrans_getSourceSet()
523 fillIn = uset_openEmpty(); in utrans_getSourceSet()
526 ((Transliterator*) trans)->handleGetSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
528 ((Transliterator*) trans)->getSourceSet(*((UnicodeSet*)fillIn)); in utrans_getSourceSet()
530 return fillIn; in utrans_getSourceSet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUCharacterIterator.java296 public abstract int getText(char[] fillIn, int offset); in getText() argument
307 public final int getText(char[] fillIn) { in getText() argument
308 return getText(fillIn, 0); in getText()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUCharacterIterator.java319 public abstract int getText(char[] fillIn, int offset); in getText() argument
331 public final int getText(char[] fillIn) { in getText() argument
332 return getText(fillIn, 0); in getText()

1234