Searched refs:stoi (Results 1 - 23 of 23) sorted by relevance

/external/libcxx/test/std/strings/string.conversions/
H A Dstoi.pass.cpp12 // 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);
22 assert(std::stoi("0") == 0);
23 assert(std::stoi(L"0") == 0);
24 assert(std::stoi("-0") == 0);
25 assert(std::stoi(L"-0") == 0);
26 assert(std::stoi("-10") == -10);
27 assert(std::stoi(L"-10") == -10);
28 assert(std::stoi(" 10") == 10);
29 assert(std::stoi(
[all...]
/external/vulkan-validation-layers/demos/smoke/
H A DGame.h123 settings_.initial_width = std::stoi(*it);
126 settings_.initial_height = std::stoi(*it);
144 settings_.max_frame_count = std::stoi(*it);
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
H A Dwait_terminates.sh.cpp115 int id = std::stoi(argv[1]);
117 std::set_terminate(my_terminate); // set terminate after std::stoi because it can throw.
/external/tensorflow/tensorflow/contrib/lite/testing/
H A Dparse_testdata.cc94 int example_count = std::stoi(csv[0][1]);
112 int shape_part = std::stoi(shape_part_to_parse);
131 int inputs = std::stoi(csv[current_line][1]);
140 int outputs = std::stoi(csv[current_line][1]);
/external/skia/src/sksl/
H A DSkSLString.h123 int stoi(const String& s);
H A DSkSLString.cpp224 int stoi(const String& s) {
H A DSkSLParser.cpp574 sizes.push_back(SkSL::stoi(this->text(sizeToken)));
590 return SkSL::stoi(this->text(resultToken));
/external/skqp/src/sksl/
H A DSkSLString.h123 int stoi(const String& s);
H A DSkSLString.cpp223 int stoi(const String& s) {
H A DSkSLParser.cpp574 sizes.push_back(SkSL::stoi(this->text(sizeToken)));
590 return SkSL::stoi(this->text(resultToken));
/external/libese/apps/boot/
H A Dese_boot_tool.cpp79 output->push_back(static_cast<uint8_t>(std::stoi(hex, nullptr, 16)));
325 uint8_t lockVal = static_cast<uint8_t>(std::stoi(args[3], nullptr, 0));
380 int index = std::stoi(args[2], nullptr, 0);
/external/libpcap/
H A Dscanner.l141 static int stoi(char *);
394 {N} { yylval->i = stoi((char *)yytext); return NUM; }
464 stoi(s)
H A Dscanner.c2798 static int stoi(char *);
3749 { yylval->i = stoi((char *)yytext); return NUM; }
5079 stoi(s) function
/external/libcxx/src/
H A Dstring.cpp250 stoi(const string& str, size_t* idx, int base) function
252 return as_integer<int>( "stoi", str, idx, base );
256 stoi(const wstring& str, size_t* idx, int base) function
258 return as_integer<int>( "stoi", str, idx, base );
/external/nos/host/android/hals/keymaster/
H A DKeymasterDevice.cpp70 value = std::stoi(sanitized);
80 value = std::stoi(sanitized);
102 return_value = std::stoi(filtered_code);
107 return_value = std::stoi(filtered_code);
/external/tensorflow/tensorflow/core/platform/
H A Dsubprocess_test.cc126 int count = stoi(out);
/external/v4l2_codec2/tests/
H A DC2VDAComponent_test.cpp345 mTestVideoFile->mWidth = std::stoi(tokens[2]);
346 mTestVideoFile->mHeight = std::stoi(tokens[3]);
347 mTestVideoFile->mNumFrames = std::stoi(tokens[4]);
348 mTestVideoFile->mNumFragments = std::stoi(tokens[5]);
/external/tensorflow/tensorflow/contrib/tensorrt/convert/
H A Dconvert_graph.cc96 idx = std::stoi(name.substr(sep + 1));
/external/google-benchmark/src/
H A Dsysinfo.cc375 int CurID = std::stoi(value);
/external/libcxx/utils/google-benchmark/src/
H A Dsysinfo.cc375 int CurID = std::stoi(value);
/external/tensorflow/tensorflow/contrib/verbs/
H A Drdma.cc186 port_num = stoi(str_port_num);
300 gid_index = stoi(gid_str);
333 val = stoi(val_s);
350 mtu_i = stoi(mtu_s);
/external/libbrillo/brillo/http/
H A Dhttp_utils_unittest.cc416 int status_code = std::stoi(request.GetFormField("code"));
/external/libchrome/base/metrics/
H A Dfield_trial.cc1139 int field_trial_handle = std::stoi(handle_switch);

Completed in 530 milliseconds