/external/v8/src/ |
D | prototype.h | 37 handle_(receiver), in did_jump_to_prototype_chain_() 40 CHECK(!handle_.is_null()); in did_jump_to_prototype_chain_() 65 handle_(handle(receiver_map->prototype(), receiver_map->GetIsolate())), in PrototypeIterator() 73 DCHECK(!handle_.is_null()); in HasAccess() 74 if (handle_->IsAccessCheckNeeded()) { in HasAccess() 76 Handle<JSObject>::cast(handle_)); in HasAccess() 83 DCHECK(handle_.is_null()); in GetCurrent() 89 DCHECK(!iterator.handle_.is_null()); in GetCurrent() 91 return Handle<T>::cast(iterator.handle_); in GetCurrent() 95 if (handle_.is_null() && object_->IsJSProxy()) { in Advance() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/utility/ |
D | delay_estimator_unittest.cc | 51 void* handle_; member in __anon8154affe0111::DelayEstimatorTest 67 : handle_(NULL), in DelayEstimatorTest() 93 handle_ = WebRtc_CreateDelayEstimator(farend_handle_, kLookahead); in SetUp() 94 ASSERT_TRUE(handle_ != NULL); in SetUp() 95 self_ = reinterpret_cast<DelayEstimator*>(handle_); in SetUp() 103 WebRtc_FreeDelayEstimator(handle_); in TearDown() 104 handle_ = NULL; in TearDown() 118 EXPECT_EQ(0, WebRtc_InitDelayEstimator(handle_)); in Init() 122 EXPECT_EQ(-2, WebRtc_last_delay(handle_)); // Delay in initial state. in Init() 123 EXPECT_FLOAT_EQ(0, WebRtc_last_delay_quality(handle_)); // Zero quality. in Init() [all …]
|
/external/libbrillo/brillo/http/ |
D | http_transport_curl_unittest.cc | 34 handle_ = reinterpret_cast<CURL*>(100); // Mock handle value. in SetUp() 35 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_)); in SetUp() 36 EXPECT_CALL(*curl_api_, EasySetOptStr(handle_, CURLOPT_CAPATH, _)) in SetUp() 38 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1)) in SetUp() 40 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYHOST, 2)) in SetUp() 42 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) in SetUp() 54 CURL* handle_{nullptr}; member in brillo::http::curl::HttpCurlTransportTest 59 EasySetOptStr(handle_, CURLOPT_URL, "http://foo.bar/get")) in TEST_F() 62 EasySetOptStr(handle_, CURLOPT_USERAGENT, "User Agent")) in TEST_F() 65 EasySetOptStr(handle_, CURLOPT_REFERER, "http://foo.bar/baz")) in TEST_F() [all …]
|
D | http_connection_curl_unittest.cc | 155 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) in SetUp() 158 handle_, request_type::kPost, curl_api_, transport_); in SetUp() 163 EXPECT_CALL(*curl_api_, EasyCleanup(handle_)).Times(1); in TearDown() 173 CURL* handle_{performer_.GetCurlHandle()}; member in brillo::http::curl::HttpCurlConnectionTest 185 EasySetOptCallback(handle_, CURLOPT_DEBUGFUNCTION, _)) in TEST_F() 187 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_VERBOSE, 1)) in TEST_F() 193 EasySetOptOffT(handle_, CURLOPT_POSTFIELDSIZE_LARGE, request_data.size())) in TEST_F() 196 EXPECT_CALL(*curl_api_, EasySetOptCallback(handle_, CURLOPT_READFUNCTION, _)) in TEST_F() 198 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_READDATA, _)) in TEST_F() 201 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_HTTPHEADER, _)) in TEST_F() [all …]
|
/external/libchrome/crypto/ |
D | scoped_capi_types.h | 51 explicit ScopedCAPIHandle(CAPIHandle handle = NULL) : handle_(handle) {} in handle_() function 58 if (handle_ != handle) { 60 free_proc(handle_); 61 handle_ = handle; 65 operator CAPIHandle() const { return handle_; } in CAPIHandle() 66 CAPIHandle get() const { return handle_; } in get() 69 CHECK(handle_ == NULL); in receive() 70 return &handle_; in receive() 74 return handle_ == handle; 78 return handle_ != handle; [all …]
|
/external/libchrome/base/ |
D | sync_socket_posix.cc | 59 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} in SyncSocket() 68 DCHECK_EQ(socket_a->handle_, kInvalidHandle); in CreatePair() 69 DCHECK_EQ(socket_b->handle_, kInvalidHandle); in CreatePair() 96 socket_a->handle_ = handles[0]; in CreatePair() 97 socket_b->handle_ = handles[1]; in CreatePair() 117 const bool retval = CloseHandle(handle_); in Close() 118 handle_ = kInvalidHandle; in Close() 124 return SendHelper(handle_, buffer, length); in Send() 131 DCHECK_NE(handle_, kInvalidHandle); in Receive() 133 if (ReadFromFD(handle_, charbuffer, length)) in Receive() [all …]
|
D | sync_socket.h | 47 explicit SyncSocket(Handle handle) : handle_(handle) {} in SyncSocket() 94 Handle handle() const { return handle_; } in handle() 97 Handle handle_;
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | scoped_gdi_object.h | 26 ScopedGDIObject() : handle_(NULL) {} in ScopedGDIObject() 27 explicit ScopedGDIObject(T object) : handle_(object) {} in ScopedGDIObject() 30 Traits::Close(handle_); in ~ScopedGDIObject() 34 return handle_; in Get() 38 if (handle_ && object != handle_) in Set() 39 Traits::Close(handle_); in Set() 40 handle_ = object; in Set() 49 T object = handle_; in release() 50 handle_ = NULL; in release() 54 operator T() { return handle_; } in T() [all …]
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad.cc | 22 : handle_(nullptr), aggressiveness_(aggressiveness) { in VadImpl() 26 ~VadImpl() override { WebRtcVad_Free(handle_); } in ~VadImpl() 31 int ret = WebRtcVad_Process(handle_, sample_rate_hz, audio, num_samples); in VoiceActivity() 44 if (handle_) in Reset() 45 WebRtcVad_Free(handle_); in Reset() 46 handle_ = WebRtcVad_Create(); in Reset() 47 RTC_CHECK(handle_); in Reset() 48 RTC_CHECK_EQ(WebRtcVad_Init(handle_), 0); in Reset() 49 RTC_CHECK_EQ(WebRtcVad_set_mode(handle_, aggressiveness_), 0); in Reset() 53 VadInst* handle_; member in webrtc::__anon377c8cff0111::VadImpl
|
/external/drm_hwcomposer/ |
D | drmhwcomposer.h | 85 : gralloc_(gralloc), handle_(handle) { in DrmHwcNativeHandle() 91 handle_ = rhs.handle_; in DrmHwcNativeHandle() 92 rhs.handle_ = NULL; in DrmHwcNativeHandle() 101 handle_ = rhs.handle_; 102 rhs.handle_ = NULL; 111 return handle_; in get() 116 native_handle_t *handle_ = NULL; variable
|
/external/webrtc/webrtc/base/ |
D | latebindingsymboltable.cc | 65 handle_(kInvalidDllHandle), in LateBindingSymbolTable() 75 return handle_ != kInvalidDllHandle; in IsLoaded() 95 handle_ = dlopen(dll_path, in LoadFromPath() 116 if (handle_ == kInvalidDllHandle) { in LoadFromPath() 126 if (!LoadSymbol(handle_, info_->symbol_names[i], &table_[i])) { in LoadFromPath() 141 if (dlclose(handle_) != 0) { in Unload() 148 handle_ = kInvalidDllHandle; in Unload()
|
D | fileutils.cc | 42 : handle_(INVALID_HANDLE_VALUE) { in DirectoryIterator() 51 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator() 52 ::FindClose(handle_); in DirectoryIterator() 65 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator() 66 ::FindClose(handle_); in DirectoryIterator() 68 handle_ = ::FindFirstFile(ToUtf16(d).c_str(), &data_); in DirectoryIterator() 69 if (handle_ == INVALID_HANDLE_VALUE) in DirectoryIterator() 91 return ::FindNextFile(handle_, &data_) == TRUE; in DirectoryIterator()
|
D | latebindingsymboltable.h | 54 DllHandle GetDllHandle() const { return handle_; } in GetDllHandle() 61 DllHandle handle_; variable
|
/external/libchrome/base/threading/ |
D | platform_thread.h | 78 PlatformThreadHandle() : handle_(0) {} in PlatformThreadHandle() 80 explicit PlatformThreadHandle(Handle handle) : handle_(handle) {} in PlatformThreadHandle() 83 return handle_ == other.handle_; in is_equal() 87 return !handle_; in is_null() 91 return handle_; in platform_handle() 95 Handle handle_;
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | latebindingsymboltable_linux.h | 52 : handle_(kInvalidDllHandle), in LateBindingSymbolTable() 72 return handle_ != kInvalidDllHandle; in IsLoaded() 88 handle_ = InternalLoadDll(kDllName); in Load() 92 if (!InternalLoadSymbols(handle_, NumSymbols(), kSymbolNames, symbols_)) { in Load() 104 InternalUnloadDll(handle_); in Unload() 105 handle_ = kInvalidDllHandle; in Unload() 118 DllHandle handle_;
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
D | system_delay_unittest.cc | 44 void* handle_; member in __anon0956e0a00111::SystemDelayTest 57 : handle_(NULL), self_(NULL), samples_per_frame_(0) { in SystemDelayTest() 69 handle_ = WebRtcAec_Create(); in SetUp() 70 ASSERT_TRUE(handle_); in SetUp() 71 self_ = reinterpret_cast<Aec*>(handle_); in SetUp() 76 WebRtcAec_Free(handle_); in TearDown() 77 handle_ = NULL; in TearDown() 100 EXPECT_EQ(0, WebRtcAec_Init(handle_, sample_rate_hz, 48000)); in Init() 108 EXPECT_EQ(0, WebRtcAec_BufferFarend(handle_, far_, samples_per_frame_)); in RenderAndCapture() 110 WebRtcAec_Process(handle_, in RenderAndCapture() [all …]
|
/external/webrtc/webrtc/sound/ |
D | alsasoundsystem.cc | 83 handle_(handle), in AlsaStream() 102 frames = symbol_table()->snd_pcm_avail_update()(handle_); in Wait() 112 int ready = symbol_table()->snd_pcm_wait()(handle_, wait_timeout_ms_); in Wait() 125 frames = symbol_table()->snd_pcm_avail_update()(handle_); in Wait() 144 int err = symbol_table()->snd_pcm_delay()(handle_, &delay); in CurrentDelayUsecs() 162 handle_, in Recover() 175 symbol_table()->snd_pcm_stream()(handle_) == SND_PCM_STREAM_CAPTURE) { in Recover() 178 err = symbol_table()->snd_pcm_start()(handle_); in Recover() 188 if (handle_) { in Close() 190 err = symbol_table()->snd_pcm_drop()(handle_); in Close() [all …]
|
/external/v8/src/base/platform/ |
D | condition-variable.cc | 109 Event() : handle_(::CreateEventA(NULL, true, false, NULL)) { 110 DCHECK(handle_ != NULL); 114 BOOL ok = ::CloseHandle(handle_); 120 DWORD result = ::WaitForSingleObject(handle_, timeout_ms); 128 HANDLE handle_; 194 BOOL ok = ::ResetEvent(event->handle_); 204 ok = ::SetEvent(waitlist_->handle_); 239 ::SetEvent(highest_event->handle_); 252 ::SetEvent(event->handle_);
|
/external/v8/src/crankshaft/ |
D | unique.h | 54 handle_ = handle; in Unique() 67 handle_ = uniq.handle_; in Unique() 103 return handle_; in handle() 112 Handle<T>(reinterpret_cast<T**>(that.handle_.location()))); in cast() 116 return raw_address_ != NULL || handle_.is_null(); in IsInitialized() 130 : raw_address_(raw_address), handle_(handle) {} in Unique() 133 Handle<T> handle_; variable
|
/external/mesa3d/src/gtest/src/ |
D | gtest-internal-inl.h | 944 AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() 945 explicit AutoHandle(HANDLE handle) : handle_(handle) {} in AutoHandle() 949 HANDLE Get() const { return handle_; } in Get() 952 if (handle != handle_) { in Reset() 953 if (handle_ != INVALID_HANDLE_VALUE) in Reset() 954 ::CloseHandle(handle_); in Reset() 955 handle_ = handle; in Reset() 960 HANDLE handle_;
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-internal-inl.h | 947 AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() 948 explicit AutoHandle(HANDLE handle) : handle_(handle) {} in AutoHandle() 952 HANDLE Get() const { return handle_; } in Get() 955 if (handle != handle_) { in Reset() 956 if (handle_ != INVALID_HANDLE_VALUE) in Reset() 957 ::CloseHandle(handle_); in Reset() 958 handle_ = handle; in Reset() 963 HANDLE handle_;
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-internal-inl.h | 962 AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() 963 explicit AutoHandle(HANDLE handle) : handle_(handle) {} in AutoHandle() 967 HANDLE Get() const { return handle_; } in Get() 970 if (handle != handle_) { in Reset() 971 if (handle_ != INVALID_HANDLE_VALUE) in Reset() 972 ::CloseHandle(handle_); in Reset() 973 handle_ = handle; in Reset() 978 HANDLE handle_;
|
/external/skia/experimental/SkV8Example/ |
D | Path2D.h | 31 return handle_; in persistent() 40 v8::Persistent<v8::Object> handle_;
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | shared_memory.h | 45 Handle handle() const { return handle_; } in handle() 58 const Handle handle_; variable
|
/external/protobuf/gtest/src/ |
D | gtest-internal-inl.h | 986 AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() 987 explicit AutoHandle(HANDLE handle) : handle_(handle) {} in AutoHandle() 991 HANDLE Get() const { return handle_; } in Get() 994 if (handle != handle_) { in Reset() 995 if (handle_ != INVALID_HANDLE_VALUE) in Reset() 996 ::CloseHandle(handle_); in Reset() 997 handle_ = handle; in Reset() 1002 HANDLE handle_;
|