Searched defs:idx (Results 1 - 25 of 1374) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-732.js28 // idx is a valid array index but is too big to be cached in hash field.
29 var idx = 10000000; variable
36 obj[idx] = "obj" + idx;
39 var str = "" + idx;
46 assertEquals(obj[str], obj[idx])
H A Dsplice-missing-wb.js34 for (var i = 0; i < a.length; i++) a[i] = {idx:i};
42 a[0] = {idx:0};
52 // Try accessing a[0].idx. It will segfault if write-barrier was accidentally
54 assertEquals(0, a[0].idx);
55 assertEquals(1, a[1].idx);
56 assertEquals(202, a[2].idx);
/external/elfutils/0.153/libdw/
H A Ddwarf_getarange_addr.c70 size_t idx = (l + u) / 2; local
71 if (addr < aranges->info[idx].addr)
72 u = idx;
73 else if (addr > aranges->info[idx].addr
74 && addr - aranges->info[idx].addr >= aranges->info[idx].length)
75 l = idx + 1;
77 return &aranges->info[idx];
H A Ddwarf_onearange.c59 dwarf_onearange (Dwarf_Aranges *aranges, size_t idx) argument
64 if (idx >= aranges->naranges)
70 return &aranges->info[idx];
H A Ddwarf_onesrcline.c59 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx) argument
64 if (idx >= lines->nlines)
70 return &lines->info[idx];
H A Ddwarf_filesrc.c59 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, argument
62 if (file == NULL || idx >= file->nfiles)
66 *mtime = file->info[idx].mtime;
69 *length = file->info[idx].length;
71 return file->info[idx].name;
H A Ddwarf_decl_file.c64 Dwarf_Sword idx = 0; local
68 &idx) != 0)
72 if (idx == 0)
101 if (idx >= cu->files->nfiles)
107 return cu->files->info[idx].name;
H A Ddwarf_getsrc_die.c72 size_t idx = (l + u) / 2; local
73 if (addr < lines->info[idx].addr)
74 u = idx;
75 else if (addr > lines->info[idx].addr || lines->info[idx].end_sequence)
76 l = idx + 1;
78 return &lines->info[idx];
/external/libcxx/test/strings/string.conversions/
H A Dstod.pass.cpp12 // double stod(const string& str, size_t *idx = 0);
13 // double stod(const wstring& str, size_t *idx = 0);
29 size_t idx = 0; local
30 assert(std::stod("10g", &idx) == 10);
31 assert(idx == 2);
32 idx = 0;
33 assert(std::stod(L"10g", &idx) == 10);
34 assert(idx == 2);
37 assert(std::stod("1.e60", &idx) == 1.e60);
38 assert(idx
[all...]
H A Dstof.pass.cpp15 // float stof(const string& str, size_t *idx = 0);
16 // float stof(const wstring& str, size_t *idx = 0);
32 size_t idx = 0; local
33 assert(std::stof("10g", &idx) == 10);
34 assert(idx == 2);
35 idx = 0;
36 assert(std::stof(L"10g", &idx) == 10);
37 assert(idx == 2);
38 idx = 0;
41 assert(std::stof("1.e60", &idx)
[all...]
H A Dstoi.pass.cpp12 // int stoi(const string& str, size_t *idx = 0, int base = 10);
13 // int stoi(const wstring& str, size_t *idx = 0, int base = 10);
28 size_t idx = 0; local
29 assert(std::stoi("10g", &idx, 16) == 16);
30 assert(idx == 2);
31 idx = 0;
32 assert(std::stoi(L"10g", &idx, 16) == 16);
33 assert(idx == 2);
38 std::stoi("0x100000000", &idx, 16);
46 std::stoi(L"0x100000000", &idx, 1
[all...]
H A Dstol.pass.cpp15 // long stol(const string& str, size_t *idx = 0, int base = 10);
16 // long stol(const wstring& str, size_t *idx = 0, int base = 10);
31 size_t idx = 0; local
32 assert(std::stol("10g", &idx, 16) == 16);
33 assert(idx == 2);
34 idx = 0;
35 assert(std::stol(L"10g", &idx, 16) == 16);
36 assert(idx == 2);
37 idx = 0;
40 std::stol("", &idx);
[all...]
H A Dstold.pass.cpp12 // long double stold(const string& str, size_t *idx = 0);
13 // long double stold(const wstring& str, size_t *idx = 0);
31 size_t idx = 0; local
32 assert(std::stold("10g", &idx) == 10);
33 assert(idx == 2);
34 idx = 0;
35 assert(std::stold(L"10g", &idx) == 10);
36 assert(idx == 2);
39 assert(std::stold("1.e60", &idx) == 1.e60L);
40 assert(idx
[all...]
H A Dstoll.pass.cpp15 // long long stoll(const string& str, size_t *idx = 0, int base = 10);
16 // long long stoll(const wstring& str, size_t *idx = 0, int base = 10);
31 size_t idx = 0; local
32 assert(std::stoll("10g", &idx, 16) == 16);
33 assert(idx == 2);
34 idx = 0;
35 assert(std::stoll(L"10g", &idx, 16) == 16);
36 assert(idx == 2);
37 idx = 0;
40 std::stoll("", &idx);
[all...]
H A Dstoul.pass.cpp15 // unsigned long stoul(const string& str, size_t *idx = 0, int base = 10);
16 // unsigned long stoul(const wstring& str, size_t *idx = 0, int base = 10);
29 size_t idx = 0; local
30 assert(std::stoul("10g", &idx, 16) == 16);
31 assert(idx == 2);
32 idx = 0;
33 assert(std::stoul(L"10g", &idx, 16) == 16);
34 assert(idx == 2);
35 idx = 0;
38 std::stoul("", &idx);
[all...]
H A Dstoull.pass.cpp15 // unsigned long long stoull(const string& str, size_t *idx = 0, int base = 10);
16 // unsigned long long stoull(const wstring& str, size_t *idx = 0, int base = 10);
29 size_t idx = 0; local
30 assert(std::stoull("10g", &idx, 16) == 16);
31 assert(idx == 2);
32 idx = 0;
33 assert(std::stoull(L"10g", &idx, 16) == 16);
34 assert(idx == 2);
35 idx = 0;
38 std::stoull("", &idx);
[all...]
/external/elfutils/0.153/libebl/
H A Deblsectionname.c87 int idx = section != SHN_XINDEX ? section : xsection; local
90 res = scnnames[idx];
93 snprintf (buf, len, "%d", idx);
/external/elfutils/0.153/libelf/
H A Delf_getshdrnum.c68 int idx; local
79 idx = elf->state.elf.scns_last->cnt;
80 if (idx != 0
87 *dst = 1 + elf->state.elf.scns_last->data[idx - 1].index;
/external/elfutils/0.153/libdwfl/
H A Ddwfl_onesrcline.c53 dwfl_onesrcline (Dwarf_Die *cudie, size_t idx) argument
70 if (idx >= cu->die.cu->lines->nlines)
76 return &cu->lines->idx[idx];
H A Ddwfl_validate_address.c60 int idx = INTUSE(dwfl_module_relocate_address) (mod, &relative); local
61 if (idx < 0)
74 if (offset_idx != idx)
/external/tcpdump/
H A Dprint-sip.c38 u_int idx; local
46 for (idx = 0; idx < len; idx++) {
47 TCHECK2(*(pptr+idx), 2);
48 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */
49 safeputchar(*(pptr+idx));
52 idx+=1;
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_mutex_unlock.c67 LONG idx; local
69 idx = (LONG) PTW32_INTERLOCKED_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR)&mx->lock_idx,
71 if (idx != 0)
73 if (idx < 0)
/external/chromium_org/third_party/opus/src/silk/float/
H A Dsort_FLP.c41 opus_int *idx, /* O Index vector for the sorted elements */
56 idx[ i ] = i;
64 idx[ j + 1 ] = idx[ j ]; /* Shift index */
67 idx[ j + 1 ] = i; /* Write index */
77 idx[ j + 1 ] = idx[ j ]; /* Shift index */
80 idx[ j + 1 ] = i; /* Write index */
39 silk_insertion_sort_decreasing_FLP( silk_float *a, opus_int *idx, const opus_int L, const opus_int K ) argument
/external/compiler-rt/test/tsan/
H A Dbench_ten_mutexes.cc11 int idx = (i % kMutex); local
13 idx = kMutex - idx - 1;
14 pthread_mutex_lock(&mtx[idx]);
15 pthread_mutex_unlock(&mtx[idx]);
/external/libopus/silk/float/
H A Dsort_FLP.c41 opus_int *idx, /* O Index vector for the sorted elements */
56 idx[ i ] = i;
64 idx[ j + 1 ] = idx[ j ]; /* Shift index */
67 idx[ j + 1 ] = i; /* Write index */
77 idx[ j + 1 ] = idx[ j ]; /* Shift index */
80 idx[ j + 1 ] = i; /* Write index */
39 silk_insertion_sort_decreasing_FLP( silk_float *a, opus_int *idx, const opus_int L, const opus_int K ) argument

Completed in 368 milliseconds

1234567891011>>