Searched refs:header_buf (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_common.cc | 82 alts_grpc_record_protocol_copy_slice_buffer(&rp->header_sb, rp->header_buf); in alts_grpc_record_protocol_get_header_iovec() 83 header_iovec.iov_base = rp->header_buf; in alts_grpc_record_protocol_get_header_iovec() 113 rp->header_buf = static_cast<unsigned char*>(gpr_malloc(rp->header_length)); in alts_grpc_record_protocol_init() 160 gpr_free(self->header_buf); in alts_grpc_record_protocol_destroy()
|
D | alts_grpc_record_protocol_common.h | 52 unsigned char* header_buf; member
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_iovec_record_protocol_test.cc | 40 uint8_t* header_buf; member 158 var->header_buf = static_cast<uint8_t*>(gpr_malloc(var->header_length)); in alts_iovec_record_protocol_test_var_create() 159 var->header_iovec.iov_base = var->header_buf; in alts_iovec_record_protocol_test_var_create() 192 gpr_free(var->header_buf); in alts_iovec_record_protocol_test_var_destroy() 284 alter_random_byte(var->header_buf, kZeroCopyFrameLengthFieldSize); in integrity_only_corrupted_data() 291 revert_back_alter(var->header_buf, offset); in integrity_only_corrupted_data() 293 offset = alter_random_byte(var->header_buf + kZeroCopyFrameLengthFieldSize, in integrity_only_corrupted_data() 302 revert_back_alter(var->header_buf + kZeroCopyFrameLengthFieldSize, offset); in integrity_only_corrupted_data() 346 header_iovec.iov_base = var->header_buf; in integrity_only_protect_input_check() 391 header_iovec.iov_base = var->header_buf; in integrity_only_unprotect_input_check() [all …]
|
/external/e2fsprogs/misc/ |
D | e2image.c | 209 char *header_buf; in write_header() local 218 ret = ext2fs_get_mem(wrt_size, &header_buf); in write_header() 225 memset(header_buf, 0, wrt_size); in write_header() 228 memcpy(header_buf, hdr, hdr_size); in write_header() 230 generic_write(fd, header_buf, wrt_size, NO_BLK); in write_header() 232 ext2fs_free_mem(&header_buf); in write_header()
|
/external/libaom/libaom/av1/encoder/ |
D | encoder.c | 7138 uint8_t header_buf[512] = { 0 }; in av1_get_global_headers() local 7140 av1_write_sequence_header_obu(&cpi->common.seq_params, &header_buf[0]); in av1_get_global_headers() 7141 assert(sequence_header_size <= sizeof(header_buf)); in av1_get_global_headers() 7148 if (payload_offset + sequence_header_size > sizeof(header_buf)) return NULL; in av1_get_global_headers() 7149 memmove(&header_buf[payload_offset], &header_buf[0], sequence_header_size); in av1_get_global_headers() 7152 &header_buf[0]) != obu_header_size) { in av1_get_global_headers() 7158 &header_buf[obu_header_size], in av1_get_global_headers() 7177 memcpy(global_headers->buf, &header_buf[0], global_header_buf_size); in av1_get_global_headers()
|