Home
last modified time | relevance | path

Searched refs:zero_buffer (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc139 auto* zero_buffer = static_cast<uint8_t*>(gpr_zalloc(data_size)); in alts_crypter_test_corrupted_unseal() local
158 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal()
177 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal()
196 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal()
201 gpr_free(zero_buffer); in alts_crypter_test_corrupted_unseal()
212 auto* zero_buffer = static_cast<uint8_t*>(gpr_zalloc(data_size)); in alts_crypter_test_unsync_seal_unseal() local
236 GPR_ASSERT(memcmp(data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_unsync_seal_unseal()
260 GPR_ASSERT(memcmp(data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_unsync_seal_unseal()
263 gpr_free(zero_buffer); in alts_crypter_test_unsync_seal_unseal()
/external/u-boot/fs/ext4/
Dext4_common.c475 unsigned int *zero_buffer = NULL; in ext4fs_update_parent_dentry() local
494 zero_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry()
495 if (!zero_buffer) { in ext4fs_update_parent_dentry()
501 free(zero_buffer); in ext4fs_update_parent_dentry()
563 put_ext4((uint64_t)new_blk_no * fs->blksz, zero_buffer, fs->blksz); in ext4fs_update_parent_dentry()
622 free(zero_buffer); in ext4fs_update_parent_dentry()
968 char *zero_buffer = zalloc(fs->blksz); in ext4fs_get_new_blk_no() local
969 if (!journal_buffer || !zero_buffer) in ext4fs_get_new_blk_no()
981 memcpy(fs->blk_bmaps[i], zero_buffer, in ext4fs_get_new_blk_no()
1045 memcpy(fs->blk_bmaps[bg_idx], zero_buffer, fs->blksz); in ext4fs_get_new_blk_no()
[all …]
/external/adhd/cras/src/server/
Dcras_a2dp_iodev.c226 static const uint16_t zero_buffer[1024 * 2]; in pre_fill_socket() local
233 zero_buffer, in pre_fill_socket()
234 sizeof(zero_buffer), in pre_fill_socket()