HomeSort by relevance Sort by last modified time
    Searched refs:handle_ (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /external/libmojo/mojo/edk/embedder/
scoped_platform_handle.h 20 explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {}
21 ~ScopedPlatformHandle() { handle_.CloseIfNecessary(); }
25 : handle_(other.release()) {}
29 handle_ = other.release();
33 const PlatformHandle& get() const { return handle_; }
36 PlatformHandle temp = handle_;
37 handle_ = other.handle_;
38 other.handle_ = temp;
42 PlatformHandle rv = handle_;
55 PlatformHandle handle_; member in class:mojo::edk::ScopedPlatformHandle
    [all...]
  /external/webrtc/webrtc/common_audio/vad/
vad.cc 22 : handle_(nullptr), aggressiveness_(aggressiveness) {
26 ~VadImpl() override { WebRtcVad_Free(handle_); } variable
31 int ret = WebRtcVad_Process(handle_, sample_rate_hz, audio, num_samples);
44 if (handle_)
45 WebRtcVad_Free(handle_); variable
46 handle_ = WebRtcVad_Create();
47 RTC_CHECK(handle_); variable
48 RTC_CHECK_EQ(WebRtcVad_Init(handle_), 0);
49 RTC_CHECK_EQ(WebRtcVad_set_mode(handle_, aggressiveness_), 0);
53 VadInst* handle_; member in class:webrtc::__anon43970::final
    [all...]
  /system/bt/service/common/bluetooth/
descriptor.cc 21 handle_ = other.handle_;
29 handle_ = other.handle_;
37 return handle_ == other.handle_ && uuid_ == other.uuid_ &&
characteristic.cc 21 handle_ = other.handle_;
31 handle_ = other.handle_;
41 return handle_ == other.handle_ && uuid_ == other.uuid_ &&
service.cc 21 handle_ = other.handle_;
31 handle_ = other.handle_;
40 return handle_ == other.handle_ && primary_ == other.primary_ &&
descriptor.h 28 : handle_(handle), uuid_(uuid), permissions_(permissions){};
36 uint16_t handle() const { return handle_; }
41 uint16_t handle_; member in class:bluetooth::Descriptor
  /external/libchrome/crypto/
scoped_capi_types.h 51 explicit ScopedCAPIHandle(CAPIHandle handle = NULL) : handle_(handle) {}
58 if (handle_ != handle) {
60 free_proc(handle_);
61 handle_ = handle;
65 operator CAPIHandle() const { return handle_; }
66 CAPIHandle get() const { return handle_; }
69 CHECK(handle_ == NULL);
70 return &handle_;
74 return handle_ == handle;
78 return handle_ != handle
94 CAPIHandle handle_; member in class:crypto::ScopedCAPIHandle
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/client/
global_data.h 37 const GlobalDataHandle& handle() const { return handle_; }
40 GlobalDataHandle handle_; // Handle being wrapped. member in class:xla::GlobalData
41 ServiceInterface* parent_; // Service used to unregister handle_.
global_data.cc 27 : handle_(std::move(handle)), parent_(parent) {}
31 *request.mutable_data() = handle_;
33 VLOG(1) << "requesting to unregister " << handle_.ShortDebugString();
38 LOG(WARNING) << "failed to unregister " << handle_.ShortDebugString()
computation.cc 28 : handle_(handle), parent_(parent) {}
31 : handle_(std::move(computation.handle_)), parent_(computation.parent_) {
42 *request.mutable_computation() = handle_;
55 handle_ = computation.handle_;
63 handle_.Clear();
69 *request.mutable_computation() = handle_;
  /external/webrtc/webrtc/modules/desktop_capture/win/
scoped_gdi_object.h 26 ScopedGDIObject() : handle_(NULL) {}
27 explicit ScopedGDIObject(T object) : handle_(object) {}
30 Traits::Close(handle_);
34 return handle_;
38 if (handle_ && object != handle_)
39 Traits::Close(handle_);
40 handle_ = object;
49 T object = handle_;
50 handle_ = NULL
57 T handle_; member in class:webrtc::win::ScopedGDIObject
    [all...]
  /external/libmojo/mojo/public/cpp/bindings/
associated_interface_request.h 29 handle_ = std::move(other.handle_);
33 handle_ = std::move(other.handle_);
41 handle_.reset();
47 bool is_pending() const { return handle_.is_valid(); }
50 handle_ = std::move(handle);
54 return std::move(handle_);
57 const ScopedInterfaceEndpointHandle& handle() const { return handle_; }
69 handle_.ResetWithReason(custom_reason, description)
73 ScopedInterfaceEndpointHandle handle_; member in class:mojo::AssociatedInterfaceRequest
    [all...]
associated_interface_ptr_info.h 26 : handle_(std::move(other.handle_)), version_(other.version_) {
32 : handle_(std::move(handle)), version_(version) {}
38 handle_ = std::move(other.handle_);
46 bool is_valid() const { return handle_.is_valid(); }
49 return std::move(handle_);
51 const ScopedInterfaceEndpointHandle& handle() const { return handle_; }
53 handle_ = std::move(handle);
69 ScopedInterfaceEndpointHandle handle_; member in class:mojo::AssociatedInterfacePtrInfo
    [all...]
interface_ptr_info.h 24 : handle_(std::move(handle)), version_(version) {}
27 : handle_(std::move(other.handle_)), version_(other.version_) {
35 handle_ = std::move(other.handle_);
43 bool is_valid() const { return handle_.is_valid(); }
45 ScopedMessagePipeHandle PassHandle() { return std::move(handle_); }
46 const ScopedMessagePipeHandle& handle() const { return handle_; }
48 handle_ = std::move(handle);
55 ScopedMessagePipeHandle handle_; member in class:mojo::InterfacePtrInfo
    [all...]
interface_request.h 51 handle_ = std::move(other.handle_);
54 handle_ = std::move(other.handle_);
61 handle_.reset();
68 void Bind(ScopedMessagePipeHandle handle) { handle_ = std::move(handle); }
71 bool is_pending() const { return handle_.is_valid(); }
74 ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); }
86 if (!handle_.is_valid())
93 handle_.get(), message.TakeMojoMessage(), MOJO_WRITE_MESSAGE_FLAG_NONE)
100 ScopedMessagePipeHandle handle_; member in class:mojo::InterfaceRequest
    [all...]
  /external/v8/src/
prototype.h 37 handle_(receiver),
41 CHECK(!handle_.is_null());
74 handle_(receiver_map->GetPrototypeChainRootMap(isolate_)->prototype(),
77 is_at_end_(handle_->IsNull(isolate_)),
80 DCHECK(handle_->IsJSReceiver());
81 Map* map = JSReceiver::cast(*handle_)->map();
91 DCHECK(!handle_.is_null());
92 if (handle_->IsAccessCheckNeeded()) {
94 Handle<JSObject>::cast(handle_));
101 DCHECK(handle_.is_null())
181 Handle<Object> handle_; member in class:v8::internal::PrototypeIterator
    [all...]
  /system/tpm/trunks/
scoped_key_handle.cc 32 : factory_(factory), handle_(kInvalidHandle) {}
36 : factory_(factory), handle_(handle) {}
39 if (handle_ != kInvalidHandle) {
40 FlushHandleContext(handle_);
45 TPM_HANDLE tmp_handle = handle_;
46 handle_ = kInvalidHandle;
51 TPM_HANDLE tmp_handle = handle_;
52 handle_ = new_handle;
63 return &handle_;
67 return handle_;
    [all...]
  /device/generic/goldfish/keymaster/trusty/
trusty_keymaster_ipc.cpp 35 static int handle_ = 0; variable
39 handle_ = qemu_pipe_open(KEYMASTER_SERVICE_NAME);
40 if (handle_ < 0) {
41 handle_ = 0;
61 ssize_t rc = WriteFully(handle_, &pipe_command_length, sizeof(pipe_command_length));
68 rc = WriteFully(handle_, msg, pipe_command_length);
82 rc = ReadFully(handle_, &pipe_command_length, sizeof(pipe_command_length));
89 rc = ReadFully(handle_, out, pipe_command_length);
101 if (handle_ != 0) {
102 close(handle_);
    [all...]
  /external/libmojo/ipc/
ipc_mojo_handle_attachment.cc 15 : handle_(std::move(handle)) {}
25 return std::move(handle_);
  /external/perfetto/include/perfetto/base/
weak_ptr.h 63 return handle_ ? *handle_.get() : nullptr;
72 explicit WeakPtr(const std::shared_ptr<T*>& handle) : handle_(handle) {}
74 std::shared_ptr<T*> handle_; member in class:perfetto::base::WeakPtr
81 explicit WeakPtrFactory(T* owner) : handle_(new T* {owner}) {
86 *(handle_.get()) = nullptr;
91 return WeakPtr<T>(handle_);
98 std::shared_ptr<T*> handle_; member in class:perfetto::base::WeakPtrFactory
  /test/vts/drivers/hal/common/component_loader/
DllLoader.cpp 25 DllLoader::DllLoader() : handle_(NULL) {}
28 if (!handle_) {
29 dlclose(handle_);
30 handle_ = NULL;
41 handle_ = dlopen(file_path, RTLD_LAZY);
42 if (!handle_) {
48 return handle_;
94 void* sym = dlsym(handle_, symbol_name);
  /external/libtextclassifier/util/memory/
mmap.h 120 : handle_(MmapFile(filename)) {}
122 explicit ScopedMmap(int fd) : handle_(MmapFile(fd)) {}
125 : handle_(MmapFile(fd, segment_offset, segment_size)) {}
128 if (handle_.ok()) {
129 Unmap(handle_);
133 const MmapHandle &handle() { return handle_; }
136 MmapHandle handle_; member in class:libtextclassifier2::ScopedMmap
  /system/core/trusty/gatekeeper/
trusty_gatekeeper_ipc.c 33 static int handle_ = 0; variable
41 handle_ = rc;
47 if (handle_ == 0) {
57 ssize_t rc = write(handle_, msg, msg_size);
66 rc = read(handle_, out, *out_size);
90 if (handle_ != 0) {
91 tipc_close(handle_);
  /external/libbrillo/brillo/http/
http_transport_curl_unittest.cc 34 handle_ = reinterpret_cast<CURL*>(100); // Mock handle value.
35 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_));
36 EXPECT_CALL(*curl_api_, EasySetOptStr(handle_, CURLOPT_CAPATH, _))
38 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1))
40 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYHOST, 2))
42 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _))
54 CURL* handle_{nullptr};
59 EasySetOptStr(handle_, CURLOPT_URL, "http://foo.bar/get"))
62 EasySetOptStr(handle_, CURLOPT_USERAGENT, "User Agent"))
65 EasySetOptStr(handle_, CURLOPT_REFERER, "http://foo.bar/baz")
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/
nnapi_delegate.h 40 ANeuralNetworksMemory* memory() const { return handle_; }
41 bool valid() const override { return handle_ != nullptr; }
44 mutable ANeuralNetworksMemory* handle_ = nullptr; member in class:tflite::NNAPIAllocation

Completed in 403 milliseconds

1 2 3 4 5 6 7