/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::__anon26826::final [all...] |
/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/v8/src/ |
prototype.h | 37 handle_(receiver), 40 CHECK(!handle_.is_null()); 65 handle_(handle(receiver_map->prototype(), receiver_map->GetIsolate())), 73 DCHECK(!handle_.is_null()); 74 if (handle_->IsAccessCheckNeeded()) { 76 Handle<JSObject>::cast(handle_)); 83 DCHECK(handle_.is_null()); 89 DCHECK(!iterator.handle_.is_null()); 91 return Handle<T>::cast(iterator.handle_); 95 if (handle_.is_null() && object_->IsJSProxy()) 179 Handle<Object> handle_; member in class:v8::internal::PrototypeIterator [all...] |
/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...] |
/system/tpm/trunks/ |
scoped_key_handle.cc | 33 handle_(kInvalidHandle) {} 38 handle_(handle) {} 41 if (handle_ != kInvalidHandle) { 42 FlushHandleContext(handle_); 47 TPM_HANDLE tmp_handle = handle_; 48 handle_ = kInvalidHandle; 53 TPM_HANDLE tmp_handle = handle_; 54 handle_ = new_handle; 65 return &handle_; 69 return handle_; [all...] |
scoped_key_handle.h | 63 TPM_HANDLE handle_; member in class:trunks::ScopedKeyHandle
|
/system/core/trusty/gatekeeper/ |
trusty_gatekeeper_ipc.c | 30 static int handle_ = 0; variable 38 handle_ = rc; 44 if (handle_ == 0) { 54 ssize_t rc = write(handle_, msg, msg_size); 63 rc = read(handle_, out, *out_size); 87 if (handle_ != 0) { 88 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...] |
http_connection_curl_unittest.cc | 155 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) 158 handle_, request_type::kPost, curl_api_, transport_); 163 EXPECT_CALL(*curl_api_, EasyCleanup(handle_)).Times(1); 173 CURL* handle_{performer_.GetCurlHandle()}; 185 EasySetOptCallback(handle_, CURLOPT_DEBUGFUNCTION, _)) 187 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_VERBOSE, 1)) 193 EasySetOptOffT(handle_, CURLOPT_POSTFIELDSIZE_LARGE, request_data.size())) 196 EXPECT_CALL(*curl_api_, EasySetOptCallback(handle_, CURLOPT_READFUNCTION, _)) 198 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_READDATA, _)) 201 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_HTTPHEADER, _) [all...] |
/art/runtime/ |
zip_archive.h | 49 ::ZipEntry* zip_entry) : handle_(handle), zip_entry_(zip_entry) {} 51 ZipArchiveHandle handle_; member in class:art::ZipEntry 69 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} 73 ZipArchiveHandle handle_; member in class:art::ZipArchive
|
/external/skia/experimental/SkV8Example/ |
Path2D.h | 31 return handle_; 40 v8::Persistent<v8::Object> handle_; member in class:Path2D
|
/external/webrtc/webrtc/base/ |
latebindingsymboltable.h | 54 DllHandle GetDllHandle() const { return handle_; } 61 DllHandle handle_; member in class:rtc::LateBindingSymbolTable
|
latebindingsymboltable.cc | 65 handle_(kInvalidDllHandle), 75 return handle_ != kInvalidDllHandle; 95 handle_ = dlopen(dll_path, 116 if (handle_ == kInvalidDllHandle) { 126 if (!LoadSymbol(handle_, info_->symbol_names[i], &table_[i])) { 141 if (dlclose(handle_) != 0) { 148 handle_ = kInvalidDllHandle;
|
/system/core/include/ziparchive/ |
zip_archive_stream_entry.h | 37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} 41 ZipArchiveHandle handle_; member in class:ZipArchiveStreamEntry
|
/external/libchrome/base/ |
sync_socket_posix.cc | 59 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} 68 DCHECK_EQ(socket_a->handle_, kInvalidHandle); 69 DCHECK_EQ(socket_b->handle_, kInvalidHandle); 96 socket_a->handle_ = handles[0]; 97 socket_b->handle_ = handles[1]; 117 const bool retval = CloseHandle(handle_); 118 handle_ = kInvalidHandle; 124 return SendHelper(handle_, buffer, length); 131 DCHECK_NE(handle_, kInvalidHandle); 133 if (ReadFromFD(handle_, charbuffer, length) [all...] |
sync_socket.h | 47 explicit SyncSocket(Handle handle) : handle_(handle) {} 94 Handle handle() const { return handle_; } 97 Handle handle_; member in class:base::SyncSocket
|
/external/webrtc/webrtc/modules/audio_processing/utility/ |
delay_estimator_unittest.cc | 51 void* handle_; member in class:__anon27058::DelayEstimatorTest 67 : handle_(NULL), 93 handle_ = WebRtc_CreateDelayEstimator(farend_handle_, kLookahead); 94 ASSERT_TRUE(handle_ != NULL); 95 self_ = reinterpret_cast<DelayEstimator*>(handle_); 103 WebRtc_FreeDelayEstimator(handle_); 104 handle_ = NULL; 118 EXPECT_EQ(0, WebRtc_InitDelayEstimator(handle_)); 122 EXPECT_EQ(-2, WebRtc_last_delay(handle_)); // Delay in initial state. 123 EXPECT_FLOAT_EQ(0, WebRtc_last_delay_quality(handle_)); // Zero quality [all...] |
/libnativehelper/ |
JniInvocation.cpp | 35 handle_(NULL), 46 if (handle_ != NULL) { 47 dlclose(handle_); 111 handle_ = dlopen(library, kDlopenFlags); 112 if (handle_ == NULL) { 126 handle_ = dlopen(library, kDlopenFlags); 127 if (handle_ == NULL) { 160 *pointer = dlsym(handle_, symbol); 163 dlclose(handle_); 164 handle_ = NULL [all...] |
/external/libchrome/base/threading/ |
platform_thread.h | 78 PlatformThreadHandle() : handle_(0) {} 80 explicit PlatformThreadHandle(Handle handle) : handle_(handle) {} 83 return handle_ == other.handle_; 87 return !handle_; 91 return handle_; 95 Handle handle_; member in class:base::PlatformThreadHandle
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
latebindingsymboltable_linux.h | 52 : handle_(kInvalidDllHandle), 72 return handle_ != kInvalidDllHandle; 88 handle_ = InternalLoadDll(kDllName); 92 if (!InternalLoadSymbols(handle_, NumSymbols(), kSymbolNames, symbols_)) { 104 InternalUnloadDll(handle_); 105 handle_ = kInvalidDllHandle; 118 DllHandle handle_;
|
/system/extras/libfec/include/fec/ |
io.h | 123 io() : handle_(nullptr, fec_close) {} 126 int roots = FEC_DEFAULT_ROOTS) : handle_(nullptr, fec_close) { 131 return !!handle_; 140 handle_.reset(fh); 146 return !fec_close(handle_.release()); 150 return !fec_seek(handle_.get(), offset, whence); 154 return fec_read(handle_.get(), buf, count); 158 return fec_pread(handle_.get(), buf, count, offset); 162 return !fec_get_status(handle_.get(), &status); 166 return !fec_verity_get_metadata(handle_.get(), &data) 188 handle handle_; member in class:fec::io [all...] |
/external/drm_hwcomposer/ |
drmhwcomposer.h | 85 : gralloc_(gralloc), handle_(handle) { 91 handle_ = rhs.handle_; 92 rhs.handle_ = NULL; 101 handle_ = rhs.handle_; 102 rhs.handle_ = NULL; 111 return handle_; 116 native_handle_t *handle_ = NULL; member in class:android::DrmHwcNativeHandle
|
/external/webrtc/webrtc/modules/desktop_capture/ |
shared_memory.h | 45 Handle handle() const { return handle_; } 58 const Handle handle_; member in class:webrtc::SharedMemory
|
shared_memory.cc | 24 handle_(handle),
|
/system/core/fastboot/ |
usb_osx.cpp | 70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 78 std::unique_ptr<usb_handle> handle_; member in class:OsxUsbTransport 507 if (handle_ == nullptr) { 511 if (handle_->interface == nullptr) { 516 if (handle_->bulkIn == 0) { 521 result = (*handle_->interface)->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); 539 if (handle_ == NULL) { 543 if (handle_->interface == NULL) [all...] |