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

1 2

  /external/chromium/base/memory/
scoped_open_process.h 18 ScopedOpenProcess() : handle_(kNullProcessHandle) {
30 return OpenProcessHandle(pid, &handle_);
35 if (handle_ == kNullProcessHandle)
38 CloseProcessHandle(handle_);
39 handle_ = kNullProcessHandle;
42 ProcessHandle handle() const { return handle_; }
45 ProcessHandle handle_; member in class:base::ScopedOpenProcess
scoped_handle.h 16 : handle_(NULL) { }
19 : handle_(handle) { }
26 if (handle_) {
27 fclose(handle_);
28 handle_ = NULL;
32 FILE* get() const { return handle_; }
35 FILE* temp = handle_;
36 handle_ = NULL;
42 handle_ = newhandle;
46 FILE* handle_; member in class:ScopedStdioHandle
    [all...]
weak_ptr.cc 10 WeakReference::Flag::Flag(Flag** handle) : handle_(handle) {
15 handle_ = NULL;
20 return handle_ != NULL;
24 if (handle_)
25 *handle_ = NULL;
  /external/chromium/base/win/
scoped_handle.h 35 ScopedHandle() : handle_(NULL) {
38 explicit ScopedHandle(HANDLE h) : handle_(NULL) {
49 return handle_ != NULL;
57 handle_ = new_handle;
61 return handle_;
64 operator HANDLE() { return handle_; }
68 HANDLE h = handle_;
69 handle_ = NULL;
74 if (handle_) {
75 if (!::CloseHandle(handle_)) {
83 HANDLE handle_; member in class:base::win::ScopedHandle
    [all...]
  /hardware/ril/mock-ril/src/cpp/
node_object_wrap.h 40 if (!handle_.IsEmpty()) {
41 assert(handle_.IsNearDeath());
42 handle_->SetInternalField(0, v8::Undefined());
43 handle_.Dispose();
44 handle_.Clear();
57 v8::Persistent<v8::Object> handle_; // ro member in class:ObjectWrap
62 assert(handle_.IsEmpty());
64 handle_ = v8::Persistent<v8::Object>::New(handle);
65 handle_->SetInternalField(0, v8::External::New(this));
71 handle_.MakeWeak(this, WeakCallback)
    [all...]
  /external/chromium/crypto/
scoped_capi_types.h 51 explicit ScopedCAPIHandle(CAPIHandle handle = NULL) : handle_(handle) {}
54 free_(handle_);
58 if (handle_ != handle) {
59 free_(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
93 CAPIHandle handle_; member in class:crypto::ScopedCAPIHandle
    [all...]
  /external/chromium/base/synchronization/
waitable_event_win.cc 16 : handle_(CreateEvent(NULL, manual_reset, signaled, NULL)) {
19 CHECK(handle_);
23 : handle_(handle) {
28 CloseHandle(handle_);
32 HANDLE rv = handle_;
33 handle_ = INVALID_HANDLE_VALUE;
38 ResetEvent(handle_);
42 SetEvent(handle_);
50 DWORD result = WaitForSingleObject(handle_, INFINITE);
63 DWORD result = WaitForSingleObject(handle_, static_cast<DWORD>(timeout))
    [all...]
condition_variable_win.cc 172 ConditionVariable::Event::Event() : handle_(0) {
177 if (0 == handle_) {
186 if (0 != handle_) {
187 int ret_val = CloseHandle(handle_);
194 DCHECK(!handle_);
195 handle_ = CreateEvent(NULL, false, false, NULL);
196 CHECK(handle_);
234 return handle_;
263 return (0 != handle_) && ValidateLinks();
267 return (0 == handle_) && ValidateLinks()
    [all...]
waitable_event.h 86 HANDLE handle() const { return handle_; }
135 HANDLE handle_; member in class:base::WaitableEvent
condition_variable.h 107 // The list container is an element with NULL as its handle_ value.
108 // The actual list elements have a non-zero handle_ value.
143 HANDLE handle_; member in class:base::ConditionVariable::Event
  /external/chromium/chrome/browser/webdata/
web_data_service_test_util.h 17 AutofillWebDataServiceConsumer() : handle_(0) {}
23 handle_ = handle;
31 WebDataService::Handle handle() { return handle_; }
35 WebDataService::Handle handle_; member in class:AutofillWebDataServiceConsumer
  /external/chromium/net/http/
http_proxy_client_socket_pool_unittest.cc 213 ClientSocketHandle handle_; member in class:net::HttpProxyClientSocketPoolTest
227 int rv = handle_.Init("a", GetNoTunnelParams(), LOW, NULL, &pool_,
230 EXPECT_TRUE(handle_.is_initialized());
231 ASSERT_TRUE(handle_.socket());
233 static_cast<HttpProxyClientSocket*>(handle_.socket());
269 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_,
272 EXPECT_FALSE(handle_.is_initialized());
273 EXPECT_FALSE(handle_.socket());
279 EXPECT_TRUE(handle_.is_initialized());
280 ASSERT_TRUE(handle_.socket())
    [all...]
  /external/chromium/base/
sync_socket.h 32 explicit SyncSocket(Handle handle) : handle_(handle) { }
65 Handle handle() const { return handle_; }
68 Handle handle_; member in class:base::SyncSocket
sync_socket_posix.cc 59 tmp_sockets[0]->handle_ = handles[0];
61 tmp_sockets[1]->handle_ = handles[1];
80 if (handle_ == kInvalidHandle) {
83 int retval = HANDLE_EINTR(close(handle_));
86 handle_ = kInvalidHandle;
93 int len = file_util::WriteFileDescriptor(handle_, charbuffer, length);
100 if (file_util::ReadFromFD(handle_, charbuffer, length)) {
109 if (-1 == ioctl(handle_, FIONREAD, &number_chars)) {
sync_socket_win.cc 94 tmp_sockets[0]->handle_ = handles[0];
96 tmp_sockets[1]->handle_ = handles[1];
102 if (handle_ == kInvalidHandle) {
105 BOOL retval = CloseHandle(handle_);
106 handle_ = kInvalidHandle;
118 if (WriteFile(handle_, static_cast<const char*>(buffer) + count,
134 if (ReadFile(handle_, static_cast<char*>(buffer) + count,
145 PeekNamedPipe(handle_, NULL, 0, NULL, &available, NULL);
  /external/chromium/base/files/
file_path_watcher_win.cc 24 FilePathWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {}
64 HANDLE handle_; member in class:base::files::__anon3066::FilePathWatcherImpl
66 // ObjectWatcher to watch handle_ for events.
92 watcher_.StartWatching(handle_, this);
116 if (handle_ != INVALID_HANDLE_VALUE)
130 DCHECK(object == handle_);
174 if (handle_ != INVALID_HANDLE_VALUE)
175 watcher_.StartWatching(handle_, this);
218 if (handle_ != INVALID_HANDLE_VALUE)
228 // create a watch handle in |handle_|. |child_dirs| keeps a stack of chil
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
latebindingsymboltable.h 68 : handle_(kInvalidDllHandle),
88 return handle_ != kInvalidDllHandle;
103 handle_ = InternalLoadDll(kDllName);
107 if (!InternalLoadSymbols(handle_, NumSymbols(), kSymbolNames, symbols_)) {
119 InternalUnloadDll(handle_);
120 handle_ = kInvalidDllHandle;
133 DllHandle handle_;
fileutils.cc 59 : handle_(INVALID_HANDLE_VALUE) {
68 if (handle_ != INVALID_HANDLE_VALUE)
69 ::FindClose(handle_);
82 if (handle_ != INVALID_HANDLE_VALUE)
83 ::FindClose(handle_);
85 handle_ = ::FindFirstFile(ToUtf16(d).c_str(), &data_);
86 if (handle_ == INVALID_HANDLE_VALUE)
108 return ::FindNextFile(handle_, &data_) == TRUE;
  /external/chromium/webkit/glue/
websocketstreamhandle_impl.cc 40 // Must be called before |handle_| or |client_| is deleted.
54 DCHECK(!handle_);
59 WebSocketStreamHandleImpl* handle_; member in class:webkit_glue::WebSocketStreamHandleImpl::Context
69 : handle_(handle),
77 bridge_ = WebSocketStreamHandleBridge::Create(handle_, this);
96 handle_ = NULL;
110 client_->didOpenStream(handle_, max_amount_send_allowed);
116 client_->didSendData(handle_, amount_sent);
122 client_->didReceiveData(handle_, WebKit::WebData(data, size));
129 WebSocketStreamHandleImpl* handle = handle_;
    [all...]
  /external/chromium/base/threading/
watchdog.h 77 PlatformThreadHandle handle_; member in class:base::Watchdog
watchdog.cc 28 &handle_);
41 PlatformThread::Join(handle_);
  /external/chromium/chrome/browser/sync/util/
user_settings.h 81 inline sqlite3* get() const { return *handle_; }
83 sqlite3** const handle_; member in struct:browser_sync::UserSettings::ScopedDBHandle
  /external/chromium/testing/gtest/src/
gtest-internal-inl.h 953 HANDLE handle_; member in class:testing::internal::AutoHandle
    [all...]
  /external/gtest/src/
gtest-internal-inl.h 960 HANDLE handle_; member in class:testing::internal::AutoHandle
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-internal-inl.h 959 HANDLE handle_; member in class:testing::internal::AutoHandle
    [all...]

Completed in 784 milliseconds

1 2