Searched defs:handles (Results 51 - 75 of 111) sorted by relevance

12345

/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/
H A DCore.java21 * Signals for the wait operations on handles.
143 * Waits on handle in |handles| for at least one of them to satisfy the associated
148 public WaitManyResult waitMany(List<Pair<Handle, HandleSignals>> handles, long deadline); argument
152 * messages), with the given options. Messages can contain plain data and/or Mojo handles.
154 * @return the set of handles for the two endpoints (ports) of the message pipe.
167 * @return the set of handles for the two endpoints of the data pipe.
H A DInvalidHandle.java206 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) { argument
/external/chromium_org/mojo/public/platform/native/
H A Dsystem_thunks.cc32 MojoResult MojoWaitMany(const MojoHandle* handles, argument
37 return g_thunks.WaitMany(handles, signals, num_handles, deadline);
51 const MojoHandle* handles,
55 return g_thunks.WriteMessage(message_pipe_handle, bytes, num_bytes, handles,
62 MojoHandle* handles,
66 return g_thunks.ReadMessage(message_pipe_handle, bytes, num_bytes, handles,
48 MojoWriteMessage(MojoHandle message_pipe_handle, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument
59 MojoReadMessage(MojoHandle message_pipe_handle, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
/external/chromium_org/mojo/spy/
H A Dspy.cc36 void CloseHandles(MojoHandle* handles, size_t count) { argument
38 MojoClose(handles[ix]);
142 // On failure we own the handles. For now just close them.
/external/chromium_org/mojo/system/
H A Dentrypoints.cc51 MojoResult MojoWaitMany(const MojoHandle* handles, argument
56 MojoResult result = g_core->WaitMany(MakeUserPointer(handles),
77 const MojoHandle* handles,
83 MakeUserPointer(handles),
91 MojoHandle* handles,
97 MakeUserPointer(handles),
74 MojoWriteMessage(MojoHandle message_pipe_handle, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument
88 MojoReadMessage(MojoHandle message_pipe_handle, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
H A Dcore.cc38 // Some objects have multiple handles associated to them, e.g., message pipes
47 // |Dispatcher|s for the handles that it wants to wait on with a |Waiter|
73 // concurrency semantics of |MojoWriteMessage()| when passing handles.)
140 MojoResult Core::WaitMany(UserPointer<const MojoHandle> handles, argument
151 UserPointer<const MojoHandle>::Reader handles_reader(handles, num_handles);
230 UserPointer<const MojoHandle> handles,
237 // Easy case: not sending any handles.
241 // We have to handle |handles| here, since we have to mark them busy in the
245 // (This leads to an oddity: |handles|/|num_handles| are always verified for
252 UserPointer<const MojoHandle>::Reader handles_reader(handles, num_handle
227 WriteMessage(MojoHandle message_pipe_handle, UserPointer<const void> bytes, uint32_t num_bytes, UserPointer<const MojoHandle> handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument
296 ReadMessage(MojoHandle message_pipe_handle, UserPointer<void> bytes, UserPointer<uint32_t> num_bytes, UserPointer<MojoHandle> handles, UserPointer<uint32_t> num_handles, MojoReadMessageFlags flags) argument
549 WaitManyInternal(const MojoHandle* handles, const MojoHandleSignals* signals, uint32_t num_handles, MojoDeadline deadline, uint32_t* result_index, HandleSignalsState* signals_states) argument
[all...]
/external/chromium_org/ppapi/host/
H A Dppapi_host.cc112 const std::vector<SerializedHandle>& handles) {
118 for (std::vector<SerializedHandle>::const_iterator it = handles.begin();
119 it != handles.end(); ++it) {
109 SendUnsolicitedReplyWithHandles( PP_Resource resource, const IPC::Message& msg, const std::vector<SerializedHandle>& handles) argument
/external/chromium_org/remoting/host/win/
H A Dunprivileged_process_delegate.cc168 WindowStationAndDesktop handles; local
169 handles.SetWindowStation(CreateWindowStation(
172 if (!handles.window_station()) {
178 if (!SetProcessWindowStation(handles.window_station())) {
195 handles.SetDesktop(CreateDesktop(L"Default", NULL, NULL, 0, desired_access,
204 if (!handles.desktop()) {
209 handles.Swap(*handles_out);
276 // Take a lock why any inheritable handles are open to make sure that only
297 WindowStationAndDesktop handles; local
298 if (!CreateWindowStationAndDesktop(logon_sid.Pass(), &handles)) {
[all...]
/external/chromium_org/sync/engine/
H A Dget_commit_ids.cc74 // We filter out all unready entries from the set of unsynced handles. This
263 // Adds the specified handles to the traversal.
264 void AppendManyToTraversal(const syncable::Directory::Metahandles& handles);
452 const syncable::Directory::Metahandles& handles) {
453 out_->insert(out_->end(), handles.begin(), handles.end());
454 added_handles_.insert(handles.begin(), handles.end());
451 AppendManyToTraversal( const syncable::Directory::Metahandles& handles) argument
H A Dsyncer_util.cc249 Directory::Metahandles handles; local
250 trans->directory()->GetChildHandlesById(trans, id, &handles);
251 if (!handles.empty()) {
504 Directory::Metahandles handles;
505 dir->GetUnsyncedMetaHandles(trans, &handles);
506 if (handles.empty())
509 for (it = handles.begin() ; it != handles.end() ; ++it) {
/external/chromium_org/third_party/icu/source/common/
H A Dbrkeng.cpp72 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { function in class:UnhandledEngine
157 if (lbe != NULL && lbe->handles(c, breakType)) {
203 if (lbe != NULL && lbe->handles(c, breakType)) {
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
H A Dvmw_context.c75 struct vmw_svga_winsys_surface *handles[VMW_SURFACE_RELOCS]; member in struct:vmw_svga_winsys_context::__anon14244
170 vswc->surface.handles[i];
172 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL);
265 vmw_svga_winsys_surface_reference(&vswc->surface.handles[vswc->surface.used + vswc->surface.staged], vsurf);
355 p_atomic_dec(&vswc->surface.handles[i]->validated);
356 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL);
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-codegen-deopt.cc182 InitializedHandleScope handles; local
203 InitializedHandleScope handles; local
292 InitializedHandleScope handles; local
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DImageHeaderParser.java107 if (!handles(magicNumber)) {
260 private boolean handles(int imageMagicNumber) { method in class:ImageHeaderParser
/external/icu/icu4c/source/common/
H A Dbrkeng.cpp72 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { function in class:UnhandledEngine
157 if (lbe != NULL && lbe->handles(c, breakType)) {
203 if (lbe != NULL && lbe->handles(c, breakType)) {
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_context.c75 struct vmw_svga_winsys_surface *handles[VMW_SURFACE_RELOCS]; member in struct:vmw_svga_winsys_context::__anon27655
170 vswc->surface.handles[i];
172 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL);
265 vmw_svga_winsys_surface_reference(&vswc->surface.handles[vswc->surface.used + vswc->surface.staged], vsurf);
355 p_atomic_dec(&vswc->surface.handles[i]->validated);
356 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL);
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_ndis.c162 HANDLE handles[2]; local
189 handles[0] = l2_ndisuio_global->stop_request;
190 handles[1] = l2_ndisuio_global->rx_processed;
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE);
200 HANDLE handles[2]; local
204 handles[0] = l2_ndisuio_global->stop_request;
205 handles[1] = l2_ndisuio_global->ready_for_read;
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_ndis.c162 HANDLE handles[2]; local
189 handles[0] = l2_ndisuio_global->stop_request;
190 handles[1] = l2_ndisuio_global->rx_processed;
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE);
200 HANDLE handles[2]; local
204 handles[0] = l2_ndisuio_global->stop_request;
205 handles[1] = l2_ndisuio_global->ready_for_read;
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_ndis.c162 HANDLE handles[2]; local
189 handles[0] = l2_ndisuio_global->stop_request;
190 handles[1] = l2_ndisuio_global->rx_processed;
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE);
200 HANDLE handles[2]; local
204 handles[0] = l2_ndisuio_global->stop_request;
205 handles[1] = l2_ndisuio_global->ready_for_read;
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_link.c954 ** of numbers of packets and handles.
959 UINT8 l2c_link_pkts_rcvd (UINT16 *num_pkts, UINT16 *handles) argument
973 handles[num_found] = p_lcb->handle;
980 UNUSED(handles);
/external/chromium_org/base/memory/
H A Dshared_memory_unittest.cc152 // Open two handles to a memory segment, confirm that they are mapped
204 // Open two handles to a memory segment and check that
679 ProcessHandle handles[kNumTasks]; local
681 handles[index] = SpawnChild("SharedMemoryTestMain");
682 ASSERT_TRUE(handles[index]);
687 EXPECT_TRUE(WaitForExitCode(handles[index], &exit_code));
/external/chromium_org/base/synchronization/
H A Dcondition_variable_win.cc269 std::stack<HANDLE> handles; // See FAQ-question-10. local
276 handles.push(waiting_list_.PopBack()->handle());
278 while (!handles.empty()) {
279 SetEvent(handles.top());
280 handles.pop();
/external/chromium_org/mojo/android/system/
H A Dcore_impl.cc60 // Buffer contains first the list of handles, then the list of signals.
162 const MojoHandle* handles = 0; local
165 handles =
169 // Java code will handle invalidating handles if the write succeeded.
171 mojo_handle, buffer_start, buffer_size, handles, num_handles, flags);
187 MojoHandle* handles = 0; local
190 handles =
195 mojo_handle, buffer_start, &buffer_size, handles, &num_handles, flags);
/external/chromium_org/net/cert/
H A Dx509_certificate_openssl.cc42 X509Certificate::OSCertHandles* handles) {
54 handles->push_back(x509_cert);
40 CreateOSCertHandlesFromPKCS7Bytes( const char* data, int length, X509Certificate::OSCertHandles* handles) argument
/external/chromium_org/ppapi/proxy/
H A Dnacl_message_scanner.cc33 // Vector to hold handles found in the message.
34 Handles handles; member in struct:__anon10106::ScanningResults
36 // be less than or equal to handles.size(). After the scan it should be equal.
69 results->handles.push_back(handle);
80 // Overload to match SerializedVar, which can contain handles.
83 // Copy any handles and then rewrite the message.
85 results->handles.push_back(*var_handles[i]);
92 // the handles are carried inside the ResourceMessageReplyParams.
93 // NOTE: We only intercept handles from host->NaCl. The only kind of
99 // If the resource reply params don't contain handles, NUL
295 ScanMessage( const IPC::Message& msg, uint32_t type, std::vector<SerializedHandle>* handles, scoped_ptr<IPC::Message>* new_msg_ptr) argument
[all...]

Completed in 8597 milliseconds

12345