/external/libcxx/test/strings/string.conversions/ |
stod.pass.cpp | 12 // 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 == 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); 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 == 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); 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, 16) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/ |
stod.pass.cpp | 12 // 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 == 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); 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 == 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); 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, 16) [all...] |
/external/iproute2/include/ |
ll_map.h | 8 extern const char *ll_index_to_name(unsigned idx); 9 extern const char *ll_idx_n2a(unsigned idx, char *buf); 10 extern int ll_index_to_type(unsigned idx); 11 extern unsigned ll_index_to_flags(unsigned idx); 12 extern unsigned ll_index_to_addr(unsigned idx, unsigned char *addr,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
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 + 4] == 'true' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
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 + 4] == 'true' [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/ |
T_aget_1.java | 20 public int run(int[] arr, int idx) { 21 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/ |
T_aget_boolean_1.java | 20 public boolean run(boolean[] arr, int idx) { 21 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/ |
T_aget_byte_1.java | 20 public byte run(byte[] arr, int idx) { 21 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/ |
T_aget_char_1.java | 20 public char run(char[] arr, int idx) { 21 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/d/ |
T_aget_object_1.java | 21 public String run(String [] arr, int idx) { 22 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/d/ |
T_aget_short_1.java | 20 public short run(short[] arr, int idx) { 21 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/ |
T_aget_wide_1.java | 21 public long run(long[] arr, int idx) { 22 return arr[idx];
|
T_aget_wide_2.java | 21 public double run(double[] arr, int idx) { 22 return arr[idx];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/d/ |
T_aput_1.java | 20 public void run(int[] arr, int idx, int value) { 21 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/d/ |
T_aput_boolean_1.java | 20 public void run(boolean[] arr, int idx, boolean value) { 21 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/d/ |
T_aput_byte_1.java | 20 public void run(byte[] arr, int idx, byte value) { 21 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_char/d/ |
T_aput_char_1.java | 20 public void run(char[] arr, int idx, char value) { 21 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/d/ |
T_aput_short_1.java | 20 public void run(short[] arr, int idx, short value) { 21 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/d/ |
T_aput_wide_1.java | 21 public void run(long[] arr, int idx, long value) { 22 arr[idx] = value;
|
T_aput_wide_2.java | 21 public void run(double[] arr, int idx, double value) { 22 arr[idx] = value;
|
/external/tcpdump/ |
print-sip.c | 38 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;
|