Home
last modified time | relevance | path

Searched refs:IDType (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/libANGLE/
DResourceMap.h19 template <typename ResourceType, typename IDType>
26 ANGLE_INLINE ResourceType *query(IDType id) const in query()
39 bool contains(IDType id) const;
42 bool erase(IDType id, ResourceType **resourceOut);
44 void assign(IDType id, ResourceType *resource);
79 Iterator find(IDType handle) const;
112 template <typename ResourceType, typename IDType>
113 ResourceMap<ResourceType, IDType>::ResourceMap() in ResourceMap()
120 template <typename ResourceType, typename IDType>
121 ResourceMap<ResourceType, IDType>::~ResourceMap() in ~ResourceMap()
[all …]
DResourceManager.cpp32 template <typename ResourceType, typename IDType>
33 IDType AllocateEmptyObject(HandleAllocator *handleAllocator, in AllocateEmptyObject()
34 ResourceMap<ResourceType, IDType> *objectMap) in AllocateEmptyObject()
36 IDType handle = FromGL<IDType>(handleAllocator->allocate()); in AllocateEmptyObject()
63 template <typename ResourceType, typename HandleAllocatorType, typename ImplT, typename IDType>
64 TypedResourceManager<ResourceType, HandleAllocatorType, ImplT, IDType>::~TypedResourceManager() in ~TypedResourceManager()
69 template <typename ResourceType, typename HandleAllocatorType, typename ImplT, typename IDType>
70 void TypedResourceManager<ResourceType, HandleAllocatorType, ImplT, IDType>::reset( in reset()
84 template <typename ResourceType, typename HandleAllocatorType, typename ImplT, typename IDType>
85 void TypedResourceManager<ResourceType, HandleAllocatorType, ImplT, IDType>::deleteObject( in deleteObject()
[all …]
DResourceManager.h61 template <typename ResourceType, typename HandleAllocatorType, typename ImplT, typename IDType>
67 void deleteObject(const Context *context, IDType handle);
68 ANGLE_INLINE bool isHandleGenerated(IDType handle) const in isHandleGenerated()
74 typename ResourceMap<ResourceType, IDType>::Iterator begin() const in begin()
78 typename ResourceMap<ResourceType, IDType>::Iterator end() const { return mObjectMap.end(); } in end()
86 IDType handle, in checkObjectAllocation()
105 ResourceMap<ResourceType, IDType> mObjectMap;
110 IDType handle, in checkObjectAllocationImpl()
171 template <typename ObjectType, typename IDType>
173 ResourceMap<ObjectType, IDType> *objectMap,
[all …]
DRefCountObject.h140 template <typename IDType>
144 explicit RefCountObject(rx::Serial serial, IDType id) : mSerial(serial), mId(id) {} in RefCountObject()
147 IDType id() const { return mId; } in id()
155 IDType mId;
169 typename ResourceTypeToID<ObjectType>::IDType id() const in id()
DFrameCapture.cpp1144 template <typename IDType>
1159 const IDType *returnedIDs = reinterpret_cast<const IDType *>(param.data[0].data()); in CaptureUpdateResourceIDs()
1163 IDType id = returnedIDs[idIndex]; in CaptureUpdateResourceIDs()
/external/swiftshader/third_party/subzero/src/
DIceStringPool.h34 using IDType = uintptr_t;
38 IDType getNewID() { in getNewID()
45 IDType getOrAddString(const std::string &Value) { in getOrAddString()
49 auto ID = reinterpret_cast<IDType>(NewStr); in getOrAddString()
53 return reinterpret_cast<IDType>(Iter->second.get()); in getOrAddString()
67 static constexpr IDType FirstID = 1;
68 static constexpr IDType IDIncrement = 2;
69 IDType NextID = FirstID;
75 using IDType = StringPool::IDType;
97 IDType getID() const { in getID()
[all …]
/external/angle/src/common/
DPackedEnums.h561 using IDType = Type##ID; \
590 using IDType = ShaderProgramID;
597 using IDType = ShaderProgramID;
603 using IDType = void;
/external/libchrome/base/trace_event/
Dtrace_event.h1199 template<typename IDType> class TraceScopedTrackableObject {
1202 IDType id) in TraceScopedTrackableObject()
1220 IDType id_;
/external/libchrome/libchrome_tools/patch/
Dtrace_event.patch47 @@ -1115,4 +1152,5 @@ template<typename IDType> class TraceSco
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dinvoke_helpers.h196 typedef void* IDType; typedef