Home
last modified time | relevance | path

Searched refs:AddArg (Results 1 – 25 of 34) sorted by relevance

12

/external/libbrillo/brillo/
Dprocess_unittest.cc48 process.AddArg(kBinEcho); in TEST()
55 process.AddArg("echo"); in TEST()
61 process.AddArg("echo"); in TEST()
72 process.AddArg(kBinEcho); in TEST()
73 process.AddArg(kMsg); in TEST()
91 process.AddArg(kBinSh); in TEST()
92 process.AddArg("-c"); in TEST()
93 process.AddArg(base::StringPrintf("echo %s >&%d", kMsg, pipe.writer)); in TEST()
131 process_.AddArg(kBinEcho); in TEST_F()
132 process_.AddArg("hello world"); in TEST_F()
[all …]
Dprocess.h35 virtual void AddArg(const std::string& arg) = 0;
41 AddArg(option); in AddStringOption()
42 AddArg(value); in AddStringOption()
48 AddArg(option); in AddIntOption()
49 AddArg(base::StringPrintf("%d", value)); in AddIntOption()
171 virtual void AddArg(const std::string& arg);
Dprocess_mock.h22 MOCK_METHOD1(AddArg, void(const std::string& arg));
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc99 inserter->AddArg(transaction_id_, Variadic::Integer(transaction_id)); in Transaction()
100 inserter->AddArg(dest_node_, Variadic::Integer(dest_node)); in Transaction()
101 inserter->AddArg(dest_process_, Variadic::Integer(dest_tgid)); in Transaction()
102 inserter->AddArg(is_reply_, Variadic::Boolean(is_reply)); in Transaction()
105 inserter->AddArg(flags_, Variadic::String(context_->storage->InternString( in Transaction()
107 inserter->AddArg(code_, Variadic::String(code)); in Transaction()
108 inserter->AddArg(calling_tid_, Variadic::UnsignedInteger(tid)); in Transaction()
123 inserter->AddArg(dest_thread_, Variadic::Integer(dest_tid)); in Transaction()
124 inserter->AddArg(dest_name_, Variadic::String(dest_thread_name)); in Transaction()
171 inserter->AddArg(dest_thread_, Variadic::UnsignedInteger(pid)); in TransactionReceived()
[all …]
Dftrace_parser.cc381 inserter.AddArg(field_name_id, Variadic::Integer(fld.int_value())); in ParseGenericFtrace()
383 inserter.AddArg( in ParseGenericFtrace()
388 inserter.AddArg(field_name_id, Variadic::String(str_value)); in ParseGenericFtrace()
434 inserter.AddArg(name_id, Variadic::Integer(fld.as_int64())); in ParseTypedFtraceToRaw()
444 inserter.AddArg(name_id, Variadic::UnsignedInteger(fld.as_uint64())); in ParseTypedFtraceToRaw()
450 inserter.AddArg(name_id, Variadic::String(value)); in ParseTypedFtraceToRaw()
454 inserter.AddArg(name_id, Variadic::Real(fld.as_double())); in ParseTypedFtraceToRaw()
458 inserter.AddArg(name_id, in ParseTypedFtraceToRaw()
644 context_->args_tracker->AddArgsTo(id).AddArg(signal_name_id_, in ParseSignalGenerate()
656 context_->args_tracker->AddArgsTo(id).AddArg(signal_name_id_, in ParseSignalDeliver()
[all …]
Dsched_event_tracker.cc211 inserter.AddArg(key, var); in AddRawEventAndStartSlice()
300 inserter.AddArg(key, var); in PushSchedWakingCompact()
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.cc69 inserter->AddArg(key, Variadic::String(val)); in AddStringToArgsTable()
96 inserter->AddArg(key, Variadic::Integer(decoder->line_number())); in MaybeParseSourceLocation()
743 .AddArg(parser_->legacy_event_category_key_id_, in ParseLegacyEventAsRawEvent()
745 .AddArg(parser_->legacy_event_name_key_id_, Variadic::String(name_id_)); in ParseLegacyEventAsRawEvent()
749 inserter.AddArg(parser_->legacy_event_phase_key_id_, in ParseLegacyEventAsRawEvent()
753 inserter.AddArg(parser_->legacy_event_duration_ns_key_id_, in ParseLegacyEventAsRawEvent()
758 inserter.AddArg(parser_->legacy_event_thread_timestamp_ns_key_id_, in ParseLegacyEventAsRawEvent()
761 inserter.AddArg( in ParseLegacyEventAsRawEvent()
768 inserter.AddArg(parser_->legacy_event_thread_instruction_count_key_id_, in ParseLegacyEventAsRawEvent()
771 inserter.AddArg( in ParseLegacyEventAsRawEvent()
[all …]
Dgpu_event_parser.cc322 inserter->AddArg(description_id_, Variadic::String(description)); in ParseGpuRenderStageEvent()
330 inserter->AddArg(name_id, Variadic::String(value)); in ParseGpuRenderStageEvent()
564 inserter.AddArg(key_id, Variadic::Integer(annotation.int_value())); in ParseVulkanMemoryEvent()
566 inserter.AddArg(key_id, Variadic::Real(annotation.double_value())); in ParseVulkanMemoryEvent()
574 inserter.AddArg(key_id, Variadic::String(string_id)); in ParseVulkanMemoryEvent()
589 inserter->AddArg( in ParseGpuLog()
594 inserter->AddArg(log_message_id_, in ParseGpuLog()
641 inserter->AddArg(context_->storage->InternString("pid"), in ParseVulkanApiEvent()
643 inserter->AddArg(context_->storage->InternString("tid"), in ParseVulkanApiEvent()
Dproto_trace_parser_unittest.cc162 ON_CALL(*this, AddArg(_, _, _, _)).WillByDefault(ReturnRef(*this)); in MockBoundInserter()
166 AddArg,
1048 EXPECT_CALL(inserter, AddArg(_, _, Variadic::UnsignedInteger(9999u), _)); in TEST_F()
1049 EXPECT_CALL(inserter, AddArg(_, _, Variadic::Boolean(true), _)); in TEST_F()
1050 EXPECT_CALL(inserter, AddArg(_, _, _, _)); in TEST_F()
1076 EXPECT_CALL(inserter, AddArg(_, _, Variadic::UnsignedInteger(1u), _)); in TEST_F()
2014 EXPECT_CALL(inserter, AddArg(debug_an_1, debug_an_1, in TEST_F()
2017 EXPECT_CALL(inserter, AddArg(debug_an_2_child_1, debug_an_2_child_1, in TEST_F()
2020 EXPECT_CALL(inserter, AddArg(debug_an_2_child_2, debug_an_2_child_2_0, in TEST_F()
2023 EXPECT_CALL(inserter, AddArg(debug_an_2_child_2, debug_an_2_child_2_1, in TEST_F()
[all …]
Dproto_trace_parser.cc472 args.AddArgsTo(id).AddArg(name_id, value); in ParseChromeEvents()
488 args.AddArgsTo(id).AddArg(data_name_id_, value); in ParseChromeEvents()
504 args.AddArgsTo(id).AddArg(data_name_id_, value); in ParseChromeEvents()
549 inserter->AddArg(key, Variadic::String(it->second)); in ParseMetatraceEvent()
566 inserter->AddArg(key, new_key, Variadic::String(it->second)); in ParseMetatraceEvent()
708 args_table->AddArg(producer_name_key, in ParseTrigger()
713 args_table->AddArg(trusted_producer_uid_key, in ParseTrigger()
Dargs_table_utils_unittest.cc278 inserter->AddArg(id, id, Variadic::Integer(val + 1)); in TEST_F()
377 inserter->AddArg(file_name_id, file_name_id, Variadic::String(file_id)); in TEST_F()
378 inserter->AddArg(line_number_id, line_number_id, Variadic::Integer(2)); in TEST_F()
Dargs_table_utils.cc165 inserter->AddArg( in InternProtoIntoArgsTableInternal()
/external/perfetto/src/trace_processor/importers/common/
Dargs_tracker.h48 BoundInserter& AddArg(
52 return AddArg(key, key, v, update_policy);
55 virtual BoundInserter& AddArg(
60 args_tracker_->AddArg(arg_set_id_column_, row_, flat_key, key, v,
139 void AddArg(Column* arg_set_id,
Dtrack_tracker.cc79 .AddArg(source_key_, Variadic::String(fuchsia_source_)) in InternFuchsiaAsyncTrack()
80 .AddArg(source_id_key_, Variadic::Integer(correlation_id)); in InternFuchsiaAsyncTrack()
122 .AddArg(source_key_, Variadic::String(chrome_source_)) in InternLegacyChromeAsyncTrack()
123 .AddArg(source_id_key_, Variadic::Integer(source_id)) in InternLegacyChromeAsyncTrack()
124 .AddArg(source_id_is_process_scoped_key_, in InternLegacyChromeAsyncTrack()
126 .AddArg(source_scope_key_, Variadic::String(source_scope)); in InternLegacyChromeAsyncTrack()
146 .AddArg(source_key_, Variadic::String(android_source_)) in InternAndroidAsyncTrack()
147 .AddArg(source_id_key_, Variadic::Integer(cookie)); in InternAndroidAsyncTrack()
175 context_->args_tracker->AddArgsTo(id).AddArg( in InternLegacyChromeProcessInstantTrack()
187 .AddArg(source_key_, Variadic::String(chrome_source_)); in GetOrCreateLegacyChromeGlobalInstantTrack()
[all …]
Dargs_tracker.cc30 void ArgsTracker::AddArg(Column* arg_set_id, in AddArg() function in perfetto::trace_processor::ArgsTracker
Dslice_tracker_unittest.cc85 inserter->AddArg(/*flat_key=*/StringId::Raw(1), in TEST()
92 inserter->AddArg(/*flat_key=*/StringId::Raw(3), in TEST()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h183 Diag &AddArg(Arg A) { in AddArg() function
204 Diag &operator<<(const char *Str) { return AddArg(Str); }
205 Diag &operator<<(TypeName TN) { return AddArg(TN); }
206 Diag &operator<<(unsigned long long V) { return AddArg(UIntMax(V)); }
207 Diag &operator<<(const void *V) { return AddArg(V); }
Dubsan_diag.cc111 return AddArg(V.getTypeName()); in operator <<()
116 AddArg(V.getSIntValue()); in operator <<()
118 AddArg(V.getUIntValue()); in operator <<()
120 AddArg(V.getFloatValue()); in operator <<()
122 AddArg("<unknown>"); in operator <<()
/external/perfetto/src/trace_processor/importers/json/
Djson_utils.cc184 inserter->AddArg(flat_key_id, key_id, Variadic::Integer(value.asInt64())); in AddJsonValueToArgs()
187 inserter->AddArg(flat_key_id, key_id, in AddJsonValueToArgs()
191 inserter->AddArg(flat_key_id, key_id, Variadic::Real(value.asDouble())); in AddJsonValueToArgs()
194 inserter->AddArg(flat_key_id, key_id, in AddJsonValueToArgs()
199 inserter->AddArg(flat_key_id, key_id, Variadic::Boolean(value.asBool())); in AddJsonValueToArgs()
/external/perfetto/src/trace_processor/
Dtp_metatrace.h64 void AddArg(base::StringView key, base::StringView value) { in AddArg() function
77 void AddArg(base::StringView key, const std::string& value) { in AddArg() function
78 AddArg(key, base::StringView(value)); in AddArg()
Dexport_json_unittest.cc386 .AddArg(name1_id, Variadic::String(value1_id)) in TEST_F()
387 .AddArg(name2_id, Variadic::Integer(kValue2)); in TEST_F()
464 inserter.AddArg(storage->InternString(key), value); in TEST_F()
1233 inserter.AddArg(key_id, value); in TEST_F()
1309 inserter.AddArg(data_id, Variadic::String(ftrace_data_id)); in TEST_F()
1315 inserter.AddArg(data_id, Variadic::String(json_data1_id)); in TEST_F()
1321 inserter.AddArg(data_id, Variadic::String(json_data2_id)); in TEST_F()
1437 inserter.AddArg(arg1_id, Variadic::Integer(5)) in TEST_F()
1438 .AddArg(arg2_id, Variadic::String(val_id)); in TEST_F()
1501 .AddArg(name1_id, Variadic::String(value1_id)) in TEST_F()
[all …]
/external/perfetto/src/trace_processor/sqlite/
Ddb_sqlite_table.cc390 r->AddArg("Table", db_sqlite_table_->name()); in Filter()
436 r->AddArg("Table", db_sqlite_table_->name()); in Filter()
504 r->AddArg("Constraint", writer.GetStringView()); in Filter()
512 r->AddArg("Order by", writer.GetStringView()); in Filter()
/external/perfetto/src/trace_processor/rpc/
Drpc.cc90 [&](metatrace::Record* r) { r->AddArg("SQL", sql); }); in RawQuery()
243 r->AddArg("Metric", metric); in ComputeMetric()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_parser.cc258 inserter.AddArg( in ParseTracePacket()
383 inserter.AddArg( in ParseTracePacket()
/external/angle/src/tests/test_utils/runner/
DTestSuite.cpp120 void AddArg(int *argc, char **argv, const char *arg) in AddArg() function
741 AddArg(argc, argv, mFilterString.c_str()); in TestSuite()
758 AddArg(argc, argv, mFilterString.c_str()); in TestSuite()

12