/external/clang/tools/scan-build-py/tests/functional/src/ |
clean-one.c | 6 int idx = 0; local 8 for (idx = i; idx > 0; --idx) 10 i += idx;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
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[1] [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
RawInsnHelper.java | 25 * Read a signed byte from the idx into the raw array. 27 public static long getSignedByteFromByte(byte[] raw, int idx) { 28 return (long) raw[idx]; 32 * Read an unsigned byte from the idx into the raw array. 34 public static long getUnsignedByteFromByte(byte[] raw, int idx) { 35 return ((long) raw[idx]) & 0xff; 39 * Read an unsigned lower 4 bits from the idx into the raw array. 41 public static long getUnsignedLowNibbleFromByte(byte[] raw, int idx) { 42 return ((long) raw[idx]) & 0xf; 46 * Read an unsigned higher 4 bits from the idx into the raw array [all...] |
/external/tensorflow/tensorflow/core/lib/random/ |
distribution_sampler.h | 55 int idx = rand->Uniform(num_); local 56 if (r < prob(idx)) return idx; 58 DCHECK_NE(-1, alt(idx)); 59 return alt(idx); 65 float prob(int idx) const { 66 DCHECK_LT(idx, num_); 67 return data_[idx].first; 70 int alt(int idx) const { 71 DCHECK_LT(idx, num_) [all...] |
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_TCPOPTSTRIP.h | 22 #define tcpoptstrip_set_bit(bmap,idx) (bmap[(idx) >> 5] |= 1U << (idx & 31)) 23 #define tcpoptstrip_test_bit(bmap,idx) (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/iptables/include/linux/netfilter/ |
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/ |
xt_TCPOPTSTRIP.h | 7 #define tcpoptstrip_set_bit(bmap, idx) \ 8 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 9 #define tcpoptstrip_test_bit(bmap, idx) \ 10 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/libcxx/test/std/strings/string.conversions/ |
stoull.pass.cpp | 16 // unsigned long long stoull(const string& str, size_t *idx = 0, int base = 10); 17 // unsigned long long stoull(const wstring& str, size_t *idx = 0, int base = 10); 32 size_t idx = 0; local 33 assert(std::stoull("10g", &idx, 16) == 16); 34 assert(idx == 2); 35 idx = 0; 36 assert(std::stoull(L"10g", &idx, 16) == 16); 37 assert(idx == 2); 39 idx = 0; 42 std::stoull("", &idx); [all...] |
stol.pass.cpp | 16 // long stol(const string& str, size_t *idx = 0, int base = 10); 17 // long stol(const wstring& str, size_t *idx = 0, int base = 10); 34 size_t idx = 0; local 35 assert(std::stol("10g", &idx, 16) == 16); 36 assert(idx == 2); 37 idx = 0; 38 assert(std::stol(L"10g", &idx, 16) == 16); 39 assert(idx == 2); 41 idx = 0; 44 std::stol("", &idx); [all...] |
stoll.pass.cpp | 16 // long long stoll(const string& str, size_t *idx = 0, int base = 10); 17 // long long stoll(const wstring& str, size_t *idx = 0, int base = 10); 34 size_t idx = 0; local 35 assert(std::stoll("10g", &idx, 16) == 16); 36 assert(idx == 2); 37 idx = 0; 38 assert(std::stoll(L"10g", &idx, 16) == 16); 39 assert(idx == 2); 41 idx = 0; 44 std::stoll("", &idx); [all...] |
stoul.pass.cpp | 16 // unsigned long stoul(const string& str, size_t *idx = 0, int base = 10); 17 // unsigned long stoul(const wstring& str, size_t *idx = 0, int base = 10); 32 size_t idx = 0; local 33 assert(std::stoul("10g", &idx, 16) == 16); 34 assert(idx == 2); 35 idx = 0; 36 assert(std::stoul(L"10g", &idx, 16) == 16); 37 assert(idx == 2); 39 idx = 0; 42 std::stoul("", &idx); [all...] |
stof.pass.cpp | 16 // float stof(const string& str, size_t *idx = 0); 17 // float stof(const wstring& str, size_t *idx = 0); 35 size_t idx = 0; local 36 assert(std::stof("10g", &idx) == 10); 37 assert(idx == 2); 38 idx = 0; 39 assert(std::stof(L"10g", &idx) == 10); 40 assert(idx == 2); 42 idx = 0; 45 assert(std::stof("1.e60", &idx) == INFINITY) [all...] |
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 == 5) [all...] |
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 == 5) [all...] |
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, 16) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
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)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.conversions/ |
stoull.pass.cpp | 16 // unsigned long long stoull(const string& str, size_t *idx = 0, int base = 10); 17 // unsigned long long stoull(const wstring& str, size_t *idx = 0, int base = 10); 32 size_t idx = 0; local 33 assert(std::stoull("10g", &idx, 16) == 16); 34 assert(idx == 2); 35 idx = 0; 36 assert(std::stoull(L"10g", &idx, 16) == 16); 37 assert(idx == 2); 39 idx = 0; 42 std::stoull("", &idx); [all...] |
stol.pass.cpp | 16 // long stol(const string& str, size_t *idx = 0, int base = 10); 17 // long stol(const wstring& str, size_t *idx = 0, int base = 10); 34 size_t idx = 0; local 35 assert(std::stol("10g", &idx, 16) == 16); 36 assert(idx == 2); 37 idx = 0; 38 assert(std::stol(L"10g", &idx, 16) == 16); 39 assert(idx == 2); 41 idx = 0; 44 std::stol("", &idx); [all...] |
stoll.pass.cpp | 16 // long long stoll(const string& str, size_t *idx = 0, int base = 10); 17 // long long stoll(const wstring& str, size_t *idx = 0, int base = 10); 34 size_t idx = 0; local 35 assert(std::stoll("10g", &idx, 16) == 16); 36 assert(idx == 2); 37 idx = 0; 38 assert(std::stoll(L"10g", &idx, 16) == 16); 39 assert(idx == 2); 41 idx = 0; 44 std::stoll("", &idx); [all...] |
stoul.pass.cpp | 16 // unsigned long stoul(const string& str, size_t *idx = 0, int base = 10); 17 // unsigned long stoul(const wstring& str, size_t *idx = 0, int base = 10); 32 size_t idx = 0; local 33 assert(std::stoul("10g", &idx, 16) == 16); 34 assert(idx == 2); 35 idx = 0; 36 assert(std::stoul(L"10g", &idx, 16) == 16); 37 assert(idx == 2); 39 idx = 0; 42 std::stoul("", &idx); [all...] |
stof.pass.cpp | 16 // float stof(const string& str, size_t *idx = 0); 17 // float stof(const wstring& str, size_t *idx = 0); 35 size_t idx = 0; local 36 assert(std::stof("10g", &idx) == 10); 37 assert(idx == 2); 38 idx = 0; 39 assert(std::stof(L"10g", &idx) == 10); 40 assert(idx == 2); 42 idx = 0; 45 assert(std::stof("1.e60", &idx) == INFINITY) [all...] |
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 == 5) [all...] |
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 == 5) [all...] |
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, 16) [all...] |
/frameworks/rs/ |
rsDevice.cpp | 35 for (size_t idx=0; idx < mContexts.size(); idx++) { 36 if (mContexts[idx] == rsc) { 37 mContexts.erase(mContexts.begin() + idx);
|