Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dcategory_registry.cc84 size_t category_index = base::subtle::Acquire_Load(&g_category_index); in GetCategoryByName() local
87 for (size_t i = 0; i < category_index; ++i) { in GetCategoryByName()
107 size_t category_index = base::subtle::Acquire_Load(&g_category_index); in GetOrCreateCategoryLocked() local
108 if (category_index >= kMaxCategories) { in GetOrCreateCategoryLocked()
120 *category = &g_categories[category_index]; in GetOrCreateCategoryLocked()
127 base::subtle::Release_Store(&g_category_index, category_index + 1); in GetOrCreateCategoryLocked()
150 size_t category_index = base::subtle::Acquire_Load(&g_category_index); in GetAllCategories() local
152 &g_categories[category_index]); in GetAllCategories()
/external/perfetto/src/tracing/
Dtrack_event_category_registry.cc45 size_t category_index, in EnableCategoryForInstance() argument
48 PERFETTO_DCHECK(category_index < category_count_); in EnableCategoryForInstance()
50 state_storage_[category_index].fetch_or( in EnableCategoryForInstance()
55 size_t category_index, in DisableCategoryForInstance() argument
58 PERFETTO_DCHECK(category_index < category_count_); in DisableCategoryForInstance()
60 state_storage_[category_index].fetch_and( in DisableCategoryForInstance()
/external/tensorflow/tensorflow/lite/micro/examples/image_recognition_experimental/
Dutil.h32 for (int category_index = 1; category_index < num_categories; in get_top_prediction() local
33 category_index++) { in get_top_prediction()
34 const uint8_t category_score = predictions[category_index]; in get_top_prediction()
37 guess = category_index; in get_top_prediction()
/external/perfetto/include/perfetto/tracing/internal/
Dtrack_event_data_source.h120 size_t category_index) {
121 return registry->GetCategory(category_index);
123 static constexpr size_t GetStaticIndex(size_t category_index) {
124 return category_index;
192 static bool IsCategoryEnabled(size_t category_index) {
193 return Registry->GetCategoryState(category_index)
212 static void CallIfCategoryEnabled(size_t category_index,
216 {category_index});
404 size_t category_index;
411 return Registry->GetCategoryState(data.category_index);
/external/perfetto/include/perfetto/tracing/
Dtrack_event_category_registry.h217 void EnableCategoryForInstance(size_t category_index,
219 void DisableCategoryForInstance(size_t category_index,
223 size_t category_index) const { in GetCategoryState() argument
224 return &state_storage_[category_index]; in GetCategoryState()