Searched refs:handle (Results 176 - 200 of 911) sorted by relevance

1234567891011>>

/external/bluetooth/glib/gmodule/
H A Dgmodule-beos.c66 image_id handle; local
68 handle = load_add_on (file_name);
69 if (handle < B_OK)
73 strerror (handle));
81 return (gpointer) handle;
108 _g_module_close (gpointer handle, argument
114 if (unload_add_on ((image_id) handle) != B_OK)
119 if (get_image_info ((image_id) handle, &info) != B_OK)
132 _g_module_symbol (gpointer handle, argument
143 id = (image_id) handle;
[all...]
H A Dgmodule.c67 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) argument
106 if (main_module && main_module->handle == handle)
110 if (handle == module->handle)
173 _g_module_close (gpointer handle, argument
183 _g_module_symbol(gpointer handle, const gchar *symbol_name) argument
336 gpointer handle = NULL; local
[all...]
/external/chromium/base/
H A Dshared_memory_win.cc29 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) argument
30 : mapped_file_(handle),
37 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, argument
44 ::DuplicateHandle(process, handle,
58 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { argument
59 return handle != NULL;
68 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { argument
69 DCHECK(handle != NULL);
70 ::CloseHandle(handle);
224 SharedMemoryHandle SharedMemory::handle() cons function in class:base::SharedMemory
[all...]
/external/libpcap/
H A Dpcap-dag.c486 * 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
[all...]
/external/chromium/webkit/glue/
H A Dwebfileutilities_impl.h35 virtual void closeFile(base::PlatformFile& handle);
36 virtual long long seekFile(base::PlatformFile handle,
39 virtual bool truncateFile(base::PlatformFile handle, long long offset);
40 virtual int readFromFile(base::PlatformFile handle, char* data, int length);
41 virtual int writeToFile(base::PlatformFile handle,
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
H A DSDL_xbios_centscreen.h54 unsigned short handle; /* videomode handle */ member in struct:__anon8368
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/webrtc/src/modules/audio_processing/main/source/
H A Decho_cancellation_impl.cc87 Handle* my_handle = static_cast<Handle*>(handle(handle_index));
127 Handle* my_handle = handle(handle_index);
253 Handle* my_handle = static_cast<Handle*>(handle(0));
307 Handle* handle = NULL; local
308 if (WebRtcAec_Create(&handle) != apm_->kNoError) {
309 handle = NULL;
311 assert(handle != NULL);
314 return handle;
317 int EchoCancellationImpl::DestroyHandle(void* handle) const {
318 assert(handle !
[all...]
/external/qemu/hw/
H A Dbt-hci.c61 } handle[HCI_HANDLES_MAX]; member in struct:bt_hci_s::__anon8411
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) argument
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) argument
625 return !!(hci->lm.role_bmp & (1 << (handle & ~HCI_HANDLE_OFFSET)));
629 uint16_t handle)
628 bt_hci_remote_dev(struct bt_hci_s *hci, uint16_t handle) argument
664 bt_hci_lmp_link_teardown(struct bt_hci_s *hci, uint16_t handle) argument
726 uint16_t handle; local
830 uint16_t handle; local
875 bt_hci_disconnect(struct bt_hci_s *hci, uint16_t handle, int reason) argument
912 uint16_t handle = link->handle; local
928 uint16_t handle = link->handle; local
967 bt_hci_features_req(struct bt_hci_s *hci, uint16_t handle) argument
995 bt_hci_version_req(struct bt_hci_s *hci, uint16_t handle) argument
1017 bt_hci_clkoffset_req(struct bt_hci_s *hci, uint16_t handle) argument
1039 bt_hci_event_mode(struct bt_hci_s *hci, struct bt_link_s *link, uint16_t handle) argument
1071 bt_hci_mode_change(struct bt_hci_s *hci, uint16_t handle, int interval, int mode) argument
1094 bt_hci_mode_cancel(struct bt_hci_s *hci, uint16_t handle, int mode) argument
1269 bt_hci_link_quality_rp(struct bt_hci_s *hci, uint16_t handle) argument
1302 bt_hci_event_auth_complete(struct bt_hci_s *hci, uint16_t handle) argument
1313 bt_hci_event_encrypt_change(struct bt_hci_s *hci, uint16_t handle, uint8_t mode) argument
1336 bt_hci_event_read_remote_ext_features(struct bt_hci_s *hci, uint16_t handle) argument
1349 bt_hci_event_complete_lmp_handle(struct bt_hci_s *hci, uint16_t handle) argument
1362 bt_hci_event_complete_role_discovery(struct bt_hci_s *hci, int status, uint16_t handle, int master) argument
1374 bt_hci_event_complete_flush(struct bt_hci_s *hci, int status, uint16_t handle) argument
1450 bt_hci_event_num_comp_pkts(struct bt_hci_s *hci, uint16_t handle, int packets) argument
1970 bt_hci_lmp_acl_data(struct bt_hci_s *hci, uint16_t handle, const uint8_t *data, int start, int len) argument
2012 uint16_t handle; local
2082 uint16_t handle; local
2186 int handle; local
[all...]
/external/kernel-headers/original/asm-arm/
H A Ddma-mapping.h48 static inline int dma_is_consistent(dma_addr_t handle) argument
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
196 dma_unmap_single(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
220 dma_unmap_page(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
314 dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
322 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument
[all...]
/external/webkit/Source/WebCore/platform/gtk/
H A DFileSystemGtk.cpp230 String openTemporaryFile(const String& prefix, PlatformFileHandle& handle) argument
236 handle = g_file_create_readwrite(file.get(), G_FILE_CREATE_NONE, 0, 0);
237 if (!isHandleValid(handle))
262 void closeFile(PlatformFileHandle& handle) argument
264 if (!isHandleValid(handle))
267 g_io_stream_close(G_IO_STREAM(handle), 0, 0);
268 g_object_unref(handle);
269 handle = invalidPlatformFileHandle;
272 long long seekFile(PlatformFileHandle handle, long long offset, FileSeekOrigin origin) argument
289 if (!g_seekable_seek(G_SEEKABLE(g_io_stream_get_input_stream(G_IO_STREAM(handle))),
295 writeToFile(PlatformFileHandle handle, const char* data, int length) argument
303 readFromFile(PlatformFileHandle handle, char* data, int length) argument
[all...]
/external/chromium/chrome/browser/automation/
H A Dtesting_automation_provider_views.cc116 void TestingAutomationProvider::WindowGetViewBounds(int handle, argument
123 if (window_tracker_->ContainsHandle(handle)) {
124 gfx::NativeWindow window = window_tracker_->GetResource(handle);
144 void TestingAutomationProvider::GetFocusedViewID(int handle, int* view_id) { argument
146 if (window_tracker_->ContainsHandle(handle)) {
147 gfx::NativeWindow window = window_tracker_->GetResource(handle);
158 int handle, int previous_view_id, IPC::Message* reply_message) {
159 if (!window_tracker_->ContainsHandle(handle))
161 gfx::NativeWindow window = window_tracker_->GetResource(handle);
196 // which will handle respondin
157 WaitForFocusedViewIDToChange( int handle, int previous_view_id, IPC::Message* reply_message) argument
[all...]
H A Dautomation_provider.h139 // the associated handle. If the tracker already contains the extension,
140 // the handle is simply returned.
162 // Convert a tab handle into a TabContents. If |tab| is non-NULL a pointer
165 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab);
170 // Returns the associated view for the tab handle passed in.
222 void WindowSimulateDrag(int handle,
227 void HandleUnused(const IPC::Message& message, int handle);
234 void HandleFindRequest(int handle,
247 void JavaScriptStressTestControl(int handle, int cmd, int param);
303 // Returns the extension for the given handle
[all...]
H A Dautomation_provider_win.cc149 int handle,
154 if (browser_tracker_->ContainsHandle(handle) && (drag_path.size() > 1)) {
156 browser_tracker_->GetResource(handle)->window()->GetNativeHandle();
181 Browser* browser = browser_tracker_->GetResource(handle);
282 const IPC::Message& message, int handle, const MSG& msg) {
283 ExternalTabContainer* external_tab = GetExternalTabForHandle(handle);
291 int handle, bool reverse,
293 ExternalTabContainer* external_tab = GetExternalTabForHandle(handle);
310 ExternalTabContainer* AutomationProvider::GetExternalTabForHandle(int handle) { argument
311 if (tab_tracker_->ContainsHandle(handle)) {
148 WindowSimulateDrag( int handle, const std::vector<gfx::Point>& drag_path, int flags, bool press_escape_en_route, IPC::Message* reply_message) argument
281 ProcessUnhandledAccelerator( const IPC::Message& message, int handle, const MSG& msg) argument
290 SetInitialFocus(const IPC::Message& message, int handle, bool reverse, bool restore_focus_to_view) argument
416 OnMessageFromExternalHost(int handle, const std::string& message, const std::string& origin, const std::string& target) argument
427 NavigateInExternalTab( int handle, const GURL& url, const GURL& referrer, AutomationMsg_NavigationResponseValues* status) argument
439 NavigateExternalTabAtIndex( int handle, int navigation_index, AutomationMsg_NavigationResponseValues* status) argument
451 OnRunUnloadHandlers( int handle, IPC::Message* reply_message) argument
459 OnSetZoomLevel(int handle, int zoom_level) argument
[all...]
/external/iproute2/tc/
H A Df_tcindex.c27 static int tcindex_parse_opt(struct filter_util *qu, char *handle, int argc, argument
34 if (handle) {
35 t->tcm_handle = strtoul(handle,&end,0);
92 __u32 handle; local
95 if (get_tc_classid(&handle,*argv)) {
99 addattr_l(n, 4096, TCA_TCINDEX_CLASSID, &handle, 4);
122 struct rtattr *opt, __u32 handle)
131 if (handle != ~0) fprintf(f,"handle 0x%04x ",handle);
121 tcindex_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument
[all...]
/external/qemu/memcheck/
H A Dmemcheck_util.c236 ELFF_HANDLE handle; local
242 handle = elff_init(sym_path);
243 if (handle == NULL) {
247 if (!elff_is_exec(handle)) {
250 if (elff_get_pc_address_info(handle, rel_pc, info)) {
251 elff_close(handle);
256 if (elff_get_pc_address_info(handle, abs_pc, info)) {
257 elff_close(handle);
262 *elff_handle = handle;
/external/quake/quake/src/WinQuake/
H A Dsys_wind.cpp103 void Sys_FileClose (int handle) argument
105 fclose (sys_handles[handle]);
106 sys_handles[handle] = NULL;
109 void Sys_FileSeek (int handle, int position) argument
111 fseek (sys_handles[handle], position, SEEK_SET);
114 int Sys_FileRead (int handle, void *dest, int count) argument
116 return fread (dest, 1, count, sys_handles[handle]);
119 int Sys_FileWrite (int handle, void *data, int count) argument
121 return fwrite (data, 1, count, sys_handles[handle]);
H A Dsys_linux.cpp191 int Sys_FileOpenRead (char *path, int *handle) argument
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) argument
225 return write (handle, src, count);
228 void Sys_FileClose (int handle) argument
230 close (handle);
233 Sys_FileSeek(int handle, int position) argument
238 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
/external/qemu/android/utils/
H A Dmapfile.c95 mapfile_close(MapFile* handle) argument
98 if (CloseHandle(handle)) {
105 return close((int)(ptrdiff_t)handle);
110 mapfile_read(MapFile* handle, void* buf, size_t nbyte) argument
115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) {
125 ret = read((int)(ptrdiff_t)handle, buf, nbyte);
132 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) argument
137 if ((SetFilePointer(handle, convert.LowPart, &convert.HighPart,
143 return mapfile_read(handle, buf, nbyte);
145 ssize_t res = lseek((int)(ptrdiff_t)handle, offse
151 mapfile_map(MapFile* handle, size_t offset, size_t size, int prot, void** mapped_offset, size_t* mapped_size) argument
[all...]
/external/quake/quake/src/QW/client/
H A Dsys_android.c198 int Sys_FileOpenRead (char *path, int *handle) argument
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) argument
232 return write (handle, src, count);
235 void Sys_FileClose (int handle) argument
237 close (handle);
240 Sys_FileSeek(int handle, int position) argument
245 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
H A Dsys_linux.c193 int Sys_FileOpenRead (char *path, int *handle) argument
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) argument
227 return write (handle, src, count);
230 void Sys_FileClose (int handle) argument
232 close (handle);
235 Sys_FileSeek(int handle, int position) argument
240 Sys_FileRead(int handle, void *dest, int count) argument
[all...]
/external/wpa_supplicant/
H A Deap_methods.c188 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
479 void *handle; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_methods.c188 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
507 void *handle; local
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_methods.c188 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
352 void *handle; local
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_methods.c188 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
352 void *handle; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_methods.c188 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
352 void *handle; local
[all...]

Completed in 1091 milliseconds

1234567891011>>