Searched defs:resultLength (Results 1 - 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dunumsys.cpp75 int32_t resultLength, UErrorCode *status)
82 return descrip.extract(result, resultLength, *status);
74 unumsys_getDescription(const UNumberingSystem *unumsys, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dutrans.cpp230 int32_t *resultLength) {
233 if(resultLength!=NULL) {
234 *resultLength=ID.length();
321 int32_t* resultLength,
332 if(resultLength!=NULL) {
333 *resultLength=ID.length();
339 if(resultLength!=NULL) {
340 *resultLength=0;
499 UChar* result, int32_t resultLength,
502 if ( (result==NULL)? resultLength!
229 utrans_getUnicodeID(const UTransliterator *trans, int32_t *resultLength) argument
[all...]
H A Dcsdetect.cpp376 enumNext(UEnumeration *en, int32_t *resultLength, UErrorCode * /*status*/) { argument
407 if(resultLength != NULL) {
408 *resultLength = currName == NULL ? 0 : (int32_t)uprv_strlen(currName);
H A Dulocdata.c140 UChar *result, int32_t resultLength, UErrorCode *status){
187 u_strncpy(result,delimiter, resultLength);
139 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dvzone.cpp81 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
85 resultLength = s.length();
86 result = (UChar*)uprv_malloc(resultLength);
87 memcpy(result,s.getBuffer(),resultLength);
93 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
97 resultLength = s.length();
98 result = (UChar*)uprv_malloc(resultLength);
99 memcpy(result,s.getBuffer(),resultLength);
105 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
109 resultLength
[all...]
H A Dumsg.cpp63 int32_t resultLength,
73 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
85 int32_t resultLength,
92 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
102 int32_t resultLength,
113 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
125 int32_t resultLength,
133 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
340 int32_t resultLength,
347 if(fmt==NULL||resultLength<
59 u_formatMessage(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
81 u_vformatMessage( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
98 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
121 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
338 umsg_toPattern(const UMessageFormat *fmt, UChar* result, int32_t resultLength, UErrorCode* status) argument
364 umsg_format( const UMessageFormat *fmt, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
389 umsg_vformat( const UMessageFormat *fmt, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
[all...]
H A Dunum.cpp165 int32_t resultLength,
169 return unum_formatInt64(fmt, number, result, resultLength, pos, status);
176 int32_t resultLength,
184 if(!(result==NULL && resultLength==0)) {
187 res.setTo(result, 0, resultLength);
202 return res.extract(result, resultLength, *status);
209 int32_t resultLength,
217 if(!(result==NULL && resultLength==0)) {
220 res.setTo(result, 0, resultLength);
235 return res.extract(result, resultLength, *statu
162 unum_format( const UNumberFormat* fmt, int32_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
173 unum_formatInt64(const UNumberFormat* fmt, int64_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
206 unum_formatDouble( const UNumberFormat* fmt, double number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
240 unum_formatDecimal(const UNumberFormat* fmt, const char * number, int32_t length, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
284 unum_formatDoubleCurrency(const UNumberFormat* fmt, double number, UChar* currency, UChar* result, int32_t resultLength, UFieldPosition* pos, UErrorCode* status) argument
532 unum_getTextAttribute(const UNumberFormat* fmt, UNumberFormatTextAttribute tag, UChar* result, int32_t resultLength, UErrorCode* status) argument
655 unum_toPattern( const UNumberFormat* fmt, UBool isPatternLocalized, UChar* result, int32_t resultLength, UErrorCode* status) argument
835 unum_formatUFormattable(const UNumberFormat* fmt, const UFormattable *number, UChar *result, int32_t resultLength, UFieldPosition *pos, UErrorCode *status) argument
[all...]
H A Ducol.cpp193 int32_t resultLength)
202 getSortKey(source, sourceLength, result, resultLength);
243 int32_t resultLength,
275 if(result != NULL && resultLength >= sourceIndex+boundType) {
189 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
238 ucol_getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode *status) argument
H A Ducol_res.cpp523 int32_t resultLength,
530 if(!(result==NULL && resultLength==0)) {
533 dst.setTo(result, 0, resultLength);
536 return dst.extract(result, resultLength, *status);
520 ucol_getDisplayName( const char *objLoc, const char *dispLoc, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dcoll.cpp646 int32_t resultLength,
649 return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status);
821 virtual const char* next(int32_t* resultLength, UErrorCode& /*status*/) { argument
825 if(resultLength != NULL) {
826 *resultLength = (int32_t)uprv_strlen(result);
829 if(resultLength != NULL) {
830 *resultLength = 0;
838 int32_t resultLength = 0; local
839 const char *s = next(&resultLength, status);
840 return setChars(s, resultLength, statu
641 getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode &status) argument
[all...]
/external/icu/icu4c/source/common/
H A Duenum.c88 int32_t* resultLength,
106 if (resultLength) {
107 *resultLength = len;
115 int32_t* resultLength,
120 const UChar *tempUCharVal = en->uNext(en, resultLength, status);
125 _getBuffer(en, (*resultLength+1) * sizeof(char));
130 u_UCharsToChars(tempUCharVal, tempCharVal, *resultLength + 1);
140 int32_t* resultLength,
147 return en->uNext(en, resultLength, status);
156 int32_t* resultLength,
87 uenum_unextDefault(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
114 uenum_nextDefault(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
139 uenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
155 uenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
[all...]
H A Dulist.c210 U_CAPI const char * U_EXPORT2 ulist_next_keyword_value(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
217 if (s != NULL && resultLength != NULL) {
218 *resultLength = uprv_strlen(s);
H A Dustrenum.cpp42 StringEnumeration::next(int32_t *resultLength, UErrorCode &status) { argument
48 if(resultLength!=NULL) {
49 *resultLength=unistr.length();
60 StringEnumeration::unext(int32_t *resultLength, UErrorCode &status) { argument
64 if(resultLength!=NULL) {
65 *resultLength=unistr.length();
162 const char *UStringEnumeration::next(int32_t *resultLength, UErrorCode &status) { argument
163 return uenum_next(uenum, resultLength, &status);
212 int32_t* resultLength,
215 return THIS(en)->unext(resultLength, *e
211 ustrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
222 ustrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
299 ucharstrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
315 ucharstrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
[all...]
H A Dloclikely.cpp865 int32_t resultLength = 0; local
903 resultLength =
917 if (resultLength == 0) {
929 resultLength =
937 return resultLength;
H A Ducnvsel.cpp618 int32_t* resultLength,
634 if (resultLength) {
635 *resultLength = (int32_t)uprv_strlen(result);
617 ucnvsel_next_encoding(UEnumeration* enumerator, int32_t* resultLength, UErrorCode* status) argument
H A Dlocid.cpp967 virtual const char* next(int32_t* resultLength, UErrorCode& status) { argument
974 if(resultLength != NULL) {
975 *resultLength = len;
978 if(resultLength != NULL) {
979 *resultLength = 0;
987 int32_t resultLength = 0; local
988 const char *s = next(&resultLength, status);
989 return setChars(s, resultLength, status);
H A Ducnv_io.cpp781 int32_t* resultLength,
793 if (resultLength) {
794 *resultLength = (int32_t)uprv_strlen(myStr);
800 if (resultLength) {
801 *resultLength = 0;
1020 int32_t* resultLength,
1027 if (resultLength) {
1028 *resultLength = (int32_t)uprv_strlen(myStr);
1033 if (resultLength) {
1034 *resultLength
780 ucnv_io_nextStandardAliases(UEnumeration *enumerator, int32_t* resultLength, UErrorCode * ) argument
1019 ucnv_io_nextAllConverters(UEnumeration *enumerator, int32_t* resultLength, UErrorCode * ) argument
[all...]
/external/icu/icu4c/source/extra/uconv/
H A Duwmsg.c128 int32_t resultLength = UPRV_LENGTHOF(result); local
146 resultLength = sizeof(gNoFormatting) / U_SIZEOF_UCHAR;
147 if((msgLen + resultLength) <= UPRV_LENGTHOF(result)) {
149 memcpy(result + msgLen, gNoFormatting, resultLength);
150 resultLength += msgLen;
151 uprint(result, resultLength, fp, &err);
158 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err);
175 uprint(result, resultLength, fp, &err);
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.h60 int32_t resultLength; member in struct:ConversionCase
87 const UChar *result, int32_t resultLength,
93 const uint8_t *result, int32_t resultLength,
H A Dbidiconf.cpp628 int32_t resultLength=ubidi_getResultLength(ubidi); // visual length including BiDi controls local
632 for(i=visualIndex=0; i<resultLength; ++i) {
663 for(i=0; i<resultLength; ++i) {
H A Dstrcase.cpp391 int32_t utf8InLength, utf8OutLength, resultLength; local
438 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode);
439 result.releaseBuffer(errorCode.isSuccess() ? resultLength : 0);
/external/icu/icu4c/source/test/cintltst/
H A Dspreptst.c757 int32_t srcLength, resultLength, expectedLength; local
777 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH;
784 resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED, NULL, &status);
797 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
H A Dcmsgtst.c194 int32_t resultLength =0,count=0; local
208 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1);
211 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
212 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1);
242 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2);
254 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2);
868 UChar* result, int32_t resultLength, UErrorCode *status, ...)
873 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, a
867 CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, UChar* result, int32_t resultLength, UErrorCode *status, ...) argument
[all...]
H A Duenumtst.c64 chArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
74 *resultLength = (int32_t)strlen(cont->currChar);
75 u_charsToUChars(cont->currChar, cont->currUChar, *resultLength);
81 chArrayNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
87 *resultLength = (int32_t)strlen(cont->currChar);
165 uchArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
171 *resultLength = u_strlen(ucont->currUChar);
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java326 int resultLength;
339 resultLength = stepFromUnicode(cc, encoder, step);
340 ok = checkFromUnicode(cc, resultLength);
457 private boolean checkFromUnicode(ConversionCase cc, int resultLength) { argument
633 int resultLength;
658 resultLength = stepToUnicode(cc, decoder, step);
659 ok = checkToUnicode(cc, resultLength);
912 private boolean checkToUnicode(ConversionCase cc, int resultLength) { argument

Completed in 1141 milliseconds

12