Home
last modified time | relevance | path

Searched refs:bufferLen (Results 1 – 16 of 16) sorted by relevance

/external/icu4c/i18n/
Ddigitlst.cpp180 int32_t bufferLen; in formatBase10() local
190 bufferLen = outputLen; in formatBase10()
193 buffer[bufferLen--] = (char)(-(number % 10) + kZero); in formatBase10()
200 while (bufferLen >= 0 && number) { // Output the number in formatBase10()
201 buffer[bufferLen--] = (char)(number % 10 + kZero); in formatBase10()
205 result = outputLen - bufferLen++; in formatBase10()
207 while (bufferLen <= outputLen) { // Copy the number to output in formatBase10()
208 *(outputStr++) = buffer[bufferLen++]; in formatBase10()
Ducol_res.cpp371 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument
392 if(buffer!=0 && bufferLen>0){ in ucol_getRulesEx()
395 u_memcpy(buffer, ucaRules, uprv_min(UCAlen, bufferLen)); in ucol_getRulesEx()
397 if(len > 0 && bufferLen > UCAlen) { in ucol_getRulesEx()
398 u_memcpy(buffer+UCAlen, rules, uprv_min(len, bufferLen-UCAlen)); in ucol_getRulesEx()
401 return u_terminateUChars(buffer, bufferLen, len+UCAlen, &status); in ucol_getRulesEx()
/external/icu4c/test/perf/normperf/
Dnormperf.cpp202 … NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,buffer, bufferLen, uselen); in TestICU_NFC_Orig_Text()
231 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,buffer,bufferLen, uselen); in TestICU_NFD_Orig_Text()
261 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,buffer,bufferLen, uselen); in TestICU_FCD_Orig_Text()
290 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,buffer,bufferLen, uselen); in TestWin_NFC_Orig_Text()
319 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,buffer,bufferLen, uselen); in TestWin_NFD_Orig_Text()
348 …QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_N… in TestQC_NFC_Orig_Text()
376 …QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_N… in TestQC_NFD_Orig_Text()
404 …QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_F… in TestQC_FCD_Orig_Text()
433 …QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM… in TestIsNormalized_NFC_Orig_Text()
461 …QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM… in TestIsNormalized_NFD_Orig_Text()
[all …]
/external/opencore/codecs_v2/audio/aac/dec/src/
Dsbr_crc_check.cpp159 BitBufferCRC.bufferLen = hBitBuf->bufferLen; in sbr_crc_check()
162 NrCrcBits = min(NrBits, BitBufferCRC.bufferLen - BitBufferCRC.nrBitsRead); in sbr_crc_check()
Dsbr_read_data.cpp176 bitBuf.bufferLen = (stream->sbrElement[0].Payload) << 3; in sbr_read_data()
314 if ((bitBuf.nrBitsRead + zeropadding_bits) > bitBuf.bufferLen) in sbr_read_data()
Ds_bit_buffer.h74 UInt32 bufferLen; member
Dps_decode_bs_utils.cpp141 return (hBitBuf->bufferLen - hBitBuf->nrBitsRead); in GetNrBitsAvailable()
/external/icu4c/test/perf/unisetperf/
Dunisetperf.cpp62 countInputCodePoints = u_countChar32(buffer, bufferLen); in UnicodeSetPerformanceTest()
67 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
72 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
81 … (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, (long)spanCount, in UnicodeSetPerformanceTest()
82 … (double)countInputCodePoints/spanCount, (double)bufferLen/spanCount, (double)utf8Length/spanCount, in UnicodeSetPerformanceTest()
119 int32_t getBufferLen() const { return bufferLen; } in getBufferLen()
/external/icu4c/test/perf/utfperf/
Dutfperf.cpp88 countInputCodePoints = u_countChar32(buffer, bufferLen); in UtfPerformanceTest()
89 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest()
96 int32_t getBufferLen() const { return bufferLen; } in getBufferLen()
/external/icu4c/tools/ctestfw/
Duperf.cpp85 buffer(NULL), bufferLen(0), in UPerfTest()
101 buffer(NULL), bufferLen(0), in UPerfTest()
246 u_strncpy(buffer,ucbuf_getBuffer(ucharBuf,&bufferLen,&status),len); in getBuffer()
248 len = bufferLen; in getBuffer()
/external/icu4c/test/cintltst/
Dcallcoll.c825 int32_t bufferLen = 0; in TestJB581() local
843 bufferLen = uloc_getDisplayName("en_US", 0, dispName, 100, &status); in TestJB581()
865 bufferLen = ((targetKeyOut > 100) ? 100 : targetKeyOut); in TestJB581()
866 if (memcmp(sourceKeyArray, targetKeyArray, bufferLen) != 0) in TestJB581()
888 int32_t bufferLen = 0; in TestJB1401() local
890 bufferLen = uloc_getDisplayName("en_US", 0, dispName, 100, &status); in TestJB1401()
/external/icu4c/tools/ctestfw/unicode/
Duperf.h160 int32_t bufferLen; variable
/external/srec/portable/src/
Dpmemory.c134 size_t bufferLen = *len; in getStackTrace() local
137 rc = PStackTraceGetValue(stackTrace, &bufferLen); in getStackTrace()
/external/icu4c/i18n/unicode/
Ducol.h965 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen);
/external/webkit/JavaScriptCore/icu/unicode/
Ducol.h963 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen);
/external/webkit/WebCore/icu/unicode/
Ducol.h963 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen);