Searched refs:handle (Results 201 - 225 of 2418) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/common/test/
H A Dtest_utils_posix.cc17 bool BlockingWrite(const embedder::PlatformHandle& handle, argument
21 int original_flags = fcntl(handle.fd, F_GETFL);
23 fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) {
27 ssize_t result = HANDLE_EINTR(write(handle.fd, buffer, bytes_to_write));
29 fcntl(handle.fd, F_SETFL, original_flags);
38 bool BlockingRead(const embedder::PlatformHandle& handle, argument
42 int original_flags = fcntl(handle.fd, F_GETFL);
44 fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) {
48 ssize_t result = HANDLE_EINTR(read(handle.fd, buffer, buffer_size));
50 fcntl(handle
59 NonBlockingRead(const embedder::PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dwin32toolhelp_unittest.cc34 static Win32ToolhelpTest* AsFixture(HANDLE handle) { argument
35 return reinterpret_cast<Win32ToolhelpTest*>(handle);
38 static bool First(HANDLE handle, TestData* d) { argument
39 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle);
54 static bool Next(HANDLE handle, TestData* d) { argument
55 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle);
67 static bool Fail(HANDLE handle, TestData* d) { argument
68 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle);
73 static bool CloseHandle(HANDLE handle) { argument
74 Win32ToolhelpTest* tst = Win32ToolhelpTest::AsFixture(handle);
136 First(HANDLE handle, Type* t) argument
140 Next(HANDLE handle, Type* t) argument
144 CloseHandle(HANDLE handle) argument
153 First(HANDLE handle, Type* t) argument
157 Next(HANDLE handle, Type* t) argument
163 CloseHandle(HANDLE handle) argument
172 First(HANDLE handle, Type* t) argument
176 Next(HANDLE handle, Type* t) argument
180 CloseHandle(HANDLE handle) argument
[all...]
/external/compiler-rt/test/lsan/TestCases/
H A Duse_tls_dynamic.cc19 void *handle = dlopen(path.c_str(), RTLD_LAZY); local
20 assert(handle != 0);
22 store_t StoreToTLS = (store_t)dlsym(handle, "StoreToTLS");
/external/deqp/framework/delibs/dethread/win32/
H A DdeThreadLocalWin32.c36 DWORD handle = TlsAlloc(); local
37 if (handle == TLS_OUT_OF_INDEXES)
39 return (deThreadLocal)handle;
/external/libsepol/src/
H A Dnodes.c7 #include "handle.h"
14 static int node_from_record(sepol_handle_t * handle, argument
30 if (sepol_node_get_addr_bytes(handle, data, &addr_buf, &addr_bsize) < 0)
32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0)
47 ERR(handle, "unsupported protocol %u", proto);
56 if (context_from_record(handle, policydb, &tmp_con,
68 ERR(handle, "out of memory");
79 ERR(handle, "could not create node structure");
83 static int node_to_record(sepol_handle_t * handle, argument
93 if (sepol_node_create(handle,
170 sepol_node_exists(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_node_key_t * key, int *response) argument
230 sepol_node_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_node_key_t * key, sepol_node_t ** response) argument
296 sepol_node_modify(sepol_handle_t * handle, sepol_policydb_t * p, const sepol_node_key_t * key, const sepol_node_t * data) argument
345 sepol_node_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_node_t * node, void *fn_arg), void *arg) argument
[all...]
H A Dusers.c7 #include "handle.h"
15 static int user_to_record(sepol_handle_t * handle, argument
28 if (sepol_user_create(handle, &tmp_record) < 0)
31 if (sepol_user_set_name(handle, tmp_record, name) < 0)
38 if (sepol_user_add_role(handle, tmp_record, role) < 0)
51 ERR(handle, "could not copy MLS level");
57 ERR(handle, "could not copy MLS level");
61 if (mls_to_string(handle, policydb, &context, &str) < 0) {
67 if (sepol_user_set_mlslevel(handle, tmp_record, str) < 0) {
75 ERR(handle, "coul
101 sepol_user_modify(sepol_handle_t * handle, sepol_policydb_t * p, const sepol_user_key_t * key, const sepol_user_t * user) argument
315 sepol_user_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_user_key_t * key, sepol_user_t ** response) argument
345 sepol_user_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_user_t * user, void *fn_arg), void *arg) argument
[all...]
H A Dinterfaces.c5 #include "handle.h"
12 static int iface_from_record(sepol_handle_t * handle, argument
30 if (context_from_record(handle, policydb,
39 if (context_from_record(handle, policydb,
51 ERR(handle, "out of memory");
62 ERR(handle, "error creating interface structure");
66 static int iface_to_record(sepol_handle_t * handle, argument
78 if (sepol_iface_create(handle, &tmp_record) < 0)
81 if (sepol_iface_set_name(handle, tmp_record, name) < 0)
84 if (context_to_record(handle, policyd
134 sepol_iface_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_iface_key_t * key, sepol_iface_t ** response) argument
165 sepol_iface_modify(sepol_handle_t * handle, sepol_policydb_t * p, const sepol_iface_key_t * key, const sepol_iface_t * data) argument
237 sepol_iface_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_iface_t * iface, void *fn_arg), void *arg) argument
[all...]
H A Duser_record.c30 int sepol_user_key_create(sepol_handle_t * handle, argument
38 ERR(handle, "out of memory, "
59 int sepol_user_key_extract(sepol_handle_t * handle,
64 if (sepol_user_key_create(handle, user->name, key_ptr) < 0) {
65 ERR(handle, "could not extract key from user %s", user->name);
96 int sepol_user_set_name(sepol_handle_t * handle, argument
102 ERR(handle, "out of memory, could not set name");
121 int sepol_user_set_mlslevel(sepol_handle_t * handle,
127 ERR(handle, "out of memory, "
146 int sepol_user_set_mlsrange(sepol_handle_t * handle,
170 sepol_user_add_role(sepol_handle_t * handle, sepol_user_t * user, const char *role) argument
260 sepol_user_get_roles(sepol_handle_t * handle, const sepol_user_t * user, const char ***roles_arr, unsigned int *num_roles) argument
302 sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr) argument
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_rfc.c89 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
95 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL)
97 /* ignore port events for port handles other than connected handle */
100 APPL_TRACE_DEBUG("ag_port_cback ignoring handle:%d conn_handle = %d other handle = %d",
101 port_handle, p_scb->conn_handle, handle);
108 p_buf->layer_specific = handle;
124 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
132 APPL_TRACE_DEBUG("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d",
133 code, port_handle, handle);
198 bta_ag_data_cback(UINT16 port_handle, void *p_data, UINT16 len, UINT16 handle) argument
219 bta_ag_mgmt_cback_1(UINT32 code, UINT16 handle) argument
220 bta_ag_mgmt_cback_2(UINT32 code, UINT16 handle) argument
221 bta_ag_mgmt_cback_3(UINT32 code, UINT16 handle) argument
222 bta_ag_port_cback_1(UINT32 code, UINT16 handle) argument
223 bta_ag_port_cback_2(UINT32 code, UINT16 handle) argument
224 bta_ag_port_cback_3(UINT32 code, UINT16 handle) argument
260 bta_ag_setup_port(tBTA_AG_SCB *p_scb, UINT16 handle) argument
[all...]
H A Dbta_ag_ci.c43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) argument
60 p_buf->hdr.layer_specific = handle;
88 void bta_ag_ci_slc_ready(UINT16 handle) argument
95 p_buf->hdr.layer_specific = handle;
/external/chromium_org/net/socket/
H A Dwebsocket_transport_client_socket_pool.cc43 ClientSocketHandle* handle,
54 handle_(handle),
262 ClientSocketHandle* handle) {
263 DCHECK(handle->is_initialized());
264 DCHECK(handle->socket());
266 if (handle->socket()->GetPeerAddress(&address) == OK)
274 ClientSocketHandle* handle,
284 CHECK(handle);
292 casted_params, priority, handle, callback, request_net_log);
296 DCHECK_EQ(handle, iterato
35 WebSocketTransportConnectJob( const std::string& group_name, RequestPriority priority, const scoped_refptr<TransportSocketParams>& params, TimeDelta timeout_duration, const CompletionCallback& callback, ClientSocketFactory* client_socket_factory, HostResolver* host_resolver, ClientSocketHandle* handle, Delegate* delegate, NetLog* pool_net_log, const BoundNetLog& request_net_log) argument
261 UnlockEndpoint( ClientSocketHandle* handle) argument
270 RequestSocket( const std::string& group_name, const void* params, RequestPriority priority, ClientSocketHandle* handle, const CompletionCallback& callback, const BoundNetLog& request_net_log) argument
363 CancelRequest( const std::string& group_name, ClientSocketHandle* handle) argument
484 ClientSocketHandle* const handle = job->handle(); local
510 InvokeUserCallbackLater( ClientSocketHandle* handle, const CompletionCallback& callback, int rv) argument
525 InvokeUserCallback( ClientSocketHandle* handle, const CompletionCallback& callback, int rv) argument
539 HandOutSocket( scoped_ptr<StreamSocket> socket, const LoadTimingInfo::ConnectTiming& connect_timing, ClientSocketHandle* handle, const BoundNetLog& net_log) argument
558 AddJob( ClientSocketHandle* handle, scoped_ptr<WebSocketTransportConnectJob> connect_job) argument
567 DeleteJob(ClientSocketHandle* handle) argument
613 DeleteStalledRequest( ClientSocketHandle* handle) argument
637 StalledRequest( const scoped_refptr<TransportSocketParams>& params, RequestPriority priority, ClientSocketHandle* handle, const CompletionCallback& callback, const BoundNetLog& net_log) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNodeList.java110 int handle=m_iter.item(index);
111 if (handle == DTM.NULL) {
114 return m_iter.getDTM(handle).getNode(handle);
/external/chromium_org/base/win/
H A Dscoped_hdc.h29 // GDI handle exhaustion. In this case Chrome is going to behave badly no
55 static bool CloseHandle(HDC handle) { argument
56 return ::DeleteDC(handle) != FALSE;
59 static bool IsHandleValid(HDC handle) { argument
60 return handle != NULL;
/external/chromium_org/chrome/browser/
H A Dbrowser_util_win.cc19 static HANDLE handle = NULL; local
26 if (handle != NULL)
27 CloseHandle(handle);
28 handle = CreateEvent(NULL, TRUE, TRUE, exe.c_str());
/external/chromium_org/mojo/embedder/
H A Dscoped_platform_handle.h21 explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {} argument
45 void reset(PlatformHandle handle = PlatformHandle()) {
47 handle_ = handle;
/external/chromium_org/ppapi/c/private/
H A Dppb_file_io_private.h33 * Returns a file handle corresponding to the given FileIO
36 * of the returned file handle and must close it.
39 PP_FileHandle* handle,
/external/chromium_org/sandbox/win/src/
H A Dprocess_thread_policy.h33 // Opens a thread from the child process and returns the handle.
41 HANDLE* handle);
43 // Opens the process id passed in and returns the duplicated handle to
49 HANDLE* handle);
52 // handle to the child. We only allow the child processes to open his own
57 HANDLE* handle);
60 // handle to the child. We only allow the child processes to open his own
66 HANDLE* handle);
H A Dshared_handles.cc30 bool SharedHandles::SetHandle(uint32 tag, HANDLE handle) { argument
35 // Find empty slot and put the tag and the handle there
41 empty_slot->item = handle;
45 bool SharedHandles::GetHandle(uint32 tag, HANDLE* handle) { argument
54 *handle = found->item;
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DWindowTimers.idl36 // can't handle Function/DOMString overload properly
42 void clearTimeout([Default=Undefined] optional long handle);
44 void clearInterval([Default=Undefined] optional long handle);
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/android/
H A Dandroid_sw_winsys.h40 buffer_handle_t handle; member in struct:android_winsys_handle
/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_sp.h40 // As long as |handle->frame_counter| is zero, that is, we haven't received any
48 // - handle : State information of the VAD.
52 int16_t WebRtcVad_FindMinimum(VadInstT* handle,
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dhigh_pass_filter_impl.h39 virtual int InitializeHandle(void* handle) const OVERRIDE;
40 virtual int ConfigureHandle(void* handle) const OVERRIDE;
41 virtual void DestroyHandle(void* handle) const OVERRIDE;
43 virtual int GetHandleError(void* handle) const OVERRIDE;
H A Dlevel_estimator_impl.h42 virtual int InitializeHandle(void* handle) const OVERRIDE;
43 virtual int ConfigureHandle(void* handle) const OVERRIDE;
44 virtual void DestroyHandle(void* handle) const OVERRIDE;
46 virtual int GetHandleError(void* handle) const OVERRIDE;
H A Dnoise_suppression_impl.h44 virtual int InitializeHandle(void* handle) const OVERRIDE;
45 virtual int ConfigureHandle(void* handle) const OVERRIDE;
46 virtual void DestroyHandle(void* handle) const OVERRIDE;
48 virtual int GetHandleError(void* handle) const OVERRIDE;
/external/chromium_org/ui/base/win/
H A Dtouch_input.h16 UI_BASE_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle,

Completed in 741 milliseconds

1234567891011>>