Home
last modified time | relevance | path

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

12345678910>>...80

/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/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.cpp34 size_t idx = 0; in main() local
35 assert(std::stof("10g", &idx) == 10); in main()
36 assert(idx == 2); in main()
37 idx = 0; in main()
38 assert(std::stof(L"10g", &idx) == 10); in main()
39 assert(idx == 2); in main()
41 idx = 0; in main()
44 assert(std::stof("1.e60", &idx) == INFINITY); in main()
49 assert(idx == 0); in main()
53 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.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.cpp31 size_t idx = 0; in main() local
32 assert(std::stoull("10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stoull(L"10g", &idx, 16) == 16); in main()
36 assert(idx == 2); in main()
38 idx = 0; in main()
41 std::stoull("", &idx); in main()
46 assert(idx == 0); in main()
48 idx = 0; in main()
[all …]
Dstoul.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stoul("10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stoul(L"10g", &idx, 16) == 16); in main()
36 assert(idx == 2); in main()
38 idx = 0; in main()
41 std::stoul("", &idx); in main()
46 assert(idx == 0); in main()
50 std::stoul(L"", &idx); in main()
[all …]
Dstoll.pass.cpp33 size_t idx = 0; in main() local
34 assert(std::stoll("10g", &idx, 16) == 16); in main()
35 assert(idx == 2); in main()
36 idx = 0; in main()
37 assert(std::stoll(L"10g", &idx, 16) == 16); in main()
38 assert(idx == 2); in main()
40 idx = 0; in main()
43 std::stoll("", &idx); in main()
48 assert(idx == 0); in main()
52 std::stoll(L"", &idx); in main()
[all …]
Dstol.pass.cpp33 size_t idx = 0; in main() local
34 assert(std::stol("10g", &idx, 16) == 16); in main()
35 assert(idx == 2); in main()
36 idx = 0; in main()
37 assert(std::stol(L"10g", &idx, 16) == 16); in main()
38 assert(idx == 2); in main()
40 idx = 0; in main()
43 std::stol("", &idx); in main()
48 assert(idx == 0); in main()
52 std::stol(L"", &idx); in main()
[all …]
Dstoi.pass.cpp30 size_t idx = 0; in main() local
31 assert(std::stoi("10g", &idx, 16) == 16); in main()
32 assert(idx == 2); in main()
33 idx = 0; in main()
34 assert(std::stoi(L"10g", &idx, 16) == 16); in main()
35 assert(idx == 2); in main()
41 std::stoi("0x100000000", &idx, 16); in main()
49 std::stoi(L"0x100000000", &idx, 16); in main()
56 idx = 0; in main()
59 std::stoi("", &idx); in main()
[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);
410 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx) { in _build_rval_index_tuple() argument
420 pyidx = PyInt_FromSsize_t(idx); in _build_rval_index_tuple()
885 _parse_object_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { in _parse_object_str() argument
912 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
915 if (idx <= end_idx && str[idx] != '}') { in _parse_object_str()
916 while (idx <= end_idx) { in _parse_object_str()
918 if (str[idx] != '"') { in _parse_object_str()
[all …]
/external/elfutils/src/
Dxelf.h55 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
56 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
57 # define xelf_update_phdr(elf, idx, phdr) \ argument
58 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1)
68 # define xelf_getsym(data, idx, name) \ argument
69 name = &((Elf32_Sym *) (data)->d_buf)[idx]
70 # define xelf_getsym_ptr(data, idx, name) \ argument
71 name = &((Elf32_Sym *) (data)->d_buf)[idx]
72 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
73 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
[all …]
Delflint.c97 GElf_Shdr *shdr, int idx);
314 section_name (Ebl *ebl, int idx) in section_name() argument
320 if ((unsigned int) idx > shnum) in section_name()
323 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
536 check_scn_group (Ebl *ebl, int idx) in check_scn_group() argument
538 if (scnref[idx] == 0) in check_scn_group()
544 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group()
567 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group()
575 idx, section_name (ebl, idx)); in check_scn_group()
579 idx, section_name (ebl, idx), in check_scn_group()
[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/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/python/cpython2/Lib/json/
Dscanner.py28 def _scan_once(string, idx): argument
30 nextchar = string[idx]
35 return parse_string(string, idx + 1, encoding, strict)
37 return parse_object((string, idx + 1), encoding, 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
45 elif nextchar == 'f' and string[idx:idx + 5] == 'false':
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll15 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
16 %idx.inc = add i32 %idx, 1
17 %in.bounds = icmp slt i32 %idx, %a_len
22 %addr = getelementptr i32, i32* %a, i32 %idx
23 store i32 %idx, i32* %addr
27 %be.cond = icmp slt i32 %idx.inc, %smin
43 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
44 %idx.inc = add i32 %idx, 1
45 %in.bounds = icmp sgt i32 %a_len, %idx
50 %addr = getelementptr i32, i32* %a, i32 %idx
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DAsciiUtil.java55 int idx = 0; in toLowerString() local
56 for (; idx < s.length(); idx++) { in toLowerString()
57 char c = s.charAt(idx); in toLowerString()
62 if (idx == s.length()) { in toLowerString()
65 StringBuilder buf = new StringBuilder(s.substring(0, idx)); in toLowerString()
66 for (; idx < s.length(); idx++) { in toLowerString()
67 buf.append(toLower(s.charAt(idx))); in toLowerString()
73 int idx = 0; in toUpperString() local
74 for (; idx < s.length(); idx++) { in toUpperString()
75 char c = s.charAt(idx); in toUpperString()
[all …]
/external/elfutils/lib/
Ddynamicsizehash.c51 size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size); in lookup() local
53 if (htab->table[idx].hashval != 0) in lookup()
57 if (htab->table[idx].hashval == hval in lookup()
58 && COMPARE (htab->table[idx].data, val) == 0) in lookup()
59 return idx; in lookup()
66 if (idx <= hash) in lookup()
67 idx = htab->size + idx - hash; in lookup()
69 idx -= hash; in lookup()
72 if (htab->table[idx].hashval == hval in lookup()
73 && COMPARE (htab->table[idx].data, val) == 0) in lookup()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DAsciiUtil.java61 int idx = 0; in toLowerString() local
62 for (; idx < s.length(); idx++) { in toLowerString()
63 char c = s.charAt(idx); in toLowerString()
68 if (idx == s.length()) { in toLowerString()
71 StringBuilder buf = new StringBuilder(s.substring(0, idx)); in toLowerString()
72 for (; idx < s.length(); idx++) { in toLowerString()
73 buf.append(toLower(s.charAt(idx))); in toLowerString()
79 int idx = 0; in toUpperString() local
80 for (; idx < s.length(); idx++) { in toUpperString()
81 char c = s.charAt(idx); in toUpperString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DAsciiUtil.java57 int idx = 0; in toLowerString() local
58 for (; idx < s.length(); idx++) { in toLowerString()
59 char c = s.charAt(idx); in toLowerString()
64 if (idx == s.length()) { in toLowerString()
67 StringBuilder buf = new StringBuilder(s.substring(0, idx)); in toLowerString()
68 for (; idx < s.length(); idx++) { in toLowerString()
69 buf.append(toLower(s.charAt(idx))); in toLowerString()
75 int idx = 0; in toUpperString() local
76 for (; idx < s.length(); idx++) { in toUpperString()
77 char c = s.charAt(idx); in toUpperString()
[all …]
/external/llvm/test/Analysis/ScalarEvolution/
Dinfer-prestart-no-wrap.ll10 %idx = phi i32 [ %start, %entry ], [ %idx.inc, %loop ]
11 %idx.inc = add nsw i32 %idx, 1
12 %idx.inc.sext = sext i32 %idx.inc to i64
13 ; CHECK: %idx.inc.sext = sext i32 %idx.inc to i64
16 %buf.gep = getelementptr inbounds i32, i32* %buf, i32 %idx.inc
34 %idx = phi i32 [ %start, %entry ], [ %idx.inc, %loop ]
35 %idx.inc = add nuw i32 %idx, 1
36 %idx.inc.sext = zext i32 %idx.inc to i64
37 ; CHECK: %idx.inc.sext = zext i32 %idx.inc to i64
40 %buf.gep = getelementptr inbounds i32, i32* %buf, i32 %idx.inc
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c73 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders() local
75 link.varyings[idx].reg, idx + 1, in etna_link_shaders()
76 link.varyings[idx].num_components, "xyzw", in etna_link_shaders()
77 link.varyings[idx].use[0], link.varyings[idx].use[1], in etna_link_shaders()
78 link.varyings[idx].use[2], link.varyings[idx].use[3], in etna_link_shaders()
79 link.varyings[idx].pa_attributes); in etna_link_shaders()
91 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders() local
92 cs->PA_SHADER_ATTRIBUTES[idx] = link.varyings[idx].pa_attributes; in etna_link_shaders()
101 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders() local
102 etna_bitarray_set(vs_output, 8, varid++, link.varyings[idx].reg); in etna_link_shaders()
[all …]
/external/ltp/testcases/kernel/fs/ftest/
Dlibftest.c32 int idx, nout, i; in ft_dumpiov() local
37 idx = 0; in ft_dumpiov()
44 if (i == idx + 1) in ft_dumpiov()
46 buf[idx] & 0xff); in ft_dumpiov()
48 tst_resm(TINFO, "\t%d*%" PRIx32 "x, ", i - idx, in ft_dumpiov()
49 buf[idx] & 0xff); in ft_dumpiov()
50 idx = i; in ft_dumpiov()
60 if (i == idx + 1) in ft_dumpiov()
61 tst_resm(TINFO, "\t%" PRIx32 "x", buf[idx] & 0xff); in ft_dumpiov()
63 tst_resm(TINFO, "\t%d*%" PRIx32 "x", i - idx, buf[idx]); in ft_dumpiov()
[all …]

12345678910>>...80