Home
last modified time | relevance | path

Searched refs:CoerceToUint32 (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/trace_processor/importers/json/
Djson_utils_unittest.cc28 TEST(JsonTraceUtilsTest, CoerceToUint32) { in TEST() argument
29 ASSERT_EQ(CoerceToUint32(Json::Value(42)).value_or(0), 42u); in TEST()
30 ASSERT_EQ(CoerceToUint32(Json::Value("42")).value_or(0), 42u); in TEST()
Djson_utils.h46 base::Optional<uint32_t> CoerceToUint32(const Json::Value& value);
Djson_trace_parser.cc103 opt_pid = json::CoerceToUint32(value["pid"]); in ParseTracePacket()
105 opt_tid = json::CoerceToUint32(value["tid"]); in ParseTracePacket()
Djson_utils.cc113 base::Optional<uint32_t> CoerceToUint32(const Json::Value& value) { in CoerceToUint32() function