Home
last modified time | relevance | path

Searched refs:bytes_consumed (Results 1 – 25 of 47) sorted by relevance

12

/external/libxaac/decoder/
Dixheaacd_headerdecode.c486 WORD32 header_len, WORD32 *bytes_consumed, in ixheaacd_ga_hdr_dec() argument
523 *bytes_consumed = 1; in ixheaacd_ga_hdr_dec()
540 *bytes_consumed = 1; in ixheaacd_ga_hdr_dec()
576 *bytes_consumed = 1; in ixheaacd_ga_hdr_dec()
657 *bytes_consumed = ((WORD32)it_bit_buff->size) >> 3; in ixheaacd_ga_hdr_dec()
659 *bytes_consumed = (((((SIZE_T)it_bit_buff->ptr_read_next - in ixheaacd_ga_hdr_dec()
726 *bytes_consumed = 1; in ixheaacd_ga_hdr_dec()
751 *bytes_consumed = 1; in ixheaacd_ga_hdr_dec()
755 *bytes_consumed = (cnt_bits - it_bit_buff->cnt_bits) >> 3; in ixheaacd_ga_hdr_dec()
756 if (it_bit_buff->bit_pos < 7) *bytes_consumed += 1; in ixheaacd_ga_hdr_dec()
[all …]
Dixheaacd_headerdecode.h31 WORD32 *bytes_consumed,
47 WORD32 header_len, WORD32 *bytes_consumed,
Dixheaacd_latmdemux.c157 WORD32 bytes_consumed; in ixheaacd_latm_stream_mux_config() local
209 aac_state_struct, it_bit_buff->cnt_bits, &bytes_consumed, in ixheaacd_latm_stream_mux_config()
231 aac_state_struct, it_bit_buff->cnt_bits, &bytes_consumed, in ixheaacd_latm_stream_mux_config()
/external/image_io/includes/image_io/base/
Ddata_match_result.h36 DataMatchResult(Type type, size_t bytes_consumed) in DataMatchResult() argument
38 bytes_consumed_(bytes_consumed), in DataMatchResult()
80 DataMatchResult& SetBytesConsumed(size_t bytes_consumed) { in SetBytesConsumed() argument
81 bytes_consumed_ = bytes_consumed; in SetBytesConsumed()
/external/libhevc/fuzzer/
Dhevc_dec_fuzzer.cpp263 size_t bytes_consumed; in decodeHeader() local
277 bytes_consumed = dec_op.u4_num_bytes_consumed; in decodeHeader()
280 if (!bytes_consumed) bytes_consumed = 4; in decodeHeader()
282 bytes_consumed = std::min(size, bytes_consumed); in decodeHeader()
284 data += bytes_consumed; in decodeHeader()
285 size -= bytes_consumed; in decodeHeader()
/external/libavc/fuzzer/
Davc_dec_fuzzer.cpp258 size_t bytes_consumed; in decodeHeader() local
272 bytes_consumed = dec_op.u4_num_bytes_consumed; in decodeHeader()
275 if (!bytes_consumed) bytes_consumed = 4; in decodeHeader()
277 bytes_consumed = std::min(size, bytes_consumed); in decodeHeader()
279 data += bytes_consumed; in decodeHeader()
280 size -= bytes_consumed; in decodeHeader()
/external/libmpeg2/fuzzer/
Dmpeg2_dec_fuzzer.cpp338 size_t bytes_consumed; in decodeHeader() local
352 bytes_consumed = dec_op.u4_num_bytes_consumed; in decodeHeader()
355 if (!bytes_consumed) bytes_consumed = 4; in decodeHeader()
357 bytes_consumed = std::min(size, bytes_consumed); in decodeHeader()
359 data += bytes_consumed; in decodeHeader()
360 size -= bytes_consumed; in decodeHeader()
/external/libese/libese-teq1/
Dteq1.c137 int bytes_consumed = ese->ops->poll(ese, opts->host_address, timeout, 0); in teq1_receive() local
138 if (bytes_consumed < 0 || bytes_consumed > 1) { in teq1_receive()
140 ALOGV("%s: comm error: %d", __func__, bytes_consumed); in teq1_receive()
144 if (bytes_consumed) { in teq1_receive()
148 ese->ops->hw_receive(ese, (uint8_t *)(&frame->header.NAD + bytes_consumed), in teq1_receive()
149 sizeof(frame->header) - bytes_consumed, 0); in teq1_receive()
150 teq1_dump_receive((uint8_t *)(&frame->header.NAD + bytes_consumed), in teq1_receive()
151 sizeof(frame->header) - bytes_consumed); in teq1_receive()
/external/openscreen/cast/standalone_receiver/
Ddecoder.cc60 const int bytes_consumed = av_parser_parse2( in Decode() local
63 if (bytes_consumed < 0) { in Decode()
64 OnError("av_parser_parse2", bytes_consumed, frame_id); in Decode()
/external/openscreen/discovery/mdns/
Dmdns_reader.cc67 size_t bytes_consumed = 0; in Read() local
88 if (!bytes_consumed) { in Read()
89 bytes_consumed = position + sizeof(uint8_t) - current(); in Read()
91 return Skip(bytes_consumed); in Read()
98 if (!bytes_consumed) { in Read()
99 bytes_consumed = position + sizeof(uint16_t) - current(); in Read()
/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid.cc390 int* bytes_consumed) { in UTF8GenericScan() argument
391 *bytes_consumed = 0; in UTF8GenericScan()
493 *bytes_consumed = src - isrc; in UTF8GenericScan()
500 int* bytes_consumed) { in UTF8GenericScanFastAscii() argument
501 *bytes_consumed = 0; in UTF8GenericScanFastAscii()
533 *bytes_consumed = src - isrc; in UTF8GenericScanFastAscii()
559 int bytes_consumed = 0; in IsStructurallyValidUTF8() local
561 buf, len, &bytes_consumed); in IsStructurallyValidUTF8()
562 return (bytes_consumed == len); in IsStructurallyValidUTF8()
568 int bytes_consumed = 0; in UTF8SpnStructurallyValid() local
[all …]
/external/brotli/go/cbrotli/
Dwriter.go104 p = p[int(result.bytes_consumed):]
105 n += int(result.bytes_consumed)
/external/perfetto/src/trace_processor/rpc/
Dhttpd.cc200 size_t bytes_consumed = ParseOneHttpRequest(client); in OnDataAvailable() local
201 if (bytes_consumed == 0) in OnDataAvailable()
203 memmove(rxbuf, &rxbuf[bytes_consumed], client->rxbuf_used - bytes_consumed); in OnDataAvailable()
204 client->rxbuf_used -= bytes_consumed; in OnDataAvailable()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc389 grpc_slice* recv_bytes, size_t bytes_consumed) { in set_unused_bytes() argument
391 if (GRPC_SLICE_LENGTH(*recv_bytes) == bytes_consumed) { in set_unused_bytes()
396 result->unused_bytes_size = GRPC_SLICE_LENGTH(*recv_bytes) - bytes_consumed; in set_unused_bytes()
400 GRPC_SLICE_START_PTR(*recv_bytes) + bytes_consumed, in set_unused_bytes()
463 set_unused_bytes(result, &handshaker->recv_bytes, resp->bytes_consumed); in alts_tsi_handshaker_handle_response()
Dhandshaker.pb.c91 …PB_FIELD( 2, UINT32 , OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResp, bytes_consumed, out_fr…
92 …ESSAGE , OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResp, result, bytes_consumed, &grpc_gcp_Han…
/external/rust/crates/flate2/src/ffi/
Drust.rs63 self.total_in += res.bytes_consumed as u64; in decompress()
140 self.total_in += res.bytes_consumed as u64; in compress()
/external/crosvm/devices/src/virtio/
Ddescriptor_utils.rs62 bytes_consumed: usize, field
75 fn bytes_consumed(&self) -> usize { in bytes_consumed() method
76 self.bytes_consumed in bytes_consumed()
176 self.bytes_consumed += consumed; in consume()
184 other.bytes_consumed = 0; in split_at()
269 bytes_consumed: 0, in new()
440 self.regions.bytes_consumed() in bytes_read()
537 bytes_consumed: 0, in new()
686 self.regions.bytes_consumed() in bytes_written()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.h96 size_t bytes_consumed);
Dalts_tsi_handshaker.cc657 size_t bytes_consumed) { in alts_tsi_handshaker_result_set_unused_bytes() argument
659 if (GRPC_SLICE_LENGTH(*recv_bytes) == bytes_consumed) { in alts_tsi_handshaker_result_set_unused_bytes()
664 sresult->unused_bytes_size = GRPC_SLICE_LENGTH(*recv_bytes) - bytes_consumed; in alts_tsi_handshaker_result_set_unused_bytes()
668 GRPC_SLICE_START_PTR(*recv_bytes) + bytes_consumed, in alts_tsi_handshaker_result_set_unused_bytes()
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc242 int32_t bytes_consumed) { in grpc_gcp_handshaker_resp_set_bytes_consumed() argument
250 resp->bytes_consumed = bytes_consumed; in grpc_gcp_handshaker_resp_set_bytes_consumed()
625 result &= (l_resp->bytes_consumed == r_resp->bytes_consumed); in grpc_gcp_handshaker_resp_equals()
Dalts_handshaker_service_api_test_lib.h106 int32_t bytes_consumed);
/external/libwebm/m2ts/
Dvpxpes_parser.h166 PacketData* processed_data, std::size_t* bytes_consumed) const;
Dvpxpes_parser.cc303 PacketData* processed_data, std::size_t* bytes_consumed) const { in RemoveStartCodeEmulationPreventionBytes()
333 *bytes_consumed = i; in RemoveStartCodeEmulationPreventionBytes()
/external/llvm-project/lldb/source/Utility/
DStringExtractor.cpp361 size_t bytes_consumed = d.data() - view.data(); in GetNameColonValue() local
362 m_index += bytes_consumed; in GetNameColonValue()
/external/rust/crates/arbitrary/src/
Dunstructured.rs295 let (result, bytes_consumed) = Self::int_in_range_impl(range, self.data.iter().cloned())?; in int_in_range()
296 self.data = &self.data[bytes_consumed..]; in int_in_range()

12