Searched refs:handle (Results 76 - 100 of 2418) sorted by relevance

1234567891011>>

/external/libsepol/include/sepol/
H A Duser_record.h5 #include <sepol/handle.h>
13 extern int sepol_user_key_create(sepol_handle_t * handle,
19 extern int sepol_user_key_extract(sepol_handle_t * handle,
34 extern int sepol_user_set_name(sepol_handle_t * handle,
40 extern int sepol_user_set_mlslevel(sepol_handle_t * handle,
45 extern int sepol_user_set_mlsrange(sepol_handle_t * handle,
51 extern int sepol_user_add_role(sepol_handle_t * handle,
58 extern int sepol_user_get_roles(sepol_handle_t * handle,
63 extern int sepol_user_set_roles(sepol_handle_t * handle,
68 extern int sepol_user_create(sepol_handle_t * handle, sepol_user_
[all...]
H A Dnode_record.h6 #include <sepol/handle.h>
23 extern int sepol_node_key_create(sepol_handle_t * handle,
32 extern int sepol_node_key_extract(sepol_handle_t * handle,
39 extern int sepol_node_get_addr(sepol_handle_t * handle,
42 extern int sepol_node_get_addr_bytes(sepol_handle_t * handle,
46 extern int sepol_node_set_addr(sepol_handle_t * handle,
50 extern int sepol_node_set_addr_bytes(sepol_handle_t * handle,
55 extern int sepol_node_get_mask(sepol_handle_t * handle,
58 extern int sepol_node_get_mask_bytes(sepol_handle_t * handle,
62 extern int sepol_node_set_mask(sepol_handle_t * handle,
[all...]
H A Dboolean_record.h5 #include <sepol/handle.h>
13 extern int sepol_bool_key_create(sepol_handle_t * handle,
19 extern int sepol_bool_key_extract(sepol_handle_t * handle,
34 extern int sepol_bool_set_name(sepol_handle_t * handle,
43 extern int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr);
45 extern int sepol_bool_clone(sepol_handle_t * handle,
H A Dbooleans.h7 #include <sepol/handle.h>
28 extern int sepol_bool_set(sepol_handle_t * handle,
34 extern int sepol_bool_count(sepol_handle_t * handle,
38 extern int sepol_bool_exists(sepol_handle_t * handle,
43 extern int sepol_bool_query(sepol_handle_t * handle,
54 extern int sepol_bool_iterate(sepol_handle_t * handle,
H A Dusers.h6 #include <sepol/handle.h>
27 extern int sepol_user_modify(sepol_handle_t * handle,
33 extern int sepol_user_count(sepol_handle_t * handle,
37 extern int sepol_user_exists(sepol_handle_t * handle,
42 extern int sepol_user_query(sepol_handle_t * handle,
52 extern int sepol_user_iterate(sepol_handle_t * handle,
/external/bluetooth/bluedroid/bta/include/
H A Dbta_pan_ci.h50 BTA_API extern void bta_pan_ci_tx_ready(UINT16 handle);
65 BTA_API extern void bta_pan_ci_rx_ready(UINT16 handle);
73 ** disable data flow when it is congested and cannot handle
82 BTA_API extern void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable);
99 BTA_API extern void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext);
114 BTA_API extern BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol,
127 BTA_API extern void bta_pan_ci_set_pfilters(UINT16 handle, UINT16 num_filters, UINT16 *p_start_array, UINT16 *p_end_array);
140 BTA_API extern void bta_pan_ci_set_mfilters(UINT16 handle, UINT16 num_mcast_filters, UINT8 *p_start_array,
/external/chromium_org/media/audio/alsa/
H A Dalsa_wrapper.cc17 int AlsaWrapper::PcmOpen(snd_pcm_t** handle, const char* name, argument
19 return snd_pcm_open(handle, name, stream, mode);
38 int AlsaWrapper::PcmClose(snd_pcm_t* handle) { argument
39 return snd_pcm_close(handle);
42 int AlsaWrapper::PcmPrepare(snd_pcm_t* handle) { argument
43 return snd_pcm_prepare(handle);
46 int AlsaWrapper::PcmDrop(snd_pcm_t* handle) { argument
47 return snd_pcm_drop(handle);
50 int AlsaWrapper::PcmDelay(snd_pcm_t* handle, snd_pcm_sframes_t* delay) { argument
51 return snd_pcm_delay(handle, dela
54 PcmWritei(snd_pcm_t* handle, const void* buffer, snd_pcm_uframes_t size) argument
60 PcmReadi(snd_pcm_t* handle, void* buffer, snd_pcm_uframes_t size) argument
66 PcmRecover(snd_pcm_t* handle, int err, int silent) argument
70 PcmName(snd_pcm_t* handle) argument
74 PcmSetParams(snd_pcm_t* handle, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) argument
87 PcmGetParams(snd_pcm_t* handle, snd_pcm_uframes_t* buffer_size, snd_pcm_uframes_t* period_size) argument
92 PcmAvailUpdate(snd_pcm_t* handle) argument
96 PcmState(snd_pcm_t* handle) argument
104 PcmStart(snd_pcm_t* handle) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dhtab.c42 /* Make sure handle table handles match VAAPI handles. */
71 VAGenericID handle = 0; local
74 handle = handle_table_add(htab, data);
76 return handle;
82 void* vlGetDataHTAB(VAGenericID handle) argument
84 assert(handle);
89 data = handle_table_get(htab, handle);
93 return (void*)handle;
/external/mesa3d/src/gallium/state_trackers/va/
H A Dhtab.c42 /* Make sure handle table handles match VAAPI handles. */
71 VAGenericID handle = 0; local
74 handle = handle_table_add(htab, data);
76 return handle;
82 void* vlGetDataHTAB(VAGenericID handle) argument
84 assert(handle);
89 data = handle_table_get(htab, handle);
93 return (void*)handle;
/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dwebrtc_vad.c25 int WebRtcVad_Create(VadInst** handle) { argument
28 if (handle == NULL) {
32 *handle = NULL;
34 *handle = (VadInst*) self;
47 void WebRtcVad_Free(VadInst* handle) { argument
48 free(handle);
52 int WebRtcVad_Init(VadInst* handle) { argument
54 return WebRtcVad_InitCore((VadInstT*) handle);
58 int WebRtcVad_set_mode(VadInst* handle, int mode) { argument
59 VadInstT* self = (VadInstT*) handle;
71 WebRtcVad_Process(VadInst* handle, int fs, const int16_t* audio_frame, int frame_length) argument
[all...]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprtrace.h74 ** handle as an input argument, the caller must ensure that the
75 ** trace handle argument is valid. An invalid trace handle
100 ** Opaque type for the trace handle
114 PRTraceHandle handle; /* PRTraceHandle creating the trace entry */ member in struct:PRTraceEntry
142 ** handle.
156 #define PR_INIT_TRACE_HANDLE(handle,value)\
157 (handle) = (PRCounterHandle)(value)
159 #define PR_INIT_TRACE_HANDLE(handle,value)
164 ** FUNCTION: PR_CreateTrace() -- Create a trace handle
241 PRTraceHandle handle /* Handle to be destroyed */ variable
517 PRTraceHandle handle variable
[all...]
/external/chromium_org/mojo/common/test/
H A Dtest_utils_win.cc19 bool BlockingWrite(const embedder::PlatformHandle& handle, argument
26 if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write),
29 !GetOverlappedResult(handle.handle, &overlapped, &bytes_written_dword,
39 bool BlockingRead(const embedder::PlatformHandle& handle, argument
46 if (!ReadFile(handle.handle, buffer, static_cast<DWORD>(buffer_size),
49 !GetOverlappedResult(handle.handle,
59 NonBlockingRead(const embedder::PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DSpeechRecognitionClientProxy.cpp75 void SpeechRecognitionClientProxy::didStartAudio(const WebSpeechRecognitionHandle& handle) argument
77 SpeechRecognition* recognition(handle);
81 void SpeechRecognitionClientProxy::didStartSound(const WebSpeechRecognitionHandle& handle) argument
83 SpeechRecognition* recognition(handle);
88 void SpeechRecognitionClientProxy::didEndSound(const WebSpeechRecognitionHandle& handle) argument
90 SpeechRecognition* recognition(handle);
95 void SpeechRecognitionClientProxy::didEndAudio(const WebSpeechRecognitionHandle& handle) argument
97 SpeechRecognition* recognition(handle);
101 void SpeechRecognitionClientProxy::didReceiveResults(const WebSpeechRecognitionHandle& handle, const WebVector<WebSpeechRecognitionResult>& newFinalResults, const WebVector<WebSpeechRecognitionResult>& currentInterimResults) argument
103 SpeechRecognition* recognition(handle);
116 didReceiveNoMatch(const WebSpeechRecognitionHandle& handle, const WebSpeechRecognitionResult& result) argument
122 didReceiveError(const WebSpeechRecognitionHandle& handle, const WebString& message, WebSpeechRecognizerClient::ErrorCode code) argument
129 didStart(const WebSpeechRecognitionHandle& handle) argument
135 didEnd(const WebSpeechRecognitionHandle& handle) argument
[all...]
/external/e2fsprogs/lib/ss/
H A Dget_readline.c44 void *handle = NULL; local
69 if ((handle = dlopen(cp, RTLD_NOW))) {
75 if (!handle)
78 info->readline_handle = handle;
80 dlsym(handle, "readline");
82 dlsym(handle, "add_history");
84 dlsym(handle, "rl_forced_update_display");
87 dlsym(handle, "rl_completion_matches");
88 if ((t = dlsym(handle, "rl_readline_name")) != NULL)
91 dlsym(handle, "rl_attempted_completion_functio
[all...]
/external/chromium_org/ui/surface/
H A Dtransport_dib_win.cc23 TransportDIB::TransportDIB(HANDLE handle) argument
24 : shared_memory_(handle, false /* read write */),
44 TransportDIB* TransportDIB::Map(Handle handle) { argument
45 scoped_ptr<TransportDIB> dib(CreateWithHandle(handle));
52 TransportDIB* TransportDIB::CreateWithHandle(Handle handle) { argument
53 return new TransportDIB(handle);
63 return is_valid_handle(id.handle);
75 skia::CreatePlatformCanvas(w, h, true, handle(),
86 if (!is_valid_handle(handle()))
93 << " handle
106 TransportDIB::Handle TransportDIB::handle() const { function in class:TransportDIB
[all...]
/external/libsepol/src/
H A Dpolicydb_convert.c10 int policydb_from_image(sepol_handle_t * handle, argument
20 pf.handle = handle;
24 ERR(handle, "policy image is invalid");
34 int policydb_to_image(sepol_handle_t * handle, argument
46 pf.handle = handle;
48 ERR(handle, "could not compute policy length");
57 ERR(handle, "out of memory");
67 ERR(handle, "coul
[all...]
H A Dbooleans.c4 #include "handle.h"
14 static int bool_update(sepol_handle_t * handle, argument
33 ERR(handle, "boolean %s no longer in policy", name);
37 ERR(handle, "illegal value %d for boolean %s", value, name);
46 ERR(handle, "out of memory");
50 ERR(handle, "could not update boolean %s", cname);
54 static int bool_to_record(sepol_handle_t * handle, argument
65 if (sepol_bool_create(handle, &tmp_record) < 0)
68 if (sepol_bool_set_name(handle, tmp_record, name) < 0)
77 ERR(handle, "coul
82 sepol_bool_set(sepol_handle_t * handle, sepol_policydb_t * p, const sepol_bool_key_t * key, const sepol_bool_t * data) argument
117 sepol_bool_exists(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_bool_key_t * key, int *response) argument
140 sepol_bool_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_bool_key_t * key, sepol_bool_t ** response) argument
178 sepol_bool_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_bool_t * boolean, void *fn_arg), void *arg) argument
[all...]
H A Ddebug.h25 #include "handle.h"
50 #define ERR(handle, ...) \
51 msg_write(handle, SEPOL_MSG_ERR, "libsepol", \
54 #define INFO(handle, ...) \
55 msg_write(handle, SEPOL_MSG_INFO, "libsepol", \
58 #define WARN(handle, ...) \
59 msg_write(handle, SEPOL_MSG_WARN, "libsepol", \
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_operation_runner.cc51 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
53 DidFinish(handle, callback, error);
54 return handle.id;
56 PrepareForWrite(handle.id, url);
60 handle, callback));
61 return handle.id;
73 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
75 DidFinish(handle, callback, error);
76 return handle.id;
78 PrepareForWrite(handle
96 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
123 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
144 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
164 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
184 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
204 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
225 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
249 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
289 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
328 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
349 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
378 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
400 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
420 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
440 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
463 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
486 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); local
515 DidFinish( const OperationHandle& handle, const StatusCallback& callback, base::File::Error rv) argument
530 DidGetMetadata( const OperationHandle& handle, const GetMetadataCallback& callback, base::File::Error rv, const base::File::Info& file_info) argument
546 DidReadDirectory( const OperationHandle& handle, const ReadDirectoryCallback& callback, base::File::Error rv, const std::vector<DirectoryEntry>& entries, bool has_more) argument
565 DidWrite( const OperationHandle& handle, const WriteCallback& callback, base::File::Error rv, int64 bytes, bool complete) argument
583 DidOpenFile( const OperationHandle& handle, const OpenFileCallback& callback, base::File file, const base::Closure& on_close_callback) argument
600 DidCreateSnapshot( const OperationHandle& handle, const SnapshotFileCallback& callback, base::File::Error rv, const base::File::Info& file_info, const base::FilePath& platform_path, const scoped_refptr<storage::ShareableFileReference>& file_ref) argument
619 OnCopyProgress( const OperationHandle& handle, const CopyProgressCallback& callback, FileSystemOperation::CopyProgressType type, const FileSystemURL& source_url, const FileSystemURL& dest_url, int64 size) argument
657 OperationHandle handle; local
[all...]
/external/libpcap/
H A Dpcap-netfilter-linux.c84 static int nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict);
87 netfilter_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
89 struct pcap_netfilter *handlep = handle->priv;
96 len = recv(handle->fd, handle->buffer, handle->bufsize, 0);
97 if (handle->break_loop) {
98 handle->break_loop = 0;
104 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror(errno));
108 buf = handle
213 netfilter_set_datalink(pcap_t *handle, int dlt) argument
220 netfilter_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
231 netfilter_inject_linux(pcap_t *handle, const void *buf, size_t size) argument
244 netfilter_send_config_msg(const pcap_t *handle, u_int16_t msg_type, int ack, u_int8_t family, u_int16_t res_id, const struct my_nfattr *mynfa) argument
325 nflog_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument
331 nflog_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int8_t family) argument
346 nflog_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument
362 nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict) argument
378 nfqueue_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument
384 nfqueue_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int16_t pf) argument
400 nfqueue_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument
416 netfilter_activate(pcap_t* handle) argument
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_trusted_listener.cc10 const IPC::ChannelHandle& handle,
13 : channel_handle_(handle) {
14 channel_ = IPC::SyncChannel::Create(handle,
26 IPC::ChannelHandle handle = channel_handle_; local
28 handle.socket =
31 return handle;
9 NaClTrustedListener( const IPC::ChannelHandle& handle, base::SingleThreadTaskRunner* ipc_task_runner, base::WaitableEvent* shutdown_event) argument
/external/chromium_org/content/child/
H A Dweb_socket_stream_handle_delegate.h22 virtual void WillOpenStream(blink::WebSocketStreamHandle* handle, argument
24 virtual void WillSendData(blink::WebSocketStreamHandle* handle, argument
27 virtual void DidOpenStream(blink::WebSocketStreamHandle* handle, argument
29 virtual void DidSendData(blink::WebSocketStreamHandle* handle, argument
31 virtual void DidReceiveData(blink::WebSocketStreamHandle* handle, argument
34 virtual void DidFail(blink::WebSocketStreamHandle* handle, argument
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_android.cc19 const gfx::GpuMemoryBufferHandle& handle,
27 const gfx::GpuMemoryBufferHandle& handle) OVERRIDE {
31 const gfx::GpuMemoryBufferHandle& handle,
35 switch (handle.type) {
39 if (!image->Initialize(handle))
47 if (!image->Initialize(handle))
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DSocketStreamHandleInternal.h48 static SocketStreamHandleInternal* create(SocketStreamHandle* handle) argument
50 return new SocketStreamHandleInternal(handle);
64 static WebSocketStreamHandle* toWebSocketStreamHandle(SocketStreamHandle* handle) argument
66 if (handle && handle->m_internal)
67 return handle->m_internal->m_socket.get();
/external/qemu/android/utils/
H A Dmapfile.h38 /* Checks if file handle is a valid one.
40 * boolean: 1 if handle is valid, or 0 if it's not valid.
43 mapfile_is_valid(MapFile* handle) argument
45 return handle != (void*)(ptrdiff_t)-1;
56 * A valid handle to the opened file on success, or an invalid value on
61 /* Closes a file handle opened with mapfile_open routine.
63 * handle - A handle to a file previously obtained via successful call to
68 extern int mapfile_close(MapFile* handle);
71 * Except for handle paramete
[all...]

Completed in 2376 milliseconds

1234567891011>>