Home
last modified time | relevance | path

Searched refs:resultLength (Results 1 – 25 of 63) sorted by relevance

123

/external/icu/icu4c/source/common/
Duenum.cpp90 int32_t* resultLength, in uenum_unextDefault() argument
108 if (resultLength) { in uenum_unextDefault()
109 *resultLength = len; in uenum_unextDefault()
117 int32_t* resultLength, in uenum_nextDefault() argument
122 const UChar *tempUCharVal = en->uNext(en, resultLength, status); in uenum_nextDefault()
127 _getBuffer(en, (*resultLength+1) * sizeof(char)); in uenum_nextDefault()
132 u_UCharsToChars(tempUCharVal, tempCharVal, *resultLength + 1); in uenum_nextDefault()
142 int32_t* resultLength, in uenum_unext() argument
149 return en->uNext(en, resultLength, status); in uenum_unext()
158 int32_t* resultLength, in uenum_next() argument
[all …]
Dustrenum.cpp44 StringEnumeration::next(int32_t *resultLength, UErrorCode &status) { in next() argument
50 if(resultLength!=NULL) { in next()
51 *resultLength=unistr.length(); in next()
62 StringEnumeration::unext(int32_t *resultLength, UErrorCode &status) { in unext() argument
66 if(resultLength!=NULL) { in unext()
67 *resultLength=unistr.length(); in unext()
164 const char *UStringEnumeration::next(int32_t *resultLength, UErrorCode &status) { in next() argument
165 return uenum_next(uenum, resultLength, &status); in next()
214 int32_t* resultLength, in ustrenum_unext() argument
217 return THIS(en)->unext(resultLength, *ec); in ustrenum_unext()
[all …]
Duenumimp.h74 int32_t* resultLength,
91 int32_t* resultLength,
141 int32_t* resultLength,
152 int32_t* resultLength,
Dlocid.cpp977 virtual const char* next(int32_t* resultLength, UErrorCode& status) { in next() argument
984 if(resultLength != NULL) { in next()
985 *resultLength = len; in next()
988 if(resultLength != NULL) { in next()
989 *resultLength = 0; in next()
997 int32_t resultLength = 0; in snext() local
998 const char *s = next(&resultLength, status); in snext()
999 return setChars(s, resultLength, status); in snext()
Ducnv_io.cpp785 int32_t* resultLength, in ucnv_io_nextStandardAliases() argument
797 if (resultLength) { in ucnv_io_nextStandardAliases()
798 *resultLength = (int32_t)uprv_strlen(myStr); in ucnv_io_nextStandardAliases()
804 if (resultLength) { in ucnv_io_nextStandardAliases()
805 *resultLength = 0; in ucnv_io_nextStandardAliases()
1029 int32_t* resultLength, in ucnv_io_nextAllConverters() argument
1036 if (resultLength) { in ucnv_io_nextAllConverters()
1037 *resultLength = (int32_t)uprv_strlen(myStr); in ucnv_io_nextAllConverters()
1042 if (resultLength) { in ucnv_io_nextAllConverters()
1043 *resultLength = 0; in ucnv_io_nextAllConverters()
/external/icu/icu4c/source/i18n/
Dunum.cpp177 int32_t resultLength, in unum_format() argument
181 return unum_formatInt64(fmt, number, result, resultLength, pos, status); in unum_format()
188 int32_t resultLength, in unum_formatInt64() argument
196 if(!(result==NULL && resultLength==0)) { in unum_formatInt64()
199 res.setTo(result, 0, resultLength); in unum_formatInt64()
214 return res.extract(result, resultLength, *status); in unum_formatInt64()
221 int32_t resultLength, in unum_formatDouble() argument
229 if(!(result==NULL && resultLength==0)) { in unum_formatDouble()
232 res.setTo(result, 0, resultLength); in unum_formatDouble()
247 return res.extract(result, resultLength, *status); in unum_formatDouble()
[all …]
Dudat.cpp215 int32_t resultLength, in udat_format() argument
222 if (result == NULL ? resultLength != 0 : resultLength < 0) { in udat_format()
231 res.setTo(result, 0, resultLength); in udat_format()
246 return res.extract(result, resultLength, *status); in udat_format()
253 int32_t resultLength, in udat_formatCalendar() argument
260 if (result == NULL ? resultLength != 0 : resultLength < 0) { in udat_formatCalendar()
269 res.setTo(result, 0, resultLength); in udat_formatCalendar()
284 return res.extract(result, resultLength, *status); in udat_formatCalendar()
291 int32_t resultLength, in udat_formatForFields() argument
298 if (result == NULL ? resultLength != 0 : resultLength < 0) { in udat_formatForFields()
[all …]
Dumsg.cpp65 int32_t resultLength, in u_formatMessage() argument
75 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status); in u_formatMessage()
87 int32_t resultLength, in u_vformatMessage() argument
94 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); in u_vformatMessage()
104 int32_t resultLength, in u_formatMessageWithError() argument
115 …actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,… in u_formatMessageWithError()
127 int32_t resultLength, in u_vformatMessageWithError() argument
135 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); in u_vformatMessageWithError()
340 int32_t resultLength, in umsg_toPattern() argument
347 if(fmt==NULL||resultLength<0 || (resultLength>0 && result==0)){ in umsg_toPattern()
[all …]
Dvzone.cpp83 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) { in vzone_write() argument
87 resultLength = s.length(); in vzone_write()
88 result = (UChar*)uprv_malloc(resultLength); in vzone_write()
89 memcpy(result,s.getBuffer(),resultLength); in vzone_write()
95 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode&… in vzone_writeFromStart() argument
99 resultLength = s.length(); in vzone_writeFromStart()
100 result = (UChar*)uprv_malloc(resultLength); in vzone_writeFromStart()
101 memcpy(result,s.getBuffer(),resultLength); in vzone_writeFromStart()
107 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& sta… in vzone_writeSimple() argument
111 resultLength = s.length(); in vzone_writeSimple()
[all …]
Dutrans.cpp232 int32_t *resultLength) { in utrans_getUnicodeID() argument
235 if(resultLength!=NULL) { in utrans_getUnicodeID()
236 *resultLength=ID.length(); in utrans_getUnicodeID()
323 int32_t* resultLength, in utrans_enum_unext() argument
334 if(resultLength!=NULL) { in utrans_enum_unext()
335 *resultLength=ID.length(); in utrans_enum_unext()
341 if(resultLength!=NULL) { in utrans_enum_unext()
342 *resultLength=0; in utrans_enum_unext()
501 UChar* result, int32_t resultLength, in utrans_toRules() argument
504 if ( (result==NULL)? resultLength!=0: resultLength<0 ) { in utrans_toRules()
[all …]
Dcoll.cpp650 int32_t resultLength, in getBound() argument
653 … return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status); in getBound()
825 virtual const char* next(int32_t* resultLength, UErrorCode& /*status*/) { in next() argument
829 if(resultLength != NULL) { in next()
830 *resultLength = (int32_t)uprv_strlen(result); in next()
833 if(resultLength != NULL) { in next()
834 *resultLength = 0; in next()
842 int32_t resultLength = 0; in snext() local
843 const char *s = next(&resultLength, status); in snext()
844 return setChars(s, resultLength, status); in snext()
Dvzone.h136 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status);
148 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode&…
164 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& sta…
Dunumsys.cpp77 int32_t resultLength, UErrorCode *status) in unumsys_getDescription() argument
84 return descrip.extract(result, resultLength, *status); in unumsys_getDescription()
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c131 int32_t resultLength = UPRV_LENGTHOF(result); in u_wmsg() local
149 resultLength = UPRV_LENGTHOF(gNoFormatting); in u_wmsg()
150 if((msgLen + resultLength) <= UPRV_LENGTHOF(result)) { in u_wmsg()
152 memcpy(result + msgLen, gNoFormatting, resultLength); in u_wmsg()
153 resultLength += msgLen; in u_wmsg()
154 uprint(result, resultLength, fp, &err); in u_wmsg()
161 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg()
178 uprint(result, resultLength, fp, &err); in u_wmsg()
/external/icu/icu4c/source/i18n/unicode/
Dumsg.h183 int32_t resultLength,
210 int32_t resultLength,
289 int32_t resultLength,
318 int32_t resultLength,
500 int32_t resultLength,
521 int32_t resultLength,
543 int32_t resultLength,
Dunum.h494 int32_t resultLength,
526 int32_t resultLength,
558 int32_t resultLength,
609 int32_t resultLength,
648 int32_t resultLength,
681 int32_t resultLength,
709 int32_t resultLength,
1211 int32_t resultLength,
1257 int32_t resultLength,
Dudat.h993 int32_t resultLength,
1058 int32_t resultLength,
1351 int32_t resultLength,
1495 int32_t resultLength,
1589 int32_t resultLength,
1606 int32_t resultLength,
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp1143 int32_t resultLength; in ToUnicodeCase() local
1181 resultLength=stepToUnicode(cc, cnv.getAlias(), in ToUnicodeCase()
1187 result, resultLength, in ToUnicodeCase()
1195 if (cc.offsets != NULL && resultOffsets[resultLength] != -1) { in ToUnicodeCase()
1197 cc.caseNr, cc.charset, resultLength); in ToUnicodeCase()
1199 if (result[resultLength] != (UChar)-1) { in ToUnicodeCase()
1201 cc.caseNr, cc.charset, resultLength); in ToUnicodeCase()
1211 resultLength=ucnv_toUChars(cnv.getAlias(), in ToUnicodeCase()
1217 result, resultLength, in ToUnicodeCase()
1227 resultLength=ucnv_toUChars(cnv.getAlias(), in ToUnicodeCase()
[all …]
Dconvtest.h62 int32_t resultLength; member
90 const UChar *result, int32_t resultLength,
96 const uint8_t *result, int32_t resultLength,
/external/icu/icu4c/source/test/cintltst/
Duenumtst.c66 chArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayUNext() argument
76 *resultLength = (int32_t)strlen(cont->currChar); in chArrayUNext()
77 u_charsToUChars(cont->currChar, cont->currUChar, *resultLength); in chArrayUNext()
83 chArrayNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayNext() argument
89 *resultLength = (int32_t)strlen(cont->currChar); in chArrayNext()
167 uchArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in uchArrayUNext() argument
173 *resultLength = u_strlen(ucont->currUChar); in uchArrayUNext()
Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; in TestStringPrepProfiles() local
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; in TestStringPrepProfiles()
787resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED… in TestStringPrepProfiles()
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) { in TestStringPrepProfiles()
/external/icu/icu4c/source/common/unicode/
Dstrenum.h131 virtual const char* next(int32_t *resultLength, UErrorCode& status);
156 virtual const char16_t* unext(int32_t *resultLength, UErrorCode& status);
Duenum.h114 int32_t* resultLength,
147 int32_t* resultLength,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java128 lineBidi.resultLength = limit - start; in setLine()
144 lineBidi.resultLength -= lineBidi.controlCount; in setLine()
1023 if (bidi.length > bidi.resultLength) { in getLogicalMap()
1113 int allocLength = bidi.length > bidi.resultLength ? bidi.length in getVisualMap()
1114 : bidi.resultLength; in getVisualMap()
1150 k = bidi.resultLength; in getVisualMap()
1204 if (allocLength == bidi.resultLength) { in getVisualMap()
1207 int[] newMap = new int[bidi.resultLength]; in getVisualMap()
1208 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java129 lineBidi.resultLength = limit - start; in setLine()
145 lineBidi.resultLength -= lineBidi.controlCount; in setLine()
1024 if (bidi.length > bidi.resultLength) { in getLogicalMap()
1114 int allocLength = bidi.length > bidi.resultLength ? bidi.length in getVisualMap()
1115 : bidi.resultLength; in getVisualMap()
1151 k = bidi.resultLength; in getVisualMap()
1205 if (allocLength == bidi.resultLength) { in getVisualMap()
1208 int[] newMap = new int[bidi.resultLength]; in getVisualMap()
1209 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()

123