Home
last modified time | relevance | path

Searched refs:offset0 (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Darithmetic_grad.c83 size_t offset0 = GetOutputOffset(num_dims, input0_dims, input_iter, num_axes0, axes0); in MaximumByAxes() local
86 output0[offset0] += input0[offset0] > input1[offset1] ? dy[yt_offset] : 0.; in MaximumByAxes()
87 output1[offset1] += input1[offset1] >= input0[offset0] ? dy[yt_offset] : 0.; in MaximumByAxes()
133 size_t offset0 = GetOutputOffset(num_dims, input0_dims, input_iter, num_axes0, axes0); in MinimumByAxes() local
136 output0[offset0] += input0[offset0] < input1[offset1] ? dy[yt_offset] : 0.; in MinimumByAxes()
137 output1[offset1] += input1[offset1] <= input0[offset0] ? dy[yt_offset] : 0.; in MinimumByAxes()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Darithmetic_grad.c85 size_t offset0 = GetOutputOffset(num_dims, input0_dims, input_iter, num_axes0, axes0); in MaximumByAxesFp16() local
88 output0[offset0] += input0[offset0] > input1[offset1] ? dy[yt_offset] : 0.; in MaximumByAxesFp16()
89 output1[offset1] += input1[offset1] >= input0[offset0] ? dy[yt_offset] : 0.; in MaximumByAxesFp16()
136 size_t offset0 = GetOutputOffset(num_dims, input0_dims, input_iter, num_axes0, axes0); in MinimumByAxesFp16() local
139 output0[offset0] += input0[offset0] < input1[offset1] ? dy[yt_offset] : 0.; in MinimumByAxesFp16()
140 output1[offset1] += input1[offset1] <= input0[offset0] ? dy[yt_offset] : 0.; in MinimumByAxesFp16()
/third_party/ffmpeg/libavcodec/mips/
Dhevc_mc_biw_msa.c91 int32_t offset0, in hevc_biwgt_copy_4w_msa() argument
105 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_4w_msa()
180 int32_t offset0, in hevc_biwgt_copy_6w_msa() argument
194 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_6w_msa()
234 int32_t offset0, in hevc_biwgt_copy_8w_msa() argument
247 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_8w_msa()
322 int32_t offset0, in hevc_biwgt_copy_12w_msa() argument
335 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_12w_msa()
381 int32_t offset0, in hevc_biwgt_copy_16w_msa() argument
394 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_16w_msa()
[all …]
Dhevc_lpf_sao_msa.c1049 v16i8 dst0, offset0, offset1; in hevc_sao_band_filter_4width_msa() local
1057 offset0 = __msa_sld_b(offset1, zero, 28 - ((sao_left_class) & 31)); in hevc_sao_band_filter_4width_msa()
1064 SWAP(offset0, offset1); in hevc_sao_band_filter_4width_msa()
1074 offset = __msa_vshf_b(mask, offset1, offset0); in hevc_sao_band_filter_4width_msa()
1092 offset = __msa_vshf_b(mask, offset1, offset0); in hevc_sao_band_filter_4width_msa()
1111 v16i8 offset0, offset1, dst0, dst1; in hevc_sao_band_filter_8width_msa() local
1118 offset0 = __msa_sld_b(offset1, zero, 28 - ((sao_left_class) & 31)); in hevc_sao_band_filter_8width_msa()
1125 SWAP(offset0, offset1); in hevc_sao_band_filter_8width_msa()
1136 offset_mask0 = __msa_vshf_b(mask0, offset1, offset0); in hevc_sao_band_filter_8width_msa()
1137 offset_mask1 = __msa_vshf_b(mask1, offset1, offset0); in hevc_sao_band_filter_8width_msa()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dsynth_filter.c66 int i, offset0 = 0, offset1 = 0, offset_b = 0; in checkasm_check_synth_filter() local
89 call_ref(&imdct, buf0, &offset0, buf2_0, window, in checkasm_check_synth_filter()
94 if (offset0 != offset1) { in checkasm_check_synth_filter()
96 fprintf(stderr, "offsets do not match: %d, %d", offset0, offset1); in checkasm_check_synth_filter()
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c63 int32_t offset0, int32_t stride0, in create_buffer() argument
80 buffer->offset[0] = offset0; in create_buffer()
139 int32_t offset0, int32_t stride0, in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
168 int32_t offset0, int32_t stride0, in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/third_party/node/deps/brotli/c/enc/
Dbackward_references.c30 size_t offset0 = distance_plus_3 - (size_t)dist_cache[0]; in ComputeDistanceCode() local
36 } else if (offset0 < 7) { in ComputeDistanceCode()
37 return (0x9750468 >> (4 * offset0)) & 0xF; in ComputeDistanceCode()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbackward_references.c30 size_t offset0 = distance_plus_3 - (size_t)dist_cache[0]; in ComputeDistanceCode() local
36 } else if (offset0 < 7) { in ComputeDistanceCode()
37 return (0x9750468 >> (4 * offset0)) & 0xF; in ComputeDistanceCode()
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/fp32/
Darithmetic_fp32_wrapper.c50 int offset0 = wrapper_info->offset0_; in BatchScalarCalc() local
57 ArithmeticExecute((const uint8_t *)(input0) + offset0, (const uint8_t *)(input1) + offset1, in BatchScalarCalc()
60 offset0 += stride0; in BatchScalarCalc()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc259 int offset0, offset1; in MakeTime() local
260 if (make_time(cs, 0, &t0, &offset0) && make_time(cs, 1, &t1, &offset1)) { in MakeTime()
269 std::swap(offset0, offset1); in MakeTime()
274 if (offset0 < offset1) { in MakeTime()
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc253 int offset0, offset1; in MakeTime() local
254 if (make_time(cs, 0, &t0, &offset0) && make_time(cs, 1, &t1, &offset1)) { in MakeTime()
263 std::swap(offset0, offset1); in MakeTime()
268 if (offset0 < offset1) { in MakeTime()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DDSInstructions.td43 bits<1> has_offset = 1; // has "offset" that should be split to offset0,1
75 bits<8> offset0;
79 let offset0 = !if(ds.has_offset, offset{7-0}, ?);
140 offset0:$offset0, offset1:$offset1, gds:$gds),
141 "$addr, $data0, $data1$offset0$offset1$gds"> {
207 (ins VGPR_32:$addr, src:$data0, src:$data1, offset0:$offset0, offset1:$offset1, gds:$gds),
208 "$vdst, $addr, $data0, $data1$offset0$offset1$gds"> {
254 (ins VGPR_32:$addr, offset0:$offset0, offset1:$offset1, gds:$gds),
255 "$vdst, $addr$offset0$offset1$gds"> {
742 (v2i32 (frag (DS64Bit4ByteAligned i32:$ptr, i8:$offset0, i8:$offset1))),
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpfunnel.c453 guint offset0 = 500; in GST_START_TEST() local
464 gst_harness_push (h0, generate_test_buffer (offset0, 123, 5))); in GST_START_TEST()
474 gst_harness_push (h0, generate_test_buffer (offset0 + 1, 123, 5))); in GST_START_TEST()
481 guint16 seqnum = i + offset0; in GST_START_TEST()
/third_party/flutter/skia/src/utils/
DSkPolyUtils.h62 bool SkComputeRadialSteps(const SkVector& offset0, const SkVector& offset1, SkScalar offset,
/third_party/skia/src/utils/
DSkPolyUtils.h62 bool SkComputeRadialSteps(const SkVector& offset0, const SkVector& offset1, SkScalar offset,
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c224 LLVMValueRef *offset0, in lp_build_sample_wrap_linear_int() argument
293 offset0, i0); in lp_build_sample_wrap_linear_int()
322 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
324 lp_build_add(int_coord_bld, *offset0, stride), in lp_build_sample_wrap_linear_int()
344 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
346 *offset0, in lp_build_sample_wrap_linear_int()
358 *offset0 = int_coord_bld->zero; in lp_build_sample_wrap_linear_int()
/third_party/flutter/skia/third_party/externals/wuffs/lib/rac/
Dwriter.go256 offset0 := w.dataSize & (w.CPageSize - 1)
257 offset1WithPadding := (0 * offset0) + lenData
258 offset1SansPadding := (1 * offset0) + lenData
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dreduce_load_size_test.cpp445 OpMemberName %MaterialInstancing_Constants 0 "offset0" in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dreduce_load_size_test.cpp445 OpMemberName %MaterialInstancing_Constants 0 "offset0" in TEST_F()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Darithmetic_fp32.cc322 int offset0 = stride0 * start_batch; in BatchScalarCalc() local
328 …ret = DoExecute(static_cast<uint8_t *>(input0_ptr_) + offset0, static_cast<uint8_t *>(input1_ptr_)… in BatchScalarCalc()
330 offset0 += stride0; in BatchScalarCalc()
/third_party/pixman/pixman/
Dpixman-access.c171 int offset0 = stride < 0 ? \
175 offset0 + ((-stride) >> 1) * ((__bits_image->height) >> 1) : \
176 offset0 + (offset0 >> 2)
192 ((uint8_t *) ((bits) + offset0 + \
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Darithmetic_fp32_coder.cc369 int offset0 = stride0 * start_batch; in BatchScalarCalc() local
373 …arithmetic_wrapper_info_ = {offset0, stride0, offset1, stride1, out_offset, out_stride, arithmetic… in BatchScalarCalc()
/third_party/mesa3d/src/amd/compiler/
Daco_opt_value_numbering.cpp241 aD.offset0 == bD.offset0 && aD.offset1 == bD.offset1; in operator ()()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c48 LLVMValueRef offset0 = in load_sample_position() local
51 LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in load_sample_position()
53 LLVMValueRef pos[4] = {si_buffer_load_const(ctx, resource, offset0), in load_sample_position()
/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c11291 int offset0 = (private_data_ptr == 0) ? STACK(0) : private_data_ptr; in compile_iterator_matchingpath() local
11421 OP1(SLJIT_MOV, base, offset0, STR_END, 0); in compile_iterator_matchingpath()
11456 OP1(SLJIT_MOV, base, offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11530 OP1(SLJIT_MOV, base, offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11552 OP1(SLJIT_MOV, base, offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11558 OP1(SLJIT_MOV, base, offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11565 OP2(SLJIT_ADD, STR_PTR, 0, base, offset0, SLJIT_IMM, IN_UCHARS(1)); in compile_iterator_matchingpath()
11566 OP1(SLJIT_MOV, base, offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11579 OP1(SLJIT_MOV, use_tmp ? TMP3 : base, use_tmp ? 0 : offset0, STR_PTR, 0); in compile_iterator_matchingpath()
11589 OP1(SLJIT_MOV, use_tmp ? TMP3 : base, use_tmp ? 0 : offset0, STR_PTR, 0); in compile_iterator_matchingpath()
[all …]

12