/external/chromium_org/chrome/browser/invalidation/ |
fake_invalidation_service.cc | 39 // Try to find the given handle and object id in the unacknowledged list. 40 AckHandleList::iterator handle; local 43 for (handle = begin; handle != end; ++handle) 44 if (handle->first.Equals(ack_handle) && handle->second == id) 46 if (handle == end) 49 unacknowledged_handles_.erase(handle); 90 // Try to find the given handle in the acknowledged list [all...] |
/external/compiler-rt/lib/lsan/lit_tests/TestCases/ |
use_tls_dynamic.cc | 18 void *handle = dlopen(path.c_str(), RTLD_LAZY); local 19 assert(handle != 0); 21 store_t StoreToTLS = (store_t)dlsym(handle, "StoreToTLS");
|
/external/libvpx/libvpx/examples/includes/geshi/contrib/ |
cssgen2.php | 35 if ($handle = opendir($geshi->language_path)) { 36 while (($file = readdir($handle)) !== false) { 42 closedir($handle);
|
/frameworks/native/libs/ui/ |
GraphicBufferMapper.cpp | 49 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) 54 err = mAllocMod->registerBuffer(mAllocMod, handle); 57 handle, err, strerror(-err)); 61 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) 66 err = mAllocMod->unregisterBuffer(mAllocMod, handle); 69 handle, err, strerror(-err)); 73 status_t GraphicBufferMapper::lock(buffer_handle_t handle, 79 err = mAllocMod->lock(mAllocMod, handle, usage, 87 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, 93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage [all...] |
GraphicBuffer.cpp | 45 handle = NULL; 58 handle = NULL; 74 handle = inHandle; 87 handle = buffer->handle; 92 if (handle) { 100 mBufferMapper.unregisterBuffer(handle); 101 native_handle_close(handle); 102 native_handle_delete(const_cast<native_handle*>(handle)); 105 allocator.free(handle); [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 63 ** p_handle - OUT pointer to the handle. 205 ** Parameters: handle - Handle returned in the RFCOMM_CreateConnection 208 int RFCOMM_RemoveConnection (UINT16 handle) 212 RFCOMM_TRACE_API1 ("RFCOMM_RemoveConnection() handle:%d", handle); 214 /* Check if handle is valid to avoid crashing */ 215 if ((handle == 0) || (handle > MAX_RFC_PORTS)) 217 RFCOMM_TRACE_ERROR1 ("RFCOMM_RemoveConnection() BAD handle:%d", handle) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32toolhelp_unittest.cc | 47 HANDLE AsHandle() { 48 return reinterpret_cast<HANDLE>(this); 51 static Win32ToolhelpTest* AsFixture(HANDLE handle) { 52 return reinterpret_cast<Win32ToolhelpTest*>(handle); 55 static bool First(HANDLE handle, TestData* d) { 56 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle); 71 static bool Next(HANDLE handle, TestData* d) [all...] |
/frameworks/rs/cpp/ |
RenderScript.cpp | 73 static bool loadSymbols(void* handle) { 75 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType"); 80 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData"); 85 RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData"); 90 RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements"); 95 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate"); 100 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy"); 105 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig"); 110 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");; 115 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetName"); 407 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local [all...] |
/external/libsepol/src/ |
nodes.c | 7 #include "handle.h" 14 static int node_from_record(sepol_handle_t * handle, 30 if (sepol_node_get_addr_bytes(handle, data, &addr_buf, &addr_bsize) < 0) 32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0) 47 ERR(handle, "unsupported protocol %u", proto); 56 if (context_from_record(handle, policydb, &tmp_con, 68 ERR(handle, "out of memory"); 79 ERR(handle, "could not create node structure"); 83 static int node_to_record(sepol_handle_t * handle, 93 if (sepol_node_create(handle, &tmp_record) < 0 [all...] |
users.c | 7 #include "handle.h" 15 static int user_to_record(sepol_handle_t * handle, 28 if (sepol_user_create(handle, &tmp_record) < 0) 31 if (sepol_user_set_name(handle, tmp_record, name) < 0) 38 if (sepol_user_add_role(handle, tmp_record, role) < 0) 51 ERR(handle, "could not copy MLS level"); 57 ERR(handle, "could not copy MLS level"); 61 if (mls_to_string(handle, policydb, &context, &str) < 0) { 67 if (sepol_user_set_mlslevel(handle, tmp_record, str) < 0) { 75 ERR(handle, "could not copy MLS range") [all...] |
interfaces.c | 5 #include "handle.h" 12 static int iface_from_record(sepol_handle_t * handle, 30 if (context_from_record(handle, policydb, 39 if (context_from_record(handle, policydb, 51 ERR(handle, "out of memory"); 62 ERR(handle, "error creating interface structure"); 66 static int iface_to_record(sepol_handle_t * handle, 78 if (sepol_iface_create(handle, &tmp_record) < 0) 81 if (sepol_iface_set_name(handle, tmp_record, name) < 0) 84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0 [all...] |
user_record.c | 30 int sepol_user_key_create(sepol_handle_t * handle, 38 ERR(handle, "out of memory, " 59 int sepol_user_key_extract(sepol_handle_t * handle, 64 if (sepol_user_key_create(handle, user->name, key_ptr) < 0) { 65 ERR(handle, "could not extract key from user %s", user->name); 96 int sepol_user_set_name(sepol_handle_t * handle, 102 ERR(handle, "out of memory, could not set name"); 121 int sepol_user_set_mlslevel(sepol_handle_t * handle, 127 ERR(handle, "out of memory, " 146 int sepol_user_set_mlsrange(sepol_handle_t * handle, [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_rfc.c | 88 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) 93 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) 95 /* ignore port events for port handles other than connected handle */ 98 APPL_TRACE_DEBUG3("ag_port_cback ignoring handle:%d conn_handle = %d other handle = %d", 99 port_handle, p_scb->conn_handle, handle); 106 p_buf->layer_specific = handle; 122 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) 130 APPL_TRACE_DEBUG3("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d", 131 code, port_handle, handle); [all...] |
bta_ag_ci.c | 43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) 60 p_buf->hdr.layer_specific = handle; 88 void bta_ag_ci_slc_ready(UINT16 handle) 95 p_buf->hdr.layer_specific = handle;
|
/system/core/adb/ |
usb_osx.c | 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local 260 if (handle == NULL) { 267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1); 276 handle, 277 &handle->usbNotification); 288 usb_handle *handle = (usb_handle *)refCon; local 291 if (!handle) { 292 DBG("ERR: NULL handle\n"); 296 IOObjectRelease(handle->usbNotification); 297 usb_kick(handle); 306 usb_handle* handle = NULL; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeList.java | 110 int handle=m_iter.item(index); local 111 if (handle == DTM.NULL) { 114 return m_iter.getDTM(handle).getNode(handle);
|
/external/bluetooth/bluedroid/bta/pan/ |
bta_pan_ci.c | 53 void bta_pan_ci_tx_ready(UINT16 handle) 59 p_buf->layer_specific = handle; 78 void bta_pan_ci_rx_ready(UINT16 handle) 84 p_buf->layer_specific = handle; 96 ** disable data flow when it is congested and cannot handle 105 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) 111 p_buf->hdr.layer_specific = handle; 130 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, 151 p_buf->layer_specific = handle; 173 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol [all...] |
/external/chromium/webkit/glue/ |
webfileutilities_impl.cc | 118 void WebFileUtilitiesImpl::closeFile(base::PlatformFile& handle) { 119 if (handle == base::kInvalidPlatformFileValue) 121 if (base::ClosePlatformFile(handle)) 122 handle = base::kInvalidPlatformFileValue; 125 long long WebFileUtilitiesImpl::seekFile(base::PlatformFile handle, 128 if (handle == base::kInvalidPlatformFileValue) 130 net::FileStream file_stream(handle, 0); 134 bool WebFileUtilitiesImpl::truncateFile(base::PlatformFile handle, 136 if (handle == base::kInvalidPlatformFileValue || offset < 0) 138 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE) [all...] |
/external/chromium_org/base/win/ |
scoped_hdc.h | 29 // GDI handle exhaustion. In this case Chrome is going to behave badly no 53 typedef HDC Handle; 55 static bool CloseHandle(HDC handle) { 56 return ::DeleteDC(handle) != FALSE; 59 static bool IsHandleValid(HDC handle) { 60 return handle != NULL;
|
/external/chromium_org/cc/output/ |
software_frame_data.h | 22 base::SharedMemoryHandle handle; member in class:cc::SoftwareFrameData
|
/external/chromium_org/chrome/browser/ |
browser_util_win.cc | 19 static HANDLE handle = NULL; local 26 if (handle != NULL) 27 CloseHandle(handle); 28 handle = CreateEvent(NULL, TRUE, TRUE, exe.c_str());
|
/external/chromium_org/ppapi/c/private/ |
ppb_file_io_private.h | 33 * Returns a file handle corresponding to the given FileIO 36 * of the returned file handle and must close it. 39 PP_FileHandle* handle,
|
/external/chromium_org/ppapi/thunk/ |
ppb_buffer_api.h | 25 virtual int32_t GetSharedMemory(int* handle) = 0;
|
/external/chromium_org/sandbox/win/src/ |
process_thread_policy.h | 32 // Opens a thread from the child process and returns the handle. 40 HANDLE* handle); 42 // Opens the process id passed in and returns the duplicated handle to 48 HANDLE* handle); 51 // handle to the child. We only allow the child processes to open his own 54 HANDLE process, 56 HANDLE* handle); [all...] |
shared_handles.cc | 30 bool SharedHandles::SetHandle(uint32 tag, HANDLE handle) { 35 // Find empty slot and put the tag and the handle there 41 empty_slot->item = handle; 45 bool SharedHandles::GetHandle(uint32 tag, HANDLE* handle) { 54 *handle = found->item;
|