Home
last modified time | relevance | path

Searched refs:handle_ (Results 1 - 7 of 7) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dnative_buffer.cpp26 NativeBuffer::NativeBuffer() : handle_(nullptr), isOwner_(true), bufferDestructor_(nullptr) {} in NativeBuffer()
35 handle_ = CloneNativeBufferHandle(handle); in NativeBuffer()
40 if (other.handle_ == nullptr) { in NativeBuffer()
43 handle_ = CloneNativeBufferHandle(other.handle_); in NativeBuffer()
48 handle_ = other.handle_; in NativeBuffer()
51 other.handle_ = nullptr; in NativeBuffer()
58 handle_ = CloneNativeBufferHandle(other.handle_); in operator =()
[all...]
/drivers/peripheral/display/hal/default_standard/src/utils/
H A Ddisplay_module_loader.h39 explicit DisplayModuleLoader(void *handle) : handle_(handle) {} in DisplayModuleLoader()
43 return dlsym(handle_, symbol.c_str()); in GetSymbol()
48 if (handle_ != nullptr) { in ~DisplayModuleLoader()
49 dlclose(handle_); in ~DisplayModuleLoader()
50 handle_ = nullptr; in ~DisplayModuleLoader()
55 void *handle_; member in OHOS::HDI::DISPLAY::DisplayModuleLoader
/drivers/peripheral/secure_element/secure_element_ca_proxy/
H A Dsecure_element_ca_proxy.cpp43 if (libPath_.empty() || handle_) { in LoadLib()
46 handle_ = dlopen(libPath_.c_str(), RTLD_LAZY | RTLD_LOCAL); in LoadLib()
47 if (!handle_) { in LoadLib()
57 if (handle_) { in CloseLib()
58 if (dlclose(handle_) != 0) { in CloseLib()
59 handle_ = nullptr; in CloseLib()
63 handle_ = nullptr; in CloseLib()
H A Dsecure_element_ca_proxy.h76 if (!handle_) { in FindTheFunc()
80 T newFunc = reinterpret_cast<T>(dlsym(handle_, func.c_str())); in FindTheFunc()
90 void *handle_{nullptr};
/drivers/peripheral/secure_element/vendor_sim_adaptor/
H A Dse_vendor_adaptions.cpp67 if (libPath_.empty() || handle_) { in LoadLib()
70 handle_ = dlopen(libPath_.c_str(), RTLD_LAZY | RTLD_LOCAL); in LoadLib()
71 if (!handle_) { in LoadLib()
81 if (handle_) { in CloseLib()
82 if (dlclose(handle_) != 0) { in CloseLib()
83 handle_ = nullptr; in CloseLib()
87 handle_ = nullptr; in CloseLib()
H A Dse_vendor_adaptions.h85 if (!handle_) { in FindTheFunc()
89 T newFunc = reinterpret_cast<T>(dlsym(handle_, func.c_str())); in FindTheFunc()
99 void *handle_{ nullptr };
/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dnative_buffer.h146 BufferHandle *handle_; member in OHOS::HDI::Base::NativeBuffer

Completed in 4 milliseconds