/third_party/mesa3d/src/gallium/drivers/virgl/tests/ |
D | virgl_staging_mgr_test.cpp | 162 unsigned out_offset; in TEST_P() local 168 virgl_staging_alloc(&staging, alloc_sizes[i], alignment, &out_offset, in TEST_P() 172 EXPECT_EQ(out_offset, expected_offset); in TEST_P() 196 unsigned out_offset; in TEST_F() local 201 virgl_staging_alloc(&staging, staging_size - 1, 1, &out_offset, in TEST_F() 205 EXPECT_EQ(out_offset, 0); in TEST_F() 210 virgl_staging_alloc(&staging, 2, 1, &out_offset, in TEST_F() 214 EXPECT_EQ(out_offset, 0); in TEST_F() 228 unsigned out_offset; in TEST_F() local 233 virgl_staging_alloc(&staging, staging_size - 1, 1, &out_offset, in TEST_F() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_render_translate.c | 34 unsigned out_offset; in r300_translate_index_buffer() local 41 &out_offset, out_buffer, &ptr); in r300_translate_index_buffer() 48 *start = out_offset / 2; in r300_translate_index_buffer() 55 &out_offset, out_buffer, &ptr); in r300_translate_index_buffer() 62 *start = out_offset / 2; in r300_translate_index_buffer() 70 &out_offset, out_buffer, &ptr); in r300_translate_index_buffer() 77 *start = out_offset / 4; in r300_translate_index_buffer()
|
/third_party/gstreamer/gstplugins_base/gst/audiomixer/ |
D | gstaudiomixer.c | 214 GstBuffer * outbuf, guint out_offset, guint num_samples); 290 GstBuffer * outbuf, guint out_offset, guint num_frames) in gst_audiomixer_aggregate_one_buffer() argument 314 num_frames * bpf, out_offset * bpf, in_offset * bpf); in gst_audiomixer_aggregate_one_buffer() 320 audiomixer_orc_add_u8 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 325 audiomixer_orc_add_s8 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 330 audiomixer_orc_add_u16 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 335 audiomixer_orc_add_s16 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 340 audiomixer_orc_add_u32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 345 audiomixer_orc_add_s32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 350 audiomixer_orc_add_f32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | arg_min_max_fp32.c | 118 int out_offset = j * param->out_strides_[0] + i; in ArgMinMaxDim0() local 120 outputfp32[out_offset] = param->arg_elements_[j].data_.f_data_; in ArgMinMaxDim0() 122 outputint[out_offset] = param->arg_elements_[j].index_; in ArgMinMaxDim0() 125 output_value[out_offset] = param->arg_elements_[j].data_.f_data_; in ArgMinMaxDim0() 148 int out_offset = out_dim0_offset + j + k * param->out_strides_[1]; in ArgMinMaxDim1() local 150 outputfp32[out_offset] = param->arg_elements_[k].data_.f_data_; in ArgMinMaxDim1() 152 outputint[out_offset] = param->arg_elements_[k].index_; in ArgMinMaxDim1() 155 output_value[out_offset] = param->arg_elements_[k].data_.f_data_; in ArgMinMaxDim1() 183 int out_offset = out_dim1_offset + k + l * param->out_strides_[2]; in ArgMinMaxDim2() local 185 outputfp32[out_offset] = param->arg_elements_[l].data_.f_data_; in ArgMinMaxDim2() [all …]
|
D | scale_fp32.c | 24 int out_offset = out * axis_size * inner_size; in ScaleInner() local 26 int axis_offset = out_offset + i * inner_size; in ScaleInner() 59 int out_offset = out * axis_size; in ScaleAxis() local 63 int in_offset = out_offset + index; in ScaleAxis() 75 int in_offset = out_offset + index; in ScaleAxis() 82 int in_offset = out_offset + index; in ScaleAxis() 114 int out_offset = out * axis_size * inner_size; in ScaleInnerRelu() local 116 int axis_offset = out_offset + i * inner_size; in ScaleInnerRelu() 158 int out_offset = out * axis_size; in ScaleAxisRelu() local 162 int in_offset = out_offset + index; in ScaleAxisRelu() [all …]
|
D | strided_slice_fp32.c | 81 size_t out_offset = 0; in DoStridedSliceIntFp64Bool() local 95 *((int32_t *)out_data + out_offset) = *((int32_t *)in_data + in_offset); in DoStridedSliceIntFp64Bool() 97 *((int8_t *)out_data + out_offset) = *((int8_t *)in_data + in_offset); in DoStridedSliceIntFp64Bool() 99 *((bool *)out_data + out_offset) = *((bool *)in_data + in_offset); in DoStridedSliceIntFp64Bool() 101 *((double *)out_data + out_offset) = *((double *)in_data + in_offset); in DoStridedSliceIntFp64Bool() 105 out_offset++; in DoStridedSliceIntFp64Bool() 143 size_t out_offset = 0; in DoStridedSlice() local 157 *((float *)out_data + out_offset) = *((float *)in_data + in_offset); in DoStridedSlice() 160 *((float16_t *)out_data + out_offset) = *((float16_t *)in_data + in_offset); in DoStridedSlice() 165 out_offset++; in DoStridedSlice()
|
D | crop_fp32.c | 63 size_t out_offset = l * out_stride2 + out_offset1; in Crop4D() local 65 memcpy(output + out_offset, input + in_offset, copy_size); in Crop4D() 79 size_t out_offset = 0; in Crop4DNoParallel() local 91 memcpy(output + out_offset, input + in_offset, copy_size); in Crop4DNoParallel() 92 out_offset += copy_num; in Crop4DNoParallel()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | scale_fp16.c | 22 int out_offset = out * axis_size * inner_size; in Fp16ScaleInner() local 24 int axis_offset = out_offset + i * inner_size; in Fp16ScaleInner() 48 int out_offset = out * axis_size; in Fp16ScaleAxis() local 52 int in_offset = out_offset + index; in Fp16ScaleAxis() 61 int in_offset = out_offset + index; in Fp16ScaleAxis() 88 int out_offset = out * axis_size * inner_size; in Fp16ScaleInnerRelu() local 90 int axis_offset = out_offset + i * inner_size; in Fp16ScaleInnerRelu() 118 int out_offset = out * axis_size; in Fp16ScaleAxisRelu() local 122 int in_offset = out_offset + index; in Fp16ScaleAxisRelu() 132 int in_offset = out_offset + index; in Fp16ScaleAxisRelu() [all …]
|
D | arg_min_max_fp16.c | 117 size_t out_offset = j * param->out_strides_[0] + i; in ArgMinMaxDim0Fp16() local 119 outputfp16[out_offset] = param->arg_elements_[j].data_.f16_data_; in ArgMinMaxDim0Fp16() 121 outputint[out_offset] = param->arg_elements_[j].index_; in ArgMinMaxDim0Fp16() 124 output_value[out_offset] = param->arg_elements_[j].data_.f16_data_; in ArgMinMaxDim0Fp16() 147 size_t out_offset = out_dim0_offset + j + k * param->out_strides_[1]; in ArgMinMaxDim1Fp16() local 149 outputfp16[out_offset] = param->arg_elements_[k].data_.f16_data_; in ArgMinMaxDim1Fp16() 151 outputint[out_offset] = param->arg_elements_[k].index_; in ArgMinMaxDim1Fp16() 154 output_value[out_offset] = param->arg_elements_[k].data_.f16_data_; in ArgMinMaxDim1Fp16() 182 size_t out_offset = out_dim1_offset + k + l * param->out_strides_[2]; in ArgMinMaxDim2Fp16() local 184 outputfp16[out_offset] = param->arg_elements_[l].data_.f16_data_; in ArgMinMaxDim2Fp16() [all …]
|
D | conv_fp16.c | 49 …int out_offset = b * conv_param->output_channel_ * output_hw + start_hw * conv_param->output_chann… in ConvFp16() local 50 for (int i = start_hw; i < end_hw; i += tile_n, out_offset += out_stride) { in ConvFp16() 59 …MatMulFp16(col_major_input, packed_weight, output_data + out_offset, bias_data, conv_param->act_ty… in ConvFp16() 104 int out_offset = j * output_hw * C8NUM + i * tile_n * real_weight_row; in ConvOutNc8hw8Fp16() local 105 …MatMulFp16(col_major_input, cur_weight, output_data + out_offset, cur_bias, conv_param->act_type_,… in ConvOutNc8hw8Fp16() 146 int out_offset = j * param->row_ * C8NUM + i * tile_n * real_weight_row; in Conv1x1OutNc8hw8MultiThreadByInputFp16() local 147 …MatMulFp16(pack_input, cur_weight, output + out_offset, cur_bias, param->act_type_, param->deep_, … in Conv1x1OutNc8hw8MultiThreadByInputFp16() 179 int out_offset = j * param->row_ * C8NUM + i * tile_n * real_weight_row; in Conv1x1OutNc8hw8MultiThreadByWeightFp16() local 180 …MatMulFp16(pack_input, cur_weight, output + out_offset, cur_bias, param->act_type_, param->deep_, … in Conv1x1OutNc8hw8MultiThreadByWeightFp16()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/ |
D | stack_base.c | 19 size_t out_offset = 0; in Stack() local 22 memcpy((char *)output + out_offset, (char *)inputs[j] + i * copy_size, copy_size); in Stack() 23 out_offset += copy_size; in Stack()
|
D | unstack_base.c | 26 int out_offset = 0; in Unstack() local 29 …(void)memcpy(out_addr + out_offset * data_size, in_addr + in_offset * data_size, para->after_dims_… in Unstack() 30 out_offset += para->after_dims_; in Unstack()
|
D | slice_base.c | 118 int out_offset = 0; in DoSliceNoParallel() local 124 memcpy(int8_out + out_offset * data_size, int8_in + in_offset##rank * data_size, \ in DoSliceNoParallel() 126 out_offset += in_stride[rank] * left_block_num; \ in DoSliceNoParallel() 149 … memcpy(int8_out + out_offset * data_size, int8_in + in_offset6 * data_size, copy_size); in DoSliceNoParallel() 150 out_offset += param->size_[7]; in DoSliceNoParallel()
|
D | depth_to_space_base.c | 35 int out_offset = (out_offset_w + l * param->out_stride_dim1_) * param->data_type_size_; in DepthToSpaceForNHWC() local 37 memcpy((int8_t *)output + out_offset, (int8_t *)input + in_offset, copy_size); in DepthToSpaceForNHWC()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_upload.c | 75 uint32_t *out_offset) in brw_upload_space() argument 97 *out_offset = offset; in brw_upload_space() 118 uint32_t *out_offset) in brw_upload_data() argument 120 void *dst = brw_upload_space(upload, size, alignment, out_bo, out_offset); in brw_upload_data()
|
D | brw_buffer_objects.h | 107 uint32_t *out_offset); 113 uint32_t *out_offset);
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_staging_mgr.c | 96 unsigned *out_offset, in virgl_staging_alloc() argument 103 assert(out_offset); in virgl_staging_alloc() 113 *out_offset = ~0; in virgl_staging_alloc() 131 *out_offset = offset; in virgl_staging_alloc()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | arg_min_max_int8.c | 111 int out_offset = j * param->out_strides_[0] + i; in Int8ArgMinMaxDim0() local 113 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim0() 141 int out_offset = out_dim0_offset + j + k * param->out_strides_[1]; in Int8ArgMinMaxDim1() local 143 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim1() 175 int out_offset = out_dim1_offset + k + l * param->out_strides_[2]; in Int8ArgMinMaxDim2() local 177 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim2() 213 int out_offset = out_dim2_offset + l; in Int8ArgMinMaxDim3() local 215 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim3()
|
D | space_to_batch_int8.c | 32 size_t out_offset = 0; in DoSpaceToBatchNHWCInt8() local 45 memcpy(output + out_offset, input + in_offset2, copy_size); in DoSpaceToBatchNHWCInt8() 46 out_offset += copy_num; in DoSpaceToBatchNHWCInt8()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_upload_mgr.c | 258 unsigned *out_offset, in u_upload_alloc() argument 276 *out_offset = ~0; in u_upload_alloc() 291 *out_offset = ~0; in u_upload_alloc() 306 *out_offset = offset; in u_upload_alloc() 324 unsigned *out_offset, in u_upload_data() argument 330 out_offset, outbuf, in u_upload_data()
|
D | u_upload_mgr.h | 108 unsigned *out_offset, 124 unsigned *out_offset,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | gather_d_cpu_kernel.cc | 41 size_t out_offset = 0; in CopyTask() local 44 out_offset += (*pos)[j] * out_cargo_size[j]; in CopyTask() 48 (*pos)[dim] = index[out_offset]; in CopyTask() 54 input[input_offset] = output[out_offset]; in CopyTask() 56 output[out_offset] = input[input_offset]; in CopyTask()
|
D | gather_d_grad_cpu_kernel.cc | 42 size_t out_offset = 0; in GatherDGradCopyTask() local 45 out_offset += (*pos)[j] * out_cargo_size[j]; in GatherDGradCopyTask() 49 (*pos)[dim] = index[out_offset]; in GatherDGradCopyTask() 54 input[input_offset] += output[out_offset]; in GatherDGradCopyTask()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/ |
D | gstbasetsmuxaac.c | 86 gsize out_offset = 0; in gst_base_ts_mux_prepare_aac_adts() local 124 gst_buffer_fill (out_buf, out_offset, adts_header, 7); in gst_base_ts_mux_prepare_aac_adts() 125 out_offset += 7; in gst_base_ts_mux_prepare_aac_adts() 130 gst_buffer_fill (out_buf, out_offset, buf_map.data, buf_map.size); in gst_base_ts_mux_prepare_aac_adts()
|
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/fp32/ |
D | arithmetic_fp32_wrapper.c | 52 int out_offset = wrapper_info->out_offset_; in BatchScalarCalc() local 58 … (uint8_t *)(output) + out_offset, size, is_opt, wrapper_info->arithmetic_func_type_, in BatchScalarCalc() 62 out_offset += out_stride; in BatchScalarCalc()
|