/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture() local 173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) { in createTexture() 176 dataBuffer.put(ioBuffer, 0, chunkSize); in createTexture() 177 i += chunkSize; in createTexture() 219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in writeTexture() local 220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture() 221 output.write(ioBuffer, 0, chunkSize); in writeTexture() 222 i += chunkSize; in writeTexture()
|
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamObjectTest.java | 87 private void testObjectOneChar(int chunkSize) throws IOException { in testObjectOneChar() argument 102 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testObjectOneChar() 139 private void testObjectOneLargeChar(int chunkSize) throws IOException { in testObjectOneLargeChar() argument 156 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testObjectOneLargeChar() 193 private void testObjectAndTwoChars(int chunkSize) throws IOException { in testObjectAndTwoChars() argument 213 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testObjectAndTwoChars() 257 private void testComplexObject(int chunkSize) throws IOException { in testComplexObject() argument 283 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testComplexObject() 328 private void testDeepObjects(int chunkSize) throws IOException { in testDeepObjects() argument 352 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testDeepObjects()
|
D | ProtoInputStreamBoolTest.java | 47 private void testRead(int chunkSize) throws IOException { in testRead() argument 65 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 138 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 177 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 263 public void testPacked(int chunkSize) throws IOException { in testPacked() argument 297 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamEnumTest.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 73 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 154 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 207 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 298 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 354 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamSFixed32Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 71 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 152 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 201 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 291 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 335 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamInt32Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 73 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 154 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 207 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 297 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 353 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamUInt32Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 73 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 154 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 206 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 296 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 352 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamSInt32Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 71 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 152 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 201 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 291 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 335 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamFixed32Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 71 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 152 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 201 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 291 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 335 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamSInt64Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 81 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 172 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 240 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 339 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 401 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamSFixed64Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 86 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 177 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 255 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 354 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 426 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamInt64Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 84 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 175 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 247 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 346 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 424 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamFixed64Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 86 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 177 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 255 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 354 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 426 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamUInt64Test.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 83 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 174 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 245 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 344 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 420 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamStringTest.java | 41 private void testRead(int chunkSize) throws IOException { in testRead() argument 69 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 146 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 195 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated()
|
D | ProtoInputStreamBytesTest.java | 42 private void testRead(int chunkSize) throws IOException { in testRead() argument 73 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 159 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 206 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated()
|
D | ProtoInputStreamDoubleTest.java | 42 private void testRead(int chunkSize) throws IOException { in testRead() argument 97 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 198 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 293 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 405 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 493 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
D | ProtoInputStreamFloatTest.java | 42 private void testRead(int chunkSize) throws IOException { in testRead() argument 88 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRead() 189 private void testRepeated(int chunkSize) throws IOException { in testRepeated() argument 266 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testRepeated() 378 private void testPacked(int chunkSize) throws IOException { in testPacked() argument 446 final ProtoInputStream pi = new ProtoInputStream(stream, chunkSize); in testPacked()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.cpp | 104 ssize_t chunkSize = U32_AT(tmpData); // size includes size and type in extract3GPPLocalDescriptions() local 107 if (chunkSize <= 8 || chunkSize > size) { in extract3GPPLocalDescriptions() 111 size_t remaining = chunkSize - 8; in extract3GPPLocalDescriptions() 366 data += chunkSize; in extract3GPPLocalDescriptions() 367 size -= chunkSize; in extract3GPPLocalDescriptions() 380 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions() local 386 if (chunkSize <= 8 || size < chunkSize) { in extract3GPPGlobalDescriptions() 529 data += chunkSize; in extract3GPPGlobalDescriptions() 530 size -= chunkSize; in extract3GPPGlobalDescriptions()
|
/frameworks/base/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 34 EncodedBuffer::Pointer::Pointer(size_t chunkSize) in Pointer() argument 38 mChunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in Pointer() 90 EncodedBuffer::EncodedBuffer(size_t chunkSize) in EncodedBuffer() argument 94 chunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in EncodedBuffer() 95 mChunkSize = (chunkSize / PAGE_SIZE + ((chunkSize % PAGE_SIZE == 0) ? 0 : 1)) * PAGE_SIZE; in EncodedBuffer()
|
/frameworks/av/media/libstagefright/ |
D | JPEGSource.cpp | 173 uint16_t chunkSize; in parseJPEG() local 174 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG() 180 if (chunkSize < 2) { in parseJPEG() 217 i += chunkSize - 2; in parseJPEG() 225 i += chunkSize - 2; in parseJPEG()
|
/frameworks/base/libs/hwui/jni/ |
D | NinePatch.cpp | 67 size_t chunkSize = obj != NULL ? env->GetArrayLength(obj) : 0; in validateNinePatchChunk() local 68 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk() 73 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk() 75 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
|
/frameworks/base/libs/protoutil/include/android/util/ |
D | EncodedBuffer.h | 46 explicit EncodedBuffer(size_t chunkSize); 52 explicit Pointer(size_t chunkSize);
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 186 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init() local 188 if (chunkSize > remainingSize) { in init() 193 if (chunkSize < 16) { in init() 306 mDataSize = chunkSize; in init() 361 offset += chunkSize; in init()
|
/frameworks/base/core/java/android/util/proto/ |
D | EncodedBuffer.java | 104 public EncodedBuffer(int chunkSize) { in EncodedBuffer() argument 105 if (chunkSize <= 0) { in EncodedBuffer() 106 chunkSize = 8 * 1024; in EncodedBuffer() 108 mChunkSize = chunkSize; in EncodedBuffer()
|