/external/XNNPACK/src/operators/ |
D | convolution-nchw.c | 651 void* zero_buffer = xnn_reallocate_memory(convolution_op->zero_buffer, zero_size); in setup_convolution2d_nchw() local 652 if (zero_buffer == NULL) { in setup_convolution2d_nchw() 658 memset(zero_buffer, 0, zero_size); in setup_convolution2d_nchw() 659 convolution_op->zero_buffer = zero_buffer; in setup_convolution2d_nchw() 666 .zero = zero_buffer, in setup_convolution2d_nchw() 704 void* zero_buffer = xnn_reallocate_memory(convolution_op->zero_buffer, zero_size); in setup_convolution2d_nchw() local 705 if (zero_buffer == NULL) { in setup_convolution2d_nchw() 711 memset(zero_buffer, 0, zero_size); in setup_convolution2d_nchw() 712 convolution_op->zero_buffer = zero_buffer; in setup_convolution2d_nchw() 719 .zero = zero_buffer, in setup_convolution2d_nchw()
|
D | average-pooling-nhwc.c | 194 void* zero_buffer = xnn_allocate_simd_memory(zero_bytes); in xnn_create_average_pooling2d_nhwc_qu8() local 195 if (zero_buffer == NULL) { in xnn_create_average_pooling2d_nhwc_qu8() 201 memset(zero_buffer, input_zero_point, channels * sizeof(uint8_t)); in xnn_create_average_pooling2d_nhwc_qu8() 202 average_pooling_op->zero_buffer = zero_buffer; in xnn_create_average_pooling2d_nhwc_qu8() 390 void* zero_buffer = xnn_allocate_zero_simd_memory(zero_bytes); in xnn_create_average_pooling2d_nhwc_f16() local 391 if (zero_buffer == NULL) { in xnn_create_average_pooling2d_nhwc_f16() 397 average_pooling_op->zero_buffer = zero_buffer; in xnn_create_average_pooling2d_nhwc_f16() 566 void* zero_buffer = xnn_allocate_zero_simd_memory(zero_bytes); in xnn_create_average_pooling2d_nhwc_f32() local 567 if (zero_buffer == NULL) { in xnn_create_average_pooling2d_nhwc_f32() 573 average_pooling_op->zero_buffer = zero_buffer; in xnn_create_average_pooling2d_nhwc_f32() [all …]
|
D | global-average-pooling-nwc.c | 91 void* zero_buffer = xnn_allocate_zero_simd_memory(zero_size); in create_global_average_pooling_nwc() local 92 if (zero_buffer == NULL) { in create_global_average_pooling_nwc() 98 global_average_pooling_op->zero_buffer = zero_buffer; in create_global_average_pooling_nwc() 177 .zero = global_average_pooling_op->zero_buffer, in setup_global_average_pooling_nwc()
|
D | deconvolution-nhwc.c | 232 deconvolution_op->zero_buffer = xnn_allocate_simd_memory(zero_size); in create_deconvolution2d_nhwc() 233 if (deconvolution_op->zero_buffer == NULL) { in create_deconvolution2d_nhwc() 239 memset(deconvolution_op->zero_buffer, input_padding_byte, zero_size); in create_deconvolution2d_nhwc() 729 .zero = deconvolution_op->zero_buffer, in setup_conv_path() 975 .zero = deconvolution_op->zero_buffer, in setup_subconv2d_path()
|
D | convolution-nhwc.c | 609 convolution_op->zero_buffer = xnn_allocate_simd_memory(zero_size); in create_convolution2d_nhwc() 610 if (convolution_op->zero_buffer == NULL) { in create_convolution2d_nhwc() 616 memset(convolution_op->zero_buffer, input_padding_byte, zero_size); in create_convolution2d_nhwc() 1594 .zero = convolution_op->zero_buffer, in setup_convolution2d_nhwc() 1749 .zero = convolution_op->zero_buffer, in setup_convolution2d_nhwc()
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 139 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/crosvm/audio_util/src/ |
D | file_streams.rs | 245 zero_buffer: Vec<u8>, field 252 zero_buffer: vec![0; buffer_mem_length], in new() 259 return &mut self.zero_buffer; in get_slice_mut()
|
/external/XNNPACK/src/ |
D | operator-delete.c | 36 xnn_release_simd_memory(op->zero_buffer); in xnn_delete_operator()
|
D | indirection.c | 28 const void* zero = op->zero_buffer; in xnn_indirection_init_conv2d() 89 const void* zero = op->zero_buffer; in xnn_indirection_init_deconv2d() 145 const void* zero = op->zero_buffer; in xnn_indirection_init_subconv2d() 211 const void* zero = op->zero_buffer; in xnn_indirection_init_dwconv2d()
|
/external/XNNPACK/src/xnnpack/ |
D | operator.h | 182 void* zero_buffer; member
|
/external/XNNPACK/bench/ |
D | f16-dwconv.cc | 107 convolution_op.zero_buffer = z.data(); in f16_dwconv()
|
D | f16-igemm.cc | 102 convolution_op.zero_buffer = z.data(); in f16_igemm()
|
D | f32-dwconv.cc | 99 convolution_op.zero_buffer = z.data(); in f32_dwconv()
|
D | f32-igemm.cc | 99 convolution_op.zero_buffer = z.data(); in f32_igemm() 229 convolution_op.zero_buffer = z.data(); in f32_igemm()
|
D | qs8-dwconv.cc | 105 convolution_op.zero_buffer = z.data(); in DWConvBenchmark()
|