Home
last modified time | relevance | path

Searched refs:best_entry (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dallocator_registry.cc71 FactoryEntry* best_entry = nullptr; in GetAllocator() local
73 if (best_entry == nullptr) { in GetAllocator()
74 best_entry = &entry; in GetAllocator()
75 } else if (entry.priority > best_entry->priority) { in GetAllocator()
76 best_entry = &entry; in GetAllocator()
79 if (best_entry) { in GetAllocator()
80 if (!best_entry->allocator) { in GetAllocator()
81 best_entry->allocator.reset(best_entry->factory->CreateAllocator()); in GetAllocator()
83 return best_entry->allocator.get(); in GetAllocator()
93 FactoryEntry* best_entry = nullptr; in GetSubAllocator() local
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java752 ResTable_entry best_entry = LoadedPackage.GetEntryFromOffset(best_type, best_offset); in FindEntry() local
753 if (Util.UNLIKELY(best_entry == null)) { in FindEntry()
758 out_entry_.entry = best_entry; in FindEntry()
763 new StringPoolRef(best_package.GetKeyStringPool(), best_entry.key.index); in FindEntry()