Home
last modified time | relevance | path

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

1234

/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/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/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 …]
Duresimp.h188 UResourceBundle *fillIn, UErrorCode *status);
208 UResourceBundle *fillIn, UErrorCode *status);
261 UResourceBundle *fillIn,
/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.cpp1782 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1788 return fillIn; in ures_getNextResource()
1793 return fillIn; in ures_getNextResource()
1807 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1815 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1822 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1825 return fillIn; in ures_getNextResource()
1829 return fillIn; in ures_getNextResource()
1832 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1838 return fillIn; in ures_getByIndex()
[all …]
/third_party/node/deps/icu-small/source/common/
Duscript.cpp100 UScriptCode* fillIn, in uscript_getCode() argument
111 (fillIn == nullptr ? capacity != 0 : capacity < 0)) { in uscript_getCode()
134 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
139 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
149 length = getCodesFromLocale(likely.data(), fillIn, capacity, err); in uscript_getCode()
158 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
Duresbund.cpp1784 …* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *statu… in ures_getNextResource() argument
1790 return fillIn; in ures_getNextResource()
1795 return fillIn; in ures_getNextResource()
1809 return ures_copyResb(fillIn, resB, status); in ures_getNextResource()
1817 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1824 return init_resb_result(resB->fData, r, key, resB->fIndex, resB, fillIn, status); in ures_getNextResource()
1827 return fillIn; in ures_getNextResource()
1831 return fillIn; in ures_getNextResource()
1834 …getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *statu… in ures_getByIndex() argument
1840 return fillIn; in ures_getByIndex()
[all …]
/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()
Dnumber_longnames.h66 LongNameHandler *fillIn,
108 LongNameHandler *fillIn,
162 MixedUnitLongNameHandler *fillIn,
/third_party/icu/icu4c/source/i18n/
Dnumber_longnames.cpp469 StackUResourceBundle fillIn; in getMeasureData() local
470 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
472 outArray[GENDER_INDEX] = ures_getUnicodeString(fillIn.getAlias(), &localStatus); in getMeasureData()
916 LongNameHandler *fillIn, in forMeasureUnit() argument
923 U_ASSERT(fillIn != nullptr); in forMeasureUnit()
936 fillIn->rules = rules; in forMeasureUnit()
937 fillIn->parent = parent; in forMeasureUnit()
938 fillIn->simpleFormatsToModifiers(simpleFormats, in forMeasureUnit()
941 fillIn->gender = getGenderString(simpleFormats[GENDER_INDEX], status); in forMeasureUnit()
957 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/node/deps/icu-small/source/i18n/
Dnumber_longnames.cpp469 StackUResourceBundle fillIn; in getMeasureData() local
470 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
472 outArray[GENDER_INDEX] = ures_getUnicodeString(fillIn.getAlias(), &localStatus); in getMeasureData()
916 LongNameHandler *fillIn, in forMeasureUnit() argument
923 U_ASSERT(fillIn != nullptr); in forMeasureUnit()
936 fillIn->rules = rules; in forMeasureUnit()
937 fillIn->parent = parent; in forMeasureUnit()
938 fillIn->simpleFormatsToModifiers(simpleFormats, in forMeasureUnit()
941 fillIn->gender = getGenderString(simpleFormats[GENDER_INDEX], status); in forMeasureUnit()
957 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 == nullptr) { 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.cpp110 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn, in ulocdata_getExemplarSet() argument
136 if(fillIn != nullptr) in ulocdata_getExemplarSet()
137 uset_applyPattern(fillIn, exemplarChars, len, in ulocdata_getExemplarSet()
140 fillIn = uset_openPatternOptions(exemplarChars, len, in ulocdata_getExemplarSet()
143 return fillIn; in ulocdata_getExemplarSet()
/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()
/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()

1234