/external/clang/tools/scan-build-py/tests/functional/src/ |
H A D | clean-one.c | 6 int idx = 0; local 8 for (idx = i; idx > 0; --idx) 10 i += idx;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_decompose_tmp.h | 50 unsigned idx[6], i; local 65 idx[0] = GET_ELT(i); 66 POINT(idx[0]); 73 idx[0] = GET_ELT(i); 74 idx[1] = GET_ELT(i + 1); 75 LINE(flags, idx[0], idx[1]); 83 idx[1] = GET_ELT(0); 84 idx[2] = idx[ [all...] |
/external/iptables/include/linux/netfilter/ |
H A D | xt_TCPOPTSTRIP.h | 6 #define tcpoptstrip_set_bit(bmap, idx) \ 7 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 8 #define tcpoptstrip_test_bit(bmap, idx) \ 9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_TCPOPTSTRIP.h | 6 #define tcpoptstrip_set_bit(bmap, idx) \ 7 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 8 #define tcpoptstrip_test_bit(bmap, idx) \ 9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/libcxx/test/std/strings/string.conversions/ |
H A D | stoull.pass.cpp | 15 // 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); 31 size_t idx = 0; local 32 assert(std::stoull("10g", &idx, 16) == 16); 33 assert(idx == 2); 34 idx = 0; 35 assert(std::stoull(L"10g", &idx, 16) == 16); 36 assert(idx == 2); 38 idx = 0; 41 std::stoull("", &idx); [all...] |
H A D | stol.pass.cpp | 15 // 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); 33 size_t idx = 0; local 34 assert(std::stol("10g", &idx, 16) == 16); 35 assert(idx == 2); 36 idx = 0; 37 assert(std::stol(L"10g", &idx, 16) == 16); 38 assert(idx == 2); 40 idx = 0; 43 std::stol("", &idx); [all...] |
H A D | stoll.pass.cpp | 15 // 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); 33 size_t idx = 0; local 34 assert(std::stoll("10g", &idx, 16) == 16); 35 assert(idx == 2); 36 idx = 0; 37 assert(std::stoll(L"10g", &idx, 16) == 16); 38 assert(idx == 2); 40 idx = 0; 43 std::stoll("", &idx); [all...] |
H A D | stoul.pass.cpp | 15 // 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); 31 size_t idx = 0; local 32 assert(std::stoul("10g", &idx, 16) == 16); 33 assert(idx == 2); 34 idx = 0; 35 assert(std::stoul(L"10g", &idx, 16) == 16); 36 assert(idx == 2); 38 idx = 0; 41 std::stoul("", &idx); [all...] |
H A D | stof.pass.cpp | 15 // float stof(const string& str, size_t *idx = 0); 16 // float stof(const wstring& str, size_t *idx = 0); 34 size_t idx = 0; local 35 assert(std::stof("10g", &idx) == 10); 36 assert(idx == 2); 37 idx = 0; 38 assert(std::stof(L"10g", &idx) == 10); 39 assert(idx == 2); 41 idx = 0; 44 assert(std::stof("1.e60", &idx) [all...] |
H A D | stod.pass.cpp | 12 // double stod(const string& str, size_t *idx = 0); 13 // double stod(const wstring& str, size_t *idx = 0); 31 size_t idx = 0; local 32 assert(std::stod("10g", &idx) == 10); 33 assert(idx == 2); 34 idx = 0; 35 assert(std::stod(L"10g", &idx) == 10); 36 assert(idx == 2); 41 assert(std::stod("1.e60", &idx) == 1.e60); 42 assert(idx [all...] |
H A D | stold.pass.cpp | 12 // long double stold(const string& str, size_t *idx = 0); 13 // long double stold(const wstring& str, size_t *idx = 0); 33 size_t idx = 0; local 34 assert(std::stold("10g", &idx) == 10); 35 assert(idx == 2); 36 idx = 0; 37 assert(std::stold(L"10g", &idx) == 10); 38 assert(idx == 2); 43 assert(std::stold("1.e60", &idx) == 1.e60L); 44 assert(idx [all...] |
H A D | stoi.pass.cpp | 12 // 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); 30 size_t idx = 0; local 31 assert(std::stoi("10g", &idx, 16) == 16); 32 assert(idx == 2); 33 idx = 0; 34 assert(std::stoi(L"10g", &idx, 16) == 16); 35 assert(idx == 2); 41 std::stoi("0x100000000", &idx, 16); 49 std::stoi(L"0x100000000", &idx, 1 [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | print_memory_profile_test.cc | 14 int idx = 0; local 16 sink[idx++] = new char[131000]; 18 sink[idx++] = new char[24000];
|
/external/elfutils/libdw/ |
H A D | dwarf_macro_param.c | 36 dwarf_macro_param (Dwarf_Macro *macro, size_t idx, Dwarf_Attribute *ret) argument 41 if (idx >= libdw_macro_nforms (macro)) 44 *ret = macro->attributes[idx];
|
H A D | dwarf_getarange_addr.c | 47 size_t idx = (l + u) / 2; local 48 if (addr < aranges->info[idx].addr) 49 u = idx; 50 else if (addr > aranges->info[idx].addr 51 && addr - aranges->info[idx].addr >= aranges->info[idx].length) 52 l = idx + 1; 54 return &aranges->info[idx];
|
H A D | dwarf_filesrc.c | 38 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, argument 41 if (file == NULL || idx >= file->nfiles) 45 *mtime = file->info[idx].mtime; 48 *length = file->info[idx].length; 50 return file->info[idx].name;
|
/external/python/cpython2/Lib/json/ |
H A D | scanner.py | 28 def _scan_once(string, idx): 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 [all...] |
/external/iproute2/include/ |
H A D | ll_map.h | 9 const char *ll_index_to_name(unsigned idx); 10 const char *ll_idx_n2a(unsigned idx, char *buf); 11 int ll_index_to_type(unsigned idx); 12 int ll_index_to_flags(unsigned idx);
|
/external/compiler-rt/test/tsan/ |
H A D | bench_ten_mutexes.cc | 14 int idx = (i % kMutex); local 16 idx = kMutex - idx - 1; 17 pthread_mutex_lock(&mtx[idx]); 18 pthread_mutex_unlock(&mtx[idx]);
|
/external/pdfium/core/fxcrt/ |
H A D | fx_unicode.cpp | 10 size_t idx = static_cast<size_t>(wch); local 11 if (idx < kTextLayoutCodePropertiesSize) 27 size_t idx = dwTemp >> 23; local 28 if (idx < kFXTextLayoutBidiMirrorSize) { 29 wch = kFXTextLayoutBidiMirror[idx]; 36 size_t idx = dwTemp >> 17; local 37 if (idx < kFXTextLayoutVerticalMirrorSize) 38 wch = kFXTextLayoutVerticalMirror[idx]; 51 size_t idx = dwTemp >> 23; local 52 if (idx < kFXTextLayoutBidiMirrorSiz 60 size_t idx = dwTemp >> 17; local [all...] |
/external/clang/test/CodeGen/ |
H A D | builtins-systemz-zvector-error.c | 57 volatile int idx; variable 61 len = __lcbb(cptr, idx); // expected-error {{no matching function}} 70 vsl = vec_permi(vsl, vsl, idx); // expected-error {{no matching function}} 79 vul = vec_permi(vul, vul, idx); // expected-error {{no matching function}} 88 vbl = vec_permi(vbl, vbl, idx); // expected-error {{no matching function}} 97 vd = vec_permi(vd, vd, idx); // expected-error {{no matching function}} 107 vsi = vec_gather_element(vsi, vui, cptrsi, idx); // expected-error {{no matching function}} 116 vui = vec_gather_element(vui, vui, cptrui, idx); // expected-error {{no matching function}} 125 vbi = vec_gather_element(vbi, vui, cptrui, idx); // expected-error {{no matching function}} 134 vsl = vec_gather_element(vsl, vul, cptrsl, idx); // expecte [all...] |
/external/ltp/testcases/kernel/fs/ftest/ |
H A D | libftest.c | 32 int idx, nout, i; local 37 idx = 0; 44 if (i == idx + 1) 46 buf[idx] & 0xff); 48 tst_resm(TINFO, "\t%d*%" PRIx32 "x, ", i - idx, 49 buf[idx] & 0xff); 50 idx = i; 60 if (i == idx + 1) 61 tst_resm(TINFO, "\t%" PRIx32 "x", buf[idx] & 0xff); 63 tst_resm(TINFO, "\t%d*%" PRIx32 "x", i - idx, bu 103 int idx, nout, i; local 137 ft_mkname(char *name, char *dirname, int me, int idx) argument [all...] |
/external/skia/include/private/ |
H A D | GrSwizzle.h | 29 static constexpr char IToC(int idx) { argument 30 return (8 * idx) == GrColor_SHIFT_R ? 'r' : 31 (8 * idx) == GrColor_SHIFT_G ? 'g' : 32 (8 * idx) == GrColor_SHIFT_B ? 'b' : 33 (8 * idx) == GrColor_SHIFT_A ? 'a' : 'x'; 76 int idx; local 79 idx = (key & 3); 80 uint32_t outR = (color >> idx * 8) & 0xFF; 82 idx = (key & 3); 83 uint32_t outG = (color >> idx * 95 int idx; local [all...] |
/external/elfutils/libdwfl/ |
H A D | dwfl_onesrcline.c | 32 dwfl_onesrcline (Dwarf_Die *cudie, size_t idx) argument 49 if (idx >= cu->die.cu->lines->nlines) 55 return &cu->lines->idx[idx];
|
/external/toybox/toys/other/ |
H A D | reboot.c | 28 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; local 32 idx = stridx("hp", *toys.which->name)+1; 33 if (toys.optflags & FLAG_f) toys.exitval = reboot(types[idx]); 34 else toys.exitval = kill(1, sigs[idx]);
|