Home
last modified time | relevance | path

Searched refs:idx (Results 226 - 250 of 3857) sorted by relevance

12345678910>>...155

/third_party/ffmpeg/libavcodec/
H A Daacdec.c87 static inline float *VMUL2(float *dst, const float *v, unsigned idx, in VMUL2() argument
91 *dst++ = v[idx & 15] * s; in VMUL2()
92 *dst++ = v[idx>>4 & 15] * s; in VMUL2()
98 static inline float *VMUL4(float *dst, const float *v, unsigned idx, in VMUL4() argument
102 *dst++ = v[idx & 3] * s; in VMUL4()
103 *dst++ = v[idx>>2 & 3] * s; in VMUL4()
104 *dst++ = v[idx>>4 & 3] * s; in VMUL4()
105 *dst++ = v[idx>>6 & 3] * s; in VMUL4()
111 static inline float *VMUL2S(float *dst, const float *v, unsigned idx, in VMUL2S() argument
120 *dst++ = v[idx in VMUL2S()
128 VMUL4S(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL4S() argument
222 int g, i, group, k, idx = 0; apply_dependent_coupling() local
[all...]
H A Daacdec_fixed.c109 static inline int *DEC_SPAIR(int *dst, unsigned idx) in DEC_SPAIR() argument
111 dst[0] = (idx & 15) - 4; in DEC_SPAIR()
112 dst[1] = (idx >> 4 & 15) - 4; in DEC_SPAIR()
117 static inline int *DEC_SQUAD(int *dst, unsigned idx) in DEC_SQUAD() argument
119 dst[0] = (idx & 3) - 1; in DEC_SQUAD()
120 dst[1] = (idx >> 2 & 3) - 1; in DEC_SQUAD()
121 dst[2] = (idx >> 4 & 3) - 1; in DEC_SQUAD()
122 dst[3] = (idx >> 6 & 3) - 1; in DEC_SQUAD()
127 static inline int *DEC_UPAIR(int *dst, unsigned idx, unsigned sign) in DEC_UPAIR() argument
129 dst[0] = (idx in DEC_UPAIR()
135 DEC_UQUAD(int *dst, unsigned idx, unsigned sign) DEC_UQUAD() argument
364 int g, i, group, k, idx = 0; apply_dependent_coupling_fixed() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dsubtitles.c263 int i, idx = search_sub_ts(q, ts); in ff_subtitles_queue_seek() local
266 if (idx < 0) in ff_subtitles_queue_seek()
267 return idx; in ff_subtitles_queue_seek()
268 for (i = idx; i < q->nb_subs && q->subs[i]->pts < min_ts; i++) in ff_subtitles_queue_seek()
270 idx = i; in ff_subtitles_queue_seek()
271 for (i = idx; i > 0 && q->subs[i]->pts > max_ts; i--) in ff_subtitles_queue_seek()
273 idx = i; in ff_subtitles_queue_seek()
275 ts_selected = q->subs[idx]->pts; in ff_subtitles_queue_seek()
280 for (i = idx - 1; i >= 0; i--) { in ff_subtitles_queue_seek()
286 idx in ff_subtitles_queue_seek()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_find_array_copies.c91 unsigned idx; in node_for_deref() local
118 idx = parent->num_children - 1; in node_for_deref()
123 idx = nir_src_as_uint(instr->arr.index); in node_for_deref()
124 assert(idx < parent->num_children - 1); in node_for_deref()
126 idx = parent->num_children - 1; in node_for_deref()
131 idx = instr->strct.index; in node_for_deref()
138 assert(idx < parent->num_children); in node_for_deref()
139 if (parent->children[idx]) { in node_for_deref()
140 return parent->children[idx]; in node_for_deref()
143 parent->children[idx] in node_for_deref()
153 unsigned idx = glsl_get_length(type); node_for_wildcard() local
180 unsigned idx = 0; node_for_path_with_wildcard() local
429 unsigned idx = 0; handle_write() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dex_data.c88 static void dummy_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, in dummy_new() argument
93 static void dummy_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, in dummy_free() argument
99 void **from_d, int idx, in dummy_dup()
105 int ossl_crypto_free_ex_index_ex(OSSL_LIB_CTX *ctx, int class_index, int idx) in ossl_crypto_free_ex_index_ex() argument
119 if (idx < 0 || idx >= sk_EX_CALLBACK_num(ip->meth)) in ossl_crypto_free_ex_index_ex()
121 a = sk_EX_CALLBACK_value(ip->meth, idx); in ossl_crypto_free_ex_index_ex()
133 int CRYPTO_free_ex_index(int class_index, int idx) in CRYPTO_free_ex_index() argument
135 return ossl_crypto_free_ex_index_ex(NULL, class_index, idx); in CRYPTO_free_ex_index()
422 int idx) in CRYPTO_alloc_ex_data()
98 dummy_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void **from_d, int idx, long argl, void *argp) dummy_dup() argument
421 CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad, int idx) CRYPTO_alloc_ex_data() argument
434 ossl_crypto_alloc_ex_data_intern(int class_index, void *obj, CRYPTO_EX_DATA *ad, int idx) ossl_crypto_alloc_ex_data_intern() argument
467 CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val) CRYPTO_set_ex_data() argument
496 CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx) CRYPTO_get_ex_data() argument
[all...]
/third_party/openssl/crypto/
H A Dex_data.c88 static void dummy_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, in dummy_new() argument
93 static void dummy_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, in dummy_free() argument
99 void **from_d, int idx, in dummy_dup()
105 int ossl_crypto_free_ex_index_ex(OSSL_LIB_CTX *ctx, int class_index, int idx) in ossl_crypto_free_ex_index_ex() argument
119 if (idx < 0 || idx >= sk_EX_CALLBACK_num(ip->meth)) in ossl_crypto_free_ex_index_ex()
121 a = sk_EX_CALLBACK_value(ip->meth, idx); in ossl_crypto_free_ex_index_ex()
133 int CRYPTO_free_ex_index(int class_index, int idx) in CRYPTO_free_ex_index() argument
135 return ossl_crypto_free_ex_index_ex(NULL, class_index, idx); in CRYPTO_free_ex_index()
420 int idx) in CRYPTO_alloc_ex_data()
98 dummy_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void **from_d, int idx, long argl, void *argp) dummy_dup() argument
419 CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad, int idx) CRYPTO_alloc_ex_data() argument
432 ossl_crypto_alloc_ex_data_intern(int class_index, void *obj, CRYPTO_EX_DATA *ad, int idx) ossl_crypto_alloc_ex_data_intern() argument
465 CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val) CRYPTO_set_ex_data() argument
494 CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx) CRYPTO_get_ex_data() argument
[all...]
/third_party/alsa-utils/alsactl/
H A Dinfo.c28 int err, dev, idx; in pcm_device_list() local
65 for (idx = 0; idx < (int)count; idx++) { in pcm_device_list()
66 snd_pcm_info_set_subdevice(pcminfo, idx); in pcm_device_list()
76 idx, snd_pcm_info_get_subdevice_name(pcminfo)); in pcm_device_list()
95 int err, dev, idx; in rawmidi_device_list() local
132 for (idx = 0; idx < (int)count; idx in rawmidi_device_list()
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
H A Dh264einport.c43 OMX_U32 idx, in enc_AllocateBackTexture()
49 tiz_port_t * port = tiz_krn_get_port(tiz_get_krn(ap_hdl), idx); in enc_AllocateBackTexture()
98 OMX_BUFFERHEADERTYPE ** buf, OMX_U32 idx, in h264e_inport_AllocateBuffer()
105 buf, idx, private, size, NULL); in h264e_inport_AllocateBuffer()
111 super_FreeBuffer(typeOf(ap_obj, "h264einport"), ap_obj, ap_hdl, idx, *buf); in h264e_inport_AllocateBuffer()
117 r = enc_AllocateBackTexture(ap_hdl, idx, &inp->resource, &inp->transfer, &(*buf)->pBuffer); in h264e_inport_AllocateBuffer()
121 super_FreeBuffer(typeOf(ap_obj, "h264einport"), ap_obj, ap_hdl, idx, *buf); in h264e_inport_AllocateBuffer()
129 OMX_BUFFERHEADERTYPE **buf, OMX_U32 idx, in h264e_inport_UseBuffer()
136 buf, idx, private, size, mem); in h264e_inport_UseBuffer()
142 super_FreeBuffer(typeOf(ap_obj, "h264einport"), ap_obj, ap_hdl, idx, *bu in h264e_inport_UseBuffer()
42 enc_AllocateBackTexture(OMX_HANDLETYPE ap_hdl, OMX_U32 idx, struct pipe_resource **resource, struct pipe_transfer **transfer, OMX_U8 **map) enc_AllocateBackTexture() argument
97 h264e_inport_AllocateBuffer(const void * ap_obj, OMX_HANDLETYPE ap_hdl, OMX_BUFFERHEADERTYPE ** buf, OMX_U32 idx, OMX_PTR private, OMX_U32 size) h264e_inport_AllocateBuffer() argument
128 h264e_inport_UseBuffer(const void * ap_obj, OMX_HANDLETYPE ap_hdl, OMX_BUFFERHEADERTYPE **buf, OMX_U32 idx, OMX_PTR private, OMX_U32 size, OMX_U8 *mem) h264e_inport_UseBuffer() argument
151 h264e_inport_FreeBuffer(const void * ap_obj, OMX_HANDLETYPE ap_hdl, OMX_U32 idx, OMX_BUFFERHEADERTYPE *buf) h264e_inport_FreeBuffer() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_lib.c56 int idx; in X509V3_EXT_get_nid() local
66 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); in X509V3_EXT_get_nid()
67 return sk_X509V3_EXT_METHOD_value(ext_list, idx); in X509V3_EXT_get_nid()
148 * The "idx" variable returns the last found extension and can
151 * due to a badly encoded certificate so if idx is NULL we
163 int *idx) in STACK_OF()
169 if (idx) in STACK_OF()
170 *idx = -1; in STACK_OF()
175 if (idx) in STACK_OF()
176 lastpos = *idx in STACK_OF()
[all...]
H A Dx509_lu.c508 int idx; in STACK_OF() local
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in STACK_OF()
526 return idx; in STACK_OF()
539 int idx; in STACK_OF() local
540 idx = X509_OBJECT_idx_by_subject(h, type, name); in STACK_OF()
541 if (idx == -1) in STACK_OF()
543 return sk_X509_OBJECT_value(h, idx); in STACK_OF()
587 int i, idx, cnt; in STACK_OF() local
599 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt); in STACK_OF()
600 if (idx < in STACK_OF()
642 int i, idx, cnt; STACK_OF() local
691 int idx, i, num; STACK_OF() local
730 int i, ok, idx, ret, nmatch = 0; X509_STORE_CTX_get1_issuer() local
962 X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data) X509_STORE_set_ex_data() argument
967 X509_STORE_get_ex_data(const X509_STORE *ctx, int idx) X509_STORE_get_ex_data() argument
[all...]
/third_party/openssl/crypto/x509/
H A Dv3_lib.c56 int idx; in X509V3_EXT_get_nid() local
66 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); in X509V3_EXT_get_nid()
67 return sk_X509V3_EXT_METHOD_value(ext_list, idx); in X509V3_EXT_get_nid()
148 * The "idx" variable returns the last found extension and can
151 * due to a badly encoded certificate so if idx is NULL we
163 int *idx) in STACK_OF()
169 if (idx) in STACK_OF()
170 *idx = -1; in STACK_OF()
175 if (idx) in STACK_OF()
176 lastpos = *idx in STACK_OF()
[all...]
H A Dx509_lu.c508 int idx; in STACK_OF() local
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in STACK_OF()
526 return idx; in STACK_OF()
539 int idx; in STACK_OF() local
540 idx = X509_OBJECT_idx_by_subject(h, type, name); in STACK_OF()
541 if (idx == -1) in STACK_OF()
543 return sk_X509_OBJECT_value(h, idx); in STACK_OF()
587 int i, idx, cnt; in STACK_OF() local
599 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt); in STACK_OF()
600 if (idx < in STACK_OF()
642 int i, idx, cnt; STACK_OF() local
691 int idx, i, num; STACK_OF() local
730 int i, ok, idx, ret, nmatch = 0; X509_STORE_CTX_get1_issuer() local
962 X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data) X509_STORE_set_ex_data() argument
967 X509_STORE_get_ex_data(const X509_STORE *ctx, int idx) X509_STORE_get_ex_data() argument
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dasyncq.c139 unsigned idx; in push() local
148 idx = reduce(l, l->write_idx); in push()
150 if (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)) { in push()
159 } while (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)); in push()
229 unsigned idx; in pa_asyncq_pop() local
238 idx = reduce(l, l->read_idx); in pa_asyncq_pop()
240 if (!(ret = pa_atomic_ptr_load(&cells[idx]))) { in pa_asyncq_pop()
249 } while (!(ret = pa_atomic_ptr_load(&cells[idx]))); in pa_asyncq_pop()
255 pa_assert_se(pa_atomic_ptr_cmpxchg(&cells[idx], ret, NULL)); in pa_asyncq_pop()
272 unsigned idx; in pa_asyncq_read_before_poll() local
[all...]
/third_party/skia/bench/
H A DVertBench.cpp49 static void load_2_tris(uint16_t idx[], int x, int y, int rb) { in load_2_tris() argument
51 idx[0] = n; idx[1] = n + 1; idx[2] = rb + n + 1; in load_2_tris()
52 idx[3] = n; idx[4] = rb + n + 1; idx[5] = n + rb; in load_2_tris()
72 uint16_t* idx = fIdx; in VertBench() local
83 load_2_tris(idx, x, y, COL + 1); in VertBench()
85 SkASSERT(idx[ in VertBench()
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DLocaleDistanceMapperTest.java50 int idx = 0; in testEndToEnd()
66 languageMatch("yue", "zh", 10, true, ++idx), in testEndToEnd()
67 languageMatch("*", "*", 80, false, ++idx), in testEndToEnd()
69 languageMatch("zh_Hans", "zh_Hant", 15, true, ++idx), in testEndToEnd()
70 languageMatch("zh_Hant", "zh_Hans", 19, true, ++idx), in testEndToEnd()
71 languageMatch("zh_Latn", "zh_Hans", 20, true, ++idx), in testEndToEnd()
72 languageMatch("*_*", "*_*", 50, false, ++idx), in testEndToEnd()
74 languageMatch("en_*_$enUS", "en_*_$enUS", 4, false, ++idx), in testEndToEnd()
75 languageMatch("en_*_$!enUS", "en_*_GB", 3, false, ++idx), in testEndToEnd()
76 languageMatch("en_*_$!enUS", "en_*_$!enUS", 4, false, ++idx), in testEndToEnd()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dsprpdata.c158 int32_t value=0, idx=0, delta=0; in compareMapping() local
177 idx = value; in compareMapping()
178 if(idx >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] && in compareMapping()
179 idx < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
181 }else if(idx >= indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] && in compareMapping()
182 idx < indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
184 }else if(idx >= indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] && in compareMapping()
185 idx < indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
188 length = mappingData[idx++]; in compareMapping()
211 if(mappingData[idx in compareMapping()
[all...]
/third_party/musl/src/misc/
H A Dgetopt_long.c22 static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly);
24 static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly) in __getopt_long() argument
43 ret = __getopt_long_core(argc, argv, optstring, longopts, idx, longonly); in __getopt_long()
53 static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly) in __getopt_long_core() argument
118 if (idx) *idx = i; in __getopt_long_core()
140 int getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx) in getopt_long() argument
142 return __getopt_long(argc, argv, optstring, longopts, idx, 0); in getopt_long()
145 int getopt_long_only(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx) in getopt_long_only() argument
147 return __getopt_long(argc, argv, optstring, longopts, idx, in getopt_long_only()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c70 int idx = 1; in get_element() local
78 if (path->path[idx]->deref_type == nir_deref_type_array) in get_element()
79 idx++; in get_element()
82 if (!path->path[idx]) in get_element()
85 if (path->path[idx]->deref_type != nir_deref_type_struct) in get_element()
88 assert(path->path[idx]->strct.index < desc->num_elements); in get_element()
90 return &desc->elements[path->path[idx]->strct.index ]; in get_element()
99 int idx = 1; in get_variable() local
103 if (path->path[idx]->deref_type == nir_deref_type_array) { in get_variable()
131 tokens[1] = nir_src_as_uint(path->path[idx] in get_variable()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/rtasm/
H A Drtasm_x86sse.c51 switch( reg.idx ) { in x86_print_reg()
63 debug_printf( "MMX%u", reg.idx ); in x86_print_reg()
66 debug_printf( "XMM%u", reg.idx ); in x86_print_reg()
69 debug_printf( "fp%u", reg.idx ); in x86_print_reg()
237 assert(reg.idx < 8); in emit_modrm()
238 assert(regmem.idx < 8); in emit_modrm()
241 val |= reg.idx << 3; /* reg field */ in emit_modrm()
242 val |= regmem.idx; /* r/m field */ in emit_modrm()
249 regmem.idx == reg_SP && in emit_modrm()
318 enum x86_reg_name idx ) in x86_make_reg()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dtzfmt.cpp1538 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1539 if (fields[idx] != 0) {
1547 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1548 if (sep && idx != 0) {
1551 result.append((UChar)(0x0030 + fields[idx]/10));
1552 result.append((UChar)(0x0030 + fields[idx]
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dtzfmt.cpp1538 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1539 if (fields[idx] != 0) {
1547 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1548 if (sep && idx != 0) {
1551 result.append((char16_t)(0x0030 + fields[idx]/10));
1552 result.append((char16_t)(0x0030 + fields[idx]
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dtzfmt.cpp1538 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1539 if (fields[idx] != 0) {
1547 for (int32_t idx = 0; idx <= lastIdx; idx++) {
1548 if (sep && idx != 0) {
1551 result.append((UChar)(0x0030 + fields[idx]/10));
1552 result.append((UChar)(0x0030 + fields[idx]
[all...]
/third_party/libinput/test/
H A Dlitest-device-keyboard-all-codes.c55 int code, idx; in all_codes_create() local
57 for (idx = 0, code = 0; code < KEY_MAX; code++) { in all_codes_create()
63 events[idx++] = EV_KEY; in all_codes_create()
64 events[idx++] = code; in all_codes_create()
66 events[idx++] = -1; in all_codes_create()
67 events[idx++] = -1; in all_codes_create()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dindex_accessor_expression.cc27 const Expression* idx) in IndexAccessorExpression()
28 : Base(pid, src), object(obj), index(idx) { in IndexAccessorExpression()
31 TINT_ASSERT(AST, idx); in IndexAccessorExpression()
32 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, idx, program_id); in IndexAccessorExpression()
45 auto* idx = ctx->Clone(index); in Clone() local
46 return ctx->dst->create<IndexAccessorExpression>(src, obj, idx); in Clone()
24 IndexAccessorExpression(ProgramID pid, const Source& src, const Expression* obj, const Expression* idx) IndexAccessorExpression() argument
/third_party/toybox/scripts/
H A Dmktags.c11 int idx = 0; in main() local
32 idx = 0; in main()
51 printf("#define %s_%*.*s %d\n", tag, -40, (int)(s-start), start, idx); in main()
53 idx>31 ? "LL": "", idx); in main()
54 idx++; in main()

Completed in 26 milliseconds

12345678910>>...155