Searched refs:handle (Results 251 - 275 of 2418) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/webrtc/base/
H A Dwin32windowpicker_unittest.cc41 if (!Win32WindowPicker::EnumProc(visible_window_.handle(),
45 if (!Win32WindowPicker::EnumProc(invisible_window_.handle(),
71 EXPECT_EQ(window_picker.visible_window()->handle(), desc.id().id());
73 GetWindowText(window_picker.visible_window()->handle(), window_title,
80 HWND visible_id = window_picker.visible_window()->handle();
81 HWND invisible_id = window_picker.invisible_window()->handle();
88 HWND visible_id = window_picker.visible_window()->handle();
89 HWND invisible_id = window_picker.invisible_window()->handle();
H A Dwin32toolhelp.h95 // Checks the state of the snapshot handle.
116 static bool CloseHandle(HANDLE handle) { argument
117 return ::CloseHandle(handle) == TRUE;
125 static bool First(HANDLE handle, Type* t) { argument
126 return ::Process32First(handle, t) == TRUE;
129 static bool Next(HANDLE handle, Type* t) { argument
130 return ::Process32Next(handle, t) == TRUE;
149 static bool First(HANDLE handle, Type* t) { argument
150 return ::Module32First(handle, t) == TRUE;
153 static bool Next(HANDLE handle, Typ argument
[all...]
/external/libsepol/src/
H A Dports.c6 #include "handle.h"
11 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) argument
20 ERR(handle, "unsupported protocol %u", proto);
25 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) argument
34 ERR(handle, "invalid protocol %u " "found in policy", proto);
41 static int port_from_record(sepol_handle_t * handle, argument
59 tmp_proto = sepol2ipproto(handle, proto);
68 ERR(handle, "low port %d exceeds high port %d",
74 if (context_from_record(handle, policydb, &tmp_con,
86 ERR(handle, "ou
100 port_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * port, sepol_port_t ** record) argument
162 sepol_port_exists(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_port_key_t * key, int *response) argument
200 sepol_port_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_port_key_t * key, sepol_port_t ** response) argument
240 sepol_port_modify(sepol_handle_t * handle, sepol_policydb_t * p, const sepol_port_key_t * key, const sepol_port_t * data) argument
276 sepol_port_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_port_t * port, void *fn_arg), void *arg) argument
[all...]
H A Dnode_record.c44 static int node_parse_addr(sepol_handle_t * handle, argument
55 ERR(handle, "could not parse IPv4 address "
68 ERR(handle, "could not parse IPv6 address "
81 ERR(handle, "unsupported protocol %u, could not "
92 static int node_alloc_addr(sepol_handle_t * handle, argument
116 ERR(handle, "unsupported protocol %u", proto);
125 ERR(handle, "out of memory");
129 ERR(handle, "could not allocate address of protocol %s",
138 static int node_expand_addr(sepol_handle_t * handle, argument
153 ERR(handle,
193 node_alloc_addr_string(sepol_handle_t * handle, int proto, char **addr) argument
232 sepol_node_key_create(sepol_handle_t * handle, const char *addr, const char *mask, int proto, sepol_node_key_t ** key_ptr) argument
365 sepol_node_get_addr(sepol_handle_t * handle, const sepol_node_t * node, char **addr) argument
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_pcm.h127 EAS_RESULT EAS_PEContinueStream (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_I32 size);
133 * Returns the file handle of a stream
145 EAS_RESULT EAS_PEGetFileHandle (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_FILE_HANDLE *pFileHandle);
192 * pState - stream handle
206 * handle - pointer to S_PCM_STATE for this stream
246 * handle - pointer to file handle
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
268 * handle - pointer to file handle
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_pcm.h127 EAS_RESULT EAS_PEContinueStream (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_I32 size);
133 * Returns the file handle of a stream
145 EAS_RESULT EAS_PEGetFileHandle (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_FILE_HANDLE *pFileHandle);
192 * pState - stream handle
206 * handle - pointer to S_PCM_STATE for this stream
246 * handle - pointer to file handle
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
268 * handle - pointer to file handle
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_pcm.h127 EAS_RESULT EAS_PEContinueStream (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_I32 size);
133 * Returns the file handle of a stream
145 EAS_RESULT EAS_PEGetFileHandle (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_FILE_HANDLE *pFileHandle);
192 * pState - stream handle
206 * handle - pointer to S_PCM_STATE for this stream
246 * handle - pointer to file handle
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
268 * handle - pointer to file handle
[all...]
/external/chromium_org/content/browser/gpu/
H A Dgpu_memory_buffer_factory_host_impl.cc22 const gfx::GpuMemoryBufferHandle& handle,
39 handle,
49 const gfx::GpuMemoryBufferHandle& handle,
57 host->DestroyGpuMemoryBuffer(handle, sync_point);
62 const gfx::GpuMemoryBufferHandle& handle) {
68 iter->second.Run(handle);
21 CreateGpuMemoryBuffer( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, unsigned usage, const CreateGpuMemoryBufferCallback& callback) argument
48 DestroyGpuMemoryBuffer( const gfx::GpuMemoryBufferHandle& handle, int32 sync_point) argument
60 OnGpuMemoryBufferCreated( uint32 request_id, const gfx::GpuMemoryBufferHandle& handle) argument
/external/chromium_org/mojo/public/js/bindings/
H A Dcore.js50 * MojoHandleSignals: Used to specify signals that can be waited on for a handle
52 * the handle.
116 * Closes the given |handle|. See MojoClose for more info.
120 function close(handle) { [native code] }
123 * Waits on the given handle until a signal indicated by |signals| is
126 * @param {MojoHandle} handle Handle to wait on.
131 function wait(handle, signals, deadline) { [native code] }
141 * for each corresponding handle. Must be the same length as |handles|.
162 * Writes a message to the message pipe endpoint given by |handle|. See
165 * @param {MojoHandle} handle Th
[all...]
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
H A Dpnacl_resources.cc34 if (llc_file_info_.handle != PP_kInvalidFileHandle)
35 CloseFileHandle(llc_file_info_.handle);
36 if (ld_file_info_.handle != PP_kInvalidFileHandle)
37 CloseFileHandle(ld_file_info_.handle);
76 return (llc_file_info_.handle != PP_kInvalidFileHandle &&
77 ld_file_info_.handle != PP_kInvalidFileHandle);
/external/chromium_org/skia/ext/
H A Devent_tracer_impl.cc28 SkEventTracer::Handle handle) OVERRIDE;
52 base::debug::TraceEventHandle handle = TRACE_EVENT_API_ADD_TRACE_EVENT( local
56 memcpy(&result, &handle, sizeof(result));
64 SkEventTracer::Handle handle) {
66 memcpy(&traceEventHandle, &handle, sizeof(handle));
61 updateTraceEventDuration( const uint8_t* categoryEnabledFlag, const char *name, SkEventTracer::Handle handle) argument
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dlevel_estimator_impl.cc32 RMSLevel* rms_level = static_cast<RMSLevel*>(handle(0));
54 RMSLevel* rms_level = static_cast<RMSLevel*>(handle(0));
64 void LevelEstimatorImpl::DestroyHandle(void* handle) const {
65 delete static_cast<RMSLevel*>(handle);
68 int LevelEstimatorImpl::InitializeHandle(void* handle) const {
69 static_cast<RMSLevel*>(handle)->Reset();
73 int LevelEstimatorImpl::ConfigureHandle(void* /*handle*/) const {
81 int LevelEstimatorImpl::GetHandleError(void* /*handle*/) const {
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dscoped_gdi_object.h62 // The traits class that uses DeleteObject() to close a handle.
66 // Closes the handle.
67 static void Close(T handle) { argument
68 if (handle)
69 DeleteObject(handle);
76 // The traits class that uses DestroyCursor() to close a handle.
79 // Closes the handle.
80 static void Close(HCURSOR handle) { argument
81 if (handle)
82 DestroyCursor(handle);
[all...]
/external/libsepol/include/sepol/
H A Dport_record.h5 #include <sepol/handle.h>
22 extern int sepol_port_key_create(sepol_handle_t * handle,
29 extern int sepol_port_key_extract(sepol_handle_t * handle,
54 extern int sepol_port_set_con(sepol_handle_t * handle,
58 extern int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port_ptr);
60 extern int sepol_port_clone(sepol_handle_t * handle,
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
H A DSDL_systhread.c65 thread->handle=spawn_thread(RunThread, "SDL", B_NORMAL_PRIORITY, args);
66 if ( (thread->handle == B_NO_MORE_THREADS) ||
67 (thread->handle == B_NO_MEMORY) ) {
71 resume_thread(thread->handle);
90 wait_for_thread(thread->handle, &the_status);
95 kill_thread(thread->handle);
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
H A DSDL_sysmutex.cpp51 TInt handle; member in struct:SDL_mutex
56 TInt handle; member in struct:_SDL_mutex
83 mutex->handle = rmutex.Handle();
94 rmutex.SetHandle(mutex->handle);
114 rmutex.SetHandle(mutex->handle);
127 rmutex.SetHandle(mutex->handle);
/external/chromium_org/third_party/angle/include/GLSLANG/
H A DShaderLang.h194 // It is intended as a workaround for drivers that do not handle
285 // If handle creation fails, 0 will be returned.
293 // handle: Specifies the handle of the compiler to be used.
298 COMPILER_EXPORT void ShGetBuiltInResourcesString(const ShHandle handle, size_t outStringLen, char *outStr);
303 // Returns the handle of constructed compiler, null if the requested compiler is
317 COMPILER_EXPORT void ShDestruct(ShHandle handle);
323 // handle: Specifies the handle of compiler to be used.
344 const ShHandle handle,
[all...]
/external/chromium_org/net/socket/
H A Dtransport_client_socket_pool_unittest.cc181 ClientSocketHandle handle; local
182 int rv = handle.Init("a", params_, LOW, callback.callback(), &pool_,
185 EXPECT_FALSE(handle.is_initialized());
186 EXPECT_FALSE(handle.socket());
189 EXPECT_TRUE(handle.is_initialized());
190 EXPECT_TRUE(handle.socket());
191 TestLoadTimingInfoConnectedNotReused(handle);
200 ClientSocketHandle handle; local
202 handle.Init("a", params_, priority, callback.callback(), &pool_,
211 ClientSocketHandle handle; local
226 ClientSocketHandle handle; local
340 ClientSocketHandle handle; local
348 ClientSocketHandle handle; local
369 ClientSocketHandle handle; local
459 RequestSocketCallback(ClientSocketHandle* handle, TransportClientSocketPool* pool) argument
507 ClientSocketHandle handle; local
575 ClientSocketHandle handle; local
603 ClientSocketHandle handle; local
659 ClientSocketHandle handle; local
701 ClientSocketHandle handle; local
747 ClientSocketHandle handle; local
795 ClientSocketHandle handle; local
851 ClientSocketHandle handle; local
896 ClientSocketHandle handle; local
930 ClientSocketHandle handle; local
963 ClientSocketHandle handle; local
996 ClientSocketHandle handle; local
1022 ClientSocketHandle handle; local
1056 ClientSocketHandle handle; local
1096 ClientSocketHandle handle; local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DNewWebSocketChannelImplTest.cpp96 , m_channel(NewWebSocketChannelImpl::create(&m_pageHolder->document(), m_channelClient.get(), String(), 0, handle()))
125 MockWebSocketHandle* handle() function in class:blink::__anon11226::NewWebSocketChannelImplTest
139 EXPECT_CALL(*handle(), connect(WebURL(KURL(KURL(), "ws://localhost/")), _, _, handleClient()));
140 EXPECT_CALL(*handle(), flowControl(65536));
144 handleClient()->didConnect(handle(), false, WebString("a"), WebString("b"));
170 EXPECT_CALL(*handle(), connect(WebURL(KURL(KURL(), "ws://localhost/")), _, _, handleClient()));
171 EXPECT_CALL(*handle(), flowControl(65536));
178 handleClient()->didConnect(handle(), false, WebString("a"), WebString("b"));
186 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeText, MemEq("foo", 3), 3));
187 EXPECT_CALL(*handle(), sen
[all...]
/external/webrtc/src/common_audio/vad/
H A Dvad_unittest.cc82 VadInst* handle = NULL; local
113 EXPECT_EQ(-1, WebRtcVad_Assign(&handle, NULL));
114 EXPECT_EQ(0, WebRtcVad_Assign(&handle, tmp_handle));
115 EXPECT_EQ(handle, tmp_handle);
119 ASSERT_EQ(0, WebRtcVad_Create(&handle));
122 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0]));
123 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0]));
126 ASSERT_EQ(0, WebRtcVad_Init(handle));
129 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0] - 1));
130 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kMode
187 VadInstT* handle = (VadInstT*) malloc(sizeof(VadInstT)); local
[all...]
/external/chromium_org/base/process/
H A Dkill_posix.cc25 bool WaitpidWithTimeout(ProcessHandle handle, argument
53 return HANDLE_EINTR(waitpid(handle, status, 0)) > 0;
56 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG));
76 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG));
87 TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, argument
91 const pid_t result = HANDLE_EINTR(waitpid(handle, &status,
94 DPLOG(ERROR) << "waitpid(" << handle << ")";
195 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { argument
196 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code);
199 TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, argument
209 WaitForExitCode(ProcessHandle handle, int* exit_code) argument
226 WaitForExitCodeWithTimeout(ProcessHandle handle, int* exit_code, base::TimeDelta timeout) argument
268 WaitForSingleNonChildProcess(ProcessHandle handle, base::TimeDelta wait) argument
355 WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) argument
[all...]
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_int.h54 UINT16 handle; member in struct:__anon1686
112 extern void pan_conn_ind_cb (UINT16 handle,
117 extern void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_change);
118 extern void pan_data_ind_cb (UINT16 handle,
125 extern void pan_data_buf_ind_cb (UINT16 handle,
131 extern void pan_tx_data_flow_cb (UINT16 handle,
133 void pan_proto_filt_ind_cb (UINT16 handle,
138 void pan_mcast_filt_ind_cb (UINT16 handle,
144 extern tPAN_CONN *pan_allocate_pcb (BD_ADDR p_bda, UINT16 handle);
145 extern tPAN_CONN *pan_get_pcb_by_handle (UINT16 handle);
[all...]
/external/chromium_org/base/memory/
H A Dshared_memory_nacl.cc28 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) argument
29 : mapped_file_(handle.fd),
37 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, argument
39 : mapped_file_(handle.fd),
53 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { argument
54 return handle.fd >= 0;
63 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { argument
64 DCHECK_GE(handle.fd, 0);
65 if (close(handle.fd) < 0)
123 SharedMemoryHandle SharedMemory::handle() cons function in class:base::SharedMemory
[all...]
/external/chromium_org/chrome/browser/performance_monitor/
H A Dperformance_monitor.cc58 base::ProcessHandle handle = rph_iter.GetCurrentValue()->GetHandle(); local
59 MarkProcessAsAlive(handle, content::PROCESS_TYPE_RENDERER,
71 void PerformanceMonitor::MarkProcessAsAlive(const base::ProcessHandle& handle, argument
74 if (handle == 0) {
79 MetricsMap::iterator process_metrics_iter = metrics_map_.find(handle);
82 metrics_map_[handle]
83 .Initialize(handle, process_type, current_update_sequence);
99 base::ProcessHandle handle = child_process_data.handle; local
100 MarkProcessAsAlive(handle, child_process_dat
[all...]
/external/iproute2/tc/
H A Df_basic.c38 static int basic_parse_opt(struct filter_util *qu, char *handle, argument
48 if (handle) {
49 h = strtol(handle, NULL, 0);
51 fprintf(stderr, "Illegal handle \"%s\", must be numeric.\n",
52 handle);
72 unsigned handle; local
74 if (get_tc_classid(&handle, *argv)) {
78 addattr_l(n, MAX_MSG, TCA_BASIC_CLASSID, &handle, 4);
110 struct rtattr *opt, __u32 handle)
119 if (handle)
109 basic_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument
[all...]

Completed in 2413 milliseconds

<<11121314151617181920>>