Searched refs:handle (Results 426 - 450 of 2418) sorted by relevance

<<11121314151617181920>>

/external/libsepol/include/sepol/policydb/
H A Dexpand.h29 #include <sepol/handle.h>
44 extern int expand_module_avrules(sepol_handle_t * handle, policydb_t * base,
53 extern int expand_module(sepol_handle_t * handle,
68 extern int expand_rule(sepol_handle_t * handle,
/external/libsepol/include/sepol/
H A Dpolicydb.h7 #include <sepol/handle.h>
46 * Associate a handle with a policy file, for use in
51 sepol_handle_t * handle);
86 /* Set how to handle unknown class/perms. */
112 extern int sepol_policydb_from_image(sepol_handle_t * handle,
123 extern int sepol_policydb_to_image(sepol_handle_t * handle,
/external/libsepol/src/
H A Droles.c8 #include "handle.h"
11 int sepol_role_exists(sepol_handle_t * handle __attribute__ ((unused)),
19 handle = NULL;
24 int sepol_role_list(sepol_handle_t * handle, argument
48 ERR(handle, "out of memory, could not list roles");
/external/qemu/android/base/files/
H A DScopedStdioFile_unittest.cpp37 FILE* handle = NULL; local
40 handle = f.release();
42 EXPECT_TRUE(handle);
43 ::fclose(handle);
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
H A DSDL_systhread.c64 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) {
107 pthread_join(thread->handle, 0);
113 pthread_cancel(thread->handle);
118 pthread_kill(thread->handle, SIGKILL);
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
H A DSDL_systhread.c91 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) {
132 pthread_join(thread->handle, 0);
138 pthread_cancel(thread->handle);
140 pthread_kill(thread->handle, SIGKILL);
/external/webrtc/src/modules/audio_processing/
H A Decho_cancellation_impl.h58 virtual int InitializeHandle(void* handle) const;
59 virtual int ConfigureHandle(void* handle) const;
60 virtual int DestroyHandle(void* handle) const;
62 virtual int GetHandleError(void* handle) const;
H A Decho_control_mobile_impl.h49 virtual int InitializeHandle(void* handle) const;
50 virtual int ConfigureHandle(void* handle) const;
51 virtual int DestroyHandle(void* handle) const;
53 virtual int GetHandleError(void* handle) const;
H A Dgain_control_impl.h60 virtual int InitializeHandle(void* handle) const;
61 virtual int ConfigureHandle(void* handle) const;
62 virtual int DestroyHandle(void* handle) const;
64 virtual int GetHandleError(void* handle) const;
/external/bluetooth/bluedroid/stack/btu/
H A Dbtu_hcif.c639 UINT16 handle; local
648 STREAM_TO_UINT16 (handle, p);
653 handle = HCID_GET_HANDLE (handle);
657 btm_sec_connected (bda, handle, status, enc_mode);
659 l2c_link_hci_conn_comp (status, handle, bda);
667 btm_sco_connected (status, bda, handle, &esco_data);
719 UINT16 handle; local
723 STREAM_TO_UINT16 (handle, p);
726 handle
752 UINT16 handle; local
798 UINT16 handle; local
822 UINT16 handle; local
843 UINT16 handle; local
881 UINT16 handle; local
921 UINT16 handle; local
950 UINT16 handle; local
983 UINT16 handle; local
1279 UINT16 handle; local
1779 UINT16 handle; local
1970 UINT16 handle; local
2014 UINT16 handle; local
2168 UINT16 handle, timeout; local
2257 UINT16 handle; local
2285 UINT16 handle; local
2299 UINT16 ediv, handle; local
2316 UINT16 handle; local
[all...]
/external/chromium_org/android_webview/browser/
H A Dgpu_memory_buffer_factory_impl.cc51 gfx::GpuMemoryBufferHandle handle; variable
52 handle.type = gfx::ANDROID_NATIVE_BUFFER;
53 handle.buffer_id = buffer_id_;
54 return handle;
93 const gfx::GpuMemoryBufferHandle& handle,
96 DCHECK_EQ(gfx::ANDROID_NATIVE_BUFFER, handle.type);
99 g_gl_draw_functions->get_native_buffer(handle.buffer_id);
92 CreateImageForGpuMemoryBuffer( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat) argument
/external/chromium_org/content/child/
H A Dchild_shared_bitmap_manager.cc23 cc::SharedBitmap* handle) {
25 sender->Send(new ChildProcessHostMsg_DeletedSharedBitmap(handle->id()));
51 base::SharedMemoryHandle handle; local
53 memory_size, id, &handle));
54 memory = make_scoped_ptr(new base::SharedMemory(handle, false));
59 base::SharedMemoryHandle handle_to_send = memory->handle();
77 base::SharedMemoryHandle handle_to_send = mem->handle();
22 ReleaseSharedBitmap(scoped_refptr<ThreadSafeSender> sender, cc::SharedBitmap* handle) argument
/external/chromium_org/content/renderer/pepper/
H A Dppb_broker_impl.cc44 // The plugin owns the handle.
96 int32_t PPB_Broker_Impl::GetHandle(int32_t* handle) { argument
99 *handle = pipe_handle_;
109 // Transfers ownership of the handle to the plugin.
110 void PPB_Broker_Impl::BrokerConnected(int32_t handle, int32_t result) { argument
113 handle == PlatformFileToInt(base::SyncSocket::kInvalidHandle));
115 pipe_handle_ = handle;
137 const IPC::ChannelHandle& handle) {
138 broker_->OnBrokerChannelConnected(broker_pid, handle);
135 OnPpapiBrokerChannelCreated( base::ProcessId broker_pid, const IPC::ChannelHandle& handle) argument
/external/chromium_org/sandbox/mac/
H A Dbootstrap_sandbox.cc78 void BootstrapSandbox::FinishedFork(base::ProcessHandle handle) { argument
85 if (handle != base::kNullProcessHandle) {
86 const auto& existing_process = sandboxed_processes_.find(handle);
88 sandboxed_processes_.insert(std::make_pair(handle, effective_policy_id_));
89 VLOG(3) << "Bootstrap sandbox enforced for pid " << handle;
95 void BootstrapSandbox::ChildDied(base::ProcessHandle handle) { argument
97 const auto& it = sandboxed_processes_.find(handle);
/external/chromium_org/third_party/hwcplus/include/hardware/
H A Dgralloc.h148 * This function checks that the handle is indeed a valid one and prepares
151 * It is not necessary to call (*registerBuffer)() on a handle created
157 buffer_handle_t handle);
160 * (*unregisterBuffer)() is called once this handle is no longer needed in
164 * This function doesn't close or free the handle itself; this is done
172 buffer_handle_t handle);
210 buffer_handle_t handle, int usage,
221 buffer_handle_t handle);
240 buffer_handle_t handle, int usage,
274 buffer_handle_t* handle, in
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dhigh_pass_filter_impl.cc125 Handle* my_handle = static_cast<Handle*>(handle(i));
151 void HighPassFilterImpl::DestroyHandle(void* handle) const {
152 delete static_cast<Handle*>(handle);
155 int HighPassFilterImpl::InitializeHandle(void* handle) const {
156 return InitializeFilter(static_cast<Handle*>(handle),
160 int HighPassFilterImpl::ConfigureHandle(void* /*handle*/) const {
168 int HighPassFilterImpl::GetHandleError(void* handle) const {
170 assert(handle != NULL);
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_dispatcher_host.cc185 ServiceWorkerRegistrationHandle* handle = local
187 if (handle) {
188 handle->IncrementRefCount();
189 return handle;
195 handle = new_handle.get();
197 return handle;
201 scoped_ptr<ServiceWorkerHandle> handle) {
202 int handle_id = handle->handle_id();
203 handles_.AddWithID(handle.release(), handle_id);
207 scoped_ptr<ServiceWorkerRegistrationHandle> handle) {
200 RegisterServiceWorkerHandle( scoped_ptr<ServiceWorkerHandle> handle) argument
206 RegisterServiceWorkerRegistrationHandle( scoped_ptr<ServiceWorkerRegistrationHandle> handle) argument
448 ServiceWorkerRegistrationHandle* handle = iter.GetCurrentValue(); local
463 ServiceWorkerRegistrationHandle* handle = local
620 ServiceWorkerHandle* handle = handles_.Lookup(handle_id); local
632 ServiceWorkerHandle* handle = handles_.Lookup(handle_id); local
646 ServiceWorkerRegistrationHandle* handle = local
659 ServiceWorkerRegistrationHandle* handle = local
[all...]
/external/chromium_org/mojo/public/cpp/system/
H A Dhandle.h36 // |ScopedHandleBase<HandleType>| is a templated scoped wrapper, for the handle
39 // handle on destruction. It also provides (emulated) move semantics, again
54 // The general guideline is functions that imply ownership transfer of a handle
59 // suitable (unscoped) handle (e.g., |SharedBufferHandle|) "in" parameter and
60 // produces a suitable scoped handle (e.g., |ScopedSharedBufferHandle| a.k.a.
64 // |Handle|, leaving the user to discard the handle.
83 // Scoper for the actual handle types defined further below. It's move-only,
91 explicit ScopedHandleBase(HandleType handle) : handle_(handle) {} argument
131 void reset(HandleType handle
152 MakeScopedHandle(HandleType handle) argument
196 Wait(Handle handle, MojoHandleSignals signals, MojoDeadline deadline) argument
235 CloseRaw(Handle handle) argument
[all...]
/external/libnfc-nci/src/nfa/ce/
H A Dnfa_ce_api.c41 ** NFA_STATUS_BAD_HANDLE invalid handle
45 tNFA_STATUS nfa_ce_api_deregister_listen (tNFA_HANDLE handle, UINT32 listen_info) argument
49 /* Validate handle */
51 &&((handle & NFA_HANDLE_GROUP_MASK) != NFA_HANDLE_GROUP_CE) )
53 NFA_TRACE_ERROR0 ("nfa_ce_api_reregister_listen: Invalid handle");
60 p_ce_msg->dereg_listen.handle = handle;
293 ** NFA_STATUS_BAD_HANDLE if invalid handle
297 tNFA_STATUS NFA_CeDeregisterFelicaSystemCodeOnDH (tNFA_HANDLE handle) argument
299 NFA_TRACE_API1 ("NFA_CeDeregisterFelicaSystemCodeOnDH (): handle
372 NFA_CeDeregisterAidOnDH(tNFA_HANDLE handle) argument
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Davdt_api.h43 #define AVDT_BAD_HANDLE 3 /* Bad handle */
61 /* The handle is used when reporting MULTI_AV specific events */
358 typedef void (tAVDT_CTRL_CBACK)(UINT8 handle, BD_ADDR bd_addr, UINT8 event,
365 typedef void (tAVDT_DATA_CBACK)(UINT8 handle, BT_HDR *p_pkt, UINT32 time_stamp,
375 typedef void (tAVDT_MEDIA_CBACK)(UINT8 handle, UINT8 *p_payload, UINT32 payload_len,
384 typedef void (tAVDT_REPORT_CBACK)(UINT8 handle, AVDT_REPORT_TYPE type,
516 AVDT_API extern UINT16 AVDT_RemoveStream(UINT8 handle);
613 AVDT_API extern UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay);
623 ** application via the control callback function for this handle.
628 AVDT_API extern UINT16 AVDT_OpenReq(UINT8 handle, BD_ADD
[all...]
/external/chromium_org/base/threading/
H A Dplatform_thread.h81 explicit PlatformThreadHandle(Handle handle) argument
82 : handle_(handle),
86 PlatformThreadHandle(Handle handle, argument
88 : handle_(handle),
144 // Get the current handle.
163 // |*thread_handle| will be assigned a handle to the newly created thread,
166 // NOTE: When you are done with the thread handle, you must call Join to
191 static void SetThreadPriority(PlatformThreadHandle handle,
/external/chromium_org/device/media_transfer_protocol/
H A Dmedia_transfer_protocol_daemon_client.h40 // A callback to handle the result of EnumerateAutoMountableDevices.
45 // A callback to handle the result of GetStorageInfo.
50 // A callback to handle the result of OpenStorage.
51 // The argument is the returned handle.
52 typedef base::Callback<void(const std::string& handle)> OpenStorageCallback;
54 // A callback to handle the result of CloseStorage.
57 // A callback to handle the result of ReadDirectoryEntryIds.
62 // A callback to handle the result of GetFileInfo.
67 // A callback to handle the result of ReadFileChunkById.
71 // A callback to handle storag
[all...]
/external/chromium_org/mojo/public/cpp/bindings/
H A Dinterface_ptr.h65 ScopedMessagePipeHandle handle,
68 internal_state_.Bind(handle.Pass(), waiter);
91 // Returns the underlying message pipe handle (if any) and resets the
120 // Takes a handle to the proxy end-point of a pipe. On the other end is
127 ScopedMessagePipeHandle handle,
130 if (handle.is_valid())
131 ptr.Bind(handle.Pass(), waiter);
64 Bind( ScopedMessagePipeHandle handle, const MojoAsyncWaiter* waiter = Environment::GetDefaultAsyncWaiter()) argument
126 MakeProxy( ScopedMessagePipeHandle handle, const MojoAsyncWaiter* waiter = Environment::GetDefaultAsyncWaiter()) argument
/external/chromium_org/ppapi/tests/
H A Dpp_thread.h42 HANDLE handle; member in struct:PP_Thread
111 thread->handle = reinterpret_cast<HANDLE>(raw_handle);
112 return (thread->handle != NULL);
116 ::WaitForSingleObject(thread.handle, INFINITE);
117 ::CloseHandle(thread.handle);
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
H A DSDL_xbios_centscreen.h50 unsigned short handle; /* videomode handle */ member in struct:__anon29617
75 #define Vdelete(handle) \
76 (long)trap_14_ww((short)0x45,(short)(handle))
81 #define Vvalid(handle) \
82 (long)trap_14_ww((short)0x48,(short)(handle))

Completed in 3092 milliseconds

<<11121314151617181920>>