Home
last modified time | relevance | path

Searched refs:arg_numbers (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/test/
Dtrace_event_analyzer.cc136 arg_numbers[it.key()] = static_cast<double>(int_num); in SetFromJSON()
138 arg_numbers[it.key()] = static_cast<double>(boolean ? 1 : 0); in SetFromJSON()
140 arg_numbers[it.key()] = double_num; in SetFromJSON()
165 const auto it = arg_numbers.find(name); in GetArgAsNumber()
166 if (it != arg_numbers.end()) { in GetArgAsNumber()
188 return (arg_numbers.find(name) != arg_numbers.end()); in HasNumberArg()
537 the_event->arg_numbers.find(string_); in GetMemberValueAsDouble()
538 if (num_i == the_event->arg_numbers.end()) in GetMemberValueAsDouble()
854 raw_events_[i].arg_numbers.insert( in MergeAssociatedEventArgs()
855 other->arg_numbers.begin(), in MergeAssociatedEventArgs()
[all …]
Dtrace_event_analyzer_unittest.cc101 event.arg_numbers["false"] = 0.0; in TEST_F()
102 event.arg_numbers["true"] = 1.0; in TEST_F()
103 event.arg_numbers["int"] = static_cast<double>(int_num); in TEST_F()
104 event.arg_numbers["double"] = double_num; in TEST_F()
140 event.arg_numbers["num"] = 7.0; in TEST_F()
152 other.arg_numbers["num2"] = 8.0; in TEST_F()
170 (Query::EventArg("num") == Query::Double(event.arg_numbers["num"])); in TEST_F()
184 (Query::OtherArg("num2") == Query::Double(other.arg_numbers["num2"])); in TEST_F()
Dtrace_event_analyzer.h196 std::map<std::string, double> arg_numbers; member