Searched refs:sizeNeeded (Results 1 – 11 of 11) sorted by relevance
106 int sizeNeeded = destIndex + charsSkipped + rlen; in escapeSlow() local107 if (destSize < sizeNeeded) { in escapeSlow()108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow()129 int sizeNeeded = destIndex + charsLeft; in escapeSlow() local130 if (destSize < sizeNeeded) { in escapeSlow()133 dest = growBuffer(dest, destIndex, sizeNeeded); in escapeSlow()136 destIndex = sizeNeeded; in escapeSlow()
200 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow() local201 if (dest.length < sizeNeeded) { in escapeSlow()202 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow()
1002 int sizeNeeded, tenMsblock; in Insert() local1005 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()
433 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()
623 int sizeNeeded = glyph.fWidth * glyph.fHeight; in drawDWMask() local625 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()
334 size_t sizeNeeded = SkUTF16_ToUTF8((uint16_t*)text, in TextToString() local337 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded); in TextToString()339 decodedText->append(utf8, sizeNeeded); in TextToString()
1173 int sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() local1184 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()
200 …etMemory(BidiMemoryForAllocation *bidiMem, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded) { in ubidi_getMemory() argument205 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()
430 …getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded);
1333 boolean mayAllocate, int sizeNeeded) in getMemory() argument1338 if (sizeNeeded == len) { in getMemory()1343 if (sizeNeeded <= len) { in getMemory()1353 return Array.newInstance(arrayClass, sizeNeeded); in getMemory()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...