Home
last modified time | relevance | path

Searched refs:sizeNeeded (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava/src/com/google/common/escape/
DCharEscaper.java106 int sizeNeeded = destIndex + charsSkipped + rlen; in escapeSlow() local
107 if (destSize < sizeNeeded) { in escapeSlow()
108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow()
129 int sizeNeeded = destIndex + charsLeft; in escapeSlow() local
130 if (destSize < sizeNeeded) { in escapeSlow()
133 dest = growBuffer(dest, destIndex, sizeNeeded); in escapeSlow()
136 destIndex = sizeNeeded; in escapeSlow()
DUnicodeEscaper.java200 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow() local
201 if (dest.length < sizeNeeded) { in escapeSlow()
202 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow()
/external/webrtc/src/common_audio/resampler/
Dresampler.cc1002 int sizeNeeded, tenMsblock; in Insert() local
1005 sizeNeeded = out_buffer_size_ + ((lengthIn + in_buffer_size_) * my_out_frequency_khz_) in Insert()
1007 if (sizeNeeded > out_buffer_size_max_) in Insert()
1011 sizeNeeded = (sizeNeeded / tenMsblock + 1) * tenMsblock; in Insert()
1012 out_buffer_ = (WebRtc_Word16*)realloc(out_buffer_, sizeNeeded * sizeof(WebRtc_Word16)); in Insert()
1013 out_buffer_size_max_ = sizeNeeded; in Insert()
1025 sizeNeeded = ((in_buffer_size_ + lengthIn) / tenMsblock + 1) * tenMsblock; in Insert()
1027 sizeNeeded * sizeof(WebRtc_Word16)); in Insert()
1028 in_buffer_size_max_ = sizeNeeded; in Insert()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp433 int sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert()
444 gFileLines[line].unixName = new char[sizeNeeded+1]; in UnixConvert()
445 sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert()
447 sizeNeeded+1, // length of target buffer. in UnixConvert()
455 gFileLines[line].unixName[sizeNeeded] = 0; in UnixConvert()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp623 int sizeNeeded = glyph.fWidth * glyph.fHeight; in drawDWMask() local
625 sizeNeeded *= 3; in drawDWMask()
627 if (sizeNeeded > fBits.count()) { in drawDWMask()
628 fBits.setCount(sizeNeeded); in drawDWMask()
632 memset(fBits.begin(), 0, sizeNeeded); in drawDWMask()
676 sizeNeeded), in drawDWMask()
/external/skia/src/utils/debugger/
DSkObjectParser.cpp334 size_t sizeNeeded = SkUTF16_ToUTF8((uint16_t*)text, in TextToString() local
337 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded); in TextToString()
339 decodedText->append(utf8, sizeNeeded); in TextToString()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1173 int sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() local
1184 gFileLines[line].unixName = new char[sizeNeeded+1]; in UnixConvert()
1185 sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert()
1187 sizeNeeded+1, // length of target buffer. in UnixConvert()
1195 gFileLines[line].unixName[sizeNeeded] = 0; in UnixConvert()
/external/icu/icu4c/source/common/
Dubidi.c200 …etMemory(BidiMemoryForAllocation *bidiMem, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded) { in ubidi_getMemory() argument
205 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory()
206 *pSize=sizeNeeded; in ubidi_getMemory()
212 if(sizeNeeded<=*pSize) { in ubidi_getMemory()
226 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory()
228 *pSize=sizeNeeded; in ubidi_getMemory()
Dubidiimp.h430 …getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java1333 boolean mayAllocate, int sizeNeeded) in getMemory() argument
1338 if (sizeNeeded == len) { in getMemory()
1343 if (sizeNeeded <= len) { in getMemory()
1353 return Array.newInstance(arrayClass, sizeNeeded); in getMemory()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...