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

123

/external/icu/icu4c/source/i18n/
H A Dunumsys.cpp77 int32_t resultLength, UErrorCode *status)
84 return descrip.extract(result, resultLength, *status);
76 unumsys_getDescription(const UNumberingSystem *unumsys, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dutrans.cpp232 int32_t *resultLength) {
235 if(resultLength!=NULL) {
236 *resultLength=ID.length();
323 int32_t* resultLength,
334 if(resultLength!=NULL) {
335 *resultLength=ID.length();
341 if(resultLength!=NULL) {
342 *resultLength=0;
501 UChar* result, int32_t resultLength,
504 if ( (result==NULL)? resultLength!
231 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.c143 UChar *result, int32_t resultLength, UErrorCode *status){
190 u_strncpy(result,delimiter, resultLength);
142 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dvzone.cpp83 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
87 resultLength = s.length();
88 result = (UChar*)uprv_malloc(resultLength);
89 memcpy(result,s.getBuffer(),resultLength);
95 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
99 resultLength = s.length();
100 result = (UChar*)uprv_malloc(resultLength);
101 memcpy(result,s.getBuffer(),resultLength);
107 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& status) { argument
111 resultLength
[all...]
H A Ducol_res.cpp525 int32_t resultLength,
530 if(!(result==NULL && resultLength==0)) {
533 dst.setTo(result, 0, resultLength);
536 return dst.extract(result, resultLength, *status);
522 ucol_getDisplayName( const char *objLoc, const char *dispLoc, UChar *result, int32_t resultLength, UErrorCode *status) argument
H A Dumsg.cpp65 int32_t resultLength,
75 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
87 int32_t resultLength,
94 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
104 int32_t resultLength,
115 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
127 int32_t resultLength,
135 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
342 int32_t resultLength,
349 if(fmt==NULL||resultLength<
61 u_formatMessage(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
83 u_vformatMessage( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
100 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
123 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
340 umsg_toPattern(const UMessageFormat *fmt, UChar* result, int32_t resultLength, UErrorCode* status) argument
366 umsg_format( const UMessageFormat *fmt, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
391 umsg_vformat( const UMessageFormat *fmt, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
[all...]
H A Dunum.cpp177 int32_t resultLength,
181 return unum_formatInt64(fmt, number, result, resultLength, pos, status);
188 int32_t resultLength,
196 if(!(result==NULL && resultLength==0)) {
199 res.setTo(result, 0, resultLength);
214 return res.extract(result, resultLength, *status);
221 int32_t resultLength,
229 if(!(result==NULL && resultLength==0)) {
232 res.setTo(result, 0, resultLength);
247 return res.extract(result, resultLength, *statu
174 unum_format( const UNumberFormat* fmt, int32_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
185 unum_formatInt64(const UNumberFormat* fmt, int64_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
218 unum_formatDouble( const UNumberFormat* fmt, double number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
252 unum_formatDecimal(const UNumberFormat* fmt, const char * number, int32_t length, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
296 unum_formatDoubleCurrency(const UNumberFormat* fmt, double number, UChar* currency, UChar* result, int32_t resultLength, UFieldPosition* pos, UErrorCode* status) argument
544 unum_getTextAttribute(const UNumberFormat* fmt, UNumberFormatTextAttribute tag, UChar* result, int32_t resultLength, UErrorCode* status) argument
667 unum_toPattern( const UNumberFormat* fmt, UBool isPatternLocalized, UChar* result, int32_t resultLength, UErrorCode* status) argument
847 unum_formatUFormattable(const UNumberFormat* fmt, const UFormattable *number, UChar *result, int32_t resultLength, UFieldPosition *pos, UErrorCode *status) argument
[all...]
H A Ducol.cpp195 int32_t resultLength)
204 getSortKey(source, sourceLength, result, resultLength);
245 int32_t resultLength,
277 if(result != NULL && resultLength >= sourceIndex+boundType) {
191 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
240 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 Dcoll.cpp648 int32_t resultLength,
651 return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status);
823 virtual const char* next(int32_t* resultLength, UErrorCode& /*status*/) { argument
827 if(resultLength != NULL) {
828 *resultLength = (int32_t)uprv_strlen(result);
831 if(resultLength != NULL) {
832 *resultLength = 0;
840 int32_t resultLength = 0; local
841 const char *s = next(&resultLength, status);
842 return setChars(s, resultLength, statu
643 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.c90 int32_t* resultLength,
108 if (resultLength) {
109 *resultLength = len;
117 int32_t* resultLength,
122 const UChar *tempUCharVal = en->uNext(en, resultLength, status);
127 _getBuffer(en, (*resultLength+1) * sizeof(char));
132 u_UCharsToChars(tempUCharVal, tempCharVal, *resultLength + 1);
142 int32_t* resultLength,
149 return en->uNext(en, resultLength, status);
158 int32_t* resultLength,
89 uenum_unextDefault(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
116 uenum_nextDefault(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
141 uenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
157 uenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* status) argument
[all...]
H A Dulist.c251 U_CAPI const char * U_EXPORT2 ulist_next_keyword_value(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
258 if (s != NULL && resultLength != NULL) {
259 *resultLength = uprv_strlen(s);
H A Dustrenum.cpp44 StringEnumeration::next(int32_t *resultLength, UErrorCode &status) { argument
50 if(resultLength!=NULL) {
51 *resultLength=unistr.length();
62 StringEnumeration::unext(int32_t *resultLength, UErrorCode &status) { argument
66 if(resultLength!=NULL) {
67 *resultLength=unistr.length();
164 const char *UStringEnumeration::next(int32_t *resultLength, UErrorCode &status) { argument
165 return uenum_next(uenum, resultLength, &status);
214 int32_t* resultLength,
217 return THIS(en)->unext(resultLength, *e
213 ustrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
224 ustrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
301 ucharstrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
317 ucharstrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
[all...]
H A Dloclikely.cpp867 int32_t resultLength = 0; local
905 resultLength =
919 if (resultLength == 0) {
931 resultLength =
939 return resultLength;
H A Ducnvsel.cpp620 int32_t* resultLength,
636 if (resultLength) {
637 *resultLength = (int32_t)uprv_strlen(result);
619 ucnvsel_next_encoding(UEnumeration* enumerator, int32_t* resultLength, UErrorCode* status) argument
H A Dlocid.cpp976 virtual const char* next(int32_t* resultLength, UErrorCode& status) { argument
983 if(resultLength != NULL) {
984 *resultLength = len;
987 if(resultLength != NULL) {
988 *resultLength = 0;
996 int32_t resultLength = 0; local
997 const char *s = next(&resultLength, status);
998 return setChars(s, resultLength, status);
H A Ducnv_io.cpp785 int32_t* resultLength,
797 if (resultLength) {
798 *resultLength = (int32_t)uprv_strlen(myStr);
804 if (resultLength) {
805 *resultLength = 0;
1029 int32_t* resultLength,
1036 if (resultLength) {
1037 *resultLength = (int32_t)uprv_strlen(myStr);
1042 if (resultLength) {
1043 *resultLength
784 ucnv_io_nextStandardAliases(UEnumeration *enumerator, int32_t* resultLength, UErrorCode * ) argument
1028 ucnv_io_nextAllConverters(UEnumeration *enumerator, int32_t* resultLength, UErrorCode * ) argument
[all...]
/external/icu/icu4c/source/extra/uconv/
H A Duwmsg.c131 int32_t resultLength = UPRV_LENGTHOF(result); local
149 resultLength = UPRV_LENGTHOF(gNoFormatting);
150 if((msgLen + resultLength) <= UPRV_LENGTHOF(result)) {
152 memcpy(result + msgLen, gNoFormatting, resultLength);
153 resultLength += msgLen;
154 uprint(result, resultLength, fp, &err);
161 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err);
178 uprint(result, resultLength, fp, &err);
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.h62 int32_t resultLength; member in struct:ConversionCase
89 const UChar *result, int32_t resultLength,
95 const uint8_t *result, int32_t resultLength,
H A Dbidiconf.cpp630 int32_t resultLength=ubidi_getResultLength(ubidi); // visual length including BiDi controls local
634 for(i=visualIndex=0; i<resultLength; ++i) {
665 for(i=0; i<resultLength; ++i) {
H A Dstrcase.cpp400 int32_t utf8InLength, utf8OutLength, resultLength; local
447 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode);
448 result.releaseBuffer(errorCode.isSuccess() ? resultLength : 0);
/external/icu/icu4c/source/test/cintltst/
H A Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; local
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH;
787 resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED, NULL, &status);
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
H A Dcmsgtst.c196 int32_t resultLength =0,count=0; local
210 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1);
213 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
214 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1);
244 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2);
256 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2);
870 UChar* result, int32_t resultLength, UErrorCode *status, ...)
875 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, a
869 CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, UChar* result, int32_t resultLength, UErrorCode *status, ...) argument
[all...]
H A Duenumtst.c66 chArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
76 *resultLength = (int32_t)strlen(cont->currChar);
77 u_charsToUChars(cont->currChar, cont->currUChar, *resultLength);
83 chArrayNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
89 *resultLength = (int32_t)strlen(cont->currChar);
167 uchArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument
173 *resultLength = u_strlen(ucont->currUChar);
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java336 int resultLength;
349 resultLength = stepFromUnicode(cc, encoder, step);
350 ok = checkFromUnicode(cc, resultLength);
467 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 2068 milliseconds

123