Lines Matching defs:char
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.
65 // the unsigned char is non-zero, tracing is enabled. If tracing is enabled,
71 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group)
82 // char phase,
84 // const char* name,
85 // const char* scope,
89 // const char** arg_names,
97 // char phase,
99 // const char* name,
100 // const char* scope,
104 // const char** arg_names,
115 // const char* name,
125 // const unsigned char* category_group_enabled,
126 // const char* event_name,
127 // const char* arg_name,
149 // even when the unsigned char* points to garbage data (which may be the case
321 static inline const uint8_t* GetCategoryGroupEnabled(const char* group) {
336 WithScope(const char* scope, uint64_t raw_id)
339 const char* scope() const { return scope_; }
342 const char* scope_ = nullptr;
353 explicit DontMangle(unsigned char raw_id) : raw_id_(raw_id) {}
359 explicit DontMangle(signed char raw_id)
363 const char* scope() const { return scope_; }
367 const char* scope_ = nullptr;
376 explicit ForceMangle(unsigned char raw_id) : raw_id_(raw_id) {}
382 explicit ForceMangle(signed char raw_id)
408 TraceID(unsigned char raw_id, unsigned int* flags) : raw_id_(raw_id) {
423 TraceID(signed char raw_id, unsigned int* flags)
431 const char* scope() const { return scope_; }
434 const char* scope_ = nullptr;
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,
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,
505 const uint8_t* category_group_enabled, const char* name, int32_t num_args,
506 const char** arg_names, const uint8_t* arg_types,
530 static inline void SetTraceValue(actual_type arg, unsigned char* type, \
539 static inline void SetTraceValue(actual_type arg, unsigned char* type, \
548 INTERNAL_DECLARE_SET_TRACE_VALUE_INT(unsigned char, TRACE_VALUE_TYPE_UINT)
552 INTERNAL_DECLARE_SET_TRACE_VALUE_INT(signed char, TRACE_VALUE_TYPE_INT)
557 INTERNAL_DECLARE_SET_TRACE_VALUE(const char*, as_string,
566 unsigned char* type, uint64_t* value) {
574 SetTraceValue(std::unique_ptr<T> ptr, unsigned char* type, uint64_t* value) {
584 static inline uint64_t AddTraceEvent(char phase,
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) {
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,
615 const char* arg_names[2] = {arg1_name, arg2_name};
616 unsigned char arg_types[2];
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) {
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) {
657 const char* arg_names[2] = {arg1_name, arg2_name};
658 unsigned char arg_types[2];
671 const uint8_t* category_group_enabled, const char* name,
672 const char* arg1_name, ARG1_TYPE&& arg1_val) {
694 void Initialize(const uint8_t* category_group_enabled, const char* name,
710 const char* name;