Home
last modified time | relevance | path

Searched refs:kInvalidHandle (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/
Dsync_socket_posix.cc40 DCHECK_NE(handle, SyncSocket::kInvalidHandle); in SendHelper()
48 if (handle != SyncSocket::kInvalidHandle && close(handle) < 0) { in CloseHandle()
58 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1; member in base::SyncSocket
60 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} in SyncSocket()
69 DCHECK_EQ(socket_a->handle_, kInvalidHandle); in CreatePair()
70 DCHECK_EQ(socket_b->handle_, kInvalidHandle); in CreatePair()
76 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; in CreatePair()
113 return descriptor->fd != kInvalidHandle; in PrepareTransitDescriptor()
118 handle_ = kInvalidHandle; in Close()
131 DCHECK_NE(handle_, kInvalidHandle); in Receive()
[all …]
Dsync_socket.h42 static const Handle kInvalidHandle; variable
156 const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;
/external/webrtc/webrtc/modules/desktop_capture/
Dshared_memory.cc16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL; member in webrtc::SharedMemory
18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1;
Dshared_memory.h35 static const Handle kInvalidHandle; variable
38 static const Handle kInvalidHandle;
/external/tensorflow/tensorflow/core/framework/
Dfunction_handle_cache.cc42 h = gtl::FindWithDefault(handles_, key, kInvalidHandle); in Instantiate()
44 if (h == kInvalidHandle) { in Instantiate()
Dfunction.h716 const FunctionLibraryRuntime::Handle kInvalidHandle = -1; variable
/external/perfetto/include/perfetto/public/
Dconsumer_api.h93 constexpr Handle kInvalidHandle = -1; variable
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc230 return gtl::FindWithDefault(table_, function_key, kInvalidHandle); in GetHandle()
235 return GetHandleOnDevice(device_name, handle) != kInvalidHandle; in IsInstantiatedOnDevice()
813 *handle = kInvalidHandle; in Instantiate()
830 gtl::FindWithDefault(table_, function_key, kInvalidHandle); in Instantiate()
831 if (h == kInvalidHandle || function_data_.count(h) == 0) { in Instantiate()
832 h = AddHandleLocked(function_key, options.target, kInvalidHandle); in Instantiate()
Dfunction.cc682 if (*handle != kInvalidHandle) { in Instantiate()
729 if (*handle != kInvalidHandle) { in Instantiate()
/external/perfetto/src/tracing/api_impl/
Dconsumer_api.cc327 return kInvalidHandle; in Create()
332 return kInvalidHandle; in Create()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.h202 handle_(kInvalidHandle), in KernelAndDeviceFunc()
Dkernel_and_device.cc47 if (handle_ != kInvalidHandle) { in ~KernelAndDeviceFunc()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op.cc227 native_func_ = kInvalidHandle; in TRTEngineOp()
252 if (native_func_ == kInvalidHandle) { in ExecuteNativeSegment()
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc663 if (fhandle_ == kInvalidHandle) { in LookupOrCreateBatcherQueue()
807 max_enqueued_batches_, allowed_batch_sizes_, kInvalidHandle, in ComputeAsync()