Home
last modified time | relevance | path

Searched refs:HandleType (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Dhandle.h73 template <class HandleType>
76 using RawHandleType = HandleType;
79 explicit ScopedHandleBase(HandleType handle) : handle_(handle) {} in ScopedHandleBase()
97 const HandleType& get() const { return handle_; } in get()
98 const HandleType* operator->() const {
104 static ScopedHandleBase<HandleType> From( in From()
107 sizeof(static_cast<PassedHandleType*>(static_cast<HandleType*>(0))), in From()
109 return ScopedHandleBase<HandleType>( in From()
110 static_cast<HandleType>(other.release().value())); in From()
115 HandleType release() WARN_UNUSED_RESULT { in release()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DWindows.h65 template <class HandleType, uintptr_t InvalidHandle,
68 HandleType Handle;
72 ScopedHandle(HandleType handle) : Handle(handle) {} in ScopedHandle()
75 if (Handle != HandleType(InvalidHandle)) in ~ScopedHandle()
79 HandleType take() { in take()
80 HandleType temp = Handle; in take()
81 Handle = HandleType(InvalidHandle); in take()
85 operator HandleType() const { return Handle; } in HandleType() function
87 ScopedHandle &operator=(HandleType handle) {
97 return Handle == HandleType(InvalidHandle) ? 0 : unspecified_bool_true; in unspecified_bool_type()
[all …]
/external/libchrome/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc35 enum class HandleType { enum
59 public testing::WithParamInterface<HandleType> {
67 if (GetParam() == HandleType::kHandle) in SetUp()
70 if (GetParam() == HandleType::kMachPort) in SetUp()
249 testing::Values(HandleType::kHandle)
251 testing::Values(HandleType::kHandle,
252 HandleType::kFileDescriptor)
254 testing::Values(HandleType::kFileDescriptor,
255 HandleType::kMachPort)
257 testing::Values(HandleType::kFileDescriptor)
/external/libxcam/capi/
Dcontext_priv.h33 enum HandleType { enum
47 bool handle_name_equal (const char *name, HandleType type);
76 HandleType get_type () const { in get_type()
82 ContextBase (HandleType type);
93 HandleType _type;
Dcontext_priv.cpp49 handle_name_equal (const char *name, HandleType type) in handle_name_equal()
54 ContextBase::ContextBase (HandleType type) in ContextBase()
/external/libchrome/mojo/core/
Dembedder_unittest.cc348 enum class HandleType { enum
353 const HandleType kTestHandleTypes[] = {
354 HandleType::MACH, HandleType::POSIX, HandleType::POSIX, HandleType::MACH,
366 if (type == HandleType::POSIX) { in TEST_F()
412 if (type == HandleType::POSIX) { in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp78 template <typename HandleType>
80 typedef typename HandleType::handle_type handle_type;
86 : Handle(HandleType::GetInvalidHandle()) {} in ScopedHandle()
92 HandleType::Destruct(Handle); in ~ScopedHandle()
97 if (!HandleType::isValid(Handle)) in operator =()
98 HandleType::Destruct(Handle); in operator =()
104 return HandleType::isValid(Handle); in operator bool()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp78 template <typename HandleType>
80 typedef typename HandleType::handle_type handle_type;
86 : Handle(HandleType::GetInvalidHandle()) {} in ScopedHandle()
92 HandleType::Destruct(Handle); in ~ScopedHandle()
97 if (!HandleType::isValid(Handle)) in operator =()
98 HandleType::Destruct(Handle); in operator =()
104 return HandleType::isValid(Handle); in operator bool()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp73 template <typename HandleType>
75 typedef typename HandleType::handle_type handle_type;
81 : Handle(HandleType::GetInvalidHandle()) {} in ScopedHandle()
87 HandleType::Destruct(Handle); in ~ScopedHandle()
92 if (!HandleType::isValid(Handle)) in operator =()
93 HandleType::Destruct(Handle); in operator =()
99 return HandleType::isValid(Handle); in operator bool()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtil.hpp37 template<HandleType Type>
DvkHandleType.inl4 enum HandleType enum
DvkDefs.hpp77 template<HandleType Type>
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h840 using HandleType = Handle;
843 HandleType handle = VK_NULL_HANDLE;
848 QFOTransferBarrierBase(const BarrierType &barrier, const HandleType &resource_handle)
951 …std::unordered_map<typename QFOTransferBarrier<Barrier>::HandleType, QFOTransferBarrierSet<Barrier…
Dcore_validation.h673 …void EraseQFOReleaseBarriers(layer_data* device_data, const typename BarrierRecord::HandleType& ha…
/external/libchrome/mojo/public/tools/bindings/
DREADME.md729 BasicTypeName = Identifier | "associated" Identifier | HandleType | NumericType
732 HandleType = "handle" | "handle" "<" SpecificHandleType ">"