Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 25 of 63) sorted by relevance

123

/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
50 uint8_t* data = GRPC_SLICE_START_PTR(protected_slice) + rp->header_length; in alts_grpc_integrity_only_extra_copy_protect()
59 rp->header_length}; in alts_grpc_integrity_only_extra_copy_protect()
61 GRPC_SLICE_START_PTR(protected_slice) + rp->header_length + data_length, in alts_grpc_integrity_only_extra_copy_protect()
64 GRPC_SLICE_START_PTR(protected_slice) + rp->header_length; in alts_grpc_integrity_only_extra_copy_protect()
95 grpc_slice header_slice = GRPC_SLICE_MALLOC(rp->header_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
142 grpc_slice_buffer_move_first(protected_slices, rp->header_length, in alts_grpc_integrity_only_unprotect()
144 GPR_ASSERT(rp->header_sb.length == rp->header_length); in alts_grpc_integrity_only_unprotect()
Dalts_grpc_privacy_integrity_record_protocol.cc48 unprotected_slices->length + rp->header_length + in alts_grpc_privacy_integrity_protect()
85 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_privacy_integrity_unprotect()
90 protected_slices->length - rp->header_length - rp->tag_length; in alts_grpc_privacy_integrity_unprotect()
96 grpc_slice_buffer_move_first(protected_slices, rp->header_length, in alts_grpc_privacy_integrity_unprotect()
Dalts_grpc_record_protocol_common.cc76 header_iovec.iov_len = rp->header_length; in alts_grpc_record_protocol_get_header_iovec()
112 rp->header_length = alts_iovec_record_protocol_get_header_length(); in alts_grpc_record_protocol_init()
113 rp->header_buf = static_cast<unsigned char*>(gpr_malloc(rp->header_length)); in alts_grpc_record_protocol_init()
Dalts_grpc_record_protocol_common.h53 size_t header_length; member
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
50 uint8_t* data = GRPC_SLICE_START_PTR(protected_slice) + rp->header_length; in alts_grpc_integrity_only_extra_copy_protect()
59 rp->header_length}; in alts_grpc_integrity_only_extra_copy_protect()
61 GRPC_SLICE_START_PTR(protected_slice) + rp->header_length + data_length, in alts_grpc_integrity_only_extra_copy_protect()
64 GRPC_SLICE_START_PTR(protected_slice) + rp->header_length; in alts_grpc_integrity_only_extra_copy_protect()
95 grpc_slice header_slice = GRPC_SLICE_MALLOC(rp->header_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
142 grpc_slice_buffer_move_first(protected_slices, rp->header_length, in alts_grpc_integrity_only_unprotect()
144 GPR_ASSERT(rp->header_sb.length == rp->header_length); in alts_grpc_integrity_only_unprotect()
Dalts_grpc_privacy_integrity_record_protocol.cc48 unprotected_slices->length + rp->header_length + in alts_grpc_privacy_integrity_protect()
85 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_privacy_integrity_unprotect()
90 protected_slices->length - rp->header_length - rp->tag_length; in alts_grpc_privacy_integrity_unprotect()
96 grpc_slice_buffer_move_first(protected_slices, rp->header_length, in alts_grpc_privacy_integrity_unprotect()
Dalts_grpc_record_protocol_common.cc76 header_iovec.iov_len = rp->header_length; in alts_grpc_record_protocol_get_header_iovec()
112 rp->header_length = alts_iovec_record_protocol_get_header_length(); in alts_grpc_record_protocol_init()
113 rp->header_buf = static_cast<unsigned char*>(gpr_malloc(rp->header_length)); in alts_grpc_record_protocol_init()
Dalts_grpc_record_protocol_common.h52 size_t header_length; member
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc41 size_t header_length; member
157 var->header_length = alts_iovec_record_protocol_get_header_length(); in alts_iovec_record_protocol_test_var_create()
158 var->header_buf = static_cast<uint8_t*>(gpr_malloc(var->header_length)); in alts_iovec_record_protocol_test_var_create()
160 var->header_iovec.iov_len = var->header_length; in alts_iovec_record_protocol_test_var_create()
177 var->header_length + var->data_length + var->tag_length; in alts_iovec_record_protocol_test_var_create()
337 iovec_t header_iovec = {nullptr, var->header_length}; in integrity_only_protect_input_check()
382 iovec_t header_iovec = {nullptr, var->header_length}; in integrity_only_unprotect_input_check()
434 iovec_t header_iovec = {var->protected_buf, var->header_length}; in privacy_integrity_random_seal_unseal()
437 randomly_slice(var->protected_buf + var->header_length, in privacy_integrity_random_seal_unseal()
454 size_t empty_payload_frame_size = var->header_length + var->tag_length; in privacy_integrity_empty_seal_unseal()
[all …]
Dalts_grpc_record_protocol_test.cc45 size_t header_length; member
241 var->header_length = alts_iovec_record_protocol_get_header_length(); in alts_grpc_record_protocol_test_var_create()
283 data_length + var->header_length + var->tag_length); in random_seal_unseal()
307 var->header_length + var->tag_length); in empty_seal_unseal()
384 &var->protected_sb, var->header_length + var->tag_length - 1, &temp_sb); in input_check()
/external/mesa3d/src/intel/tools/
Daub_read.c111 int header_length = p[0] & 0xffff; in handle_memtrace_version() local
113 int app_name_len = MIN2(4 * (header_length + 1 - 5), ARRAY_SIZE(app_name) - 1); in handle_memtrace_version()
139 int header_length = p[0] & 0xffff; in handle_trace_block() local
141 const void *data = p + header_length + 2; in handle_trace_block()
294 uint32_t h, header_length, bias; in aub_read_command() local
299 header_length = h & 0xffff; in aub_read_command()
313 next = p + header_length + bias; in aub_read_command()
/external/webrtc/modules/video_coding/utility/
Dvp8_header_parser.cc167 size_t header_length = kCommonPayloadHeaderLength; in GetQp() local
169 header_length = kKeyPayloadHeaderLength; in GetQp()
171 if (header_length + partition_length > length) { in GetQp()
175 buf += header_length; in GetQp()
/external/flac/src/libFLAC/
Dogg_decoder_aspect.c164 const uint32_t header_length = in FLAC__ogg_decoder_aspect_read_callback_wrapper() local
170 if (aspect->working_packet.bytes < (long)header_length) in FLAC__ogg_decoder_aspect_read_callback_wrapper()
181 aspect->working_packet.packet += header_length; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
182 aspect->working_packet.bytes -= header_length; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
/external/webrtc/media/base/
Drtp_utils.cc341 size_t* header_length) { in ValidateRtpHeader() argument
342 if (header_length) { in ValidateRtpHeader()
343 *header_length = 0; in ValidateRtpHeader()
359 if (header_length) in ValidateRtpHeader()
360 *header_length = header_length_without_extension; in ValidateRtpHeader()
385 if (header_length) { in ValidateRtpHeader()
386 *header_length = rtp_header_length; in ValidateRtpHeader()
Drtp_data_engine.cc207 size_t header_length; in OnPacketReceived() local
208 if (!GetRtpHeaderLen(packet.cdata(), packet.size(), &header_length)) { in OnPacketReceived()
212 packet.cdata<char>() + header_length + sizeof(kReservedSpace); in OnPacketReceived()
213 size_t data_len = packet.size() - header_length - sizeof(kReservedSpace); in OnPacketReceived()
/external/ComputeLibrary/include/libnpy/
Dnpy.hpp425 uint32_t header_length; in read_header() local
430 header_length = (header_len_le16[0] << 0) | (header_len_le16[1] << 8); in read_header()
432 if((magic_string_length + 2 + 2 + header_length) % 16 != 0) { in read_header()
439 header_length = (header_len_le32[0] << 0) | (header_len_le32[1] << 8) in read_header()
442 if((magic_string_length + 2 + 4 + header_length) % 16 != 0) { in read_header()
450 buf_v.reserve(header_length); in read_header()
451 istream.read(buf_v.data(), header_length); in read_header()
452 std::string header(buf_v.data(), header_length); in read_header()
/external/webrtc/logging/rtc_event_log/
Dlogged_events.h256 size_t header_length, in LoggedRtpPacket()
260 header_length(header_length), in LoggedRtpPacket()
269 size_t header_length; member
276 size_t header_length, in LoggedRtpPacketIncoming()
278 : rtp(timestamp_us, header, header_length, total_length) {} in LoggedRtpPacketIncoming()
288 size_t header_length, in LoggedRtpPacketOutgoing()
290 : rtp(timestamp_us, header, header_length, total_length) {} in LoggedRtpPacketOutgoing()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc84 const size_t header_length = strlen(XmpConst::Header()) + 1; in ParseFirstValidXMPSection() local
86 if (header_length >= end) { in ParseFirstValidXMPSection()
88 << static_cast<int>(end - header_length); in ParseFirstValidXMPSection()
91 const size_t content_length = end - header_length; in ParseFirstValidXMPSection()
94 const char* content_start = &section.data[header_length]; in ParseFirstValidXMPSection()
/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/
Dcellular_MbimComplianceDTS0309.py43 if nth.header_length != 12:
48 if nth.header_length != 16:
/external/python/cpython3/Lib/email/
Dcharset.py341 length = encoder_module.header_length(_encode(this_line, charset))
366 len64 = email.base64mime.header_length(header_bytes)
367 lenqp = email.quoprimime.header_length(header_bytes)
Dbase64mime.py50 def header_length(bytearray): function
/external/libwebm/m2ts/
Dwebm2pes.cc190 const std::size_t header_length = in Write() local
192 if (header_length > UINT16_MAX) in Write()
196 std::uint8_t byte = (header_length >> 8) & 0xff; in Write()
198 byte = header_length & 0xff; in Write()
/external/freetype/src/type1/
Dt1parse.c99 size_t header_length ) in check_type1_format() argument
119 if ( !FT_FRAME_ENTER( header_length ) ) in check_type1_format()
123 if ( ft_memcmp( stream->cursor, header_string, header_length ) != 0 ) in check_type1_format()
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_rtp_packet_outgoing.h41 size_t header_length() const { return header_length_; } in header_length() function
Drtc_event_rtp_packet_incoming.h40 size_t header_length() const { return header_length_; } in header_length() function

123