Home
last modified time | relevance | path

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

1234

/external/icu4c/common/
Duenum.c88 int32_t* resultLength, in uenum_unextDefault() argument
106 if (resultLength) { in uenum_unextDefault()
107 *resultLength = len; in uenum_unextDefault()
115 int32_t* resultLength, in uenum_nextDefault() argument
120 const UChar *tempUCharVal = en->uNext(en, resultLength, status); in uenum_nextDefault()
125 _getBuffer(en, (*resultLength+1) * sizeof(char)); in uenum_nextDefault()
130 u_UCharsToChars(tempUCharVal, tempCharVal, *resultLength + 1); in uenum_nextDefault()
140 int32_t* resultLength, in uenum_unext() argument
147 return en->uNext(en, resultLength, status); in uenum_unext()
156 int32_t* resultLength, in uenum_next() argument
[all …]
Dustrenum.cpp42 StringEnumeration::next(int32_t *resultLength, UErrorCode &status) { in next() argument
48 if(resultLength!=NULL) { in next()
49 *resultLength=unistr.length(); in next()
60 StringEnumeration::unext(int32_t *resultLength, UErrorCode &status) { in unext() argument
65 if(resultLength!=NULL) { in unext()
66 *resultLength=unistr.length(); in unext()
187 int32_t* resultLength, in ustrenum_unext() argument
190 return THIS(en)->unext(resultLength, *ec); in ustrenum_unext()
198 int32_t* resultLength, in ustrenum_next() argument
201 return THIS(en)->next(resultLength, *ec); in ustrenum_next()
[all …]
Duenumimp.h72 int32_t* resultLength,
89 int32_t* resultLength,
139 int32_t* resultLength,
150 int32_t* resultLength,
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
DUnicodeGLib.cpp69 static int convertCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* erro… in convertCase() argument
89 if (realLength > resultLength) { in convertCase()
97 …oUTF16(&utf8Source, utf8Source + utf8ResultLength, &utf16Target, utf16Target + resultLength, true); in convertCase()
104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in foldCase() argument
106 return convertCase(result, resultLength, src, srcLength, error, g_utf8_casefold); in foldCase()
109 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toLower() argument
111 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strdown); in toLower()
114 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toUpper() argument
116 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strup); in toUpper()
/external/icu4c/i18n/
Dunum.cpp159 int32_t resultLength, in unum_format() argument
163 return unum_formatInt64(fmt, number, result, resultLength, pos, status); in unum_format()
170 int32_t resultLength, in unum_formatInt64() argument
178 if(!(result==NULL && resultLength==0)) { in unum_formatInt64()
181 res.setTo(result, 0, resultLength); in unum_formatInt64()
196 return res.extract(result, resultLength, *status); in unum_formatInt64()
203 int32_t resultLength, in unum_formatDouble() argument
211 if(!(result==NULL && resultLength==0)) { in unum_formatDouble()
214 res.setTo(result, 0, resultLength); in unum_formatDouble()
229 return res.extract(result, resultLength, *status); in unum_formatDouble()
[all …]
Dvzone.cpp81 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) { in vzone_write() argument
85 resultLength = s.length(); in vzone_write()
86 result = (UChar*)uprv_malloc(resultLength); in vzone_write()
87 memcpy(result,s.getBuffer(),resultLength); in vzone_write()
93 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode&… in vzone_writeFromStart() argument
97 resultLength = s.length(); in vzone_writeFromStart()
98 result = (UChar*)uprv_malloc(resultLength); in vzone_writeFromStart()
99 memcpy(result,s.getBuffer(),resultLength); in vzone_writeFromStart()
105 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& sta… in vzone_writeSimple() argument
109 resultLength = s.length(); in vzone_writeSimple()
[all …]
Dumsg.cpp63 int32_t resultLength, in u_formatMessage() argument
73 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status); in u_formatMessage()
85 int32_t resultLength, in u_vformatMessage() argument
92 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); in u_vformatMessage()
102 int32_t resultLength, in u_formatMessageWithError() argument
113 …actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,… in u_formatMessageWithError()
125 int32_t resultLength, in u_vformatMessageWithError() argument
133 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 …]
Dudat.cpp166 int32_t resultLength, in udat_format() argument
173 if(!(result==NULL && resultLength==0)) { in udat_format()
176 res.setTo(result, 0, resultLength); in udat_format()
191 return res.extract(result, resultLength, *status); in udat_format()
328 int32_t resultLength, in udat_toPattern() argument
334 if(!(result==NULL && resultLength==0)) { in udat_toPattern()
337 res.setTo(result, 0, resultLength); in udat_toPattern()
355 return res.extract(result, resultLength, *status); in udat_toPattern()
385 int32_t resultLength, in udat_getSymbols() argument
433 if(!(result==NULL && resultLength==0)) { in udat_getSymbols()
[all …]
Dutrans.cpp229 int32_t *resultLength) { in utrans_getUnicodeID() argument
232 if(resultLength!=NULL) { in utrans_getUnicodeID()
233 *resultLength=ID.length(); in utrans_getUnicodeID()
320 int32_t* resultLength, in utrans_enum_unext() argument
331 if(resultLength!=NULL) { in utrans_enum_unext()
332 *resultLength=ID.length(); in utrans_enum_unext()
338 if(resultLength!=NULL) { in utrans_enum_unext()
339 *resultLength=0; in utrans_enum_unext()
/external/webkit/Source/JavaScriptCore/wtf/unicode/wince/
DUnicodeWinCE.cpp85 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in toLower() argument
90 UChar* resultEnd = result + resultLength; in toLower()
93 if (sourceLength <= resultLength) in toLower()
109 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in toUpper() argument
114 UChar* resultEnd = result + resultLength; in toUpper()
117 if (sourceLength <= resultLength) in toUpper()
133 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in foldCase() argument
136 if (resultLength < sourceLength) { in foldCase()
/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/
DUnicodeBrew.cpp77 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in toLower() argument
82 UChar* resultEnd = result + resultLength; in toLower()
84 if (sourceLength <= resultLength) { in toLower()
100 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in toUpper() argument
105 UChar* resultEnd = result + resultLength; in toUpper()
107 if (sourceLength <= resultLength) { in toUpper()
123 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) in foldCase() argument
126 if (resultLength < sourceLength) { in foldCase()
/external/icu4c/extra/uconv/
Duwmsg.c132 int32_t resultLength = LENGTHOF(result); in u_wmsg() local
153 resultLength = sizeof(gNoFormatting) / U_SIZEOF_UCHAR; in u_wmsg()
154 if((msgLen + resultLength) <= LENGTHOF(result)) { in u_wmsg()
156 memcpy(result + msgLen, gNoFormatting, resultLength); in u_wmsg()
157 resultLength += msgLen; in u_wmsg()
158 uprint(result, resultLength, fp, &err); in u_wmsg()
165 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg()
182 uprint(result, resultLength, fp, &err); in u_wmsg()
/external/webkit/Source/WebCore/platform/text/
DTextCodecUserDefined.cpp70 size_t resultLength = 0; in encodeComplexUserDefined() local
76 bytes[resultLength++] = signedByte; in encodeComplexUserDefined()
81 result.grow(resultLength + replacementLength + length - i); in encodeComplexUserDefined()
83 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexUserDefined()
84 resultLength += replacementLength; in encodeComplexUserDefined()
88 return CString(bytes, resultLength); in encodeComplexUserDefined()
DTextCodecLatin1.cpp165 size_t resultLength = 0; in encodeComplexWindowsLatin1() local
179 result.grow(resultLength + replacementLength + length - i); in encodeComplexWindowsLatin1()
181 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexWindowsLatin1()
182 resultLength += replacementLength; in encodeComplexWindowsLatin1()
186 bytes[resultLength++] = b; in encodeComplexWindowsLatin1()
189 return CString(bytes, resultLength); in encodeComplexWindowsLatin1()
/external/icu4c/i18n/unicode/
Dumsg.h181 int32_t resultLength,
208 int32_t resultLength,
287 int32_t resultLength,
316 int32_t resultLength,
498 int32_t resultLength,
519 int32_t resultLength,
541 int32_t resultLength,
Dunum.h368 int32_t resultLength,
397 int32_t resultLength,
426 int32_t resultLength,
460 int32_t resultLength,
490 int32_t resultLength,
859 int32_t resultLength,
905 int32_t resultLength,
/external/icu4c/test/intltest/
Dconvtest.cpp996 int32_t resultLength; in ToUnicodeCase() local
1034 resultLength=stepToUnicode(cc, cnv.getAlias(), in ToUnicodeCase()
1040 result, resultLength, in ToUnicodeCase()
1048 if (cc.offsets != NULL && resultOffsets[resultLength] != -1) { in ToUnicodeCase()
1050 cc.caseNr, cc.charset, resultLength); in ToUnicodeCase()
1052 if (result[resultLength] != (UChar)-1) { in ToUnicodeCase()
1054 cc.caseNr, cc.charset, resultLength); in ToUnicodeCase()
1064 resultLength=ucnv_toUChars(cnv.getAlias(), in ToUnicodeCase()
1070 result, resultLength, in ToUnicodeCase()
1080 resultLength=ucnv_toUChars(cnv.getAlias(), in ToUnicodeCase()
[all …]
Dconvtest.h60 int32_t resultLength; member
86 const UChar *result, int32_t resultLength,
92 const uint8_t *result, int32_t resultLength,
/external/webkit/Source/JavaScriptCore/wtf/unicode/icu/
DUnicodeIcu.h123 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in foldCase() argument
126 …int realLength = u_strFoldCase(result, resultLength, src, srcLength, U_FOLD_CASE_DEFAULT, &status); in foldCase()
131 inline int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toLower() argument
134 int realLength = u_strToLower(result, resultLength, src, srcLength, "", &status); in toLower()
149 inline int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toUpper() argument
152 int realLength = u_strToUpper(result, resultLength, src, srcLength, "", &status); in toUpper()
/external/webkit/Source/WebCore/platform/text/wince/
DTextCodecWinCE.cpp210 int resultLength = MultiByteToWideChar(codePage, flags, bytes, testLength, 0, 0); in decodeInternal() local
212 if (resultLength > 0) { in decodeInternal()
214 result.resize(oldSize + resultLength); in decodeInternal()
216 … MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength); in decodeInternal()
283 …int resultLength = WideCharToMultiByte(m_codePage, WC_COMPOSITECHECK, characters, length, 0, 0, 0,… in encode() local
287 if (resultLength <= 0) in encode()
291 CString result = CString::newUninitialized(resultLength, characterBuffer); in encode()
293 …oMultiByte(m_codePage, WC_COMPOSITECHECK, characters, length, characterBuffer, resultLength, 0, 0); in encode()
/external/webkit/Source/JavaScriptCore/wtf/unicode/qt4/
DUnicodeQt4.h162 inline int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toLower() argument
177 while (s < e && (rindex < uint(resultLength) || !r)) { in toLower()
192 if (rindex >= uint(resultLength)) { in toLower()
210 if (rindex < uint(resultLength)) in toLower()
220 inline int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in toUpper() argument
235 while (s < e && (rindex < resultLength || !r)) { in toUpper()
250 if (rindex >= resultLength) { in toUpper()
268 if (rindex < resultLength) in toUpper()
283 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) in foldCase() argument
287 if (resultLength < srcLength) { in foldCase()
/external/webkit/Source/WebCore/dom/
DStyleElement.cpp102 unsigned resultLength = 0; in process() local
106 if (length > std::numeric_limits<unsigned>::max() - resultLength) { in process()
110 resultLength += length; in process()
114 String sheetText = String::createUninitialized(resultLength, text); in process()
125 ASSERT(p == text + resultLength); in process()
/external/icu4c/test/cintltst/
Duenumtst.c64 chArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayUNext() argument
74 *resultLength = (int32_t)strlen(cont->currChar); in chArrayUNext()
75 u_charsToUChars(cont->currChar, cont->currUChar, *resultLength); in chArrayUNext()
81 chArrayNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayNext() argument
87 *resultLength = (int32_t)strlen(cont->currChar); in chArrayNext()
165 uchArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in uchArrayUNext() argument
171 *resultLength = u_strlen(ucont->currUChar); in uchArrayUNext()
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DNetscapePluginHostProxy.mm475 … uint32_t requestID, boolean_t returnValue, data_t resultData, mach_msg_type_number_t resultLength)
477 DataDeallocator deallocator(resultData, resultLength);
487 …tr<CFDataRef> result(AdoptCF, CFDataCreate(0, reinterpret_cast<UInt8*>(resultData), resultLength));
573 mach_msg_type_number_t resultLength = 0;
574 …boolean_t returnValue = instanceProxy->evaluate(objectID, script, resultData, resultLength, allowP…
580 …ly(hostProxy->port(), instanceProxy->pluginID(), requestID, returnValue, resultData, resultLength);
582 mig_deallocate(reinterpret_cast<vm_address_t>(resultData), resultLength);
636 mach_msg_type_number_t resultLength = 0;
637 …->invoke(objectID, methodNameIdentifier, argumentsData, argumentsLength, resultData, resultLength);
643 …ly(hostProxy->port(), instanceProxy->pluginID(), requestID, returnValue, resultData, resultLength);
[all …]
DNetscapePluginInstanceProxy.h113 …onst WTF::String& script, data_t& resultData, mach_msg_type_number_t& resultLength, bool allowPopu…
114 … mach_msg_type_number_t argumentsLength, data_t& resultData, mach_msg_type_number_t& resultLength);
115 … mach_msg_type_number_t argumentsLength, data_t& resultData, mach_msg_type_number_t& resultLength);
116 … mach_msg_type_number_t argumentsLength, data_t& resultData, mach_msg_type_number_t& resultLength);
117 bool enumerate(uint32_t objectID, data_t& resultData, mach_msg_type_number_t& resultLength);
119 …ID, const JSC::Identifier& propertyName, data_t &resultData, mach_msg_type_number_t& resultLength);
120 …2_t objectID, unsigned propertyName, data_t &resultData, mach_msg_type_number_t& resultLength);
143 …shalValue(JSC::ExecState*, JSC::JSValue, data_t& resultData, mach_msg_type_number_t& resultLength);

1234