Searched refs:handle (Results 151 - 175 of 2331) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dshared_memory.cc21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) argument
24 handle_(handle),
/external/chromium_org/ui/base/win/
H A Dtouch_input.cc9 BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, argument
19 return get_touch_input_info_func(handle, count, pointer, size);
/external/libsepol/include/sepol/
H A Diface_record.h4 #include <sepol/handle.h>
22 extern int sepol_iface_key_create(sepol_handle_t * handle,
26 extern int sepol_iface_key_extract(sepol_handle_t * handle,
35 extern int sepol_iface_set_name(sepol_handle_t * handle,
41 extern int sepol_iface_set_ifcon(sepol_handle_t * handle,
46 extern int sepol_iface_set_msgcon(sepol_handle_t * handle,
50 extern int sepol_iface_create(sepol_handle_t * handle,
53 extern int sepol_iface_clone(sepol_handle_t * handle,
/external/libsepol/include/sepol/policydb/
H A Dlink.h9 #include <sepol/handle.h>
16 extern int link_modules(sepol_handle_t * handle,
/external/libsepol/src/
H A Dhandle.h4 #include <sepol/handle.h>
15 sepol_handle_t * handle, const char *fmt, ...);
H A Dcontext.h8 #include <sepol/handle.h>
11 extern int context_from_record(sepol_handle_t * handle,
16 extern int context_to_record(sepol_handle_t * handle,
22 extern int context_from_string(sepol_handle_t * handle,
32 extern int context_to_string(sepol_handle_t * handle,
/external/qemu/distrib/sdl-1.2.15/src/loadso/macos/
H A DSDL_sysloadso.c40 void *handle = NULL; local
70 handle = (void *)(library_id);
74 return(handle);
77 void *SDL_LoadFunction(void *handle, const char *name) argument
82 CFragConnectionID library_id = (CFragConnectionID)handle;
97 void SDL_UnloadObject(void *handle) argument
100 if ( handle != NULL ) {
101 library_id = (CFragConnectionID)handle;
/external/chromium_org/mojo/common/test/
H A Dmultiprocess_test_helper_unittest.cc21 bool IsNonBlocking(const embedder::PlatformHandle& handle) { argument
27 return fcntl(handle.fd, F_GETFL) & O_NONBLOCK;
31 bool WriteByte(const embedder::PlatformHandle& handle, char c) { argument
33 BlockingWrite(handle, &c, 1, &bytes_written);
37 bool ReadByte(const embedder::PlatformHandle& handle, char* c) { argument
39 BlockingRead(handle, c, 1, &bytes_read);
70 // Take ownership of the handle.
71 embedder::ScopedPlatformHandle handle = helper.server_platform_handle.Pass(); local
73 // The handle should be non-blocking.
74 EXPECT_TRUE(IsNonBlocking(handle
93 embedder::ScopedPlatformHandle handle = local
[all...]
/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_unittest.cc60 VadInst* handle = NULL; local
77 ASSERT_EQ(0, WebRtcVad_Create(&handle));
80 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0]));
81 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0]));
84 ASSERT_EQ(0, WebRtcVad_Init(handle));
88 EXPECT_EQ(-1, WebRtcVad_set_mode(handle,
91 EXPECT_EQ(-1, WebRtcVad_set_mode(handle,
97 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], NULL, kFrameLengths[0]));
99 EXPECT_EQ(-1, WebRtcVad_Process(handle, 9999, speech, kFrameLengths[0]));
101 EXPECT_EQ(0, WebRtcVad_Process(handle, kRate
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dvoice_detection_impl.cc72 int vad_ret = WebRtcVad_Process(static_cast<Handle*>(handle(0)),
157 Handle* handle = NULL; local
158 if (WebRtcVad_Create(&handle) != apm_->kNoError) {
159 handle = NULL;
161 assert(handle != NULL);
164 return handle;
167 void VoiceDetectionImpl::DestroyHandle(void* handle) const {
168 WebRtcVad_Free(static_cast<Handle*>(handle));
171 int VoiceDetectionImpl::InitializeHandle(void* handle) const {
172 return WebRtcVad_Init(static_cast<Handle*>(handle));
[all...]
/external/webrtc/src/modules/audio_processing/
H A Dvoice_detection_impl.cc77 int vad_ret = WebRtcVad_Process(static_cast<Handle*>(handle(0)),
170 Handle* handle = NULL; local
171 if (WebRtcVad_Create(&handle) != apm_->kNoError) {
172 handle = NULL;
174 assert(handle != NULL);
177 return handle;
180 int VoiceDetectionImpl::DestroyHandle(void* handle) const {
181 return WebRtcVad_Free(static_cast<Handle*>(handle));
184 int VoiceDetectionImpl::InitializeHandle(void* handle) const {
185 return WebRtcVad_Init(static_cast<Handle*>(handle));
[all...]
H A Dnoise_suppression_impl.cc67 Handle* my_handle = static_cast<Handle*>(handle(i));
69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)),
75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)),
128 Handle* handle = NULL; local
130 if (WebRtcNs_Create(&handle) != apm_->kNoError)
132 if (WebRtcNsx_Create(&handle) != apm_->kNoError)
135 handle = NULL;
137 assert(handle != NULL);
140 return handle;
143 int NoiseSuppressionImpl::DestroyHandle(void* handle) cons
[all...]
H A Dprocessing_component.h35 void* handle(int index) const;
40 virtual int InitializeHandle(void* handle) const = 0;
41 virtual int ConfigureHandle(void* handle) const = 0;
42 virtual int DestroyHandle(void* handle) const = 0;
44 virtual int GetHandleError(void* handle) const = 0;
/external/chromium_org/ipc/
H A Dipc_platform_file.cc13 PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle, argument
21 if (handle == INVALID_HANDLE_VALUE ||
23 handle,
34 // When we're not closing the source, we need to duplicate the handle and take
36 // generate IPC messages, and the handle must remain valid until it's sent to
38 // close the source handle before the message is sent, creating a race
40 int fd = close_source_handle ? handle : ::dup(handle);
/external/chromium_org/mojo/bindings/js/
H A Dhandle.cc5 #include "mojo/bindings/js/handle.h"
11 HandleWrapper::HandleWrapper(MojoHandle handle) argument
12 : handle_(mojo::Handle(handle)) {
33 gin::Handle<HandleWrapper> handle; local
34 if (!Converter<gin::Handle<HandleWrapper> >::FromV8(isolate, val, &handle))
37 *out = handle->get();
/external/chromium_org/mojo/services/gles2/
H A Dmojo_buffer_backing.cc12 MojoBufferBacking::MojoBufferBacking(mojo::ScopedSharedBufferHandle handle, argument
15 : handle_(handle.Pass()), memory_(memory), size_(size) {}
21 mojo::ScopedSharedBufferHandle handle,
25 handle.get(), 0, size, &memory, MOJO_MAP_BUFFER_FLAG_NONE);
30 new MojoBufferBacking(handle.Pass(), memory, size));
20 Create( mojo::ScopedSharedBufferHandle handle, size_t size) argument
/external/chromium_org/ppapi/cpp/private/
H A Dpass_file_handle.h15 // A wrapper class for PP_FileHandle to make sure a file handle is
16 // closed. This object takes the ownership of the file handle when it
22 // This constructor takes the ownership of |handle|.
23 explicit PassFileHandle(PP_FileHandle handle);
24 // Moves the ownership of |handle| to this object.
25 PassFileHandle(PassFileHandle& handle);
28 // Releases |handle_|. The caller must close the file handle returned.
35 PP_FileHandle handle; member in struct:pp::PassFileHandle::PassFileHandleRef
37 : handle(h) {
43 : handle_(ref.handle) {
[all...]
/external/libselinux/include/selinux/
H A Dlabel.h60 * selabel_open - Create a labeling handle.
68 * backend. Return value is the created handle on success or NULL with
76 * selabel_close - Close a labeling handle.
77 * @handle: specifies handle to close
79 * Destroy the specified handle, closing files, freeing allocated memory,
80 * etc. The handle may not be further used after it has been closed.
82 void selabel_close(struct selabel_handle *handle);
86 * @handle: specifies backend instance to query
97 int selabel_lookup(struct selabel_handle *handle, cha
[all...]
/external/qemu/distrib/libselinux/include/selinux/
H A Dlabel.h60 * selabel_open - Create a labeling handle.
68 * backend. Return value is the created handle on success or NULL with
76 * selabel_close - Close a labeling handle.
77 * @handle: specifies handle to close
79 * Destroy the specified handle, closing files, freeing allocated memory,
80 * etc. The handle may not be further used after it has been closed.
82 void selabel_close(struct selabel_handle *handle);
86 * @handle: specifies backend instance to query
97 int selabel_lookup(struct selabel_handle *handle, cha
[all...]
/external/libxml2/
H A Dxmlmodule.c24 void *handle; member in struct:_xmlModule
28 static int xmlModulePlatformClose(void *handle);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
70 * Returns a handle for the module or NULL in case of error
85 module->handle = xmlModulePlatformOpen(name);
87 if (module->handle == NULL) {
125 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
141 * @module: the module handle
161 rc = xmlModulePlatformClose(module->handle);
177 * @module: the module handle
231 xmlModulePlatformClose(void *handle) argument
243 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
275 xmlModulePlatformClose(void *handle) argument
287 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
320 xmlModulePlatformClose(void *handle) argument
335 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
373 xmlModulePlatformClose(void *handle) argument
392 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
417 void *handle; local
435 xmlModulePlatformClose(void *handle) argument
447 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
[all...]
/external/chromium-trace/trace-viewer/src/ui/
H A Ddrag_handle.css6 x-drag-handle {
12 x-drag-handle.horizontal-drag-handle {
25 x-drag-handle.vertical-drag-handle {
/external/chromium_org/third_party/webrtc/common_video/
H A Dtexture_video_frame_unittest.cc35 NativeHandleImpl handle; local
36 TextureVideoFrame frame(&handle, 640, 480, 100, 10);
41 EXPECT_EQ(&handle, frame.native_handle());
54 NativeHandleImpl handle; local
55 EXPECT_EQ(0, handle.ref_count());
56 TextureVideoFrame *frame = new TextureVideoFrame(&handle, 640, 480, 100, 200);
57 EXPECT_EQ(1, handle.ref_count());
59 EXPECT_EQ(0, handle.ref_count());
63 NativeHandleImpl handle; local
64 TextureVideoFrame frame1(&handle, 64
[all...]
/external/libpcap/
H A Dpcap-linux.c356 static void destroy_ring(pcap_t *handle);
357 static int create_ring(pcap_t *handle, int *status);
358 static int prepare_tpacket_socket(pcap_t *handle);
387 static int enter_rfmon_mode(pcap_t *handle, int sock_fd,
390 static int iface_get_offload(pcap_t *handle);
394 static int fix_program(pcap_t *handle, struct sock_fprog *fcode,
397 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
398 static int reset_kernel_filter(pcap_t *handle);
409 pcap_t *handle; local
411 handle
513 get_mac80211_phydev(pcap_t *handle, const char *device, char *phydev_path, size_t phydev_max_pathlen) argument
589 nl80211_init(pcap_t *handle, struct nl80211_state *state, const char *device) argument
639 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument
735 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument
789 enter_rfmon_mode_mac80211(pcap_t *handle, int sock_fd, const char *device) argument
916 pcap_can_set_rfmon_linux(pcap_t *handle) argument
1236 pcap_activate_linux(pcap_t *handle) argument
1398 pcap_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
1408 pcap_set_datalink_linux(pcap_t *handle, int dlt) argument
1420 linux_check_direction(const pcap_t *handle, const struct sockaddr_ll *sll) argument
1456 pcap_read_packet(pcap_t *handle, pcap_handler callback, u_char *userdata) argument
1792 pcap_inject_linux(pcap_t *handle, const void *buf, size_t size) argument
1844 pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
2361 pcap_setfilter_linux_common(pcap_t *handle, struct bpf_program *filter, int is_mmapped) argument
2526 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) argument
2537 pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d) argument
2609 map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok) argument
2995 activate_new(pcap_t *handle) argument
3354 activate_mmap(pcap_t *handle, int *status) argument
3452 init_tpacket(pcap_t *handle, int version, const char *version_str) argument
3507 prepare_tpacket_socket(pcap_t *handle) argument
3566 create_ring(pcap_t *handle, int *status) argument
3929 destroy_ring(pcap_t *handle) argument
3969 pcap_t *handle = sp->pd; local
4026 pcap_get_ring_frame(pcap_t *handle, int status) argument
4061 pcap_wait_for_frames_mmap(pcap_t *handle) argument
4171 pcap_handle_packet_mmap( pcap_t *handle, pcap_handler callback, u_char *user, unsigned char *frame, unsigned int tp_len, unsigned int tp_mac, unsigned int tp_snaplen, unsigned int tp_sec, unsigned int tp_usec, int tp_vlan_tci_valid, __u16 tp_vlan_tci) argument
4305 pcap_read_linux_mmap_v1(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
4379 pcap_read_linux_mmap_v2(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
4458 pcap_read_linux_mmap_v3(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
4561 pcap_setfilter_linux_mmap(pcap_t *handle, struct bpf_program *filter) argument
4777 enter_rfmon_mode_wext(pcap_t *handle, int sock_fd, const char *device) argument
5407 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument
5447 iface_ethtool_ioctl(pcap_t *handle, int cmd, const char *cmdname) argument
5476 iface_get_offload(pcap_t *handle) argument
5553 activate_old(pcap_t *handle) argument
5836 fix_program(pcap_t *handle, struct sock_fprog *fcode, int is_mmapped) argument
5974 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument
6076 reset_kernel_filter(pcap_t *handle) argument
[all...]
/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_ci.c53 void bta_pan_ci_tx_ready(UINT16 handle) argument
59 p_buf->layer_specific = handle;
78 void bta_pan_ci_rx_ready(UINT16 handle) argument
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) argument
111 p_buf->hdr.layer_specific = handle;
130 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, argument
151 p_buf->layer_specific = handle;
173 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADD argument
201 bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16* p_protocol, BOOLEAN* p_ext, BOOLEAN* p_forward) argument
234 bta_pan_ci_set_mfilters(UINT16 handle, UINT16 num_mcast_filters, UINT8 *p_start_array, UINT8 *p_end_array) argument
253 bta_pan_ci_set_pfilters(UINT16 handle, UINT16 num_filters, UINT16 *p_start_array, UINT16 *p_end_array) argument
261 bta_pan_ci_tx_ready(UINT16 handle) argument
266 bta_pan_ci_rx_ready(UINT16 handle) argument
271 bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable) argument
277 bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument
287 bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, BOOLEAN* p_ext, BOOLEAN* p_forward) argument
299 bta_pan_ci_set_pfilters(UINT16 handle, UINT16 num_filters, UINT16 *p_start_array, UINT16 *p_end_array) argument
307 bta_pan_ci_set_mfilters(UINT16 handle, UINT16 num_mcast_filters, UINT8 *p_start_array, UINT8 *p_end_array) argument
[all...]
/external/chromium_org/third_party/libxml/src/
H A Dxmlmodule.c24 void *handle; member in struct:_xmlModule
28 static int xmlModulePlatformClose(void *handle);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
66 * Returns a handle for the module or NULL in case of error
81 module->handle = xmlModulePlatformOpen(name);
83 if (module->handle == NULL) {
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
133 * @module: the module handle
153 rc = xmlModulePlatformClose(module->handle);
169 * @module: the module handle
223 xmlModulePlatformClose(void *handle) argument
235 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
267 xmlModulePlatformClose(void *handle) argument
279 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
312 xmlModulePlatformClose(void *handle) argument
327 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
358 xmlModulePlatformClose(void *handle) argument
377 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
402 void *handle; local
420 xmlModulePlatformClose(void *handle) argument
432 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
[all...]

Completed in 765 milliseconds

1234567891011>>