Home
last modified time | relevance | path

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

12

/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/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/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry_unittest.cc259 const uint8_t* GenerateRtxPacket(size_t header_length, in GenerateRtxPacket() argument
263 new uint8_t[kRtxHeaderSize + header_length + payload_length](); in GenerateRtxPacket()
277 ByteWriter<uint16_t>::WriteBigEndian(packet + header_length, in GenerateRtxPacket()
286 size_t header_length = 100; in TestRtxPacket() local
288 size_t original_length = header_length + payload_length + kRtxHeaderSize; in TestRtxPacket()
294 header.headerLength = header_length; in TestRtxPacket()
300 header_length, payload_length, original_sequence_number)); in TestRtxPacket()
302 new uint8_t[header_length + payload_length]); in TestRtxPacket()
Dproducer_fec.cc50 void RedPacket::CreateHeader(const uint8_t* rtp_header, size_t header_length, in CreateHeader() argument
52 assert(header_length + kREDForFECHeaderLength <= length_); in CreateHeader()
53 memcpy(data_, rtp_header, header_length); in CreateHeader()
59 data_[header_length] = static_cast<uint8_t>(pl_type); in CreateHeader()
60 header_length_ = header_length + kREDForFECHeaderLength; in CreateHeader()
Drtp_format_vp9.cc605 size_t header_length; in WriteHeaderAndPayload() local
606 if (!WriteHeader(packet_info, buffer, &header_length)) in WriteHeaderAndPayload()
610 memcpy(&buffer[header_length], in WriteHeaderAndPayload()
613 *bytes_to_send = header_length + packet_info.size; in WriteHeaderAndPayload()
619 size_t* header_length) const { in WriteHeader()
662 *header_length = offset_bytes; in WriteHeader()
Dfec_test_helper.cc77 size_t header_length) const { in SetRedHeader()
83 red_packet->data[header_length] = payload_type; in SetRedHeader()
Dfec_test_helper.h48 size_t header_length) const;
Drtp_format_vp9.h86 size_t* header_length) const;
Dproducer_fec.h27 void CreateHeader(const uint8_t* rtp_header, size_t header_length,
/external/flac/libFLAC/
Dogg_decoder_aspect.c164 const unsigned 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/webrtc/modules/video_coding/utility/
Dvp8_header_parser.cc172 size_t header_length = kCommonPayloadHeaderLength; in GetQp() local
174 header_length = kKeyPayloadHeaderLength; in GetQp()
176 if (header_length + partition_length > length) { in GetQp()
180 buf += header_length; in GetQp()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc108 size_t header_length = BuildRTPheader(buffer, timestamp, sequence_number); in PaddingPacket() local
111 reinterpret_cast<int32_t*>(&(buffer[header_length])); in PaddingPacket()
118 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()
120 return padding_bytes_in_packet + header_length; in PaddingPacket()
/external/mesa3d/src/intel/tools/
Daubinator.c109 int header_length = p[0] & 0xffff; in handle_trace_block() local
110 uint32_t *data = p + header_length + 2; in handle_trace_block()
229 int header_length = p[0] & 0xffff; in handle_memtrace_version() local
231 int app_name_len = MIN2(4 * (header_length + 1 - 5), ARRAY_SIZE(app_name) - 1); in handle_memtrace_version()
388 int header_length, bias; in aub_file_decode_batch() local
395 header_length = h & 0xffff; in aub_file_decode_batch()
411 new_cursor = p + header_length + bias; in aub_file_decode_batch()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc83 const size_t header_length = strlen(XmpConst::Header()) + 1; in ParseFirstValidXMPSection() local
85 if (header_length >= end) { in ParseFirstValidXMPSection()
87 << static_cast<int>(end - header_length); in ParseFirstValidXMPSection()
90 const size_t content_length = end - header_length; in ParseFirstValidXMPSection()
93 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/webrtc/talk/media/base/
Drtpdataengine.cc234 size_t header_length; in OnPacketReceived() local
235 if (!GetRtpHeaderLen(packet->data(), packet->size(), &header_length)) { in OnPacketReceived()
243 packet->data<char>() + header_length + sizeof(kReservedSpace); in OnPacketReceived()
244 size_t data_len = packet->size() - header_length - sizeof(kReservedSpace); in OnPacketReceived()
/external/python/cpython3/Lib/email/
Dcharset.py343 length = encoder_module.header_length(_encode(this_line, charset))
368 len64 = email.base64mime.header_length(header_bytes)
369 lenqp = email.quoprimime.header_length(header_bytes)
Dbase64mime.py50 def header_length(bytearray): function
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc96 size_t header_length = ((size_bytes + 3) / 4) - 1; // As 32bit words - 1 in Create() local
97 CreateHeader(kFeedbackMessageType, kPacketType, header_length, packet, in Create()
/external/freetype/src/type1/
Dt1parse.c100 size_t header_length ) in check_type1_format() argument
120 if ( !FT_FRAME_ENTER( header_length ) ) in check_type1_format()
124 if ( ft_memcmp( stream->cursor, header_string, header_length ) != 0 ) in check_type1_format()
/external/fonttools/Tests/ttLib/tables/
D_k_e_r_n_test.py267 self, data, font, version, header_length, st_length): argument
274 st_data = data[header_length:]

12