/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_decompose_tmp.h | 51 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/ |
D | draw_decompose_tmp.h | 51 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/ |
D | stof.pass.cpp | 32 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 …]
|
D | stod.pass.cpp | 29 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 …]
|
D | stold.pass.cpp | 31 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 …]
|
D | stoull.pass.cpp | 29 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 …]
|
D | stoul.pass.cpp | 29 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 …]
|
D | stoll.pass.cpp | 31 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 …]
|
D | stol.pass.cpp | 31 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 …]
|
D | stoi.pass.cpp | 28 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/ |
D | MachThreadList.cpp | 105 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/ |
D | xelf.h | 63 # 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 …]
|
D | elflint.c | 105 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/ |
D | glapi_entrypoint.c | 202 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/ |
D | glapi_entrypoint.c | 202 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/ |
D | replay_driver.c | 89 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.c | 122 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 …]
|
D | scanner.py | 32 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/ |
D | string.cpp | 66 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/ |
D | btif_hf.c | 261 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/ |
D | Core.pm | 39 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/ |
D | dynamicsizehash.c | 74 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/ |
D | replay_driver.c | 89 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/ |
D | svga_tgsi_decl_sm30.c | 42 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/ |
D | svga_tgsi_decl_sm30.c | 42 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 …]
|