/external/icu4c/common/ |
H A D | uenum.c | 88 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 D | ulist.c | 212 U_CAPI const char * U_EXPORT2 ulist_next_keyword_value(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { argument 217 /* TODO: resultLength; */
|
H A D | ustrenum.cpp | 42 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 65 if(resultLength!=NULL) { 66 *resultLength=unistr.length(); 187 int32_t* resultLength, 190 return THIS(en)->unext(resultLength, *ec); 198 int32_t* resultLength, 201 return THIS(en)->next(resultLength, *e 186 ustrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument 197 ustrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument 274 ucharstrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument [all...] |
H A D | loclikely.cpp | 864 int32_t resultLength = 0; local 902 resultLength = 916 if (resultLength == 0) { 928 resultLength = 936 return resultLength;
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/ |
H A D | UnicodeBrew.cpp | 77 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument 82 UChar* resultEnd = result + resultLength; 84 if (sourceLength <= resultLength) { 100 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) 105 UChar* resultEnd = result + resultLength; 107 if (sourceLength <= resultLength) { 123 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) 126 if (resultLength < sourceLength) {
|
/external/webkit/Source/WebCore/platform/text/ |
H A D | TextCodecLatin1.cpp | 165 size_t resultLength = 0; local 179 result.grow(resultLength + replacementLength + length - i); 181 memcpy(bytes + resultLength, replacement, replacementLength); 182 resultLength += replacementLength; 186 bytes[resultLength++] = b; 189 return CString(bytes, resultLength);
|
H A D | TextCodecUserDefined.cpp | 70 size_t resultLength = 0; local 76 bytes[resultLength++] = signedByte; 81 result.grow(resultLength + replacementLength + length - i); 83 memcpy(bytes + resultLength, replacement, replacementLength); 84 resultLength += replacementLength; 88 return CString(bytes, resultLength);
|
/external/icu4c/extra/uconv/ |
H A D | uwmsg.c | 132 int32_t resultLength = LENGTHOF(result); local 153 resultLength = sizeof(gNoFormatting) / U_SIZEOF_UCHAR; 154 if((msgLen + resultLength) <= LENGTHOF(result)) { 156 memcpy(result + msgLen, gNoFormatting, resultLength); 157 resultLength += msgLen; 158 uprint(result, resultLength, fp, &err); 165 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); 182 uprint(result, resultLength, fp, &err);
|
/external/icu4c/i18n/ |
H A D | utrans.cpp | 229 int32_t *resultLength) { 232 if(resultLength!=NULL) { 233 *resultLength=ID.length(); 320 int32_t* resultLength, 331 if(resultLength!=NULL) { 332 *resultLength=ID.length(); 338 if(resultLength!=NULL) { 339 *resultLength=0; 228 utrans_getUnicodeID(const UTransliterator *trans, int32_t *resultLength) argument
|
H A D | csdetect.cpp | 362 enumNext(UEnumeration *en, int32_t *resultLength, UErrorCode * /*status*/) { argument 364 if(resultLength != NULL) { 365 *resultLength = 0; 370 if(resultLength != NULL) { 371 *resultLength = (int32_t)uprv_strlen(currName);
|
H A D | ulocdata.c | 138 UChar *result, int32_t resultLength, UErrorCode *status){ 185 u_strncpy(result,delimiter, resultLength); 137 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status) argument
|
H A D | vzone.cpp | 81 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 D | umsg.cpp | 63 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 D | unum.cpp | 159 int32_t resultLength, 163 return unum_formatInt64(fmt, number, result, resultLength, pos, status); 170 int32_t resultLength, 178 if(!(result==NULL && resultLength==0)) { 181 res.setTo(result, 0, resultLength); 196 return res.extract(result, resultLength, *status); 203 int32_t resultLength, 211 if(!(result==NULL && resultLength==0)) { 214 res.setTo(result, 0, resultLength); 229 return res.extract(result, resultLength, *statu 156 unum_format( const UNumberFormat* fmt, int32_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument 167 unum_formatInt64(const UNumberFormat* fmt, int64_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument 200 unum_formatDouble( const UNumberFormat* fmt, double number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument 234 unum_formatDecimal(const UNumberFormat* fmt, const char * number, int32_t length, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument 278 unum_formatDoubleCurrency(const UNumberFormat* fmt, double number, UChar* currency, UChar* result, int32_t resultLength, UFieldPosition* pos, UErrorCode* status) argument 648 unum_getTextAttribute(const UNumberFormat* fmt, UNumberFormatTextAttribute tag, UChar* result, int32_t resultLength, UErrorCode* status) argument 772 unum_toPattern( const UNumberFormat* fmt, UBool isPatternLocalized, UChar* result, int32_t resultLength, UErrorCode* status) argument [all...] |
/external/icu4c/test/intltest/ |
H A D | convtest.h | 60 int32_t resultLength; member in struct:ConversionCase 86 const UChar *result, int32_t resultLength, 92 const uint8_t *result, int32_t resultLength,
|
H A D | bidiconf.cpp | 436 int32_t resultLength=ubidi_getResultLength(ubidi); // visual length including BiDi controls local 440 for(i=visualIndex=0; i<resultLength; ++i) { 471 for(i=0; i<resultLength; ++i) {
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/wince/ |
H A D | UnicodeWinCE.cpp | 85 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument 90 UChar* resultEnd = result + resultLength; 93 if (sourceLength <= resultLength) 109 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument 114 UChar* resultEnd = result + resultLength; 117 if (sourceLength <= resultLength) 133 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument 136 if (resultLength < sourceLength) {
|
/external/webkit/Source/WebCore/dom/ |
H A D | StyleElement.cpp | 102 unsigned resultLength = 0; local 106 if (length > std::numeric_limits<unsigned>::max() - resultLength) { 110 resultLength += length; 114 String sheetText = String::createUninitialized(resultLength, text); 125 ASSERT(p == text + resultLength);
|
H A D | Text.cpp | 121 unsigned resultLength = 0; local 127 if (std::numeric_limits<unsigned>::max() - data.length() < resultLength) 129 resultLength += data.length(); 132 String result = String::createUninitialized(resultLength, resultData); 143 ASSERT(p == resultData + resultLength);
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | WidthIterator.cpp | 243 int32_t resultLength = unorm_normalize(m_run.data(currentCharacter), 2, local 245 if (resultLength == 1 && uStatus == 0)
|
/external/icu4c/test/cintltst/ |
H A D | spreptst.c | 760 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 D | uenumtst.c | 64 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);
|
H A D | cmsgtst.c | 189 int32_t resultLength =0,count=0; local 203 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1); 206 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); 207 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1); 237 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2); 249 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2); 863 UChar* result, int32_t resultLength, UErrorCode *status, ...) 868 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, a 862 CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, UChar* result, int32_t resultLength, UErrorCode *status, ...) argument [all...] |
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/ |
H A D | UnicodeGLib.cpp | 69 static int convertCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error, UTF8CaseFunction caseFunction) argument 89 if (realLength > resultLength) { 97 conversionResult = convertUTF8ToUTF16(&utf8Source, utf8Source + utf8ResultLength, &utf16Target, utf16Target + resultLength, true); 104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument 106 return convertCase(result, resultLength, src, srcLength, error, g_utf8_casefold); 109 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument 111 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strdown); 114 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument 116 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strup);
|
/external/webkit/Source/WebCore/platform/text/wince/ |
H A D | TextCodecWinCE.cpp | 210 int resultLength = MultiByteToWideChar(codePage, flags, bytes, testLength, 0, 0); local 212 if (resultLength > 0) { 214 result.resize(oldSize + resultLength); 216 MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength); 283 int resultLength = WideCharToMultiByte(m_codePage, WC_COMPOSITECHECK, characters, length, 0, 0, 0, 0); local 287 if (resultLength <= 0) 291 CString result = CString::newUninitialized(resultLength, characterBuffer); 293 WideCharToMultiByte(m_codePage, WC_COMPOSITECHECK, characters, length, characterBuffer, resultLength, 0, 0);
|