Home
last modified time | relevance | path

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

12345678910>>...85

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_decompose_tmp.h51 unsigned idx[6], i; in FUNC() local
66 idx[0] = GET_ELT(i); in FUNC()
67 POINT(idx[0]); in FUNC()
74 idx[0] = GET_ELT(i); in FUNC()
75 idx[1] = GET_ELT(i + 1); in FUNC()
76 LINE(flags, idx[0], idx[1]); in FUNC()
84 idx[1] = GET_ELT(0); in FUNC()
85 idx[2] = idx[1]; in FUNC()
88 idx[0] = idx[1]; in FUNC()
89 idx[1] = GET_ELT(i); in FUNC()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_decompose_tmp.h51 unsigned idx[6], i; in FUNC() local
66 idx[0] = GET_ELT(i); in FUNC()
67 POINT(idx[0]); in FUNC()
74 idx[0] = GET_ELT(i); in FUNC()
75 idx[1] = GET_ELT(i + 1); in FUNC()
76 LINE(flags, idx[0], idx[1]); in FUNC()
84 idx[1] = GET_ELT(0); in FUNC()
85 idx[2] = idx[1]; in FUNC()
88 idx[0] = idx[1]; in FUNC()
89 idx[1] = GET_ELT(i); in FUNC()
[all …]
/external/libcxx/test/strings/string.conversions/
Dstof.pass.cpp32 size_t idx = 0; in main() local
33 assert(std::stof("10g", &idx) == 10); in main()
34 assert(idx == 2); in main()
35 idx = 0; in main()
36 assert(std::stof(L"10g", &idx) == 10); in main()
37 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 …]
Dstod.pass.cpp29 size_t idx = 0; in main() local
30 assert(std::stod("10g", &idx) == 10); in main()
31 assert(idx == 2); in main()
32 idx = 0; in main()
33 assert(std::stod(L"10g", &idx) == 10); in main()
34 assert(idx == 2); in main()
37 assert(std::stod("1.e60", &idx) == 1.e60); in main()
38 assert(idx == 5); in main()
46 assert(std::stod(L"1.e60", &idx) == 1.e60); in main()
47 assert(idx == 5); 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()
39 assert(std::stold("1.e60", &idx) == 1.e60L); in main()
40 assert(idx == 5); in main()
48 assert(std::stold(L"1.e60", &idx) == 1.e60L); in main()
49 assert(idx == 5); in main()
[all …]
Dstoull.pass.cpp29 size_t idx = 0; in main() local
30 assert(std::stoull("10g", &idx, 16) == 16); in main()
31 assert(idx == 2); in main()
32 idx = 0; in main()
33 assert(std::stoull(L"10g", &idx, 16) == 16); in main()
34 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 …]
Dstoul.pass.cpp29 size_t idx = 0; in main() local
30 assert(std::stoul("10g", &idx, 16) == 16); in main()
31 assert(idx == 2); in main()
32 idx = 0; in main()
33 assert(std::stoul(L"10g", &idx, 16) == 16); in main()
34 assert(idx == 2); in main()
35 idx = 0; in main()
38 std::stoul("", &idx); in main()
43 assert(idx == 0); in main()
47 std::stoul(L"", &idx); in main()
[all …]
Dstoll.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stoll("10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stoll(L"10g", &idx, 16) == 16); in main()
36 assert(idx == 2); in main()
37 idx = 0; in main()
40 std::stoll("", &idx); in main()
45 assert(idx == 0); in main()
49 std::stoll(L"", &idx); in main()
[all …]
Dstol.pass.cpp31 size_t idx = 0; in main() local
32 assert(std::stol("10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
34 idx = 0; in main()
35 assert(std::stol(L"10g", &idx, 16) == 16); in main()
36 assert(idx == 2); in main()
37 idx = 0; in main()
40 std::stol("", &idx); in main()
45 assert(idx == 0); in main()
49 std::stol(L"", &idx); in main()
[all …]
Dstoi.pass.cpp28 size_t idx = 0; in main() local
29 assert(std::stoi("10g", &idx, 16) == 16); in main()
30 assert(idx == 2); in main()
31 idx = 0; in main()
32 assert(std::stoi(L"10g", &idx, 16) == 16); in main()
33 assert(idx == 2); in main()
38 std::stoi("0x100000000", &idx, 16); in main()
46 std::stoi(L"0x100000000", &idx, 16); in main()
53 idx = 0; in main()
56 std::stoi("", &idx); in main()
[all …]
/external/lldb/tools/debugserver/source/MacOSX/
DMachThreadList.cpp105 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadByID() local
107 if (m_threads[idx]->ThreadID() == tid) in GetThreadByID()
109 thread_sp = m_threads[idx]; in GetThreadByID()
122 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadByMachPortNumber() local
124 if (m_threads[idx]->MachPortNumber() == mach_port_number) in GetThreadByMachPortNumber()
126 thread_sp = m_threads[idx]; in GetThreadByMachPortNumber()
139 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadIDByMachPortNumber() local
141 if (m_threads[idx]->MachPortNumber() == mach_port_number) in GetThreadIDByMachPortNumber()
143 return m_threads[idx]->ThreadID(); in GetThreadIDByMachPortNumber()
155 for (size_t idx = 0; idx < num_threads; ++idx) in GetMachPortNumberByThreadID() local
[all …]
/external/elfutils/0.153/src/
Dxelf.h63 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
64 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
65 # define xelf_update_phdr(elf, idx, phdr) \ argument
66 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1)
76 # define xelf_getsym(data, idx, name) \ argument
77 name = &((Elf32_Sym *) (data)->d_buf)[idx]
78 # define xelf_getsym_ptr(data, idx, name) \ argument
79 name = &((Elf32_Sym *) (data)->d_buf)[idx]
80 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
[all …]
Delflint.c105 GElf_Shdr *shdr, int idx);
318 section_name (Ebl *ebl, int idx) in section_name() argument
323 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
533 check_scn_group (Ebl *ebl, int idx) in check_scn_group() argument
535 if (scnref[idx] == 0) in check_scn_group()
541 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group()
563 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group()
571 idx, section_name (ebl, idx)); in check_scn_group()
575 idx, section_name (ebl, idx), in check_scn_group()
582 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/
Dglapi_entrypoint.c202 int idx; in init_glapi_relocs() local
229 idx = 7; in init_glapi_relocs()
235 idx = 3; in init_glapi_relocs()
237 code[idx + 0] = template[idx + 0]; in init_glapi_relocs()
238 __glapi_sparc_icache_flush(&code[idx - 1]); in init_glapi_relocs()
239 code[idx + 1] = template[idx + 1]; in init_glapi_relocs()
240 code[idx + 2] = template[idx + 2]; in init_glapi_relocs()
241 __glapi_sparc_icache_flush(&code[idx + 1]); in init_glapi_relocs()
242 code[idx + 3] = template[idx + 3]; in init_glapi_relocs()
243 code[idx + 4] = template[idx + 4]; in init_glapi_relocs()
[all …]
/external/mesa3d/src/mapi/glapi/
Dglapi_entrypoint.c202 int idx; in init_glapi_relocs() local
229 idx = 7; in init_glapi_relocs()
235 idx = 3; in init_glapi_relocs()
237 code[idx + 0] = template[idx + 0]; in init_glapi_relocs()
238 __glapi_sparc_icache_flush(&code[idx - 1]); in init_glapi_relocs()
239 code[idx + 1] = template[idx + 1]; in init_glapi_relocs()
240 code[idx + 2] = template[idx + 2]; in init_glapi_relocs()
241 __glapi_sparc_icache_flush(&code[idx + 1]); in init_glapi_relocs()
242 code[idx + 3] = template[idx + 3]; in init_glapi_relocs()
243 code[idx + 4] = template[idx + 4]; in init_glapi_relocs()
[all …]
/external/chromium_org/third_party/libsrtp/srtp/test/
Dreplay_driver.c89 rdb_check_add(rdb_t *rdb, uint32_t idx) { in rdb_check_add() argument
91 if (rdb_check(rdb, idx) != err_status_ok) { in rdb_check_add()
92 printf("rdb_check failed at index %u\n", idx); in rdb_check_add()
95 if (rdb_add_index(rdb, idx) != err_status_ok) { in rdb_check_add()
96 printf("rdb_add_index failed at index %u\n", idx); in rdb_check_add()
104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { in rdb_check_expect_failure() argument
107 err = rdb_check(rdb, idx); in rdb_check_expect_failure()
109 printf("rdb_check failed at index %u (false positive)\n", idx); in rdb_check_expect_failure()
117 rdb_check_add_unordered(rdb_t *rdb, uint32_t idx) { in rdb_check_add_unordered() argument
121 rstat = rdb_check(rdb, idx); in rdb_check_add_unordered()
[all …]
/external/chromium_org/third_party/simplejson/
D_speedups.c122 scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
124 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
126 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
477 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx) { in _build_rval_index_tuple() argument
487 pyidx = PyInt_FromSsize_t(idx); in _build_rval_index_tuple()
1020 _parse_object_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { in _parse_object_str() argument
1052 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
1055 if (idx <= end_idx && str[idx] != '}') { in _parse_object_str()
1056 while (idx <= end_idx) { in _parse_object_str()
1060 if (str[idx] != '"') { in _parse_object_str()
[all …]
Dscanner.py32 def _scan_once(string, idx): argument
34 nextchar = string[idx]
39 return parse_string(string, idx + 1, encoding, strict)
41 return parse_object((string, idx + 1), encoding, strict,
44 return parse_array((string, idx + 1), _scan_once)
45 elif nextchar == 'n' and string[idx:idx + 4] == 'null':
46 return None, idx + 4
47 elif nextchar == 't' and string[idx:idx + 4] == 'true':
48 return True, idx + 4
49 elif nextchar == 'f' and string[idx:idx + 5] == 'false':
[all …]
/external/libcxx/src/
Dstring.cpp66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
78 if (idx) in as_integer_helper()
79 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
86 as_integer(const string& func, const S& s, size_t* idx, int base);
92 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
95 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
104 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
106 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
112 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
114 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
[all …]
/external/bluetooth/bluedroid/btif/src/
Dbtif_hf.c261 static void send_at_result(UINT8 ok_flag, UINT16 errcode, int idx) in send_at_result() argument
272 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res); in send_at_result()
295 void clear_phone_state_multihf(int idx) in clear_phone_state_multihf() argument
297 btif_hf_cb[idx].call_setup_state = BTHF_CALL_STATE_IDLE; in clear_phone_state_multihf()
298 btif_hf_cb[idx].num_active = btif_hf_cb[idx].num_held = 0; in clear_phone_state_multihf()
392 int idx = p_data->hdr.handle - 1; in btif_hf_upstreams_evt() local
403 btif_hf_cb[idx].handle = p_data->reg.hdr.handle; in btif_hf_upstreams_evt()
405 "btif_hf_cb.handle = %d", __FUNCTION__, btif_hf_cb[idx].handle); in btif_hf_upstreams_evt()
411 bdcpy(btif_hf_cb[idx].connected_bda.address, in btif_hf_upstreams_evt()
413 btif_hf_cb[idx].state = BTHF_CONNECTION_STATE_CONNECTED; in btif_hf_upstreams_evt()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm39 foreach my $idx (sort {$a <=> $b} keys %trace_flags) {
40 if (!$value && !$idx) {
45 if ($idx && ($value & $idx) == $idx) {
49 $string .= "$trace_flags{$idx}";
51 $value &= ~$idx;
69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) {
70 if (!$value && !$idx) {
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
74 if ($idx && ($value & $idx) == $idx) {
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
[all …]
/external/elfutils/0.153/lib/
Ddynamicsizehash.c74 size_t idx = 1 + hval % htab->size; local
76 if (htab->table[idx].hashval != 0)
80 if (htab->table[idx].hashval == hval
81 && COMPARE (htab->table[idx].data, val) == 0)
82 return idx;
89 if (idx <= hash)
90 idx = htab->size + idx - hash;
92 idx -= hash;
95 if (htab->table[idx].hashval == hval
96 && COMPARE (htab->table[idx].data, val) == 0)
[all …]
/external/srtp/test/
Dreplay_driver.c89 rdb_check_add(rdb_t *rdb, uint32_t idx) { in rdb_check_add() argument
91 if (rdb_check(rdb, idx) != err_status_ok) { in rdb_check_add()
92 printf("rdb_check failed at index %u\n", idx); in rdb_check_add()
95 if (rdb_add_index(rdb, idx) != err_status_ok) { in rdb_check_add()
96 printf("rdb_add_index failed at index %u\n", idx); in rdb_check_add()
104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { in rdb_check_expect_failure() argument
107 err = rdb_check(rdb, idx); in rdb_check_expect_failure()
109 printf("rdb_check failed at index %u (false positive)\n", idx); in rdb_check_expect_failure()
117 rdb_check_unordered(rdb_t *rdb, uint32_t idx) { in rdb_check_unordered() argument
121 rstat = rdb_check(rdb, idx); in rdb_check_unordered()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c42 unsigned *idx) in translate_vs_ps_semantic() argument
46 *idx = semantic.Index; in translate_vs_ps_semantic()
50 *idx = semantic.Index; in translate_vs_ps_semantic()
54 *idx = semantic.Index + 2; /* sharing with COLOR */ in translate_vs_ps_semantic()
58 *idx = 0; in translate_vs_ps_semantic()
63 *idx = semantic.Index; in translate_vs_ps_semantic()
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table, in translate_vs_ps_semantic()
72 *idx = semantic.Index; in translate_vs_ps_semantic()
80 *idx = 0; in translate_vs_ps_semantic()
85 *idx = 0; in translate_vs_ps_semantic()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c42 unsigned *idx) in translate_vs_ps_semantic() argument
46 *idx = semantic.Index; in translate_vs_ps_semantic()
50 *idx = semantic.Index; in translate_vs_ps_semantic()
54 *idx = semantic.Index + 2; /* sharing with COLOR */ in translate_vs_ps_semantic()
58 *idx = 0; in translate_vs_ps_semantic()
63 *idx = semantic.Index; in translate_vs_ps_semantic()
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table, in translate_vs_ps_semantic()
72 *idx = semantic.Index; in translate_vs_ps_semantic()
80 *idx = 0; in translate_vs_ps_semantic()
85 *idx = 0; in translate_vs_ps_semantic()
[all …]

12345678910>>...85