Searched refs:resultLength (Results 1 - 25 of 89) sorted by relevance

1234

/external/icu4c/common/
H A Duenumimp.h65 * @param resultLength pointer to result length
72 int32_t* resultLength,
82 * @param resultLength pointer to result length
89 int32_t* resultLength,
139 int32_t* resultLength,
150 int32_t* resultLength,
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 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();
146 const char *UStringEnumeration::next(int32_t *resultLength, UErrorCode &status) { argument
147 return uenum_next(uenum, resultLength, &status);
196 int32_t* resultLength,
199 return THIS(en)->unext(resultLength, *e
195 ustrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
206 ustrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ec) argument
283 ucharstrenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
299 ucharstrenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* ) argument
[all...]
H A Dustrenum.h50 virtual const char* next(int32_t *resultLength, UErrorCode& status);
/external/webkit/Source/WebCore/platform/text/
H A DTextCodecUserDefined.cpp70 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);
H A DTextCodecLatin1.cpp165 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);
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Duenum.h66 * @param resultLength pointer to receive the length of the result
81 int32_t* resultLength,
95 * @param resultLength pointer to receive the length of the result
114 int32_t* resultLength,
/external/webkit/Source/JavaScriptGlue/icu/unicode/
H A Duenum.h66 * @param resultLength pointer to receive the length of the result
81 int32_t* resultLength,
95 * @param resultLength pointer to receive the length of the result
114 int32_t* resultLength,
/external/webkit/Source/WebCore/icu/unicode/
H A Duenum.h66 * @param resultLength pointer to receive the length of the result
81 int32_t* resultLength,
95 * @param resultLength pointer to receive the length of the result
114 int32_t* resultLength,
/external/icu4c/extra/uconv/
H A Duwmsg.c130 int32_t resultLength = LENGTHOF(result); local
148 resultLength = sizeof(gNoFormatting) / U_SIZEOF_UCHAR;
149 if((msgLen + resultLength) <= LENGTHOF(result)) {
151 memcpy(result + msgLen, gNoFormatting, resultLength);
152 resultLength += msgLen;
153 uprint(result, resultLength, fp, &err);
160 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err);
177 uprint(result, resultLength, fp, &err);
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
H A DUnicodeGLib.cpp69 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/icu4c/common/unicode/
H A Dstrenum.h101 * are no more elements, returns NULL. If the resultLength pointer
104 * status is returned, the value at resultLength is undefined.</p>
124 * @param resultLength a pointer to receive the length, can be NULL.
129 virtual const char* next(int32_t *resultLength, UErrorCode& status);
133 * are no more elements, returns NULL. If the resultLength pointer
136 * status is returned, the value at resultLength is undefined.</p>
149 * @param resultLength a ponter to receive the length, can be NULL.
154 virtual const UChar* unext(int32_t *resultLength, UErrorCode& status);
258 * int32_t resultLength=0;
259 * const char *s=next(&resultLength, statu
[all...]
H A Duenum.h95 * @param resultLength pointer to receive the length of the result
110 int32_t* resultLength,
124 * @param resultLength pointer to receive the length of the result
143 int32_t* resultLength,
/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/
H A DUnicodeBrew.cpp77 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/JavaScriptCore/wtf/unicode/wince/
H A DUnicodeWinCE.cpp85 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/icu4c/i18n/
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 Dunum.cpp160 int32_t resultLength,
164 return unum_formatInt64(fmt, number, result, resultLength, pos, status);
171 int32_t resultLength,
179 if(!(result==NULL && resultLength==0)) {
182 res.setTo(result, 0, resultLength);
197 return res.extract(result, resultLength, *status);
204 int32_t resultLength,
212 if(!(result==NULL && resultLength==0)) {
215 res.setTo(result, 0, resultLength);
230 return res.extract(result, resultLength, *statu
157 unum_format( const UNumberFormat* fmt, int32_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
168 unum_formatInt64(const UNumberFormat* fmt, int64_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
201 unum_formatDouble( const UNumberFormat* fmt, double number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
235 unum_formatDecimal(const UNumberFormat* fmt, const char * number, int32_t length, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status) argument
279 unum_formatDoubleCurrency(const UNumberFormat* fmt, double number, UChar* currency, UChar* result, int32_t resultLength, UFieldPosition* pos, UErrorCode* status) argument
527 unum_getTextAttribute(const UNumberFormat* fmt, UNumberFormatTextAttribute tag, UChar* result, int32_t resultLength, UErrorCode* status) argument
650 unum_toPattern( const UNumberFormat* fmt, UBool isPatternLocalized, UChar* result, int32_t resultLength, UErrorCode* status) argument
[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...]
/external/icu4c/test/intltest/
H A Dconvtest.h60 int32_t resultLength; member in struct:ConversionCase
86 const UChar *result, int32_t resultLength,
92 const uint8_t *result, int32_t resultLength,
H A Dconvtest.cpp996 int32_t resultLength; local
1034 resultLength=stepToUnicode(cc, cnv.getAlias(),
1040 result, resultLength,
1048 if (cc.offsets != NULL && resultOffsets[resultLength] != -1) {
1050 cc.caseNr, cc.charset, resultLength);
1052 if (result[resultLength] != (UChar)-1) {
1054 cc.caseNr, cc.charset, resultLength);
1064 resultLength=ucnv_toUChars(cnv.getAlias(),
1070 result, resultLength,
1080 resultLength
1100 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name, const UChar *result, int32_t resultLength, const int32_t *resultOffsets, UErrorCode resultErrorCode) argument
1443 int32_t resultLength; local
1551 checkFromUnicode(ConversionCase &cc, UConverter *cnv, const char *name, const uint8_t *result, int32_t resultLength, const int32_t *resultOffsets, UErrorCode resultErrorCode) argument
[all...]
/external/icu4c/i18n/unicode/
H A Dumsg.h167 * @param resultLength The maximum size of result.
171 * @return The total buffer size needed; if greater than resultLength, the
181 int32_t resultLength,
194 * @param resultLength The maximum size of result.
198 * @return The total buffer size needed; if greater than resultLength, the
208 int32_t resultLength,
271 * @param resultLength The maximum size of result.
277 * @return The total buffer size needed; if greater than resultLength, the
287 int32_t resultLength,
301 * @param resultLength Th
[all...]
H A Dunum.h389 * @param resultLength The maximum size of result.
395 * @return The total buffer size needed; if greater than resultLength, the output was truncated.
408 int32_t resultLength,
418 * @param resultLength The maximum size of result.
424 * @return The total buffer size needed; if greater than resultLength, the output was truncated.
437 int32_t resultLength,
447 * @param resultLength The maximum size of result.
453 * @return The total buffer size needed; if greater than resultLength, the output was truncated.
466 int32_t resultLength,
480 * @param resultLength Th
[all...]
/external/webkit/Source/WebCore/dom/
H A DStyleElement.cpp102 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);
/external/webkit/Source/WebCore/platform/text/wince/
H A DTextCodecWinCE.cpp210 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);
/external/webkit/Source/JavaScriptCore/wtf/unicode/icu/
H A DUnicodeIcu.h123 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument
126 int realLength = u_strFoldCase(result, resultLength, src, srcLength, U_FOLD_CASE_DEFAULT, &status);
131 inline int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument
134 int realLength = u_strToLower(result, resultLength, src, srcLength, "", &status);
149 inline int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) argument
152 int realLength = u_strToUpper(result, resultLength, src, srcLength, "", &status);

Completed in 361 milliseconds

1234