/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUsbALSA.cpp | 364 status_t AudioUsbALSA::closeDevice(pcm *handle) 366 ALOGD("closeDevice handle %p", handle); 368 if (handle) { 369 err = pcm_close(handle); 374 handle = NULL; 592 struct pcm * handle = NULL; local 593 handle = pcm_open(flags, hw); 594 if (!handle || handle->fd < 0) [all...] |
/libcore/luni/src/main/java/java/io/ |
ObjectOutputStream.java | 75 * Table mapping Object -> Integer (handle) 80 * All objects are assigned an ID (integer handle) 416 * method does nothing). The handle if {@code obj} is an 424 // If the object has been saved already, save its handle only 425 int handle = objectsWritten.get(obj); local 426 if (handle != -1) { 427 writeCyclicReference(handle); 428 return handle; 480 * Return the next handle to be used to indicate cyclic 483 * @return the next handle to represent the next cyclic referenc 514 int handle = nextHandle(); local 752 int handle = -1; local 1136 int handle = nextHandle(); local 1242 int handle = nextHandle(); local 1375 int handle = registerObjectWritten(object); local 1451 int handle = nextHandle(); local 1564 int handle = -1; local 1688 int handle = -1; local 1747 int handle = registerObjectWritten(object); local [all...] |
/external/chromium_org/net/socket/ |
client_socket_pool_base.cc | 148 ClientSocketHandle* handle, 154 : handle_(handle), 253 CHECK(request->handle()); 265 CHECK(!request->handle()->is_initialized()); 289 DCHECK(!request.handle()); 340 ClientSocketHandle* const handle = request->handle(); local 341 const bool preconnecting = !handle; 396 connect_job->connect_timing(), handle, base::TimeDelta(), 417 DCHECK(handle); 556 << " for handle: " << handle; local [all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
libusbi.h | 201 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev)) 420 void usbi_handle_disconnect(struct libusb_device_handle *handle); 555 * note that reallocation can fail. Your backend should handle these 589 /* Open a device for I/O and other USB operations. The device handle 591 * through handle->dev. 602 * handle for a device. 611 * Do not worry about freeing the handle on failed open, the upper layers 614 int (*open)(struct libusb_device_handle *handle); 616 /* Close a device such that the handle cannot be used again. Your backen [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
omx_video_encoder.cpp | 147 handle = new venc_dev(this); 149 if (handle == NULL) { 150 DEBUG_PRINT_ERROR("\nERROR: handle is NULL"); 154 if (handle->venc_open(codec_type) != true) { 510 if (handle->venc_set_param(paramData,OMX_IndexParamPortDefinition) != true) { 557 if (handle->venc_set_param(paramData,OMX_IndexParamPortDefinition) != true) { 593 if (handle->venc_set_param(paramData,OMX_IndexParamVideoPortFormat) != true) { 638 if (handle->venc_set_param(paramData,OMX_IndexParamVideoBitrate) != true) { 674 if (handle->venc_set_param(&mp4_param,OMX_IndexParamVideoMpeg4) != true) { 686 if (handle->venc_set_param(paramData,OMX_IndexParamVideoH263) != true) [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndfdic.c | 88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; 95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { 106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; 120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { 131 hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); 329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; 370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; 373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); 375 if (YOMI_INDX_CNT(loc->handle) == 0) { 392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size) [all...] |
/external/chromium_org/base/memory/ |
shared_memory_posix.cc | 54 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) 55 : mapped_file_(handle.fd), 62 if (fstat(handle.fd, &st) == 0) { 69 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, 71 : mapped_file_(handle.fd), 77 // We don't handle this case yet (note the ignored parameter); let's die if 87 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { 88 return handle.fd >= 0; 97 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { 98 DCHECK_GE(handle.fd, 0) 304 SharedMemoryHandle SharedMemory::handle() const { function in class:base::SharedMemory [all...] |
/external/chromium_org/content/browser/media/ |
webrtc_identity_store.cc | 89 void Cancel(WebRTCIdentityRequestHandle* handle) { 91 if (callbacks_.find(handle) == callbacks_.end()) 93 callbacks_.erase(handle); 99 void AddCallback(WebRTCIdentityRequestHandle* handle, 101 DCHECK(callbacks_.find(handle) == callbacks_.end()); 102 callbacks_[handle] = callback; 210 WebRTCIdentityRequestHandle* handle = local 214 handle, 216 base::Owned(handle))); 217 handle->OnRequestStarted(request) [all...] |
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_api.c | 229 UINT16 AVDT_RemoveStream(UINT8 handle) 238 if ((p_scb = avdt_scb_by_hdl(handle)) == NULL) 446 UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay) 454 /* map handle to scb */ 455 if ((p_scb = avdt_scb_by_hdl(handle)) == NULL) 478 ** application via the control callback function for this handle. 483 UINT16 AVDT_OpenReq(UINT8 handle, BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg) 498 /* map handle to scb */ 499 else if ((p_scb = avdt_scb_by_hdl(handle)) == NULL) 518 evt.msg.config_cmd.int_seid = handle; [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_db.c | 46 UINT16 handle, UINT16 offset, UINT32 trans_id); 305 ** s_handle: starting handle of the range we are looking for. 306 ** e_handle: ending handle of the range we are looking for. 338 while (p_attr && p_attr->handle <= e_handle) 351 if (p_attr->handle >= s_handle && gatt_uuid_compare(type, attr_uuid)) 359 UINT16_TO_STREAM (p, p_attr->handle); 365 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id); 389 *p_cur_handle = p_attr->handle; 434 return p_attr->handle; 486 p_char_decl->p_value->char_decl.char_val_handle = p_char_val->handle; [all...] |
/external/chromium_org/chrome/browser/usb/ |
usb_device_handle.cc | 113 CHECK(device_handle) << "Device handle is closed before transfer finishes."; 122 InterfaceClaimer(const scoped_refptr<UsbDeviceHandle> handle, 145 const scoped_refptr<UsbDeviceHandle> handle, const int interface_number) 146 : handle_(handle), 152 libusb_release_interface(handle_->handle(), interface_number_); 156 return libusb_claim_interface(handle_->handle(), interface_number_) == 0; 181 PlatformUsbDeviceHandle handle) 182 : device_(device), handle_(handle), context_(context) { 184 DCHECK(handle) << "Cannot create device with NULL handle." [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_act.c | 60 ** Description find the RCB associated with the given SCB handle. 72 if (bta_av_cb.rcb[i].shdl == shdl && bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) 86 ** Description delete the given AVRC handle. 94 UINT8 rc_handle; /* connected AVRCP handle */ 96 if(p_rcb->handle != BTA_AV_RC_HANDLE_NONE) 104 p_scb->rc_handle, p_rcb->handle); 105 if(p_scb->rc_handle == p_rcb->handle) 113 APPL_TRACE_EVENT4("bta_av_del_rc handle: %d status=0x%x, rc_acp_handle:%d, idx:%d", 114 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, bta_av_cb.rc_acp_idx); 115 rc_handle = p_rcb->handle; 1020 UINT16 handle = p_data->hdr.layer_specific; local [all...] |
/dalvik/vm/compiler/template/armv5te/ |
TEMPLATE_MEM_OP_DECODE.S | 14 blx r2 @ decode and handle the mem op
|
/dalvik/vm/compiler/template/armv5te-vfp/ |
TEMPLATE_MEM_OP_DECODE.S | 15 blx r2 @ decode and handle the mem op
|
/dalvik/vm/mterp/x86/ |
OP_THROW_VERIFICATION_ERROR.S | 3 * Handle a throw-verification-error instruction. This throws an 16 jmp common_exceptionThrown # handle exception
|
/external/blktrace/btt/ |
bno_dump.c | 70 void bno_dump_add(void *handle, struct io *iop) 72 struct bno_dump *bdp = handle;
|
/external/bluetooth/bluedroid/bta/include/ |
bta_ag_api.h | 68 /* handle values used with BTA_AgResult */ 258 UINT16 handle; member in struct:__anon3033 424 BTA_API void BTA_AgDeregister(UINT16 handle); 439 BTA_API void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_SERVICE_MASK services); 452 BTA_API void BTA_AgClose(UINT16 handle); 465 BTA_API void BTA_AgAudioOpen(UINT16 handle); 478 BTA_API void BTA_AgAudioClose(UINT16 handle); 492 BTA_API void BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p_data); 506 BTA_API void BTA_AgSetCodec(UINT16 handle, tBTA_AG_PEER_CODEC codec);
|
/external/chromium/chrome/browser/nacl_host/ |
nacl_broker_host_win.cc | 63 base::ProcessHandle handle) { 64 NaClBrokerService::GetInstance()->OnLoaderLaunched(loader_channel_id, handle);
|
nacl_broker_service_win.cc | 43 base::ProcessHandle handle) { 50 client->OnProcessLaunchedByBroker(handle);
|
nacl_process_host.cc | 35 void SetCloseOnExec(nacl::Handle fd) { 48 std::vector<nacl::Handle> sockets_for_renderer; 49 std::vector<nacl::Handle> sockets_for_sel_ldr; 111 nacl::Handle pair[2]; 169 void NaClProcessHost::OnProcessLaunchedByBroker(base::ProcessHandle handle) { 170 set_handle(handle); 177 return base::GetTerminationStatus(handle(), exit_code); 194 // Copy the handle into the renderer process. 195 HANDLE handle_in_renderer; 197 reinterpret_cast<HANDLE>( [all...] |
/external/chromium/chrome/browser/ |
plugin_data_remover.h | 51 virtual void OnChannelOpened(const IPC::ChannelHandle& handle); 67 void ConnectToChannel(const IPC::ChannelHandle& handle);
|
/external/chromium/chrome/browser/ui/webui/ |
fileicon_source.cc | 53 IconManager::Handle h = im->LoadIcon(escaped_filepath, 68 void FileIconSource::OnFileIconDataAvailable(IconManager::Handle handle, 71 int request_id = cancelable_consumer_.GetClientData(im, handle);
|
/external/chromium/net/base/ |
network_change_notifier_win.cc | 90 HANDLE ws_handle; 147 void NetworkChangeNotifierWin::OnObjectSignaled(HANDLE object) { 164 HANDLE handle = NULL; local 165 DWORD ret = NotifyAddrChange(&handle, &addr_overlapped_);
|
/external/chromium_org/chrome/browser/ |
custom_home_pages_table_model.h | 66 // |title_handle| matches |handle| and notifies the observer of the change. 67 void OnGotTitle(HistoryService::Handle handle, 72 // Returns the entry whose |member| matches |handle| and sets |entry_index| to 74 Entry* GetEntryByLoadHandle(CancelableRequestProvider::Handle Entry::* member, 75 CancelableRequestProvider::Handle handle,
|
/external/chromium_org/chrome/browser/first_run/ |
upgrade_util_win.cc | 59 HANDLE handle = HANDLE(phandle); local 60 WaitForSingleObject(handle, INFINITE); 62 ::GetExitCodeProcess(handle, &exit_code); 63 ::CloseHandle(handle); 112 // we exit. But ShellExecute does not support handle passing to the child 120 HANDLE mutex = ::CreateMutexW(NULL, TRUE, mutex_name.c_str()); 121 // The |mutex| handle needs to be leaked. See comment above. 226 base::ProcessHandle handle; local [all...] |