Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 4654) sorted by relevance

12345678910>>...187

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_decompose_tmp.h50 unsigned idx[6], i; in FUNC() local
65 idx[0] = GET_ELT(i); in FUNC()
66 POINT(idx[0]); in FUNC()
73 idx[0] = GET_ELT(i); in FUNC()
74 idx[1] = GET_ELT(i + 1); in FUNC()
75 LINE(flags, idx[0], idx[1]); in FUNC()
83 idx[1] = GET_ELT(0); in FUNC()
84 idx[2] = idx[1]; in FUNC()
87 idx[0] = idx[1]; in FUNC()
88 idx[1] = GET_ELT(i); in FUNC()
[all …]
/external/llvm-project/clang/test/CodeGen/SystemZ/
Dbuiltins-systemz-zvector-error.c57 volatile int idx; variable
61 len = __lcbb(cptr, idx); // expected-error {{no matching function}} in test_core()
70 …vsl = vec_permi(vsl, vsl, idx); // expected-error {{no matching function}} expected-error {{argume… in test_core()
79 …vul = vec_permi(vul, vul, idx); // expected-error {{no matching function}} expected-error {{argume… in test_core()
88 …vbl = vec_permi(vbl, vbl, idx); // expected-error {{no matching function}} expected-error {{argume… in test_core()
97 …vd = vec_permi(vd, vd, idx); // expected-error {{no matching function}} expected-error {{argume… in test_core()
107 vsi = vec_gather_element(vsi, vui, cptrsi, idx); // expected-error {{no matching function}} in test_core()
116 vui = vec_gather_element(vui, vui, cptrui, idx); // expected-error {{no matching function}} in test_core()
125 vbi = vec_gather_element(vbi, vui, cptrui, idx); // expected-error {{no matching function}} in test_core()
134 vsl = vec_gather_element(vsl, vul, cptrsl, idx); // expected-error {{no matching function}} in test_core()
[all …]
Dbuiltins-systemz-zvector2-constrained.c30 volatile int idx; variable
41 f = vec_extract(vf, idx); in test_core()
47 d = vec_extract(vd, idx); in test_core()
58 vf = vec_insert(f, vf, idx); in test_core()
68 vd = vec_insert(d, vd, idx); in test_core()
72 vf = vec_promote(f, idx); in test_core()
75 vd = vec_promote(d, idx); in test_core()
122 vf = vec_xl(idx, cptrf); in test_core()
124 vd = vec_xl(idx, cptrd); in test_core()
127 vec_xst(vf, idx, ptrf); in test_core()
[all …]
Dbuiltins-systemz-zvector.c60 volatile int idx; variable
88 sc = vec_extract(vsc, idx); in test_core()
91 uc = vec_extract(vuc, idx); in test_core()
94 uc = vec_extract(vbc, idx); in test_core()
97 ss = vec_extract(vss, idx); in test_core()
100 us = vec_extract(vus, idx); in test_core()
103 us = vec_extract(vbs, idx); in test_core()
106 si = vec_extract(vsi, idx); in test_core()
109 ui = vec_extract(vui, idx); in test_core()
112 ui = vec_extract(vbi, idx); in test_core()
[all …]
/external/clang/test/CodeGen/
Dbuiltins-systemz-zvector-error.c57 volatile int idx; variable
61 len = __lcbb(cptr, idx); // expected-error {{no matching function}} in test_core()
70 vsl = vec_permi(vsl, vsl, idx); // expected-error {{no matching function}} in test_core()
79 vul = vec_permi(vul, vul, idx); // expected-error {{no matching function}} in test_core()
88 vbl = vec_permi(vbl, vbl, idx); // expected-error {{no matching function}} in test_core()
97 vd = vec_permi(vd, vd, idx); // expected-error {{no matching function}} in test_core()
107 vsi = vec_gather_element(vsi, vui, cptrsi, idx); // expected-error {{no matching function}} in test_core()
116 vui = vec_gather_element(vui, vui, cptrui, idx); // expected-error {{no matching function}} in test_core()
125 vbi = vec_gather_element(vbi, vui, cptrui, idx); // expected-error {{no matching function}} in test_core()
134 vsl = vec_gather_element(vsl, vul, cptrsl, idx); // expected-error {{no matching function}} in test_core()
[all …]
Dbuiltins-systemz-zvector.c57 volatile int idx; variable
76 sc = vec_extract(vsc, idx); in test_core()
78 uc = vec_extract(vuc, idx); in test_core()
80 uc = vec_extract(vbc, idx); in test_core()
82 ss = vec_extract(vss, idx); in test_core()
84 us = vec_extract(vus, idx); in test_core()
86 us = vec_extract(vbs, idx); in test_core()
88 si = vec_extract(vsi, idx); in test_core()
90 ui = vec_extract(vui, idx); in test_core()
92 ui = vec_extract(vbi, idx); in test_core()
[all …]
/external/libcxx/test/std/strings/string.conversions/
Dstof.pass.cpp36 size_t idx = 0; in main() local
37 assert(std::stof("10g", &idx) == 10); in main()
38 assert(idx == 2); in main()
39 idx = 0; in main()
40 assert(std::stof(L"10g", &idx) == 10); in main()
41 assert(idx == 2); in main()
43 idx = 0; in main()
46 assert(std::stof("1.e60", &idx) == INFINITY); in main()
51 assert(idx == 0); in main()
55 assert(std::stof(L"1.e60", &idx) == INFINITY); in main()
[all …]
Dstold.pass.cpp33 size_t idx = 0; in main() local
34 assert(std::stold("10g", &idx) == 10); in main()
35 assert(idx == 2); in main()
36 idx = 0; in main()
37 assert(std::stold(L"10g", &idx) == 10); in main()
38 assert(idx == 2); in main()
43 assert(std::stold("1.e60", &idx) == 1.e60L); in main()
44 assert(idx == 5); in main()
54 assert(std::stold(L"1.e60", &idx) == 1.e60L); in main()
55 assert(idx == 5); in main()
[all …]
Dstod.pass.cpp32 size_t idx = 0; in main() local
33 assert(std::stod("10g", &idx) == 10); in main()
34 assert(idx == 2); in main()
35 idx = 0; in main()
36 assert(std::stod(L"10g", &idx) == 10); in main()
37 assert(idx == 2); in main()
42 assert(std::stod("1.e60", &idx) == 1.e60); in main()
43 assert(idx == 5); in main()
53 assert(std::stod(L"1.e60", &idx) == 1.e60); in main()
54 assert(idx == 5); in main()
[all …]
Dstoull.pass.cpp33 size_t idx = 0; in main() local
34 assert(std::stoull("10g", &idx, 16) == 16); in main()
35 assert(idx == 2); in main()
36 idx = 0; in main()
37 assert(std::stoull(L"10g", &idx, 16) == 16); in main()
38 assert(idx == 2); in main()
40 idx = 0; in main()
43 std::stoull("", &idx); in main()
48 assert(idx == 0); in main()
50 idx = 0; in main()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.conversions/
Dstof.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stof("10g", &idx) == 10); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stof(L"10g", &idx) == 10); in main()
36 assert(idx == 2); in main()
38 idx = 0; in main()
41 assert(std::stof("1.e60", &idx) == INFINITY); in main()
46 assert(idx == 0); in main()
50 assert(std::stof(L"1.e60", &idx) == INFINITY); in main()
[all …]
Dstold.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stold("10g", &idx) == 10); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stold(L"10g", &idx) == 10); in main()
36 assert(idx == 2); in main()
41 assert(std::stold("1.e60", &idx) == 1.e60L); in main()
42 assert(idx == 5); in main()
52 assert(std::stold(L"1.e60", &idx) == 1.e60L); in main()
53 assert(idx == 5); in main()
[all …]
Dstod.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stod("10g", &idx) == 10); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stod(L"10g", &idx) == 10); in main()
36 assert(idx == 2); in main()
41 assert(std::stod("1.e60", &idx) == 1.e60); in main()
42 assert(idx == 5); in main()
52 assert(std::stod(L"1.e60", &idx) == 1.e60); in main()
53 assert(idx == 5); in main()
[all …]
Dstoull.pass.cpp28 size_t idx = 0; in main() local
29 assert(std::stoull("10g", &idx, 16) == 16); in main()
30 assert(idx == 2); in main()
31 idx = 0; in main()
32 assert(std::stoull(L"10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
35 idx = 0; in main()
38 std::stoull("", &idx); in main()
43 assert(idx == 0); in main()
45 idx = 0; in main()
[all …]
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBase.cpp97 bool DrawBuffersIndexedBase::BlendMaskStateMachine::CheckEnumForBuffer(int idx, glw::GLenum e, glw:… in CheckEnumForBuffer() argument
103 gl.getIntegeri_v(e, idx, &i); in CheckEnumForBuffer()
104 gl.getInteger64i_v(e, idx, &li); in CheckEnumForBuffer()
105 gl.getBooleani_v(e, idx, &b); in CheckEnumForBuffer()
108 …testLog << tcu::TestLog::Message << "State for " << e << " in buffer #" << idx << " should be set … in CheckEnumForBuffer()
118 bool DrawBuffersIndexedBase::BlendMaskStateMachine::CheckBuffer(int idx) in CheckBuffer() argument
120 if (gl.isEnabledi(GL_BLEND, idx) != state[idx].enable) in CheckBuffer()
122 …testLog << tcu::TestLog::Message << "Blending for buffer #" << idx << " set to: " << !state[idx].e… in CheckBuffer()
123 << " but should be " << state[idx].enable << "!" << tcu::TestLog::EndMessage; in CheckBuffer()
129 result &= CheckEnumForBuffer(idx, GL_BLEND_EQUATION_RGB, state[idx].mode_rgb); in CheckBuffer()
[all …]
/external/python/cpython2/Modules/
D_json.c91 scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
93 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
95 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
406 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx) { in _build_rval_index_tuple() argument
416 pyidx = PyInt_FromSsize_t(idx); in _build_rval_index_tuple()
882 _parse_object_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { in _parse_object_str() argument
909 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
912 if (idx <= end_idx && str[idx] != '}') { in _parse_object_str()
913 while (idx <= end_idx) { in _parse_object_str()
915 if (str[idx] != '"') { in _parse_object_str()
[all …]
/external/libxaac/decoder/armv7/
Dixheaacd_aac_ld_dec_rearrange.s12 LDRB r4, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
13 LDRB r5, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
14 LDRB r6, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
15 LDRB r7, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
16 LDRB r8, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
17 LDRB r9, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
18 LDRB r10, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
19 LDRB r11, [r3], #1 @ idx = mdct_tables_ptr->re_arr_tab[n]
28 LDMIA r4, {r12, r14} @ r12 = inp[idx] and r14 = inp[idx+1]
29 STMIA r1!, {r12, r14} @ *buf1++ = inp[idx] and *buf1++ = inp[idx+1]
[all …]
/external/libaom/libaom/aom_dsp/
Davg.c127 int idx; in aom_hadamard_8x8_c() local
131 for (idx = 0; idx < 8; ++idx) { in aom_hadamard_8x8_c()
139 for (idx = 0; idx < 8; ++idx) { in aom_hadamard_8x8_c()
140 hadamard_col8(tmp_buf, 8, buffer2 + 8 * idx); // tmp_buf: 12 bit in aom_hadamard_8x8_c()
147 for (idx = 0; idx < 64; ++idx) coeff[idx] = (tran_low_t)buffer2[idx]; in aom_hadamard_8x8_c()
155 for (int idx = 0; idx < 8; ++idx) { in aom_hadamard_lp_8x8_c() local
163 for (int idx = 0; idx < 8; ++idx) { in aom_hadamard_lp_8x8_c() local
164 hadamard_col8(tmp_buf, 8, buffer2 + 8 * idx); // tmp_buf: 12 bit in aom_hadamard_lp_8x8_c()
171 for (int idx = 0; idx < 64; ++idx) coeff[idx] = buffer2[idx]; in aom_hadamard_lp_8x8_c() local
177 int idx; in aom_hadamard_16x16_c() local
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dsparsebit.c172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ member
287 root->idx = subtree->idx; in node_copy_subtree()
310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find() argument
316 nodep = nodep->idx > idx ? nodep->left : nodep->right) { in node_find()
317 if (idx >= nodep->idx && in node_find()
318 idx <= nodep->idx + MASK_BITS + nodep->num_after - 1) in node_find()
333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add() argument
344 nodep->idx = idx & -MASK_BITS; in node_add()
358 if (idx < parentp->idx) { in node_add()
366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); in node_add()
[all …]
/external/llvm-project/libcxx/src/
Dstring.cpp67 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
79 if (idx) in as_integer_helper()
80 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
87 as_integer(const string& func, const S& s, size_t* idx, int base);
93 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
96 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
105 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
107 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
113 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
115 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
[all …]
/external/mesa3d/src/mapi/glapi/
Dglapi_entrypoint.c203 int idx; in init_glapi_relocs() local
230 idx = 7; in init_glapi_relocs()
236 idx = 3; in init_glapi_relocs()
238 code[idx + 0] = template[idx + 0]; in init_glapi_relocs()
239 __glapi_sparc_icache_flush(&code[idx - 1]); in init_glapi_relocs()
240 code[idx + 1] = template[idx + 1]; in init_glapi_relocs()
241 code[idx + 2] = template[idx + 2]; in init_glapi_relocs()
242 __glapi_sparc_icache_flush(&code[idx + 1]); in init_glapi_relocs()
243 code[idx + 3] = template[idx + 3]; in init_glapi_relocs()
244 code[idx + 4] = template[idx + 4]; in init_glapi_relocs()
[all …]
/external/python/cpython3/Lib/json/
Dscanner.py28 def _scan_once(string, idx): argument
30 nextchar = string[idx]
32 raise StopIteration(idx) from None
35 return parse_string(string, idx + 1, strict)
37 return parse_object((string, idx + 1), strict,
40 return parse_array((string, idx + 1), _scan_once)
41 elif nextchar == 'n' and string[idx:idx + 4] == 'null':
42 return None, idx + 4
43 elif nextchar == 't' and string[idx:idx + 4] == 'true':
44 return True, idx + 4
[all …]
/external/ltp/testcases/kernel/sched/eas/
Dtrace_parse.c275 unsigned int field_start, idx = 0; in parse_trace_record() local
279 while (idx < 16 && line[idx] == ' ') in parse_trace_record()
280 idx++; in parse_trace_record()
281 if (idx == 16) { in parse_trace_record()
286 memcpy(tr->task, &line[idx], 16-idx); in parse_trace_record()
293 idx = 17; in parse_trace_record()
294 while(line[idx] && line[idx] != '[') idx++; in parse_trace_record()
295 if (!line[idx]) { in parse_trace_record()
301 line[idx-1] = 0; in parse_trace_record()
308 field_start = idx; in parse_trace_record()
[all …]
/external/libsrtp2/test/
Dreplay_driver.c91 srtp_err_status_t rdb_check_add(srtp_rdb_t *rdb, uint32_t idx) in rdb_check_add() argument
93 if (srtp_rdb_check(rdb, idx) != srtp_err_status_ok) { in rdb_check_add()
94 printf("rdb_check failed at index %u\n", idx); in rdb_check_add()
97 if (srtp_rdb_add_index(rdb, idx) != srtp_err_status_ok) { in rdb_check_add()
98 printf("rdb_add_index failed at index %u\n", idx); in rdb_check_add()
105 srtp_err_status_t rdb_check_expect_failure(srtp_rdb_t *rdb, uint32_t idx) in rdb_check_expect_failure() argument
109 err = srtp_rdb_check(rdb, idx); in rdb_check_expect_failure()
112 printf("rdb_check failed at index %u (false positive)\n", idx); in rdb_check_expect_failure()
119 srtp_err_status_t rdb_check_add_unordered(srtp_rdb_t *rdb, uint32_t idx) in rdb_check_add_unordered() argument
124 rstat = srtp_rdb_check(rdb, idx); in rdb_check_add_unordered()
[all …]
/external/libcxx/src/
Dstring.cpp61 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
73 if (idx) in as_integer_helper()
74 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
81 as_integer(const string& func, const S& s, size_t* idx, int base);
87 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
90 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
99 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
101 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
107 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
109 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
[all …]

12345678910>>...187