/external/libcxx/test/std/strings/string.conversions/ |
D | stoi.pass.cpp | 23 assert(std::stoi("0") == 0); in main() 24 assert(std::stoi(L"0") == 0); in main() 25 assert(std::stoi("-0") == 0); in main() 26 assert(std::stoi(L"-0") == 0); in main() 27 assert(std::stoi("-10") == -10); in main() 28 assert(std::stoi(L"-10") == -10); in main() 29 assert(std::stoi(" 10") == 10); in main() 30 assert(std::stoi(L" 10") == 10); in main() 32 assert(std::stoi("10g", &idx, 16) == 16); in main() 35 assert(std::stoi(L"10g", &idx, 16) == 16); in main() [all …]
|
/external/google-benchmark/test/ |
D | string_util_gtest.cc | 68 TEST(StringUtilTest, stoi) { in TEST() argument 71 EXPECT_EQ(0, benchmark::stoi("0", &pos)); in TEST() 76 EXPECT_EQ(-17, benchmark::stoi("-17", &pos)); in TEST() 81 EXPECT_EQ(1357, benchmark::stoi("1357", &pos)); in TEST() 86 EXPECT_EQ(10, benchmark::stoi("1010", &pos, 2)); in TEST() 91 EXPECT_EQ(520, benchmark::stoi("1010", &pos, 8)); in TEST() 96 EXPECT_EQ(1010, benchmark::stoi("1010", &pos, 10)); in TEST() 101 EXPECT_EQ(4112, benchmark::stoi("1010", &pos, 16)); in TEST() 106 EXPECT_EQ(0xBEEF, benchmark::stoi("BEEF", &pos, 16)); in TEST() 110 ASSERT_THROW(benchmark::stoi("this is a test"), std::invalid_argument); in TEST()
|
/external/libcxx/utils/google-benchmark/test/ |
D | string_util_gtest.cc | 68 TEST(StringUtilTest, stoi) { in TEST() argument 71 EXPECT_EQ(0, benchmark::stoi("0", &pos)); in TEST() 76 EXPECT_EQ(-17, benchmark::stoi("-17", &pos)); in TEST() 81 EXPECT_EQ(1357, benchmark::stoi("1357", &pos)); in TEST() 86 EXPECT_EQ(10, benchmark::stoi("1010", &pos, 2)); in TEST() 91 EXPECT_EQ(520, benchmark::stoi("1010", &pos, 8)); in TEST() 96 EXPECT_EQ(1010, benchmark::stoi("1010", &pos, 10)); in TEST() 101 EXPECT_EQ(4112, benchmark::stoi("1010", &pos, 16)); in TEST() 106 EXPECT_EQ(0xBEEF, benchmark::stoi("BEEF", &pos, 16)); in TEST() 110 ASSERT_THROW(benchmark::stoi("this is a test"), std::invalid_argument); in TEST()
|
/external/bcc/src/cc/ |
D | common.cc | 32 cpus.push_back(std::stoi(cpu_range)); in read_cpu_range() 35 int start = std::stoi(cpu_range.substr(0, rangeop)); in read_cpu_range() 36 int end = std::stoi(cpu_range.substr(rangeop + 1)); in read_cpu_range()
|
/external/google-benchmark/src/ |
D | string_util.h | 50 int stoi(const std::string& str, size_t* pos = nullptr, int base = 10); 54 using std::stoi;
|
/external/libcxx/utils/google-benchmark/src/ |
D | string_util.h | 50 int stoi(const std::string& str, size_t* pos = nullptr, int base = 10); 54 using std::stoi;
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | camera_characteristics.cc | 51 info->frames_to_skip_after_streamon = stoi(value); in SetEntry() 56 info->lens_facing = stoi(value); in SetEntry() 58 info->sensor_orientation = stoi(value); in SetEntry()
|
/external/libkmsxx/utils/ |
D | kmsview.cpp | 74 uint32_t w = stoi(params[1]); in main() 75 uint32_t h = stoi(params[2]); in main()
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | parse_testdata.cc | 97 int example_count = std::stoi(csv[0][1]); in ParseExamples() 115 int shape_part = std::stoi(shape_part_to_parse); in ParseExamples() 134 int inputs = std::stoi(csv[current_line][1]); in ParseExamples() 143 int outputs = std::stoi(csv[current_line][1]); in ParseExamples()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | parse_testdata.cc | 94 int example_count = std::stoi(csv[0][1]); in ParseExamples() 112 int shape_part = std::stoi(shape_part_to_parse); in ParseExamples() 131 int inputs = std::stoi(csv[current_line][1]); in ParseExamples() 140 int outputs = std::stoi(csv[current_line][1]); in ParseExamples()
|
/external/libese/apps/boot/ |
D | ese_boot_tool.cpp | 79 output->push_back(static_cast<uint8_t>(std::stoi(hex, nullptr, 16))); in hexify() 325 uint8_t lockVal = static_cast<uint8_t>(std::stoi(args[3], nullptr, 0)); in handle_lock_state() 380 int index = std::stoi(args[2], nullptr, 0); in handle_rollback()
|
/external/libkmsxx/kmscube/ |
D | cube.cpp | 53 s_num_frames = stoi(s); in main()
|
/external/catch2/examples/ |
D | 301-Gen-MapTypeConversion.cpp | 48 auto num = GENERATE(map<int>([](std::string const& line) { return std::stoi(line); }, in __anonf1d2ebcb0102()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | wait_terminates.sh.cpp | 115 int id = std::stoi(argv[1]); in main()
|
/external/bcc/src/cc/usdt/ |
D | usdt_args.cc | 249 dest->arg_size_ = stoi(matches.str(1)); in parse() 254 dest->constant_ = stoi(matches.str(1)); in parse() 258 dest->deref_offset_ = stoi(matches.str(1)); in parse()
|
/external/bcc/examples/cpp/ |
D | FollyRequestContextSwitch.cc | 72 pid = std::stoi(argv[i + 1]); in main()
|
/external/v4l2_codec2/tests/ |
D | C2VDAComponent_test.cpp | 331 mTestVideoFile->mWidth = std::stoi(tokens[2]); in parseTestVideoData() 332 mTestVideoFile->mHeight = std::stoi(tokens[3]); in parseTestVideoData() 333 mTestVideoFile->mNumFrames = std::stoi(tokens[4]); in parseTestVideoData() 334 mTestVideoFile->mNumFragments = std::stoi(tokens[5]); in parseTestVideoData()
|
/external/tensorflow/tensorflow/core/util/ |
D | util.cc | 129 if ((tf_disable_mkl != NULL) && (std::stoi(tf_disable_mkl) == 1)) { in DisableMKL()
|
/external/libpcap/ |
D | scanner.l | 150 static int stoi(char *); 408 {N} { yylval->i = stoi((char *)yytext); return NUM; } 514 stoi(char *s) in stoi() function
|
/external/catch2/misc/ |
D | coverage-helper.cpp | 64 return std::stoi(match[1]); in parse_log_file_arg()
|
/external/libcxx/src/ |
D | string.cpp | 250 stoi(const string& str, size_t* idx, int base) in stoi() function 256 stoi(const wstring& str, size_t* idx, int base) in stoi() function
|
/external/skqp/src/sksl/ |
D | SkSLString.h | 130 int stoi(const String& s);
|
/external/skia/src/sksl/ |
D | SkSLString.h | 130 int stoi(const String& s);
|
/external/tensorflow/tensorflow/core/platform/ |
D | subprocess_test.cc | 126 int count = stoi(out); in TEST_F()
|
/external/nos/host/android/hals/keymaster/ |
D | KeymasterDevice.cpp | 75 value = std::stoi(sanitized); in ExtractVersion() 85 value = std::stoi(sanitized); in ExtractVersion() 107 return_value = std::stoi(filtered_code); in DateCodeToUint32() 112 return_value = std::stoi(filtered_code); in DateCodeToUint32()
|