/external/guava/guava/src/com/google/common/escape/ |
D | CharEscaper.java | 106 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()
|
D | UnicodeEscaper.java | 200 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/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/ |
D | UnicodeEscaper.java | 207 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow() local 208 if (dest.length < sizeNeeded) { in escapeSlow() 209 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow()
|
/external/icu/icu4c/source/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 438 int sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() 449 gFileLines[line].unixName = new char[sizeNeeded+1]; in UnixConvert() 450 sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() 452 sizeNeeded+1, // length of target buffer. in UnixConvert() 460 gFileLines[line].unixName[sizeNeeded] = 0; in UnixConvert()
|
/external/skia/src/core/ |
D | SkPath_serial.cpp | 69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect() local 71 return sizeNeeded; in writeToMemoryAsRRect() 85 SkASSERT(sizeNeeded == buffer.pos()); in writeToMemoryAsRRect()
|
/external/skqp/src/core/ |
D | SkPath_serial.cpp | 69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect() local 71 return sizeNeeded; in writeToMemoryAsRRect() 85 SkASSERT(sizeNeeded == buffer.pos()); in writeToMemoryAsRRect()
|
/external/skqp/src/ports/ |
D | SkScalerContext_win_dw.cpp | 901 int sizeNeeded = glyph.fWidth * glyph.fHeight; in drawDWMask() local 903 sizeNeeded *= 3; in drawDWMask() 905 if (sizeNeeded > fBits.count()) { in drawDWMask() 906 fBits.setCount(sizeNeeded); in drawDWMask() 910 memset(fBits.begin(), 0, sizeNeeded); in drawDWMask() 975 sizeNeeded), in drawDWMask()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 903 int sizeNeeded = glyph.fWidth * glyph.fHeight; in drawDWMask() local 905 sizeNeeded *= 3; in drawDWMask() 907 if (sizeNeeded > fBits.count()) { in drawDWMask() 908 fBits.setCount(sizeNeeded); in drawDWMask() 912 memset(fBits.begin(), 0, sizeNeeded); in drawDWMask() 977 sizeNeeded), in drawDWMask()
|
/external/icu/icu4c/source/test/perf/collationperf/ |
D | collperf.cpp | 1177 int sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() local 1188 gFileLines[line].unixName = new char[sizeNeeded+1]; in UnixConvert() 1189 sizeNeeded = ucnv_fromUChars(cvrtr, in UnixConvert() 1191 sizeNeeded+1, // length of target buffer. in UnixConvert() 1199 gFileLines[line].unixName[sizeNeeded] = 0; in UnixConvert()
|
/external/icu/icu4c/source/common/ |
D | ubidi.cpp | 199 …etMemory(BidiMemoryForAllocation *bidiMem, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded) { in ubidi_getMemory() argument 204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory() 205 *pSize=sizeNeeded; in ubidi_getMemory() 211 if(sizeNeeded<=*pSize) { in ubidi_getMemory() 225 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) { in ubidi_getMemory() 227 *pSize=sizeNeeded; in ubidi_getMemory()
|
D | ubidiimp.h | 428 …getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Bidi.java | 1339 boolean mayAllocate, int sizeNeeded) in getMemory() argument 1344 if (sizeNeeded == len) { in getMemory() 1349 if (sizeNeeded <= len) { in getMemory() 1359 return Array.newInstance(arrayClass, sizeNeeded); in getMemory()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Bidi.java | 1312 boolean mayAllocate, int sizeNeeded) in getMemory() argument 1317 if (sizeNeeded == len) { in getMemory() 1322 if (sizeNeeded <= len) { in getMemory() 1332 return Array.newInstance(arrayClass, sizeNeeded); in getMemory()
|