Searched refs:handle (Results 26 - 50 of 2418) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/
H A Dbrowserprocess.py13 def __init__(self, handle):
14 self.handle = handle
15 print 'PID', self.handle.pid
18 return self.handle.returncode
21 return self.handle.poll() is None
27 # Terminating the handle can raise an exception. There is likely no point
43 self.handle.wait()
54 self.handle.terminate()
57 self.handle
[all...]
/external/iptables/include/libiptc/
H A Dlibip6tc.h24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle);
33 const char *ip6tc_first_chain(struct xtc_handle *handle);
34 const char *ip6tc_next_chain(struct xtc_handle *handle);
38 struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle);
54 struct xtc_handle *handle);
64 struct xtc_handle *handle);
70 struct xtc_handle *handle);
[all...]
H A Dlibiptc.h28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
37 const char *iptc_first_chain(struct xtc_handle *handle);
38 const char *iptc_next_chain(struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
50 struct xtc_handle *handle);
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
58 struct xtc_handle *handle);
68 struct xtc_handle *handle);
74 struct xtc_handle *handle);
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
H A Decho_cancellation_unittest.cc28 void* handle = NULL; local
29 ASSERT_EQ(0, WebRtcAec_Create(&handle));
30 EXPECT_TRUE(handle != NULL);
32 EXPECT_EQ(0, WebRtcAec_Free(handle));
36 void* handle = NULL; local
37 ASSERT_EQ(0, WebRtcAec_Create(&handle));
38 EXPECT_TRUE(handle != NULL);
40 AecCore* aec_core = WebRtcAec_aec_core(handle);
43 // level |aec_core| handle.
47 EXPECT_EQ(0, WebRtcAec_Free(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/libsepol/include/sepol/
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,
H A Dinterfaces.h6 #include <sepol/handle.h>
9 extern int sepol_iface_count(sepol_handle_t * handle,
14 extern int sepol_iface_exists(sepol_handle_t * handle,
20 extern int sepol_iface_query(sepol_handle_t * handle,
27 extern int sepol_iface_modify(sepol_handle_t * handle,
38 extern int sepol_iface_iterate(sepol_handle_t * handle,
H A Dnodes.h4 #include <sepol/handle.h>
9 extern int sepol_node_count(sepol_handle_t * handle,
13 extern int sepol_node_exists(sepol_handle_t * handle,
18 extern int sepol_node_query(sepol_handle_t * handle,
24 extern int sepol_node_modify(sepol_handle_t * handle,
35 extern int sepol_node_iterate(sepol_handle_t * handle,
H A Dports.h4 #include <sepol/handle.h>
9 extern int sepol_port_count(sepol_handle_t * handle,
13 extern int sepol_port_exists(sepol_handle_t * handle,
18 extern int sepol_port_query(sepol_handle_t * handle,
24 extern int sepol_port_modify(sepol_handle_t * handle,
35 extern int sepol_port_iterate(sepol_handle_t * handle,
/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/libsepol/src/
H A Ddebug.c4 #include "handle.h"
21 int sepol_msg_get_level(sepol_handle_t * handle) argument
23 return handle->msg_level;
28 const char *sepol_msg_get_channel(sepol_handle_t * handle)
30 return handle->msg_channel;
35 const char *sepol_msg_get_fname(sepol_handle_t * handle)
37 return handle->msg_fname;
45 sepol_handle_t * handle,
51 switch (sepol_msg_get_level(handle)) {
64 sepol_msg_get_channel(handle), sepol_msg_get_fnam
76 sepol_msg_set_callback(sepol_handle_t * handle, __attribute__ ((format(printf, 3, 4))) void (*msg_callback) (void *varg, sepol_handle_t * handle, const char *fmt, ...), void *msg_callback_arg) argument
[all...]
/external/bluetooth/bluedroid/btif/co/
H A Dbta_ag_co.c43 extern int set_audio_state(UINT16 handle, UINT16 codec, UINT8 state, void *param);
71 ** Parameters handle - handle of the AG instance
86 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state, tBTA_AG_PEER_CODEC codec) argument
88 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state)
91 BTIF_TRACE_DEBUG("bta_ag_co_audio_state: handle %d, state %d", handle, state);
96 BTIF_TRACE_DEBUG("bta_ag_co_audio_state(handle %d)::Closed (OFF), codec: 0x%x",
97 handle, codec);
98 set_audio_state(handle, code
140 bta_ag_co_data_open(UINT16 handle, tBTA_SERVICE_ID service) argument
156 bta_ag_co_data_close(UINT16 handle) argument
174 bta_ag_co_tx_write(UINT16 handle, UINT8 * p_data, UINT16 len) argument
[all...]
/external/chromium_org/base/process/
H A Dprocess_handle_posix.cc19 bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { argument
22 *handle = pid;
26 bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { argument
28 // not when opening a "handle".
29 return OpenProcessHandle(pid, handle);
34 ProcessHandle* handle) {
36 // not when opening a "handle".
37 return OpenProcessHandle(pid, handle);
32 OpenProcessHandleWithAccess(ProcessId pid, uint32 access_flags, ProcessHandle* handle) argument
/external/chromium_org/mojo/embedder/
H A Dplatform_handle.h31 PlatformHandle() : handle(INVALID_HANDLE_VALUE) {}
32 explicit PlatformHandle(HANDLE handle) : handle(handle) {}
36 bool is_valid() const { return handle != INVALID_HANDLE_VALUE; }
38 HANDLE handle;
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DHandleAllocator.cpp36 GLuint handle = mFreeValues.back(); local
38 return handle;
43 void HandleAllocator::release(GLuint handle) argument
45 if (handle == mNextValue - 1)
56 if (handle >= mBaseValue)
58 mFreeValues.push_back(handle);
/external/flac/include/FLAC/
H A Dcallback.h56 * for the metadata interfaces to handle I/O.
85 /** This is the opaque handle type used by the callbacks. Typically
97 * \param handle The handle to the data source.
101 typedef size_t (*FLAC__IOCallback_Read) (void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
110 * \param handle The handle to the data source.
114 typedef size_t (*FLAC__IOCallback_Write) (const void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
121 * \param handle The handle t
[all...]
/external/webrtc/src/modules/audio_processing/utility/
H A Ddelay_estimator.h48 // - handle : Pointer to the delay estimation instance.
50 int WebRtc_FreeBinaryDelayEstimator(BinaryDelayEstimator* handle);
53 int WebRtc_CreateBinaryDelayEstimator(BinaryDelayEstimator** handle,
60 // - handle : Pointer to the delay estimation instance.
63 // - handle : Initialized instance.
65 int WebRtc_InitBinaryDelayEstimator(BinaryDelayEstimator* handle);
71 // - handle : Pointer to the delay estimation instance.
76 // - handle : Updated instance.
83 int WebRtc_ProcessBinarySpectrum(BinaryDelayEstimator* handle,
91 // - handle
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dextent.c160 * Begin functions to handle an inode's extent information
162 void ext2fs_extent_free(ext2_extent_handle_t handle) argument
166 if (!handle)
169 if (handle->path) {
170 for (i=1; i <= handle->max_depth; i++) {
171 if (handle->path[i].buf)
172 ext2fs_free_mem(&handle->path[i].buf);
174 ext2fs_free_mem(&handle->path);
176 ext2fs_free_mem(&handle);
189 struct ext2_extent_handle *handle; local
274 ext2fs_extent_get(ext2_extent_handle_t handle, int flags, struct ext2fs_extent *extent) argument
538 update_path(ext2_extent_handle_t handle) argument
606 ext2fs_extent_goto2(ext2_extent_handle_t handle, int leaf_level, blk64_t blk) argument
693 ext2fs_extent_goto(ext2_extent_handle_t handle, blk64_t blk) argument
708 ext2fs_extent_fix_parents(ext2_extent_handle_t handle) argument
763 ext2fs_extent_replace(ext2_extent_handle_t handle, int flags EXT2FS_ATTR((unused)), struct ext2fs_extent *extent) argument
821 ext2fs_extent_node_split(ext2_extent_handle_t handle) argument
1049 ext2fs_extent_insert(ext2_extent_handle_t handle, int flags, struct ext2fs_extent *extent) argument
1145 ext2fs_extent_set_bmap(ext2_extent_handle_t handle, blk64_t logical, blk64_t physical, int flags) argument
1458 ext2fs_extent_delete(ext2_extent_handle_t handle, int flags) argument
1533 ext2fs_extent_get_info(ext2_extent_handle_t handle, struct ext2_extent_info *info) argument
[all...]
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_x11.cc19 const gfx::GpuMemoryBufferHandle& handle,
23 switch (handle.type) {
25 x11_pixmap_factory_.CreateGpuMemoryBuffer(handle.global_id,
26 handle.pixmap);
27 return handle;
34 const gfx::GpuMemoryBufferHandle& handle) OVERRIDE {
35 switch (handle.type) {
37 x11_pixmap_factory_.DestroyGpuMemoryBuffer(handle.global_id);
45 const gfx::GpuMemoryBufferHandle& handle,
49 switch (handle
[all...]
/external/deqp/framework/delibs/dethread/win32/
H A DdeSemaphoreWin32.c38 HANDLE handle; local
42 handle = CreateSemaphore(DE_NULL, initialValue, WIN32_SEM_MAX_VALUE, DE_NULL);
43 if (!handle)
46 DE_ASSERT((deSemaphore)handle != 0);
48 return (deSemaphore)handle;
53 HANDLE handle = (HANDLE)semaphore; local
54 CloseHandle(handle);
59 HANDLE handle = (HANDLE)semaphore; local
60 BOOL ret = ReleaseSemaphore(handle, 1, DE_NULL);
66 HANDLE handle local
73 HANDLE handle = (HANDLE)semaphore; local
[all...]
/external/libpcap/
H A Dpcap-bt-linux.c187 bt_activate(pcap_t* handle) argument
189 struct pcap_bt *handlep = handle->priv;
197 if (sscanf(handle->opt.source, BT_IFACE"%d", &dev_id) != 1)
199 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
201 handle->opt.source);
206 handle->bufsize = handle->snapshot+BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header);
207 handle->offset = BT_CTRL_SIZE;
208 handle->linktype = DLT_BLUETOOTH_HCI_H4_WITH_PHDR;
210 handle
304 bt_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
373 bt_inject_linux(pcap_t *handle, const void *buf, size_t size) argument
382 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
[all...]
/external/chromium_org/mojo/public/cpp/utility/
H A Drun_loop_handler.h12 // Used by RunLoop to notify when a handle is either ready or has become
16 virtual void OnHandleReady(const Handle& handle) = 0;
17 virtual void OnHandleError(const Handle& handle, MojoResult result) = 0;
/external/chromium_org/ppapi/shared_impl/
H A Dplatform_file.h14 PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle);
15 PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle);

Completed in 1528 milliseconds

1234567891011>>