Home
last modified time | relevance | path

Searched refs:categories_ (Results 1 – 5 of 5) sorted by relevance

/external/cronet/base/trace_event/
Dcategory_registry.cc28 TraceCategory CategoryRegistry::categories_[kMaxCategories] = { member in base::trace_event::CategoryRegistry
36 TraceCategory* const CategoryRegistry::kCategoryExhausted = &categories_[0];
38 &categories_[1];
39 TraceCategory* const CategoryRegistry::kCategoryMetadata = &categories_[2];
48 ANNOTATE_BENIGN_RACE(categories_[i].state_ptr(), in Initialize()
52 DCHECK(!categories_[i].is_enabled()); in Initialize()
62 categories_[i].reset_for_testing(); in ResetForTesting()
75 if (strcmp(categories_[i].name(), category_name) == 0) { in GetCategoryByName()
76 return &categories_[i]; in GetCategoryByName()
107 *category = &categories_[category_index]; in GetOrCreateCategoryLocked()
[all …]
Dcategory_registry.h81 return &categories_[i]; in GetBuiltinCategoryByName()
126 static TraceCategory categories_[kMaxCategories]; variable
/external/libtextclassifier/native/utils/tflite/
Dblacklist_base.h55 : categories_(custom_options["categories"].AsInt32()), in BlacklistOpBase()
60 int categories() const { return categories_; } in categories()
73 int categories_;
/external/perfetto/include/perfetto/tracing/
Dtrack_event_category_registry.h204 : categories_(categories), in TrackEventCategoryRegistry()
218 return &categories_[index]; in GetCategory()
257 : IsValidCategoryName(categories_[index].name)
270 : StringEq(categories_[index].name, name)
304 const Category* const categories_; variable
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc432 categories_.clear(); in ClearIfNeeded()
444 EXPECT_EQ(categories_.find(it.iid()), categories_.end()); in Parse()
445 categories_[it.iid()] = it.name(); in Parse()
465 std::string GetCategory(uint64_t iid) { return categories_[iid]; } in GetCategory()
481 std::map<uint64_t, std::string> categories_; member in __anon78e5bb3c0111::ParsedIncrementalState