Searched refs:StringToInt32 (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/base/ |
D | string_utils_unittest.cc | 90 TEST(StringUtilsTest, StringToInt32) { in TEST() argument 91 EXPECT_EQ(StringToInt32("0"), make_optional<int32_t>(0)); in TEST() 92 EXPECT_EQ(StringToInt32("1"), make_optional<int32_t>(1)); in TEST() 93 EXPECT_EQ(StringToInt32("-42"), make_optional<int32_t>(-42)); in TEST() 94 EXPECT_EQ(StringToInt32("42", 16), make_optional<int32_t>(0x42)); in TEST() 95 EXPECT_EQ(StringToInt32("7ffffffe", 16), make_optional<int32_t>(0x7ffffffe)); in TEST() 96 EXPECT_EQ(StringToInt32(""), nullopt); in TEST() 97 EXPECT_EQ(StringToInt32("!?"), nullopt); in TEST() 98 EXPECT_EQ(StringToInt32("abc"), nullopt); in TEST() 99 EXPECT_EQ(StringToInt32("123 abc"), nullopt); in TEST() [all …]
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_line_parser.cc | 87 auto prev_prio = base::StringToInt32(args["prev_prio"]); in ParseLine() 90 auto next_prio = base::StringToInt32(args["next_prio"]); in ParseLine() 130 auto id = base::StringToInt32(args["transaction"]); in ParseLine() 131 auto dest_node = base::StringToInt32(args["dest_node"]); in ParseLine() 132 auto dest_tgid = base::StringToInt32(args["dest_proc"]); in ParseLine() 133 auto dest_tid = base::StringToInt32(args["dest_thread"]); in ParseLine() 134 auto is_reply = base::StringToInt32(args["reply"]).value() == 1; in ParseLine() 156 auto id = base::StringToInt32(args["transaction"]); in ParseLine() 209 auto temp = base::StringToInt32(args["temp"]); in ParseLine() 237 auto io_wait = base::StringToInt32(args["iowait"]); in ParseLine()
|
/external/perfetto/src/traced/probes/initial_display_state/ |
D | initial_display_state_data_source.cc | 97 screen_state_str ? base::StringToInt32(*screen_state_str) : base::nullopt; in WriteState()
|
/external/perfetto/src/traced/service/ |
D | service.cc | 65 auto mode_value = base::StringToInt32(mode_bits, 8); in SetSocketPermissions()
|
/external/perfetto/include/perfetto/ext/base/ |
D | string_utils.h | 82 inline Optional<int32_t> StringToInt32(const std::string& s, int base = 10) {
|
/external/perfetto/src/profiling/symbolizer/ |
D | local_symbolizer.cc | 436 base::Optional<int32_t> opt_parsed_line_no = base::StringToInt32(line_no_str); in ParseLlvmSymbolizerLine()
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_end_to_end_test.cc | 273 int32_t arg3 = a3 ? base::StringToInt32(a3).value() : -1; in RunContinuousMalloc()
|