Searched refs:handle (Results 1 - 25 of 1162) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2002-01-24-HandleCallInsnSEGV.c5 void ap_os_dso_unload(void *handle) argument
7 dlclose(handle);
/external/webrtc/src/modules/audio_processing/utility/
H A Dring_buffer.h19 int WebRtc_CreateBuffer(void** handle,
22 int WebRtc_InitBuffer(void* handle);
23 int WebRtc_FreeBuffer(void* handle);
32 size_t WebRtc_ReadBuffer(void* handle,
38 size_t WebRtc_WriteBuffer(void* handle, const void* data, size_t element_count);
45 int WebRtc_MoveReadPtr(void* handle, int element_count);
48 size_t WebRtc_available_read(const void* handle);
51 size_t WebRtc_available_write(const void* handle);
H A Ddelay_estimator_wrapper.h21 // - handle : Pointer to the delay estimation instance.
23 int WebRtc_FreeDelayEstimator(void* handle);
29 // - handle : Instance that should be created.
46 // - handle : Created instance.
48 int WebRtc_CreateDelayEstimator(void** handle,
56 // - handle : Pointer to the delay estimation instance.
59 // - handle : Initialized instance.
61 int WebRtc_InitDelayEstimator(void* handle);
67 // - handle : Pointer to the delay estimation instance.
77 // - handle
[all...]
H A Ddelay_estimator.c62 int WebRtc_FreeBinaryDelayEstimator(BinaryDelayEstimator* handle) { argument
63 assert(handle != NULL);
65 if (handle->mean_bit_counts != NULL) {
66 free(handle->mean_bit_counts);
67 handle->mean_bit_counts = NULL;
69 if (handle->bit_counts != NULL) {
70 free(handle->bit_counts);
71 handle->bit_counts = NULL;
73 if (handle->binary_far_history != NULL) {
74 free(handle
91 WebRtc_CreateBinaryDelayEstimator(BinaryDelayEstimator** handle, int max_delay, int lookahead) argument
162 WebRtc_InitBinaryDelayEstimator(BinaryDelayEstimator* handle) argument
184 WebRtc_ProcessBinarySpectrum(BinaryDelayEstimator* handle, uint32_t binary_far_spectrum, uint32_t binary_near_spectrum) argument
297 WebRtc_binary_last_delay(BinaryDelayEstimator* handle) argument
302 WebRtc_history_size(BinaryDelayEstimator* handle) argument
[all...]
/external/libsepol/include/sepol/
H A Ddebug.h4 #include <sepol/handle.h>
14 extern int sepol_msg_get_level(sepol_handle_t * handle);
16 extern const char *sepol_msg_get_channel(sepol_handle_t * handle);
18 extern const char *sepol_msg_get_fname(sepol_handle_t * handle);
25 extern void sepol_msg_set_callback(sepol_handle_t * handle,
31 handle,
H A Dcontext_record.h4 #include <sepol/handle.h>
15 extern int sepol_context_set_user(sepol_handle_t * handle,
21 extern int sepol_context_set_role(sepol_handle_t * handle,
27 extern int sepol_context_set_type(sepol_handle_t * handle,
33 extern int sepol_context_set_mls(sepol_handle_t * handle,
37 extern int sepol_context_create(sepol_handle_t * handle,
40 extern int sepol_context_clone(sepol_handle_t * handle,
47 extern int sepol_context_from_string(sepol_handle_t * handle,
50 extern int sepol_context_to_string(sepol_handle_t * handle,
/external/qemu/elff/
H A Delff_api.cc34 elff_close(ELFF_HANDLE handle) argument
36 if (handle != NULL) {
37 delete reinterpret_cast<ElfFile*>(handle);
42 elff_is_exec(ELFF_HANDLE handle) argument
44 assert(handle != NULL);
45 if (handle == NULL) {
49 return reinterpret_cast<ElfFile*>(handle)->is_exec();
53 elff_get_pc_address_info(ELFF_HANDLE handle, argument
57 assert(handle != NULL && address_info != NULL);
58 if (handle
72 elff_free_pc_address_info(ELFF_HANDLE handle, Elf_AddressInfo* address_info) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/loadso/beos/
H A DSDL_sysloadso.c37 void *handle = NULL; local
42 handle = (void *) (library_id);
44 return (handle);
48 SDL_LoadFunction(void *handle, const char *name) argument
51 image_id library_id = (image_id) handle;
60 SDL_UnloadObject(void *handle) argument
63 if (handle != NULL) {
64 library_id = (image_id) handle;
/external/qemu/distrib/sdl-1.2.15/src/loadso/mint/
H A DSDL_sysloadso.c38 void *handle = (void *)ldg_open((char *)sofile, ldg_global); local
39 if ( handle == NULL ) {
42 return(handle);
45 void *SDL_LoadFunction(void *handle, const char *name) argument
48 void *symbol = (void *)ldg_find((char *)name, (LDG *)handle);
55 void SDL_UnloadObject(void *handle) argument
57 if ( handle != NULL ) {
58 ldg_close((LDG *)handle, ldg_global);
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
H A DEASLib.h28 EAS_EXPORT EAS_LibShutdown (EAS_DATA_HANDLE handle) argument
30 EAS_Shutdown(handle);
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
H A DSDL_ataridevmouse.c42 static int handle = -1; variable
61 handle = open(mousedev, 0);
65 if (handle<0) {
66 handle = open(DEVICE_NAME, 0);
69 if (handle<0) {
70 handle = -1;
75 r = fcntl(handle, F_GETFL, 0);
77 close(handle);
78 handle = -1;
84 r = fcntl(handle, F_SETF
[all...]
/external/chromium/net/base/
H A Dcrypto_module_nss.cc16 CryptoModule* CryptoModule::CreateFromHandle(OSModuleHandle handle) { argument
17 return new CryptoModule(handle);
20 CryptoModule::CryptoModule(OSModuleHandle handle) : module_handle_(handle) { argument
/external/iproute2/include/
H A Ddlfcn.h22 static inline void *dlsym(void *handle, const char *sym) argument
24 if (handle != _FAKE_DLFCN_HDL)
34 static inline int dlclose(void *handle) argument
36 return (handle == _FAKE_DLFCN_HDL) ? 0 : 1;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMChildIterNodeList.java74 * @param parentHandle DTM node-handle integer
96 int handle=m_firstChild;
97 while(--index>=0 && handle!=DTM.NULL) {
98 handle=m_parentDTM.getNextSibling(handle);
100 if (handle == DTM.NULL) {
103 return m_parentDTM.getNode(handle);
112 for (int handle=m_firstChild;
113 handle!=DTM.NULL;
114 handle
[all...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DSFTPInputStream.java16 private SFTPv3FileHandle handle; field in class:SFTPInputStream
23 public SFTPInputStream(SFTPv3FileHandle handle) { argument
24 this.handle = handle;
38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len);
62 int read = handle.getClient().read(handle, readOffset, buffer, 0, 1);
84 handle.getClient().closeFile(handle);
[all...]
H A DSFTPOutputStream.java16 private SFTPv3FileHandle handle; field in class:SFTPOutputStream
23 public SFTPOutputStream(SFTPv3FileHandle handle) { argument
24 this.handle = handle;
44 handle.getClient().write(handle, writeOffset, buffer, offset, len);
53 handle.getClient().write(handle, writeOffset, buffer, 0, 1);
65 handle.getClient().closeFile(handle);
[all...]
/external/valgrind/main/cachegrind/tests/
H A Ddlclose.c15 void *handle; local
19 handle = dlopen ("./myprint.so", RTLD_LAZY);
20 if (!handle) {
25 myprint = dlsym(handle, "myprint");
34 dlclose(handle);
/external/iptables/include/libiptc/
H A Dlibip6tc.h24 int ip6tc_is_chain(const char *chain, struct ip6tc_handle *const handle);
33 const char *ip6tc_first_chain(struct ip6tc_handle *handle);
34 const char *ip6tc_next_chain(struct ip6tc_handle *handle);
38 struct ip6tc_handle *handle);
42 struct ip6tc_handle *handle);
46 struct ip6tc_handle *handle);
49 int ip6tc_builtin(const char *chain, struct ip6tc_handle *const handle);
54 struct ip6tc_handle *handle);
64 struct ip6tc_handle *handle);
70 struct ip6tc_handle *handle);
[all...]
H A Dlibiptc.h28 int iptc_is_chain(const char *chain, struct iptc_handle *const handle);
37 const char *iptc_first_chain(struct iptc_handle *handle);
38 const char *iptc_next_chain(struct iptc_handle *handle);
42 struct iptc_handle *handle);
46 struct iptc_handle *handle);
50 struct iptc_handle *handle);
53 int iptc_builtin(const char *chain, struct iptc_handle *const handle);
58 struct iptc_handle *handle);
68 struct iptc_handle *handle);
74 struct iptc_handle *handle);
[all...]
/external/iproute2/include/libiptc/
H A Dlibip6tc.h20 /* Transparent handle type. */
24 int ip6tc_is_chain(const char *chain, const ip6tc_handle_t handle);
33 const char *ip6tc_first_chain(ip6tc_handle_t *handle);
34 const char *ip6tc_next_chain(ip6tc_handle_t *handle);
38 ip6tc_handle_t *handle);
42 ip6tc_handle_t *handle);
46 ip6tc_handle_t *handle);
49 int ip6tc_builtin(const char *chain, const ip6tc_handle_t handle);
54 ip6tc_handle_t *handle);
64 ip6tc_handle_t *handle);
[all...]
H A Dlibiptc.h28 /* Transparent handle type. */
32 int iptc_is_chain(const char *chain, const iptc_handle_t handle);
41 const char *iptc_first_chain(iptc_handle_t *handle);
42 const char *iptc_next_chain(iptc_handle_t *handle);
46 iptc_handle_t *handle);
50 iptc_handle_t *handle);
54 iptc_handle_t *handle);
57 int iptc_builtin(const char *chain, const iptc_handle_t handle);
62 iptc_handle_t *handle);
72 iptc_handle_t *handle);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/loadso/dlopen/
H A DSDL_sysloadso.c36 void *handle = dlopen(sofile, RTLD_NOW); local
38 if ( handle == NULL ) {
41 return(handle);
44 void *SDL_LoadFunction(void *handle, const char *name) argument
46 void *symbol = dlsym(handle, name);
53 symbol = dlsym(handle, _name);
62 void SDL_UnloadObject(void *handle) argument
64 if ( handle != NULL ) {
65 dlclose(handle);
/external/qemu/distrib/sdl-1.2.15/src/loadso/os2/
H A DSDL_sysloadso.c38 HMODULE handle = NULL; local
40 APIRET ulrc = DosLoadModule(buf, sizeof (buf), (char *) sofile, &handle);
43 if ((ulrc != NO_ERROR) || (handle == NULL))
46 return((void *) handle);
49 void *SDL_LoadFunction(void *handle, const char *name) argument
53 APIRET ulrc = DosQueryProcAddr((HMODULE)handle, 0, (char *)name, &symbol);
55 loaderror = "Invalid module handle";
65 void SDL_UnloadObject(void *handle) argument
67 if ( handle != NULL )
68 DosFreeModule((HMODULE) handle);
[all...]
/external/chromium/chrome/browser/automation/
H A Dautomation_resource_tracker.cc21 int handle = GenerateHandle(); local
22 DCHECK(!ContainsHandleImpl(handle));
24 resource_to_handle_[resource] = handle;
25 handle_to_resource_[handle] = resource;
29 return handle;
36 int handle = resource_to_handle_[resource]; local
37 DCHECK_EQ(resource, handle_to_resource_[handle]);
42 handle_to_resource_.erase(handle);
46 static int handle = 0; local
47 return ++handle;
54 ContainsHandleImpl(int handle) argument
58 GetResourceImpl(int handle) argument
[all...]
/external/libpcap/
H A Dpcap-linux.c215 static int fix_program(pcap_t *handle, struct sock_fprog *fcode);
217 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
218 static int reset_kernel_filter(pcap_t *handle);
227 * Get a handle for a live capture from the given device. You can
240 pcap_t *handle; local
258 /* Allocate a handle for this session. */
260 handle = malloc(sizeof(*handle));
261 if (handle == NULL) {
269 memset(handle,
446 pcap_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
461 pcap_read_packet(pcap_t *handle, pcap_handler callback, u_char *userdata) argument
743 pcap_inject_linux(pcap_t *handle, const void *buf, size_t size) argument
794 pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
925 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) argument
1063 pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d) argument
1098 map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok) argument
1388 live_open_new(pcap_t *handle, const char *device, int promisc, int to_ms, char *ebuf) argument
1694 struct pcap *handle; local
1778 live_open_old(pcap_t *handle, const char *device, int promisc, int to_ms, char *ebuf) argument
1982 fix_program(pcap_t *handle, struct sock_fprog *fcode) argument
2106 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument
2208 reset_kernel_filter(pcap_t *handle) argument
[all...]

Completed in 433 milliseconds

1234567891011>>