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

1 2 3 4 5 6

  /external/chromium_org/base/memory/
scoped_open_process.h 16 ScopedOpenProcess() : handle_(kNullProcessHandle) {
28 return OpenProcessHandle(pid, &handle_);
33 if (handle_ == kNullProcessHandle)
36 CloseProcessHandle(handle_);
37 handle_ = kNullProcessHandle;
40 ProcessHandle handle() const { return handle_; }
43 ProcessHandle handle_; member in class:base::ScopedOpenProcess
  /external/chromium_org/mojo/embedder/
scoped_platform_handle.h 21 explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {}
22 ~ScopedPlatformHandle() { handle_.CloseIfNecessary(); }
25 ScopedPlatformHandle(RValue other) : handle_(other.object->release()) {}
27 handle_ = other.object->release();
31 const PlatformHandle& get() const { return handle_; }
34 PlatformHandle temp = handle_;
35 handle_ = other.handle_;
36 other.handle_ = temp;
40 PlatformHandle rv = handle_;
55 PlatformHandle handle_; member in class:mojo::embedder::ScopedPlatformHandle
    [all...]
  /external/qemu/android/base/files/
ScopedHandle.h 33 ScopedHandle() : handle_(INVALID_HANDLE_VALUE) {}
36 explicit ScopedHandle(HANDLE handle) : handle_(handle) {}
42 bool valid() const { return handle_ != INVALID_HANDLE_VALUE; }
45 HANDLE get() const { return handle_; }
49 HANDLE h = handle_;
50 handle_ = INVALID_HANDLE_VALUE;
56 if (handle_ != INVALID_HANDLE_VALUE) {
57 ::CloseHandle(handle_);
58 handle_ = INVALID_HANDLE_VALUE;
64 HANDLE handle = handle_;
72 HANDLE handle_; member in class:android::base::ScopedHandle
    [all...]
  /external/chromium_org/ppapi/cpp/private/
pass_file_handle.cc 16 : handle_(PP_kInvalidFileHandle) {
20 : handle_(handle) {
24 : handle_(handle.Release()) {
32 PP_FileHandle released = handle_;
33 handle_ = PP_kInvalidFileHandle;
38 if (handle_ != PP_kInvalidFileHandle) {
40 CloseHandle(handle_);
42 close(handle_);
44 handle_ = PP_kInvalidFileHandle;
  /external/chromium_org/crypto/
scoped_capi_types.h 50 explicit ScopedCAPIHandle(CAPIHandle handle = NULL) : handle_(handle) {}
57 if (handle_ != handle) {
59 free_proc(handle_);
60 handle_ = handle;
64 operator CAPIHandle() const { return handle_; }
65 CAPIHandle get() const { return handle_; }
68 CHECK(handle_ == NULL);
69 return &handle_;
73 return handle_ == handle;
77 return handle_ != handle
93 CAPIHandle handle_; member in class:crypto::ScopedCAPIHandle
    [all...]
  /external/chromium_org/mojo/public/cpp/bindings/
interface_request.h 20 handle_ = other.object->handle_.Pass();
23 handle_ = other.object->handle_.Pass();
28 bool is_pending() const { return handle_.is_valid(); }
31 handle_ = handle.Pass();
35 return handle_.Pass();
39 ScopedMessagePipeHandle handle_; member in class:mojo::InterfaceRequest
  /external/chromium_org/third_party/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/chromium_org/chrome/installer/test/
resource_updater.cc 15 ResourceUpdater::ResourceUpdater() : handle_(NULL) {
19 if (handle_ != NULL) {
21 BOOL result = EndUpdateResource(handle_, TRUE);
27 DCHECK(handle_ == NULL);
28 handle_ = BeginUpdateResource(pe_image_path.value().c_str(), FALSE);
29 if (handle_ == NULL) {
41 DCHECK(handle_ != NULL);
45 if (UpdateResource(handle_, type.c_str(), name.c_str(), language_id,
58 DCHECK(handle_ != NULL);
60 if (EndUpdateResource(handle_, FALSE) == FALSE)
    [all...]
  /external/chromium_org/media/base/
bitstream_buffer.h 19 handle_(handle),
24 base::SharedMemoryHandle handle() const { return handle_; }
29 base::SharedMemoryHandle handle_; member in class:media::BitstreamBuffer
  /external/chromium_org/base/win/
scoped_handle.h 40 GenericScopedHandle() : handle_(Traits::NullHandle()) {}
42 explicit GenericScopedHandle(Handle handle) : handle_(Traits::NullHandle()) {
47 GenericScopedHandle(RValue other) : handle_(Traits::NullHandle()) {
56 return Traits::IsHandleValid(handle_);
68 if (handle_ != handle) {
72 handle_ = handle;
80 return handle_;
84 return handle_;
89 Handle temp = handle_;
90 handle_ = Traits::NullHandle()
112 Handle handle_; member in class:base::win::GenericScopedHandle
    [all...]
  /external/chromium_org/net/dns/
dns_config_watcher_mac.cc 27 handle_ = dlopen("/usr/lib/libSystem.dylib",
29 if (!handle_)
33 dlsym(handle_, "dns_configuration_notify_key"));
36 dlsym(handle_, "dns_configuration_copy"));
39 dlsym(handle_, "dns_configuration_free"));
43 if (handle_)
44 dlclose(handle_);
52 void* handle_; member in class:__anon13210::DnsInfoApi
  /art/runtime/
zip_archive.h 49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {}
51 ZipArchiveHandle handle_; member in class:art::ZipEntry
67 CloseArchive(handle_);
71 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {}
75 ZipArchiveHandle handle_; member in class:art::ZipArchive
  /external/chromium_org/base/synchronization/
waitable_event_win.cc 17 : handle_(CreateEvent(NULL, manual_reset, signaled, NULL)) {
20 CHECK(handle_);
24 : handle_(handle) {
29 CloseHandle(handle_);
33 HANDLE rv = handle_;
34 handle_ = INVALID_HANDLE_VALUE;
39 ResetEvent(handle_);
43 SetEvent(handle_);
52 DWORD result = WaitForSingleObject(handle_, INFINITE);
65 DWORD result = WaitForSingleObject(handle_, static_cast<DWORD>(timeout))
    [all...]
  /external/chromium_org/extensions/renderer/
scoped_persistent.h 26 handle_.Reset(GetIsolate(handle), handle);
31 void reset() { handle_.Reset(); }
33 bool IsEmpty() const { return handle_.IsEmpty(); }
36 if (handle_.IsEmpty())
38 return v8::Local<T>::New(GetIsolate(handle_), handle_);
42 if (handle_.IsEmpty())
44 return v8::Local<T>::New(isolate, handle_);
50 handle_.SetWeak(parameters, callback);
72 v8::Persistent<T> handle_; member in class:extensions::ScopedPersistent
    [all...]
  /external/chromium_org/media/audio/pulse/
pulse_input.cc 33 handle_(NULL),
44 DCHECK(!handle_);
50 if (!pulse::CreateInputStream(pa_mainloop_, pa_context_, &handle_, params_,
55 DCHECK(handle_);
65 DCHECK(handle_);
76 pa_stream_drop(handle_);
81 pa_stream_set_read_callback(handle_, &ReadCallback, this);
82 pa_stream_readable_size(handle_);
85 pa_operation* operation = pa_stream_cork(handle_, 0, NULL, NULL);
100 pa_operation* operation = pa_stream_flush(handle_,
    [all...]
  /external/chromium_org/base/threading/
platform_thread.h 77 : handle_(0),
82 : handle_(handle),
88 : handle_(handle),
93 return handle_ == other.handle_;
97 return !handle_;
101 return handle_;
107 Handle handle_; member in class:base::PlatformThreadHandle
  /external/chromium_org/third_party/libjingle/source/talk/base/
latebindingsymboltable.h 71 DllHandle GetDllHandle() const { return handle_; }
78 DllHandle handle_; member in class:talk_base::LateBindingSymbolTable
  /external/chromium_org/third_party/webrtc/base/
latebindingsymboltable.h 54 DllHandle GetDllHandle() const { return handle_; }
61 DllHandle handle_; member in class:rtc::LateBindingSymbolTable
  /external/chromium_org/ui/ozone/platform/dri/
buffer_data.h 34 uint32_t handle() const { return handle_; }
42 uint32_t handle_; member in class:ui::BufferData
dri_buffer.h 28 uint32_t handle() const { return handle_; }
46 uint32_t handle_; member in class:ui::DriBuffer
  /external/chromium_org/base/
sync_socket_nacl.cc 18 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {
31 if (handle_ != kInvalidHandle) {
32 if (close(handle_) < 0)
34 handle_ = kInvalidHandle;
40 const ssize_t bytes_written = write(handle_, buffer, length);
45 const ssize_t bytes_read = read(handle_, buffer, length);
sync_socket_posix.cc 56 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {}
65 DCHECK_EQ(socket_a->handle_, kInvalidHandle);
66 DCHECK_EQ(socket_b->handle_, kInvalidHandle);
93 socket_a->handle_ = handles[0];
94 socket_b->handle_ = handles[1];
100 const bool retval = CloseHandle(handle_);
101 handle_ = kInvalidHandle;
107 return SendHelper(handle_, buffer, length);
114 DCHECK_NE(handle_, kInvalidHandle);
116 if (ReadFromFD(handle_, charbuffer, length)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/braille_display_private/
brlapi_connection.cc 43 virtual bool Connected() OVERRIDE { return handle_; }
62 scoped_ptr<brlapi_handle_t, base::FreeDeleter> handle_; member in class:extensions::api::braille_display_private::BrlapiConnectionImpl
83 DCHECK(!handle_);
84 handle_.reset((brlapi_handle_t*) malloc(
86 int fd = libbrlapi_loader_->brlapi__openConnection(handle_.get(), NULL, NULL);
88 handle_.reset();
101 handle_.get(), path, pathElements, NULL) < 0) {
130 handle_.get(), brlapi_rangeType_command, extraKeys,
150 if (!handle_) {
155 handle_.get())
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
delay_estimator_unittest.cc 47 void* handle_; member in class:__anon19828::DelayEstimatorTest
63 : handle_(NULL),
89 handle_ = WebRtc_CreateDelayEstimator(farend_handle_, kLookahead);
90 ASSERT_TRUE(handle_ != NULL);
91 self_ = reinterpret_cast<DelayEstimator*>(handle_);
100 WebRtc_FreeDelayEstimator(handle_);
101 handle_ = NULL;
115 EXPECT_EQ(0, WebRtc_InitDelayEstimator(handle_));
119 EXPECT_EQ(-2, WebRtc_last_delay(handle_)); // Delay in initial state.
120 EXPECT_FLOAT_EQ(0, WebRtc_last_delay_quality(handle_)); // Zero quality
    [all...]
  /external/chromium_org/net/http/
http_proxy_client_socket_pool_unittest.cc 228 ClientSocketHandle handle_; member in class:net::__anon13318::HttpProxyClientSocketPoolTest
258 int rv = handle_.Init("a", CreateNoTunnelParams(), LOW, CompletionCallback(),
261 EXPECT_TRUE(handle_.is_initialized());
262 ASSERT_TRUE(handle_.socket());
264 static_cast<HttpProxyClientSocket*>(handle_.socket());
273 handle_.Init("a", CreateNoTunnelParams(), HIGHEST,
325 int rv = handle_.Init("a", CreateTunnelParams(), LOW, callback_.callback(),
328 EXPECT_FALSE(handle_.is_initialized());
329 EXPECT_FALSE(handle_.socket());
334 EXPECT_TRUE(handle_.is_initialized())
    [all...]

Completed in 600 milliseconds

1 2 3 4 5 6