Searched refs:requestedSize (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteBufferWriter.java | 115 private static byte[] getOrCreateBuffer(int requestedSize) { in getOrCreateBuffer() argument 116 requestedSize = max(requestedSize, MIN_CACHED_BUFFER_SIZE); in getOrCreateBuffer() 120 if (buffer == null || needToReallocate(requestedSize, buffer.length)) { in getOrCreateBuffer() 121 buffer = new byte[requestedSize]; in getOrCreateBuffer() 124 if (requestedSize <= MAX_CACHED_BUFFER_SIZE) { in getOrCreateBuffer() 131 private static boolean needToReallocate(int requestedSize, int bufferLength) { in needToReallocate() argument 133 return bufferLength < requestedSize in needToReallocate() 134 && bufferLength < requestedSize * BUFFER_REALLOCATION_THRESHOLD; in needToReallocate()
|
/external/skqp/src/codec/ |
D | SkIcoCodec.h | 83 int chooseCodec(const SkISize& requestedSize, int startIndex);
|
D | SkIcoCodec.cpp | 227 int SkIcoCodec::chooseCodec(const SkISize& requestedSize, int startIndex) { in chooseCodec() argument 232 if (fEmbeddedCodecs->operator[](i)->dimensions() == requestedSize) { in chooseCodec()
|
/external/skia/src/codec/ |
D | SkIcoCodec.h | 83 int chooseCodec(const SkISize& requestedSize, int startIndex);
|
D | SkIcoCodec.cpp | 227 int SkIcoCodec::chooseCodec(const SkISize& requestedSize, int startIndex) { in chooseCodec() argument 232 if (fEmbeddedCodecs->operator[](i)->dimensions() == requestedSize) { in chooseCodec()
|
/external/v8/third_party/v8/builtins/ |
D | array-sort.tq | 458 macro GetTempArray(sortState: FixedArray, requestedSize: Smi): FixedArray { 459 const min_size: Smi = SmiMax(kSortStateTempSize, requestedSize);
|
/external/python/cpython2/Mac/Modules/qt/ |
D | _Qtmodule.c | 21903 Point requestedSize; in Qt_SGPanelGetDITLForSize() local 21912 &requestedSize); in Qt_SGPanelGetDITLForSize() 21916 PyMac_BuildPoint, requestedSize); in Qt_SGPanelGetDITLForSize()
|