/ndk/sources/cxx-stl/llvm-libc++/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() 44 assert(std::stof("1.e60", &idx) == INFINITY); in main() 45 assert(idx == 5); in main() 56 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 | 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 | 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 | 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 …]
|
/ndk/sources/cxx-stl/llvm-libc++/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 …]
|
/ndk/sources/android/support/src/musl-locale/ |
D | langinfo.c | 32 int idx = item & 65535; in nl_langinfo_l() local 39 if (idx > 1) return NULL; in nl_langinfo_l() 43 if (idx > 0x31) return NULL; in nl_langinfo_l() 47 if (idx > 0) return NULL; in nl_langinfo_l() 51 if (idx > 1) return NULL; in nl_langinfo_l() 58 for (; idx; idx--, str++) for (; *str; str++); in nl_langinfo_l()
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
D | cxa_vector.cpp | 77 st_cxa_cleanup ( void *ptr, size_t &idx, size_t element_size, destruct_f destructor ) in st_cxa_cleanup() argument 78 : ptr_ ( ptr ), idx_ ( idx ), element_size_ ( element_size ), in st_cxa_cleanup() 210 size_t idx = 0; in __cxa_vec_cctor() local 213 st_cxa_cleanup cleanup ( dest_array, idx, element_size, destructor ); in __cxa_vec_cctor() 215 for ( idx = 0; idx < element_count; in __cxa_vec_cctor() 216 ++idx, src_ptr += element_size, dest_ptr += element_size ) in __cxa_vec_cctor() 235 size_t idx; in __cxa_vec_ctor() local 237 st_cxa_cleanup cleanup ( array_address, idx, element_size, destructor ); in __cxa_vec_ctor() 240 for ( idx = 0; idx < element_count; ++idx, ptr += element_size ) in __cxa_vec_ctor() 258 size_t idx = element_count; in __cxa_vec_dtor() local [all …]
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
D | variadic73.cpp | 7 template<typename... Exceptions> void f(int idx) throw(Exceptions...) { in f() argument 8 if (idx == 0) throw A(); in f() 9 else if (idx == 1) throw B(); in f() 10 else if (idx == 2) throw C(); in f()
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
D | variadic73.cpp | 7 template<typename... Exceptions> void f(int idx) throw(Exceptions...) { in f() argument 8 if (idx == 0) throw A(); in f() 9 else if (idx == 1) throw B(); in f() 10 else if (idx == 2) throw C(); in f()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | cxa.c | 61 size_t idx; member 121 for (i = 0; i < l->idx; ++i) in __new_exitfn() 124 if ( i < l->idx ) in __new_exitfn() 127 if (l->idx < sizeof (l->fns) / sizeof (l->fns[0])) { in __new_exitfn() 128 i = l->idx++; in __new_exitfn() 139 l->idx = 1; in __new_exitfn() 174 for (f = &funcs->fns[funcs->idx - 1]; f >= &funcs->fns[0]; --f) { in __cxa_finalize()
|
/ndk/sources/host-tools/make-3.81/ |
D | commands.c | 272 unsigned int nlines, idx; in chop_commands() local 287 idx = 0; in chop_commands() 309 if (idx == nlines) in chop_commands() 315 lines[idx++] = savestring (p, end - p); in chop_commands() 321 if (idx != nlines) in chop_commands() 323 nlines = idx; in chop_commands() 333 for (idx = 0; idx < nlines; ++idx) in chop_commands() 337 for (p = lines[idx]; in chop_commands() 358 cmds->lines_flags[idx] = flags; in chop_commands()
|
D | read.c | 1327 unsigned int idx = 0; in do_define() local 1382 if (idx == 0) in do_define() 1385 definition[idx - 1] = '\0'; in do_define() 1398 if (idx + len + 1 > length) in do_define() 1400 length = (idx + len) * 2; in do_define() 1404 bcopy (line, &definition[idx], len); in do_define() 1405 idx += len; in do_define() 1407 definition[idx++] = '\n'; in do_define() 2842 register unsigned int idx = 0; in construct_include_path() local 2867 if (idx == max - 1) in construct_include_path() [all …]
|
D | main.c | 132 unsigned int idx; /* Index into above. */ member 1456 for (i = 0; i < makefiles->idx; ++i) in main() 1654 for (ui=1; ui < jobserver_fds->idx; ++ui) in main() 1736 jobserver_fds->idx = 1; in main() 2000 if (directories != 0 && directories->idx > 0) in main() 2477 sl->idx = 0; in decode_switches() 2481 else if (sl->idx == sl->max - 1) in decode_switches() 2488 sl->list[sl->idx++] = optarg; in decode_switches() 2489 sl->list[sl->idx] = 0; in decode_switches() 2772 register unsigned int i = sl->idx; in define_makeflags()
|
D | function.c | 347 register unsigned int idx; in string_glob() local 363 idx = 0; in string_glob() 377 if (idx + len + 1 > length) in string_glob() 382 bcopy (name, &result[idx], len); in string_glob() 383 idx += len; in string_glob() 384 result[idx++] = ' '; in string_glob() 391 if (idx == 0) in string_glob() 394 result[idx - 1] = '\0'; in string_glob()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/ |
D | integer_seq.pass.cpp | 22 auto extract ( const AtContainer &t, const std::integer_sequence<T, I...> idx ) in extract() argument
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | string | 380 int stoi (const string& str, size_t* idx = 0, int base = 10); 381 long stol (const string& str, size_t* idx = 0, int base = 10); 382 unsigned long stoul (const string& str, size_t* idx = 0, int base = 10); 383 long long stoll (const string& str, size_t* idx = 0, int base = 10); 384 unsigned long long stoull(const string& str, size_t* idx = 0, int base = 10); 386 float stof (const string& str, size_t* idx = 0); 387 double stod (const string& str, size_t* idx = 0); 388 long double stold(const string& str, size_t* idx = 0); 400 int stoi (const wstring& str, size_t* idx = 0, int base = 10); 401 long stol (const wstring& str, size_t* idx = 0, int base = 10); [all …]
|