Home
last modified time | relevance | path

Searched refs:as_bool (Results 1 – 21 of 21) sorted by relevance

/external/perfetto/include/perfetto/protozero/
Dfield.h71 bool as_bool() const { in as_bool() function
166 void get(bool* val) const { *val = as_bool(); } in get()
/external/rust/crates/serde_json/src/value/
Dmod.rs667 self.as_bool().is_some() in is_boolean()
683 pub fn as_bool(&self) -> Option<bool> { in as_bool() method
Dpartial_eq.rs17 value.as_bool().map_or(false, |i| i == other) in eq_bool()
/external/rust/crates/clap/src/args/
Dgroup.rs481 "required" => a.required(v.as_bool().unwrap()), in from()
482 "multiple" => a.multiple(v.as_bool().unwrap()), in from()
Dmacros.rs98 .as_bool()
/external/perfetto/src/trace_processor/importers/proto/
Dchrome_system_probes_parser.cc66 is_peak_rss_resettable_id_, Variadic::Boolean(fld.as_bool())); in ParseProcessStats()
/external/skia/src/core/
DSkTraceEvent.h205 bool as_bool; member
257 INTERNAL_DECLARE_SET_TRACE_VALUE(bool, as_bool, TRACE_VALUE_TYPE_BOOL) in INTERNAL_DECLARE_SET_TRACE_VALUE_INT()
/external/skqp/src/core/
DSkTraceEvent.h205 bool as_bool; member
257 INTERNAL_DECLARE_SET_TRACE_VALUE(bool, as_bool, TRACE_VALUE_TYPE_BOOL) in INTERNAL_DECLARE_SET_TRACE_VALUE_INT()
/external/webrtc/rtc_base/
Devent_tracer.cc235 bool as_bool; member
284 if (arg.value.as_bool) { in TraceArgValueAsString()
Dtrace_event.h720 bool as_bool; member
771 INTERNAL_DECLARE_SET_TRACE_VALUE(bool, as_bool, TRACE_VALUE_TYPE_BOOL) in INTERNAL_DECLARE_SET_TRACE_VALUE_INT()
/external/skqp/tools/trace/
DSkDebugfTracer.cpp31 args.appendf("%s=%s", argNames[i], value.as_bool ? "true" : "false"); in addTraceEvent()
DSkChromeTracingTracer.cpp164 writer->appendBool(value.as_bool); in trace_value_to_json()
/external/skia/tools/trace/
DSkDebugfTracer.cpp31 args.appendf("%s=%s", argNames[i], value.as_bool ? "true" : "false"); in addTraceEvent()
DChromeTracingTracer.cpp159 case TRACE_VALUE_TYPE_BOOL: writer->appendBool(value.as_bool); break; in trace_value_to_json()
/external/libchrome/base/trace_event/
Dtrace_event_impl.h78 bool as_bool; member
Dtrace_event_impl.cc217 *out += value.as_bool ? "true" : "false"; in AppendValueAsJSON()
Dtrace_event.h690 bool as_bool; member
744 INTERNAL_DECLARE_SET_TRACE_VALUE(bool, arg, as_bool, TRACE_VALUE_TYPE_BOOL) in INTERNAL_DECLARE_SET_TRACE_VALUE_INT()
Dtrace_event_argument.cc519 CHECK(it.ReadBool(&json_value.as_bool)); in AppendAsTraceFormat()
/external/perfetto/src/trace_processor/util/
Dproto_to_args_parser.cc201 delegate.AddBoolean(key_prefix_, field.as_bool()); in ParseSimpleField()
Dprotozero_to_text.cc107 field.as_bool() ? "true" : "false"); in ConvertProtoTypeToFieldAndValueString()
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc246 ASSERT_EQ(int64_t(exp.int_value), field.as_bool()); in TEST()