/external/libcxx/test/std/strings/string.conversions/ |
D | stoul.pass.cpp | 27 assert(std::stoul("0") == 0); in main() 28 assert(std::stoul(L"0") == 0); in main() 29 assert(std::stoul("-0") == 0); in main() 30 assert(std::stoul(L"-0") == 0); in main() 31 assert(std::stoul(" 10") == 10); in main() 32 assert(std::stoul(L" 10") == 10); in main() 34 assert(std::stoul("10g", &idx, 16) == 16); in main() 37 assert(std::stoul(L"10g", &idx, 16) == 16); in main() 43 std::stoul("", &idx); in main() 52 std::stoul(L"", &idx); in main() [all …]
|
/external/google-benchmark/test/ |
D | string_util_gtest.cc | 9 TEST(StringUtilTest, stoul) { in TEST() argument 12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 28 EXPECT_EQ(0xFFFFFFFFul, benchmark::stoul("4294967295", &pos)); in TEST() 34 EXPECT_EQ(0xFFFFFFFFFFFFFFFFul, benchmark::stoul("18446744073709551615", &pos)); in TEST() 40 EXPECT_EQ(10ul, benchmark::stoul("1010", &pos, 2)); in TEST() 45 EXPECT_EQ(520ul, benchmark::stoul("1010", &pos, 8)); in TEST() 50 EXPECT_EQ(1010ul, benchmark::stoul("1010", &pos, 10)); in TEST() 55 EXPECT_EQ(4112ul, benchmark::stoul("1010", &pos, 16)); in TEST() [all …]
|
/external/libcxx/utils/google-benchmark/test/ |
D | string_util_gtest.cc | 9 TEST(StringUtilTest, stoul) { in TEST() argument 12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 28 EXPECT_EQ(0xFFFFFFFFul, benchmark::stoul("4294967295", &pos)); in TEST() 34 EXPECT_EQ(0xFFFFFFFFFFFFFFFFul, benchmark::stoul("18446744073709551615", &pos)); in TEST() 40 EXPECT_EQ(10ul, benchmark::stoul("1010", &pos, 2)); in TEST() 45 EXPECT_EQ(520ul, benchmark::stoul("1010", &pos, 8)); in TEST() 50 EXPECT_EQ(1010ul, benchmark::stoul("1010", &pos, 10)); in TEST() 55 EXPECT_EQ(4112ul, benchmark::stoul("1010", &pos, 16)); in TEST() [all …]
|
/external/libkmsxx/utils/ |
D | kmstest.cpp | 133 unsigned num = stoul(sm[2].str()); in parse_crtc() 153 unsigned w = stoul(sm[3]); in parse_crtc() 154 unsigned h = stoul(sm[4]); in parse_crtc() 182 unsigned num = stoul(sm[2].str()); in parse_crtc() 202 unsigned clock = stoul(sm[3]); in parse_crtc() 204 unsigned hact = stoul(sm[4]); in parse_crtc() 205 unsigned hfp = stoul(sm[5]); in parse_crtc() 206 unsigned hsw = stoul(sm[6]); in parse_crtc() 207 unsigned hbp = stoul(sm[7]); in parse_crtc() 210 unsigned vact = stoul(sm[9]); in parse_crtc() [all …]
|
D | kmsblank.cpp | 46 time = stoul(str); in main()
|
D | kmsview.cpp | 55 time = stoul(str); in main()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceRangeSpec.cpp | 53 *First = std::stoul(Tokens[0]); in getRange() 56 *First = Tokens[0].empty() ? 0 : std::stoul(Tokens[0]); in getRange() 57 *Last = Tokens[1].empty() ? RangeSpec::RangeMax : std::stoul(Tokens[1]); in getRange()
|
/external/google-benchmark/src/ |
D | string_util.h | 48 unsigned long stoul(const std::string& str, size_t* pos = nullptr, 53 using std::stoul;
|
D | string_util.cc | 179 unsigned long stoul(const std::string& str, size_t* pos, int base) { in stoul() function
|
D | sysinfo.cc | 236 CPUMask Mask(benchmark::stoul(Part, nullptr, 16)); in CountSetBitsInCPUMap()
|
/external/libcxx/utils/google-benchmark/src/ |
D | string_util.h | 48 unsigned long stoul(const std::string& str, size_t* pos = nullptr, 53 using std::stoul;
|
D | string_util.cc | 179 unsigned long stoul(const std::string& str, size_t* pos, int base) { in stoul() function
|
D | sysinfo.cc | 230 CPUMask Mask(benchmark::stoul(Part, nullptr, 16)); in CountSetBitsInCPUMap()
|
/external/libcxx/src/ |
D | string.cpp | 274 stoul(const string& str, size_t* idx, int base) in stoul() function 280 stoul(const wstring& str, size_t* idx, int base) in stoul() function
|
/external/bcc/tests/cc/ |
D | test_bpf_table.cc | 120 REQUIRE(42 * i == std::stoul(value.at(i), nullptr, 16));
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerDriver.cpp | 150 unsigned int Val = std::stoul(Str); in ParseOneFlag()
|
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 811 *linenumber = std::stoul(tokens[line_index]); in GetLineAndFilename() 841 *linenumber = std::stoul(captures[1]); in GetLineAndFilename()
|
/external/libbrillo/brillo/http/ |
D | http_utils_unittest.cc | 308 std::stoul(request.GetHeader(request_header::kContentLength))); in TEST()
|
/external/libcxx/include/ |
D | string | 452 unsigned long stoul (const string& str, size_t* idx = 0, int base = 10); 472 unsigned long stoul (const wstring& str, size_t* idx = 0, int base = 10); 4189 _LIBCPP_FUNC_VIS unsigned long stoul (const string& __str, size_t* __idx = 0, int __base = 10); 4209 _LIBCPP_FUNC_VIS unsigned long stoul (const wstring& __str, size_t* __idx = 0, int __base = 10…
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_ext_inst_test.cpp | 71 return uint32_t(std::stoul(num_components_str)); in GetPackedNumComponents() 79 return uint32_t(std::stoul(packed_bit_width_str)); in GetPackedBitWidth()
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_ext_inst_test.cpp | 71 return uint32_t(std::stoul(num_components_str)); in GetPackedNumComponents() 79 return uint32_t(std::stoul(packed_bit_width_str)); in GetPackedBitWidth()
|