Lines Matching defs:const
32 // By default, const char* argument values are assumed to have long-lived scope
33 // and will not be copied. Use this macro to force a const char* to be copied.
70 // const uint8_t*
71 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group)
83 // const uint8_t* category_group_enabled,
84 // const char* name,
85 // const char* scope,
89 // const char** arg_names,
90 // const uint8_t* arg_types,
91 // const uint64_t* arg_values,
98 // const uint8_t* category_group_enabled,
99 // const char* name,
100 // const char* scope,
104 // const char** arg_names,
105 // const uint8_t* arg_types,
106 // const uint64_t* arg_values,
114 // const uint8_t* category_group_enabled,
115 // const char* name,
125 // const unsigned char* category_group_enabled,
126 // const char* event_name,
127 // const char* arg_name,
157 reinterpret_cast<const uint8_t*>(TRACE_EVENT_API_ATOMIC_LOAD(atomic)); \
168 const uint8_t* INTERNAL_TRACE_EVENT_UID(category_group_enabled); \
297 (const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \
298 void operator=(const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \
309 const int kZeroNumArgs = 0;
310 const decltype(nullptr) kGlobalScope = nullptr;
311 const uint64_t kNoId = 0;
321 static inline const uint8_t* GetCategoryGroupEnabled(const char* group) {
323 static const uint8_t disabled = 0;
336 WithScope(const char* scope, uint64_t raw_id)
338 uint64_t raw_id() const { return raw_id_; }
339 const char* scope() const { return scope_; }
342 const char* scope_ = nullptr;
348 explicit DontMangle(const void* raw_id)
363 const char* scope() const { return scope_; }
364 uint64_t raw_id() const { return raw_id_; }
367 const char* scope_ = nullptr;
384 uint64_t raw_id() const { return raw_id_; }
390 TraceID(const void* raw_id, unsigned int* flags)
430 uint64_t raw_id() const { return raw_id_; }
431 const char* scope() const { return scope_; }
434 const char* scope_ = nullptr;
444 const void* as_pointer;
445 const char* as_string;
448 // Simple container for const char* that should be copied instead of retained.
451 explicit TraceStringWithCopy(const char* str) : str_(str) {}
452 operator const char*() const { return str_; }
455 const char* str_;
459 char phase, const uint8_t* category_group_enabled, const char* name,
460 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
461 const char** arg_names, const uint8_t* arg_types,
462 const uint64_t* arg_values, unsigned int flags) {
482 char phase, const uint8_t* category_group_enabled, const char* name,
483 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
484 const char** arg_names, const uint8_t* arg_types,
485 const uint64_t* arg_values, unsigned int flags, int64_t timestamp) {
505 const uint8_t* category_group_enabled, const char* name, int32_t num_args,
506 const char** arg_names, const uint8_t* arg_types,
507 const uint64_t* arg_values, unsigned int flags) {
555 INTERNAL_DECLARE_SET_TRACE_VALUE(const void*, as_pointer,
557 INTERNAL_DECLARE_SET_TRACE_VALUE(const char*, as_string,
559 INTERNAL_DECLARE_SET_TRACE_VALUE(const TraceStringWithCopy&, as_string,
585 const uint8_t* category_group_enabled,
586 const char* name, const char* scope,
596 char phase, const uint8_t* category_group_enabled, const char* name,
597 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
598 const char* arg1_name, ARG1_TYPE&& arg1_val) {
599 const int num_args = 1;
610 char phase, const uint8_t* category_group_enabled, const char* name,
611 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
612 const char* arg1_name, ARG1_TYPE&& arg1_val, const char* arg2_name,
614 const int num_args = 2;
615 const char* arg_names[2] = {arg1_name, arg2_name};
628 char phase, const uint8_t* category_group_enabled, const char* name,
629 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
638 char phase, const uint8_t* category_group_enabled, const char* name,
639 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
640 int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val) {
641 const int num_args = 1;
652 char phase, const uint8_t* category_group_enabled, const char* name,
653 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
654 int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val,
655 const char* arg2_name, ARG2_TYPE&& arg2_val) {
656 const int num_args = 2;
657 const char* arg_names[2] = {arg1_name, arg2_name};
671 const uint8_t* category_group_enabled, const char* name,
672 const char* arg1_name, ARG1_TYPE&& arg1_val) {
673 const int num_args = 1;
694 void Initialize(const uint8_t* category_group_enabled, const char* name,
709 const uint8_t* category_group_enabled;
710 const char* name;