/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
firewire-cdev.h | 104 * @handle: Reference to the kernel-side pending request 112 * using the same @handle. 122 __u32 handle; member in struct:fw_cdev_event_request 244 * @handle: The handle from the &fw_cdev_event_request 249 * send a reply using this ioctl. The event has a handle to the kernel-side 256 __u32 handle; member in struct:fw_cdev_send_response 264 * @handle: Handle to the allocation, written by the kernel 271 * The @handle field is an out parameter, returning a handle to the allocate 278 __u32 handle; member in struct:fw_cdev_allocate 287 __u32 handle; member in struct:fw_cdev_deallocate 333 __u32 handle; member in struct:fw_cdev_add_descriptor 345 __u32 handle; member in struct:fw_cdev_remove_descriptor 375 __u32 handle; member in struct:fw_cdev_create_iso_context 428 __u32 handle; member in struct:fw_cdev_queue_iso 452 __u32 handle; member in struct:fw_cdev_start_iso 460 __u32 handle; member in struct:fw_cdev_stop_iso [all...] |
/external/libpcap/ |
pcap-dag.c | 486 * Get a handle for a live capture from the given DAG device. Passing a NULL 500 pcap_t *handle; local 515 /* Allocate a handle for this session. */ 517 handle = malloc(sizeof(*handle)); 518 if (handle == NULL) { 525 memset(handle, 0, sizeof(*handle)); 535 if (dag_parse_name(device, newDev, strlen(device) + 16, &handle->md.dag_stream) < 0) { 541 if (handle->md.dag_stream%2) [all...] |
/external/qemu/hw/ |
bt-hci.c | 61 } handle[HCI_HANDLES_MAX]; member in struct:bt_hci_s::__anon6135 84 uint16_t handle; /* Local */ member in struct:bt_hci_link_s 616 static inline int bt_hci_handle_bad(struct bt_hci_s *hci, uint16_t handle) 618 return !(handle & HCI_HANDLE_OFFSET) || 619 handle >= (HCI_HANDLE_OFFSET | HCI_HANDLES_MAX) || 620 !hci->lm.handle[handle & ~HCI_HANDLE_OFFSET].link; 623 static inline int bt_hci_role_master(struct bt_hci_s *hci, uint16_t handle) 625 return !!(hci->lm.role_bmp & (1 << (handle & ~HCI_HANDLE_OFFSET))); 629 uint16_t handle) 726 uint16_t handle; local 830 uint16_t handle; local 912 uint16_t handle = link->handle; local 928 uint16_t handle = link->handle; local 2013 uint16_t handle; local 2084 uint16_t handle; local 2191 int handle; local [all...] |
/external/chromium/base/ |
shared_memory.h | 25 // the underlying OS handle to a shared memory segment. 27 typedef HANDLE SharedMemoryHandle; 28 typedef HANDLE SharedMemoryLock; 48 SharedMemory(SharedMemoryHandle handle, bool read_only); 53 SharedMemory(SharedMemoryHandle handle, bool read_only, 59 // Return true iff the given handle is valid (i.e. not the distingished 60 // invalid value; NULL for a HANDLE and -1 for a file descriptor) 61 static bool IsHandleValid(const SharedMemoryHandle& handle); 63 // Return invalid handle (see comment above for exact definition). 66 // Close a shared memory handle [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
SDL_xbios_centscreen.h | 54 unsigned short handle; /* videomode handle */ member in struct:__anon6091 79 #define Vdelete(handle) \ 80 (long)trap_14_ww((short)0x45,(short)(handle)) 85 #define Vvalid(handle) \ 86 (long)trap_14_ww((short)0x48,(short)(handle))
|
/external/kernel-headers/original/asm-arm/ |
dma-mapping.h | 48 static inline int dma_is_consistent(dma_addr_t handle) 65 * @handle: bus-specific DMA address 69 * return the CPU-viewed address, and sets @handle to be the 73 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp); 80 * @handle: device-view address returned from dma_alloc_coherent 85 * References to memory and mappings associated with cpu_addr/handle 90 dma_addr_t handle); 97 * @handle: device-view address returned from dma_alloc_coherent 105 void *cpu_addr, dma_addr_t handle, size_t size); 112 * @handle: bus-specific DMA addres [all...] |
/external/chromium/net/socket/ |
tcp_client_socket_pool_unittest.cc | 231 ClientSocketHandle handle; local 233 int rv = handle.Init("a", info, LOW, &callback, pool_.get(), NULL); 235 EXPECT_FALSE(handle.is_initialized()); 236 EXPECT_FALSE(handle.socket()); 239 EXPECT_TRUE(handle.is_initialized()); 240 EXPECT_TRUE(handle.socket()); 242 handle.Reset(); 250 req.handle()->Init( 261 req.handle()->Init( 268 req.handle()->Init 409 ClientSocketHandle handle; local 540 ClientSocketHandle handle; local 605 ClientSocketHandle handle; local [all...] |
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 253 // The app didn't handle this, but it may have a default action 641 void* handle = dlopen(pathStr, RTLD_LAZY); local 645 if (handle != NULL) { 647 code = new NativeCode(handle, (ANativeActivity_createFunc*) 648 dlsym(handle, funcStr)); 721 unloadNativeCode_native(JNIEnv* env, jobject clazz, jint handle) 724 if (handle != 0) { 725 NativeCode* code = (NativeCode*)handle; 731 onStart_native(JNIEnv* env, jobject clazz, jint handle) 734 if (handle != 0) [all...] |
/frameworks/base/services/sensorservice/ |
SensorService.cpp | 101 // add to our handle->SensorInterface mapping 153 int handle = mActiveSensors.keyAt(i); local 154 snprintf(buffer, SIZE, "%s (handle=0x%08x, connections=%d)\n", 155 getSensorName(handle).string(), 156 handle, 185 // handle virtual sensors 273 String8 SensorService::getSensorName(int handle) const { 277 if (sensor.getHandle() == handle) { 302 int handle = mActiveSensors.keyAt(i); local 303 if (c->hasSensor(handle)) { [all...] |
/external/bluetooth/glib/gmodule/ |
gmodule.c | 67 gpointer handle; member in struct:_GModule 79 static void _g_module_close (gpointer handle, 82 static gpointer _g_module_symbol (gpointer handle, 87 static inline GModule* g_module_find_by_handle (gpointer handle); 101 g_module_find_by_handle (gpointer handle) 106 if (main_module && main_module->handle == handle) 110 if (handle == module->handle) 173 _g_module_close (gpointer handle, 336 gpointer handle = NULL; local [all...] |
/external/iproute2/tc/ |
f_tcindex.c | 31 static int tcindex_parse_opt(struct filter_util *qu, char *handle, int argc, 38 if (handle) { 39 t->tcm_handle = strtoul(handle,&end,0); 96 __u32 handle; local 99 if (get_tc_classid(&handle,*argv)) { 103 addattr_l(n, 4096, TCA_TCINDEX_CLASSID, &handle, 4); 126 struct rtattr *opt, __u32 handle) 135 if (handle != ~0) fprintf(f,"handle 0x%04x ",handle); [all...] |
/external/qemu/memcheck/ |
memcheck_util.c | 242 ELFF_HANDLE handle; local 248 handle = elff_init(sym_path); 249 if (handle == NULL) { 253 if (!elff_is_exec(handle)) { 256 if (elff_get_pc_address_info(handle, rel_pc, info)) { 257 elff_close(handle); 262 if (elff_get_pc_address_info(handle, abs_pc, info)) { 263 elff_close(handle); 268 *elff_handle = handle;
|
/external/quake/quake/src/WinQuake/ |
sys_wind.cpp | 103 void Sys_FileClose (int handle)
105 fclose (sys_handles[handle]);
106 sys_handles[handle] = NULL;
109 void Sys_FileSeek (int handle, int position)
111 fseek (sys_handles[handle], position, SEEK_SET);
114 int Sys_FileRead (int handle, void *dest, int count)
116 return fread (dest, 1, count, sys_handles[handle]);
119 int Sys_FileWrite (int handle, void *data, int count)
121 return fwrite (data, 1, count, sys_handles[handle]);
|
sys_linux.cpp | 191 int Sys_FileOpenRead (char *path, int *handle) 198 *handle = h; 210 int handle; local 214 handle = open(path,O_RDWR | O_CREAT | O_TRUNC 217 if (handle == -1) 220 return handle; 223 int Sys_FileWrite (int handle, void *src, int count) 225 return write (handle, src, count); 228 void Sys_FileClose (int handle) 230 close (handle); [all...] |
/frameworks/base/libs/ui/ |
GraphicBufferAllocator.cpp | 84 int usage, buffer_handle_t* handle, int32_t* stride) 95 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); 97 err = sw_gralloc_handle_t::alloc(w, h, format, usage, handle, stride); 113 list.add(*handle, rec); 119 status_t GraphicBufferAllocator::free(buffer_handle_t handle) 122 if (sw_gralloc_handle_t::validate(handle) < 0) { 123 err = mAllocDev->free(mAllocDev, handle); 125 err = sw_gralloc_handle_t::free((sw_gralloc_handle_t*)handle); 132 list.removeItem(handle);
|
/libcore/luni/src/main/java/java/util/zip/ |
Deflater.java | 242 int nbytes, long handle, int flushParm1); 244 private synchronized native void endImpl(long handle); 318 private synchronized native int getAdlerImpl(long handle); 333 private synchronized native long getTotalInImpl(long handle); 348 private synchronized native long getTotalOutImpl(long handle); 389 private synchronized native void resetImpl(long handle); 433 int nbytes, long handle); 478 long handle); 481 int nbytes, long handle);
|
Inflater.java | 84 private native synchronized void endImpl(long handle); 125 private native synchronized int getAdlerImpl(long handle); 182 private synchronized native long getTotalInImpl(long handle); 199 private native synchronized long getTotalOutImpl(long handle); 261 int nbytes, long handle); 303 private native synchronized void resetImpl(long handle); 348 int nbytes, long handle); 416 int nbytes, long handle); 420 int nbytes, long handle);
|
/device/htc/passion-common/libsensors/ |
nusensors.cpp | 43 int activate(int handle, int enabled); 44 int setDelay(int handle, int64_t ns); 62 int handleToDriver(int handle) const { 63 switch (handle) { 116 int sensors_poll_context_t::activate(int handle, int enabled) { 117 int index = handleToDriver(handle); 119 int err = mSensors[index]->enable(handle, enabled); 128 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { 130 int index = handleToDriver(handle); 132 return mSensors[index]->setDelay(handle, ns) [all...] |
/device/samsung/crespo/libsensors/ |
sensors.cpp | 130 int activate(int handle, int enabled); 131 int setDelay(int handle, int64_t ns); 150 int handleToDriver(int handle) const { 151 switch (handle) { 211 int sensors_poll_context_t::activate(int handle, int enabled) { 212 int index = handleToDriver(handle); 214 int err = mSensors[index]->enable(handle, enabled); 223 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { 225 int index = handleToDriver(handle); 227 return mSensors[index]->setDelay(handle, ns) [all...] |
/external/qemu/android/utils/ |
mapfile.c | 82 HANDLE file_handle = CreateFile(path, win32_desired_access, win32_share, 95 mapfile_close(MapFile* handle) 98 if (CloseHandle(handle)) { 105 return close((int)handle); 110 mapfile_read(MapFile* handle, void* buf, size_t nbyte) 115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) { 125 ret = read((int)handle, buf, nbyte); 132 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) 137 if ((SetFilePointer(handle, convert.LowPart, &convert.HighPart, 143 return mapfile_read(handle, buf, nbyte) [all...] |
/external/qemu/audio/ |
alsaaudio.c | 106 snd_pcm_t *handle; member in struct:ALSAVoiceOut 111 snd_pcm_t *handle; member in struct:ALSAVoiceIn 189 alsa_logerr (err, "Failed to close PCM handle %p\n", *handlep); 305 static void alsa_set_threshold (snd_pcm_t *handle, snd_pcm_uframes_t threshold) 312 err = FF(snd_pcm_sw_params_current) (handle, sw_params); 319 err = FF(snd_pcm_sw_params_set_start_threshold) (handle, sw_params, threshold); 327 err = FF(snd_pcm_sw_params) (handle, sw_params); 338 snd_pcm_t *handle; local 355 &handle, 365 err = FF(snd_pcm_hw_params_any) (handle, hw_params) 694 snd_pcm_t *handle; local 785 snd_pcm_t *handle; local [all...] |
/external/quake/quake/src/QW/client/ |
sys_android.c | 198 int Sys_FileOpenRead (char *path, int *handle) 205 *handle = h; 217 int handle; local 221 handle = open(path,O_RDWR | O_CREAT | O_TRUNC 224 if (handle == -1) 227 return handle; 230 int Sys_FileWrite (int handle, void *src, int count) 232 return write (handle, src, count); 235 void Sys_FileClose (int handle) 237 close (handle); [all...] |
sys_linux.c | 193 int Sys_FileOpenRead (char *path, int *handle)
200 *handle = h;
212 int handle;
local 216 handle = open(path,O_RDWR | O_CREAT | O_TRUNC
219 if (handle == -1)
222 return handle;
225 int Sys_FileWrite (int handle, void *src, int count)
227 return write (handle, src, count);
230 void Sys_FileClose (int handle)
232 close (handle);
[all...] |
/external/webkit/WebCore/platform/network/cf/ |
ResourceHandleCFNet.cpp | 126 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 133 LOG(Network, "CFNet - willSendRequest(conn=%p, handle=%p) (%s)", conn, handle, handle->request().url().string().utf8().data()); 139 RetainPtr<CFStringRef> originalMethod(AdoptCF, handle->request().httpMethod().createCFString()); 145 FormData* body = handle->request().httpBody(); 146 if (!equalIgnoringCase(handle->request().httpMethod(), "GET") && body && !body->isEmpty()) 149 String originalContentType = handle->request().httpContentType(); 165 handle->willSendRequest(request, cfRedirectResponse); 178 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)) local 196 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 208 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 216 ResourceHandle* handle = const_cast<ResourceHandle*>(static_cast<const ResourceHandle*>(clientInfo)); local 228 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 238 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 248 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local 271 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); local [all...] |
/external/wpa_supplicant/ |
eap_methods.c | 188 void *handle; local 192 handle = dlopen(so, RTLD_LAZY); 193 if (handle == NULL) { 199 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init"); 201 dlclose(handle); 209 dlclose(handle); 215 /* Store the handle for this shared object. It will be freed with 217 eap_methods->dl_handle = handle; 238 void *handle; local 257 handle = m->dl_handle 479 void *handle; local [all...] |