Searched defs:TraceCategory (Results 1 – 6 of 6) sorted by relevance
17 struct TraceCategory { struct34 static const TraceCategory* FromStatePtr(const uint8_t* state_ptr) { in FromStatePtr() argument50 // full TraceCategory ptr, which is immutable, and use these helper function argument52 constexpr const uint8_t* state_ptr() const { in state_ptr()56 uint8_t state() const { in state()60 bool is_enabled() const { return state() != 0; } in is_enabled()62 void set_state(uint8_t state) { in set_state()89 // to have a global array of TraceCategory in category_registry.cc without argument104 // TraceCategory group names are long lived static strings. argument105 const char* name_;
45 name, [](TraceCategory*) {}, cat); in GetOrCreateCategoryByName() argument
15 struct TraceCategory { struct32 static const TraceCategory* FromStatePtr(const uint8_t* state_ptr) { in FromStatePtr() argument48 // full TraceCategory ptr, which is immutable, and use these helper function argument50 const uint8_t* state_ptr() const { in state_ptr()54 uint8_t state() const { in state()58 bool is_enabled() const { return state() != 0; } in is_enabled()60 void set_state(uint8_t state) { in set_state()87 // to have a global array of TraceCategory in category_registry.cc without argument102 // TraceCategory group names are long lived static strings. argument103 const char* name_;
55 struct TraceCategory { struct56 enum Value : uint64_t {
59 struct TraceCategory struct61 unsigned char enabled;62 const char *name;