Home
last modified time | relevance | path

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

12

/external/libbrillo/brillo/
Dprocess_test.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_METHOD(void, AddArg, (const std::string&), (override));
/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()
167 inserter->AddArg(dest_thread_, Variadic::UnsignedInteger(pid)); in TransactionReceived()
[all …]
Dftrace_parser.cc586 inserter.AddArg(field_name_id, Variadic::Integer(fld.int_value())); in ParseGenericFtrace()
588 inserter.AddArg( in ParseGenericFtrace()
593 inserter.AddArg(field_name_id, Variadic::String(str_value)); in ParseGenericFtrace()
656 inserter.AddArg(name_id, Variadic::String(str_id)); in ParseTypedFtraceToRaw()
670 inserter.AddArg(name_id, Variadic::Integer(fld.as_int64())); in ParseTypedFtraceToRaw()
680 inserter.AddArg(name_id, Variadic::UnsignedInteger(fld.as_uint64())); in ParseTypedFtraceToRaw()
686 inserter.AddArg(name_id, Variadic::String(value)); in ParseTypedFtraceToRaw()
690 inserter.AddArg(name_id, Variadic::Real(fld.as_double())); in ParseTypedFtraceToRaw()
694 inserter.AddArg(name_id, in ParseTypedFtraceToRaw()
991 context_->args_tracker->AddArgsTo(id).AddArg(signal_name_id_, in ParseSignalGenerate()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.cc81 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddInteger()
86 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddUnsignedInteger()
91 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddString()
96 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddDouble()
101 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddPointer()
106 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddBoolean()
111 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddJson()
817 inserter->AddArg(parser_->legacy_event_phase_key_id_, in ParseThreadInstantEvent()
855 inserter->AddArg(parser_->legacy_event_phase_key_id_, in ParseAsyncBeginEvent()
912 inserter->AddArg(parser_->legacy_event_phase_key_id_, in ParseAsyncStepEvent()
[all …]
Dframe_timeline_event_parser.cc225 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseExpectedDisplayFrameStart()
300 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseActualDisplayFrameStart()
301 inserter->AddArg(present_type_id_, Variadic::String(present_type)); in ParseActualDisplayFrameStart()
302 inserter->AddArg(on_time_finish_id_, in ParseActualDisplayFrameStart()
304 inserter->AddArg(gpu_composition_id_, in ParseActualDisplayFrameStart()
306 inserter->AddArg(jank_type_id_, Variadic::String(jank_type)); in ParseActualDisplayFrameStart()
307 inserter->AddArg(prediction_type_id_, in ParseActualDisplayFrameStart()
401 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseExpectedSurfaceFrameStart()
402 inserter->AddArg(layer_name_id_, Variadic::String(layer_name_id)); in ParseExpectedSurfaceFrameStart()
508 inserter->AddArg(surface_frame_token_id_, Variadic::Integer(token)); in ParseActualSurfaceFrameStart()
[all …]
Dgpu_event_parser.cc374 inserter->AddArg(description_id_, in ParseGpuRenderStageEvent()
383 inserter->AddArg(description_id_, Variadic::String(description)); in ParseGpuRenderStageEvent()
392 inserter->AddArg(name_id, Variadic::String(value)); in ParseGpuRenderStageEvent()
653 inserter.AddArg(key_id, Variadic::Integer(annotation.int_value())); in ParseVulkanMemoryEvent()
655 inserter.AddArg(key_id, Variadic::Real(annotation.double_value())); in ParseVulkanMemoryEvent()
663 inserter.AddArg(key_id, Variadic::String(string_id)); in ParseVulkanMemoryEvent()
678 inserter->AddArg( in ParseGpuLog()
683 inserter->AddArg(log_message_id_, in ParseGpuLog()
731 inserter->AddArg(context_->storage->InternString("pid"), in ParseVulkanApiEvent()
733 inserter->AddArg(context_->storage->InternString("tid"), in ParseVulkanApiEvent()
Dproto_trace_parser_unittest.cc175 ON_CALL(*this, AddArg(_, _, _, _)).WillByDefault(ReturnRef(*this)); in MockBoundInserter()
179 AddArg,
1149 EXPECT_CALL(inserter, AddArg(_, _, Variadic::UnsignedInteger(1u), _)); in TEST_F()
2111 EXPECT_CALL(inserter, AddArg(debug_an_1, debug_an_1, in TEST_F()
2114 EXPECT_CALL(inserter, AddArg(debug_an_2_child_1, debug_an_2_child_1, in TEST_F()
2117 EXPECT_CALL(inserter, AddArg(debug_an_2_child_2, debug_an_2_child_2_0, in TEST_F()
2120 EXPECT_CALL(inserter, AddArg(debug_an_2_child_2, debug_an_2_child_2_1, in TEST_F()
2123 EXPECT_CALL(inserter, AddArg(debug_an_2_child_2, debug_an_2_child_2_2, in TEST_F()
2130 AddArg(debug_an_3, debug_an_3, Variadic::Integer(-3), _)); in TEST_F()
2132 AddArg(debug_an_4, debug_an_4, Variadic::Boolean(true), _)); in TEST_F()
[all …]
Dmetadata_module.cc165 args_table->AddArg(producer_name_key, in ParseTrigger()
170 args_table->AddArg(trusted_producer_uid_key, in ParseTrigger()
Dmemory_tracker_snapshot_parser.cc293 args.AddArg(context_->storage->InternString( in EmitNode()
297 args.AddArg(context_->storage->InternString( in EmitNode()
305 args.AddArg(context_->storage->InternString( in EmitNode()
Dtrack_event_tracker.cc208 args.AddArg(source_key_, Variadic::String(descriptor_source_)) in GetDescriptorTrackImpl()
209 .AddArg(source_id_key_, Variadic::Integer(static_cast<int64_t>(uuid))) in GetDescriptorTrackImpl()
210 .AddArg(is_root_in_scope_key_, in GetDescriptorTrackImpl()
213 args.AddArg(category_key_, Variadic::String(reservation.category)); in GetDescriptorTrackImpl()
Dchrome_system_probes_parser.cc65 context_->process_tracker->AddArgsTo(upid).AddArg( in ParseProcessStats()
/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,
155 void AddArg(Column* arg_set_id,
Dtrack_tracker.cc127 .AddArg(source_key_, Variadic::String(chrome_source_)) in InternLegacyChromeAsyncTrack()
128 .AddArg(source_id_key_, Variadic::Integer(source_id)) in InternLegacyChromeAsyncTrack()
129 .AddArg(source_id_is_process_scoped_key_, in InternLegacyChromeAsyncTrack()
131 .AddArg(source_scope_key_, Variadic::String(source_scope)); in InternLegacyChromeAsyncTrack()
146 context_->args_tracker->AddArgsTo(id).AddArg( in CreateAndroidAsyncTrack()
168 context_->args_tracker->AddArgsTo(id).AddArg( in InternLegacyChromeProcessInstantTrack()
180 .AddArg(source_key_, Variadic::String(chrome_source_)); in GetOrCreateLegacyChromeGlobalInstantTrack()
Dflow_tracker.cc140 inserter.AddArg(name_key_id_, Variadic::String(it->second.name)); in InsertFlow()
141 inserter.AddArg(cat_key_id_, Variadic::String(it->second.cat)); in InsertFlow()
Dargs_tracker.cc30 void ArgsTracker::AddArg(Column* arg_set_id, in AddArg() function in perfetto::trace_processor::ArgsTracker
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag.h191 Diag &AddArg(Arg A) { in AddArg() function
213 Diag &operator<<(const char *Str) { return AddArg(Str); }
214 Diag &operator<<(TypeName TN) { return AddArg(TN); }
215 Diag &operator<<(unsigned long long V) { return AddArg(UIntMax(V)); }
216 Diag &operator<<(const void *V) { return AddArg(V); }
Dubsan_diag.cpp121 return AddArg(V.getTypeName()); in operator <<()
126 AddArg(V.getSIntValue()); in operator <<()
128 AddArg(V.getUIntValue()); in operator <<()
130 AddArg(V.getFloatValue()); in operator <<()
132 AddArg("<unknown>"); in operator <<()
/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.cc196 inserter->AddArg(flat_key_id, key_id, Variadic::Integer(value.asInt64())); in AddJsonValueToArgs()
199 inserter->AddArg(flat_key_id, key_id, in AddJsonValueToArgs()
203 inserter->AddArg(flat_key_id, key_id, Variadic::Real(value.asDouble())); in AddJsonValueToArgs()
206 inserter->AddArg(flat_key_id, key_id, in AddJsonValueToArgs()
211 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()
/external/perfetto/src/trace_processor/rpc/
Drpc.cc95 [&](metatrace::Record* r) { r->AddArg("SQL", sql); }); in Query()
124 [&](metatrace::Record* r) { r->AddArg("SQL", sql); }); in RawQuery()
277 r->AddArg("Metric", metric); in ComputeMetric()
278 r->AddArg("Format", std::to_string(args.format())); in ComputeMetric()
/external/perfetto/src/trace_processor/sqlite/
Ddb_sqlite_table.cc391 r->AddArg("Table", db_sqlite_table_->name()); in Filter()
437 r->AddArg("Table", db_sqlite_table_->name()); in Filter()
505 r->AddArg("Constraint", writer.GetStringView()); in Filter()
513 r->AddArg("Order by", writer.GetStringView()); in Filter()

12