Searched refs:collection_id (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/profiler/ |
D | stack_sampling_profiler.cc | 158 : collection_id(next_collection_id.GetNext()), in CollectionContext() 168 const int collection_id; member 204 void Remove(int collection_id); 251 void RemoveCollectionTask(int collection_id); 252 void RecordSampleTask(int collection_id); 386 int collection_id = collection->collection_id; in Add() local 394 return collection_id; in Add() 397 void StackSamplingProfiler::SamplingThread::Remove(int collection_id) { in Remove() argument 411 Unretained(this), collection_id)); in Remove() 494 DCHECK_EQ(0u, active_collections_.count(collection->collection_id)); in FinishCollection() [all …]
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | utils.cc | 343 if (label.collection_id < 0 || label.collection_id >= collections.size()) { in ConvertTagsToAnnotatedSpans() 361 {{/*arg_collection=*/collections[label.collection_id].name, in ConvertTagsToAnnotatedSpans() 363 collections[label.collection_id].single_token_priority_score}}}); in ConvertTagsToAnnotatedSpans() 370 {/*arg_collection=*/collections[label.collection_id].name, in ConvertTagsToAnnotatedSpans() 372 collections[label.collection_id].multi_token_priority_score}); in ConvertTagsToAnnotatedSpans() 374 current_collection_name = collections[label.collection_id].name; in ConvertTagsToAnnotatedSpans() 383 labels[i - 1].collection_id != label.collection_id)) { in ConvertTagsToAnnotatedSpans() 392 current_collection_name == collections[label.collection_id].name && in ConvertTagsToAnnotatedSpans()
|
D | utils_test.cc | 65 int collection_id) { in CreateLabel() argument 69 label.collection_id = collection_id; in CreateLabel() 597 EXPECT_EQ(labels_left[0].collection_id, 0); in TEST() 598 EXPECT_EQ(labels_left[1].collection_id, 0); in TEST() 599 EXPECT_EQ(labels_left[2].collection_id, 0); in TEST() 600 EXPECT_EQ(labels_left[3].collection_id, 1); in TEST() 601 EXPECT_EQ(labels_left[4].collection_id, 0); in TEST() 602 EXPECT_EQ(labels_left[5].collection_id, 0); in TEST() 603 EXPECT_EQ(labels_left[6].collection_id, 4); in TEST() 604 EXPECT_EQ(labels_left[7].collection_id, 4); in TEST() [all …]
|
D | pod-ner-impl.cc | 63 int collection_id, std::vector<LabelT> *labels) { in EmplaceToLabelVector() argument 67 labels->back().collection_id = collection_id; in EmplaceToLabelVector() 211 annotator->labels_.back().collection_id = label->collection_id(); in Create()
|
D | pod-ner-impl_test.cc | 158 BoiseType boise_type, MentionType mention_type, int collection_id, in EmplaceToLabelVector() argument 163 labels->back()->collection_id = collection_id; in EmplaceToLabelVector()
|
/external/libtextclassifier/native/annotator/ |
D | model.fbs | 967 collection_id:int;
|