Lines Matching defs:scope

32 // By default, const char* argument values are assumed to have long-lived scope
45 // this macro to add a scope string.
46 #define TRACE_ID_WITH_SCOPE(scope, id) \
47 trace_event_internal::TraceID::WithScope(scope, id)
85 // const char* scope,
100 // const char* scope,
187 // event if the category is enabled. Also adds the end event when the scope
233 trace_event_trace_id.scope(), trace_event_trace_id.raw_id(), \
268 trace_event_trace_id.scope(), trace_event_trace_id.raw_id(), \
283 // Enter and leave a context based on the current scope.
336 WithScope(const char* scope, uint64_t raw_id)
337 : scope_(scope), raw_id_(raw_id) {}
339 const char* scope() const { return scope_; }
362 : scope_(scoped_id.scope()), raw_id_(scoped_id.raw_id()) {}
363 const char* scope() const { return scope_; }
398 : scope_(maybe_scoped_id.scope()), raw_id_(maybe_scoped_id.raw_id()) {}
428 : scope_(scoped_id.scope()), raw_id_(scoped_id.raw_id()) {}
431 const char* scope() const { return scope_; }
460 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
476 return controller->AddTraceEvent(phase, category_group_enabled, name, scope, id,
483 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
500 phase, category_group_enabled, name, scope, id, bind_id, num_args,
586 const char* name, const char* scope,
590 scope, id, bind_id, kZeroNumArgs,
597 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
604 phase, category_group_enabled, name, scope, id, bind_id, num_args,
611 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
623 phase, category_group_enabled, name, scope, id, bind_id, num_args,
629 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
632 phase, category_group_enabled, name, scope, id, bind_id, kZeroNumArgs,
639 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
646 phase, category_group_enabled, name, scope, id, bind_id, num_args,
653 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
665 phase, category_group_enabled, name, scope, id, bind_id, num_args,