Home
last modified time | relevance | path

Searched refs:idx1 (Results 1 - 25 of 60) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
H A DindexerWithTuple.js9 var idx1 = 1; variable
14 var ele14 = strNumTuple[idx1]; // string | number
25 var eleUnion14 = unionTuple1[idx1]; // string | number
33 var eleUnion24 = unionTuple2[idx1]; // string | number | boolean
49 var idx1 = 1; variable
54 var ele14 = strNumTuple[idx1]; // string | number
64 var eleUnion14 = unionTuple1[idx1]; // string | number
71 var eleUnion24 = unionTuple2[idx1]; // string | number | boolean
/third_party/node/deps/brotli/c/enc/
H A Dcluster_inc.h12 /* Computes the bit cost reduction by combining out[idx1] and out[idx2] and if
13 it is below a threshold, stores the pair (idx1, idx2) in the *pairs queue. */
15 const HistogramType* out, const uint32_t* cluster_size, uint32_t idx1,
20 p.idx1 = p.idx2 = 0;
22 if (idx1 == idx2) {
25 if (idx2 < idx1) {
27 idx2 = idx1;
28 idx1 = t;
30 p.idx1 = idx1;
[all...]
H A Dcluster.c27 return TO_BROTLI_BOOL((p1->idx2 - p1->idx1) > (p2->idx2 - p2->idx1)); in HistogramPairIsLess()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dcluster_inc.h12 /* Computes the bit cost reduction by combining out[idx1] and out[idx2] and if
13 it is below a threshold, stores the pair (idx1, idx2) in the *pairs queue. */
15 const HistogramType* out, const uint32_t* cluster_size, uint32_t idx1,
20 p.idx1 = p.idx2 = 0;
22 if (idx1 == idx2) {
25 if (idx2 < idx1) {
27 idx2 = idx1;
28 idx1 = t;
30 p.idx1 = idx1;
[all...]
H A Dcluster.c27 return TO_BROTLI_BOOL((p1->idx2 - p1->idx1) > (p2->idx2 - p2->idx1)); in HistogramPairIsLess()
/third_party/ffmpeg/libavcodec/mips/
H A Dvp9dsp_init_mips.c86 #define init_fpel(idx1, idx2, sz, type) \ in vp9dsp_mc_init_msa()
87 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = ff_##type##sz##_msa; \ in vp9dsp_mc_init_msa()
88 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = ff_##type##sz##_msa; \ in vp9dsp_mc_init_msa()
89 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = ff_##type##sz##_msa; \ in vp9dsp_mc_init_msa()
90 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_##type##sz##_msa in vp9dsp_mc_init_msa()
109 #define init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type) \ in vp9dsp_mc_init_msa()
110 dsp->mc[idx1][FILTER_BILINEAR ][idx2][idxh][idxv] = \ in vp9dsp_mc_init_msa()
112 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][idxh][idxv] = \ in vp9dsp_mc_init_msa()
114 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][idxh][idxv] = \ in vp9dsp_mc_init_msa()
116 dsp->mc[idx1][FILTER_8TAP_SHAR in vp9dsp_mc_init_msa()
[all...]
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
H A Dprefix.h177 const uint32_t idx1 = (ii * RS_WORKGROUP_SUBGROUPS) + gl_SubgroupID; in rs_prefix()
183 RS_PREFIX_SWEEP1(idx1) = subgroupBroadcast(h0_inc, RS_SUBGROUP_SIZE - 1); in rs_prefix()
223 const uint32_t idx1 = (ii * RS_WORKGROUP_SUBGROUPS) + gl_SubgroupID; in rs_prefix()
229 RS_PREFIX_SWEEP1(idx1) = subgroupBroadcast(h0_inc, RS_SUBGROUP_SIZE - 1); in rs_prefix()
252 const uint32_t idx1 = (ii * RS_WORKGROUP_SIZE) + gl_LocalInvocationID.x; in rs_prefix()
255 const uint32_t h1_red = RS_PREFIX_SWEEP1(idx1); in rs_prefix()
258 RS_PREFIX_SWEEP1(idx1) = h1_inc - h1_red; in rs_prefix()
310 const uint32_t idx1 = idx0 / RS_SUBGROUP_SIZE; in rs_prefix()
314 h_exc[ii] + RS_PREFIX_SWEEP0(idx0) + RS_PREFIX_SWEEP1(idx1); in rs_prefix()
319 h_exc + RS_PREFIX_SWEEP0(idx0) + RS_PREFIX_SWEEP1(idx1); in rs_prefix()
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dregression-test-issue-3665.js15 var idx1 = 32.6; variable
17 var obj = { [idx1] : { [idx2] : {}}};
18 ([obj[idx1][idx2]] = [5.7]);
20 assert (obj[idx1][idx2] === 5.7);
/third_party/ffmpeg/libavcodec/loongarch/
H A Dvp9dsp_init_loongarch.c27 #define init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type) \
28 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][idxh][idxv] = \
30 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][idxh][idxv] = \
32 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][idxh][idxv] = \
47 #define init_fpel(idx1, idx2, sz, type) \
48 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = ff_##type##sz##_lsx; \
49 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = ff_##type##sz##_lsx; \
50 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = ff_##type##sz##_lsx; \
51 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_##type##sz##_lsx;
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dhistogram_enc.c730 // Pair of histograms. Negative idx1 value means that pair is out-of-date.
732 int idx1; member
799 // Create a pair from indices "idx1" and "idx2" provided its cost
803 VP8LHistogram** const histograms, int idx1, in HistoQueuePush()
812 if (idx1 > idx2) { in HistoQueuePush()
814 idx2 = idx1; in HistoQueuePush()
815 idx1 = tmp; in HistoQueuePush()
817 pair.idx1 = idx1; in HistoQueuePush()
819 h1 = histograms[idx1]; in HistoQueuePush()
802 HistoQueuePush(HistoQueue* const histo_queue, VP8LHistogram** const histograms, int idx1, int idx2, double threshold) HistoQueuePush() argument
867 const int idx1 = histo_queue.queue[0].idx1; HistogramCombineGreedy() local
904 PairComparison(const void* idx1, const void* idx2) PairComparison() argument
961 uint32_t idx1 = tmp / (*num_used - 1); HistogramCombineStochastic() local
[all...]
/third_party/ffmpeg/libavcodec/arm/
H A Dvp9dsp_init_16bpp_arm_template.c106 #define init_fpel(idx1, idx2, sz, type, suffix) \ in vp9dsp_mc_init_arm()
107 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \ in vp9dsp_mc_init_arm()
108 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \ in vp9dsp_mc_init_arm()
109 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \ in vp9dsp_mc_init_arm()
110 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##suffix##_neon in vp9dsp_mc_init_arm()
116 #define init_mc_func(idx1, idx2, op, filter, fname, dir, mx, my, sz, pfx, bpp) \ in vp9dsp_mc_init_arm()
117 dsp->mc[idx1][filter][idx2][mx][my] = pfx##op##_##fname##sz##_##dir##_##bpp##_neon in vp9dsp_mc_init_arm()
215 #define init_lpf_func_8(idx1, idx2, dir, wd, bpp) \ in vp9dsp_loopfilter_init_arm()
216 dsp->loop_filter_8[idx1][idx2] = ff_vp9_loop_filter_##dir##_##wd##_8_##bpp##_neon in vp9dsp_loopfilter_init_arm()
221 #define init_lpf_func_mix2(idx1, idx in vp9dsp_loopfilter_init_arm()
[all...]
H A Dvp9dsp_init_arm.c105 #define init_fpel(idx1, idx2, sz, type) \ in vp9dsp_mc_init_arm()
106 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \ in vp9dsp_mc_init_arm()
107 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \ in vp9dsp_mc_init_arm()
108 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \ in vp9dsp_mc_init_arm()
109 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##_neon in vp9dsp_mc_init_arm()
115 #define init_mc_func(idx1, idx2, op, filter, fname, dir, mx, my, sz, pfx) \ in vp9dsp_mc_init_arm()
116 dsp->mc[idx1][filter][idx2][mx][my] = pfx##op##_##fname##sz##_##dir##_neon in vp9dsp_mc_init_arm()
H A Dvp9mc_neon.S268 @ filter coefficient (3 or 4) and idx1 is the other one of them.
269 .macro do_8tap_h type, size, idx1, idx2
270 function \type\()_8tap_\size\()h_\idx1\idx2
324 extmla q1, q2, q3, q4, d2, d6, q8, q9, q10, q11, q12, q13, \idx1, \size
498 .macro convolve dst1, dst2, src1, src2, src3, src4, src5, src6, src7, src8, src9, idx1, idx2, tmp1, tmp2
505 .if \idx1 == 3
548 @ and idx1 is the other one of them.
549 .macro do_8tap_8v type, idx1, idx2
550 function \type\()_8tap_8v_\idx1\idx2
561 convolve q1, q2, q5, q6, q7, q8, q9, q10, q11, q12, q13, \idx1, \idx
[all...]
/third_party/ffmpeg/libavcodec/aarch64/
H A Dvp9dsp_init_16bpp_aarch64_template.c108 #define init_fpel(idx1, idx2, sz, type, suffix) \ in vp9dsp_mc_init_aarch64()
109 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
110 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
111 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
112 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##suffix in vp9dsp_mc_init_aarch64()
131 #define init_mc_func(idx1, idx2, op, filter, fname, dir, mx, my, sz, pfx, bpp) \ in vp9dsp_mc_init_aarch64()
132 dsp->mc[idx1][filter][idx2][mx][my] = pfx##op##_##fname##sz##_##dir##_##bpp##_neon in vp9dsp_mc_init_aarch64()
231 #define init_lpf_func_8(idx1, idx2, dir, wd, bpp) \ in vp9dsp_loopfilter_init_aarch64()
232 dsp->loop_filter_8[idx1][idx2] = ff_vp9_loop_filter_##dir##_##wd##_8_##bpp##_neon in vp9dsp_loopfilter_init_aarch64()
237 #define init_lpf_func_mix2(idx1, idx in vp9dsp_loopfilter_init_aarch64()
[all...]
H A Dvp9dsp_init_aarch64.c106 #define init_fpel(idx1, idx2, sz, type, suffix) \ in vp9dsp_mc_init_aarch64()
107 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
108 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
109 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \ in vp9dsp_mc_init_aarch64()
110 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##suffix in vp9dsp_mc_init_aarch64()
128 #define init_mc_func(idx1, idx2, op, filter, fname, dir, mx, my, sz, pfx) \ in vp9dsp_mc_init_aarch64()
129 dsp->mc[idx1][filter][idx2][mx][my] = pfx##op##_##fname##sz##_##dir##_neon in vp9dsp_mc_init_aarch64()
H A Dvp9mc_neon.S221 // filter coefficient (3 or 4) and idx1 is the other one of them.
222 .macro do_8tap_h type, size, idx1, idx2
223 function \type\()_8tap_\size\()h_\idx1\idx2
277 extmla v1, v2, v24, v25, v4, v5, v6, v16, v17, v18, \idx1, \size
433 .macro convolve dst1, dst2, src1, src2, src3, src4, src5, src6, src7, src8, src9, idx1, idx2, tmp1, tmp2
440 .if \idx1 == 3
483 // and idx1 is the other one of them.
484 .macro do_8tap_8v type, idx1, idx2
485 function \type\()_8tap_8v_\idx1\idx2
500 convolve v1, v2, v17, v18, v19, v20, v21, v22, v23, v24, v25, \idx1, \idx
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9dsp_init.h143 #define init_fpel_func(idx1, idx2, sz, type, bpp, opt) \
144 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \
145 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \
146 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \
147 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##bpp##_##opt
149 #define init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type, bpp, opt) \
150 dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][idxh][idxv] = \
152 dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][idxh][idxv] = \
154 dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][idxh][idxv] = \
157 #define init_subpel2(idx1, idx
[all...]
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/
H A Dsbcs-codec.js62 var idx1 = 0, idx2 = 0;
64 idx1 = buf[i]*2; idx2 = i*2;
65 newBuf[idx2] = decodeBuf[idx1];
66 newBuf[idx2+1] = decodeBuf[idx1+1];
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
H A Dwgsl_mutator.h70 /// Given 4 indices, idx1, idx2, idx3 and idx4 it swaps the regions
71 /// in the interval (idx1, idx2] with the region in the interval (idx3, idx4]
73 /// @param idx1 - starting index of the first region.
78 void SwapIntervals(size_t idx1,
84 /// Given index idx1 it delets the region of length interval_len
85 /// starting at index idx1;
86 /// @param idx1 - starting index of the first region.
89 void DeleteInterval(size_t idx1, size_t reg_len, std::string& wgsl_code);
91 /// Given 2 indices, idx1, idx2, it inserts the region of length
92 /// reg1_len starting at idx1 afte
[all...]
H A Dwgsl_mutator.cc175 void SwapIntervals(size_t idx1, in SwapIntervals() argument
180 std::string region_1 = wgsl_code.substr(idx1 + 1, reg1_len - 1); in SwapIntervals()
187 wgsl_code.replace(idx1 + 1, region_1.size(), region_2); in SwapIntervals()
190 void DeleteInterval(size_t idx1, size_t reg_len, std::string& wgsl_code) { in DeleteInterval() argument
191 wgsl_code.erase(idx1 + 1, reg_len - 1); in DeleteInterval()
194 void DuplicateInterval(size_t idx1, in DuplicateInterval() argument
198 std::string region = wgsl_code.substr(idx1 + 1, reg1_len - 1); in DuplicateInterval()
202 void ReplaceRegion(size_t idx1, in ReplaceRegion() argument
207 std::string region_1 = wgsl_code.substr(idx1, id1_len); in ReplaceRegion()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_ra.cpp41 void ComponentInterference::add(size_t idx1, size_t idx2) in add() argument
43 assert(idx1 > idx2); in add()
44 assert(m_rows.size() > idx1); in add()
45 m_rows[idx1].push_back(idx2); in add()
46 m_rows[idx2].push_back(idx1); in add()
/third_party/ffmpeg/libavfilter/
H A Dcolorspacedsp.c131 #define init_yuv2yuv_fn(idx1, bit1, bit2) \ in ff_colorspacedsp_init()
132 dsp->yuv2yuv[idx1][BPP_##bit2][SS_444] = yuv2yuv_444p##bit1##to##bit2##_c; \ in ff_colorspacedsp_init()
133 dsp->yuv2yuv[idx1][BPP_##bit2][SS_422] = yuv2yuv_422p##bit1##to##bit2##_c; \ in ff_colorspacedsp_init()
134 dsp->yuv2yuv[idx1][BPP_##bit2][SS_420] = yuv2yuv_420p##bit1##to##bit2##_c in ff_colorspacedsp_init()
/third_party/protobuf/objectivec/
H A DGPBArray.h205 * @param idx1 The index of the first element to exchange.
208 - (void)exchangeValueAtIndex:(NSUInteger)idx1
377 * @param idx1 The index of the first element to exchange.
380 - (void)exchangeValueAtIndex:(NSUInteger)idx1
549 * @param idx1 The index of the first element to exchange.
552 - (void)exchangeValueAtIndex:(NSUInteger)idx1
721 * @param idx1 The index of the first element to exchange.
724 - (void)exchangeValueAtIndex:(NSUInteger)idx1
893 * @param idx1 The index of the first element to exchange.
896 - (void)exchangeValueAtIndex:(NSUInteger)idx1
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Dsystem-jit-metadata-win.h51 template <std::size_t count1, std::size_t count2, std::size_t... idx1,
53 constexpr str_bytes(const str_bytes<count1>& s1, std::index_sequence<idx1...>, in str_bytes()
55 : bytes{s1.bytes[idx1]..., s2.bytes[idx2]...}, size(count) {} in str_bytes()
79 auto idx1 = std::make_index_sequence<size1>(); in JoinBytes() local
81 return str_bytes<size1 + size2>{str1, idx1, str2, idx2}; in JoinBytes()
/third_party/ffmpeg/libavcodec/
H A Divi.c944 int result, i, t, idx1, idx2, pos; in decode_band() local
981 idx1 = band->corr[i * 2]; in decode_band()
983 FFSWAP(uint8_t, band->rv_map->runtab[idx1], band->rv_map->runtab[idx2]); in decode_band()
984 FFSWAP(int16_t, band->rv_map->valtab[idx1], band->rv_map->valtab[idx2]); in decode_band()
985 if (idx1 == band->rv_map->eob_sym || idx2 == band->rv_map->eob_sym) in decode_band()
986 band->rv_map->eob_sym ^= idx1 ^ idx2; in decode_band()
987 if (idx1 == band->rv_map->esc_sym || idx2 == band->rv_map->esc_sym) in decode_band()
988 band->rv_map->esc_sym ^= idx1 ^ idx2; in decode_band()
1041 idx1 = band->corr[i*2]; in decode_band()
1043 FFSWAP(uint8_t, band->rv_map->runtab[idx1], ban in decode_band()
[all...]

Completed in 13 milliseconds

123