/external/libhevc/fuzzer/ |
D | hevc_dec_fuzzer.cpp | 87 size_t *bytesConsumed); 301 size_t *bytesConsumed) { in decodeFrame() argument 326 *bytesConsumed = dec_op.u4_num_bytes_consumed; in decodeFrame() 330 if (!*bytesConsumed) *bytesConsumed = 4; in decodeFrame() 366 size_t bytesConsumed; in LLVMFuzzerTestOneInput() local 367 ret = codec->decodeFrame(data, size, &bytesConsumed); in LLVMFuzzerTestOneInput() 369 bytesConsumed = std::min(size, bytesConsumed); in LLVMFuzzerTestOneInput() 370 data += bytesConsumed; in LLVMFuzzerTestOneInput() 371 size -= bytesConsumed; in LLVMFuzzerTestOneInput()
|
D | hevc_enc_fuzzer.cpp | 157 size_t bytesConsumed = std::min(size, frameSize); in encodeFrames() local 158 if (bytesConsumed < frameSize) { in encodeFrames() 159 memset(&tmpData[bytesConsumed], data[0], frameSize - bytesConsumed); in encodeFrames() 161 memcpy(tmpData, data, bytesConsumed); in encodeFrames() 194 data += bytesConsumed; in encodeFrames() 195 size -= bytesConsumed; in encodeFrames()
|
/external/libavc/fuzzer/ |
D | avc_dec_fuzzer.cpp | 87 size_t *bytesConsumed); 296 size_t *bytesConsumed) { in decodeFrame() argument 321 *bytesConsumed = dec_op.u4_num_bytes_consumed; in decodeFrame() 325 if (!*bytesConsumed) *bytesConsumed = 4; in decodeFrame() 361 size_t bytesConsumed; in LLVMFuzzerTestOneInput() local 362 ret = codec->decodeFrame(data, size, &bytesConsumed); in LLVMFuzzerTestOneInput() 364 bytesConsumed = std::min(size, bytesConsumed); in LLVMFuzzerTestOneInput() 365 data += bytesConsumed; in LLVMFuzzerTestOneInput() 366 size -= bytesConsumed; in LLVMFuzzerTestOneInput()
|
D | avc_enc_fuzzer.cpp | 880 size_t bytesConsumed = std::min(size, frameSize); in encodeFrames() local 881 if (bytesConsumed < frameSize) { in encodeFrames() 882 memset(&tmpData[bytesConsumed], data[0], frameSize - bytesConsumed); in encodeFrames() 884 memcpy(tmpData, data, bytesConsumed); in encodeFrames() 889 if (mSendEosWithLastFrame && size == bytesConsumed) { in encodeFrames() 918 data += bytesConsumed; in encodeFrames() 919 size -= bytesConsumed; in encodeFrames()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | MockAltsHandshakerResp.java | 85 static HandshakerResp getOkResponse(int bytesConsumed) { in getOkResponse() argument 88 resp.setBytesConsumed(bytesConsumed); in getOkResponse() 94 static HandshakerResp getEmptyOutFrameResponse(int bytesConsumed) { in getEmptyOutFrameResponse() argument 96 resp.setBytesConsumed(bytesConsumed); in getEmptyOutFrameResponse() 102 static HandshakerResp getFinishedResponse(int bytesConsumed) { in getFinishedResponse() argument 112 resp.setBytesConsumed(bytesConsumed); in getFinishedResponse()
|
D | AltsTsiTest.java | 171 int bytesConsumed = 0; in send() local 182 bytesConsumed = req.getServerStart().getInBytes().size(); in send() 191 return MockAltsHandshakerResp.getOkResponse(bytesConsumed); in send()
|
/external/libmpeg2/fuzzer/ |
D | mpeg2_dec_fuzzer.cpp | 75 size_t *bytesConsumed); 376 size_t *bytesConsumed) { in decodeFrame() argument 403 *bytesConsumed = dec_op.u4_num_bytes_consumed; in decodeFrame() 407 if (!*bytesConsumed) *bytesConsumed = 4; in decodeFrame() 443 size_t bytesConsumed; in LLVMFuzzerTestOneInput() local 444 ret = codec->decodeFrame(data, size, &bytesConsumed); in LLVMFuzzerTestOneInput() 446 bytesConsumed = std::min(size, bytesConsumed); in LLVMFuzzerTestOneInput() 447 data += bytesConsumed; in LLVMFuzzerTestOneInput() 448 size -= bytesConsumed; in LLVMFuzzerTestOneInput()
|
/external/libxaac/fuzzer/ |
D | xaac_dec_fuzzer.cpp | 63 int32_t* bytesConsumed); 67 int32_t* bytesConsumed, int32_t* outBytes); 325 int32_t* bytesConsumed) { in configXAACDecoder() argument 357 mXheaacCodecHandle, IA_API_CMD_GET_CURIDX_INPUT_BUF, 0, bytesConsumed); in configXAACDecoder() 639 int32_t* bytesConsumed, in decodeXAACStream() argument 646 configXAACDecoder(inBuffer, inBufferLength, bytesConsumed); in decodeXAACStream() 703 mXheaacCodecHandle, IA_API_CMD_GET_CURIDX_INPUT_BUF, 0, bytesConsumed); in decodeXAACStream() 858 int32_t bytesConsumed = 0; in LLVMFuzzerTestOneInput() local 859 status = codec->configXAACDecoder((uint8_t*)data, size, &bytesConsumed); in LLVMFuzzerTestOneInput() 860 while ((int32_t)size > bytesConsumed) { in LLVMFuzzerTestOneInput() [all …]
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 186 size_t bytesConsumed = linebreak(utf8, utf8 + utf8Bytes, font, width, in shape() local 188 size_t bytesVisible = bytesConsumed - bytesCollapsed; in shape() 220 glyphOffset += SkUTF::CountUTF8(utf8, bytesConsumed); in shape() 221 utf8Offset += bytesConsumed; in shape() 222 utf8 += bytesConsumed; in shape() 223 utf8Bytes -= bytesConsumed; in shape()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 827 int bytesConsumed = 0; 841 bytesConsumed += written; 891 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 900 bytesConsumed, bytesProduced); 917 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 936 bytesConsumed, bytesProduced); 939 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 1221 private SSLEngineResult readPendingBytesFromBIO(ByteBuffer dst, int bytesConsumed, 1233 bytesConsumed, bytesProduced); 1252 bytesConsumed, bytesProduced); [all …]
|
D | ConscryptEngineSocket.java | 668 len -= engineResult.bytesConsumed();
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptEngine.java | 824 int bytesConsumed = 0; 838 bytesConsumed += written; 888 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 897 bytesConsumed, bytesProduced); 914 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 933 bytesConsumed, bytesProduced); 936 return newResult(bytesConsumed, bytesProduced, handshakeStatus); 1218 private SSLEngineResult readPendingBytesFromBIO(ByteBuffer dst, int bytesConsumed, 1230 bytesConsumed, bytesProduced); 1249 bytesConsumed, bytesProduced); [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | GzipInflatingBuffer.java | 76 bytesConsumed += 1; in readUnsignedByte() 109 bytesConsumed += length; in skipBytes() 179 private int bytesConsumed = 0; field in GzipInflatingBuffer 232 int savedBytesConsumed = bytesConsumed; in getAndResetBytesConsumed() 233 bytesConsumed = 0; in getAndResetBytesConsumed() 420 bytesConsumed += bytesConsumedDelta; in inflate()
|
/external/flac/fuzzer/ |
D | flac_enc_fuzzer.cpp | 192 const size_t bytesConsumed = std::min(kFramesPerBlock * frameSize, size); in encodeFrames() local 193 const unsigned inputFrames = bytesConsumed / frameSize; in encodeFrames() 206 data += bytesConsumed; in encodeFrames() 207 size -= bytesConsumed; in encodeFrames()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | DefaultExtractorInput.java | 248 private void updatePeekBuffer(int bytesConsumed) { in updatePeekBuffer() argument 249 peekBufferLength -= bytesConsumed; in updatePeekBuffer() 255 System.arraycopy(peekBuffer, bytesConsumed, newPeekBuffer, 0, peekBufferLength); in updatePeekBuffer()
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | EngineWrapBenchmark.java | 152 if (result.bytesConsumed() != src.limit()) { in verifyResult() 156 src.limit(), result.bytesConsumed())); in verifyResult()
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
D | EngineWrapBenchmark.java | 154 if (result.bytesConsumed() != src.limit()) { in verifyResult() 158 src.limit(), result.bytesConsumed())); in verifyResult()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 191 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeStep() 206 assertEquals(0, wrapResult.bytesConsumed()); in handshakeStep()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 195 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeStep() 210 assertEquals(0, wrapResult.bytesConsumed()); in handshakeStep()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 121 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly() 168 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit() 492 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed() 497 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed() 844 assertEquals(0, result.bytesConsumed()); in sendAppDataInMultipleBuffers() 850 assertEquals(0, result.bytesConsumed()); in sendAppDataInMultipleBuffers() 865 consumed += result.bytesConsumed(); in sendAppDataInMultipleBuffers()
|
D | SSLEngineTest.java | 311 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly() 358 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 123 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly() 170 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit() 494 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed() 499 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed() 844 assertEquals(0, result.bytesConsumed()); in sendAppDataInMultipleBuffers() 850 assertEquals(0, result.bytesConsumed()); in sendAppDataInMultipleBuffers() 865 consumed += result.bytesConsumed(); in sendAppDataInMultipleBuffers()
|
D | SSLEngineTest.java | 315 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly() 362 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 494 assertEquals(0, clientResult.bytesConsumed()); in doEngineHandshake() 495 assertEquals(0, serverResult.bytesConsumed()); in doEngineHandshake() 524 assertEquals(serverPacketBuffer.position() - sTOcPos, clientResult.bytesConsumed()); in doEngineHandshake() 525 assertEquals(clientPacketBuffer.position() - cTOsPos, serverResult.bytesConsumed()); in doEngineHandshake()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 500 assertEquals(0, clientResult.bytesConsumed()); in doEngineHandshake() 501 assertEquals(0, serverResult.bytesConsumed()); in doEngineHandshake() 530 assertEquals(serverPacketBuffer.position() - sTOcPos, clientResult.bytesConsumed()); in doEngineHandshake() 531 assertEquals(clientPacketBuffer.position() - cTOsPos, serverResult.bytesConsumed()); in doEngineHandshake()
|