Searched refs:header_buf (Results 1 – 5 of 5) sorted by relevance
/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/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/e2fsprogs/misc/ |
D | e2image.c | 208 char *header_buf; in write_header() local 217 ret = ext2fs_get_mem(wrt_size, &header_buf); in write_header() 224 memset(header_buf, 0, wrt_size); in write_header() 227 memcpy(header_buf, hdr, hdr_size); in write_header() 229 generic_write(fd, header_buf, wrt_size, NO_BLK); in write_header() 231 ext2fs_free_mem(&header_buf); in write_header()
|
/external/libaom/libaom/av1/encoder/ |
D | encoder.c | 5702 uint8_t header_buf[512] = { 0 }; in av1_get_global_headers() local 5704 write_sequence_header_obu(cpi, &header_buf[0]); in av1_get_global_headers() 5705 assert(sequence_header_size <= sizeof(header_buf)); in av1_get_global_headers() 5712 if (payload_offset + sequence_header_size > sizeof(header_buf)) return NULL; in av1_get_global_headers() 5713 memmove(&header_buf[payload_offset], &header_buf[0], sequence_header_size); in av1_get_global_headers() 5715 if (av1_write_obu_header(cpi, OBU_SEQUENCE_HEADER, 0, &header_buf[0]) != in av1_get_global_headers() 5722 &header_buf[obu_header_size], in av1_get_global_headers() 5741 memcpy(global_headers->buf, &header_buf[0], global_header_buf_size); in av1_get_global_headers()
|