Searched refs:handles (Results 1 - 25 of 184) sorted by relevance

12345678

/external/chromium_org/ppapi/proxy/
H A Dhandle_converter.cc40 Handles* handles,
43 handles->push_back(handle);
55 Handles* handles,
63 handles->push_back(*var_handles[i]);
69 // the handles are carried inside the ResourceMessageReplyParams.
70 // NOTE: We only translate handles from host->NaCl. The only kind of
75 Handles* handles,
79 // before the handles (there's nothing after the handles).
84 msg->WriteInt(static_cast<int>(params.handles()
39 ConvertHandlesInParam(const ppapi::proxy::SerializedHandle& handle, Handles* handles, IPC::Message* msg, int* handle_index) argument
54 ConvertHandlesInParam(const ppapi::proxy::SerializedVar& var, Handles* handles, IPC::Message* msg, int* handle_index) argument
73 ConvertHandlesInParam( const ppapi::proxy::ResourceMessageReplyParams& params, Handles* handles, IPC::Message* msg, int* handle_index) argument
116 ConvertHandlesImpl(const Tuple1<A>& t1, Handles* handles, IPC::Message* msg) argument
122 ConvertHandlesImpl(const Tuple2<A, B>& t1, Handles* handles, IPC::Message* msg) argument
129 ConvertHandlesImpl(const Tuple3<A, B, C>& t1, Handles* handles, IPC::Message* msg) argument
137 ConvertHandlesImpl(const Tuple4<A, B, C, D>& t1, Handles* handles, IPC::Message* msg) argument
152 ConvertMessage(Handles* handles, IPC::Message* out_msg) argument
160 ConvertReply(Handles* handles, IPC::SyncMessage* out_msg) argument
209 ConvertNativeHandlesToPosix( const IPC::Message& msg, std::vector<SerializedHandle>* handles, scoped_ptr<IPC::Message>* new_msg_ptr) argument
[all...]
H A Dhandle_converter.h28 // Convert the native handles in |msg| to NaCl style.
34 // In either case, all the handles in |msg| are extracted into |handles| so
35 // that they can be converted to NaClDesc handles.
38 std::vector<SerializedHandle>* handles,
45 // message, otherwise HandleConverter won't be able to convert handles in
52 // and potentially translate handles in the message.
/external/chromium/base/
H A Dsync_socket_posix.cc30 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; local
45 if (socketpair(AF_UNIX, SOCK_STREAM, 0, handles) != 0) {
51 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE,
53 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE,
58 // Copy the handles out for successful return.
59 tmp_sockets[0]->handle_ = handles[0];
61 tmp_sockets[1]->handle_ = handles[1];
66 if (handles[0] != kInvalidHandle) {
67 if (HANDLE_EINTR(close(handles[0])) < 0)
70 if (handles[
[all...]
H A Dsync_socket_win.cc36 Handle handles[2]; local
58 handles[0] = CreateNamedPipeW(
67 if (handles[0] == INVALID_HANDLE_VALUE &&
72 } while (handles[0] == INVALID_HANDLE_VALUE);
73 handles[1] = CreateFileW(name,
81 if (handles[1] == INVALID_HANDLE_VALUE) {
82 CloseHandle(handles[0]);
85 if (ConnectNamedPipe(handles[0], NULL) == FALSE) {
88 CloseHandle(handles[0]);
89 CloseHandle(handles[
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dw32_CancelableWait.c60 HANDLE handles[2]; local
64 handles[0] = waitHandle;
77 if ((handles[1] = sp->cancelEvent) != NULL)
85 handles[1] = NULL;
88 status = WaitForMultipleObjects (nHandles, handles, PTW32_FALSE, timeout);
95 * In the event that both handles are signalled, the smallest index
106 * In the event that both handles are signaled, the cancel will
109 ResetEvent (handles[1]);
/external/chromium_org/base/
H A Dsync_socket_posix.cc50 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; local
51 if (socketpair(AF_UNIX, SOCK_STREAM, 0, handles) != 0)
57 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE,
59 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE,
65 // Copy the handles out for successful return.
66 socket_a->handle_ = handles[0];
67 socket_b->handle_ = handles[1];
72 if (handles[0] != kInvalidHandle) {
73 if (HANDLE_EINTR(close(handles[0])) < 0)
76 if (handles[
[all...]
/external/chromium/chrome/browser/sync/engine/
H A Dapply_updates_command.cc27 syncable::Directory::UnappliedUpdateMetaHandles handles; local
28 dir->GetUnappliedUpdateMetaHandles(&trans, &handles);
33 handles.begin(), handles.end(), session->routing_info(),
H A Dapply_updates_command_unittest.cc378 Syncer::UnsyncedMetaHandles handles; local
379 SyncerUtil::GetUnsyncedEntries(&trans, &handles);
380 EXPECT_TRUE(handles.empty());
423 Syncer::UnsyncedMetaHandles handles; local
424 SyncerUtil::GetUnsyncedEntries(&trans, &handles);
425 EXPECT_EQ(2*batch_s+1, handles.size());
450 Syncer::UnsyncedMetaHandles handles; local
451 SyncerUtil::GetUnsyncedEntries(&trans, &handles);
452 EXPECT_EQ(2*batch_s+1, handles.size());
472 Syncer::UnsyncedMetaHandles handles; local
518 Syncer::UnsyncedMetaHandles handles; local
547 Syncer::UnsyncedMetaHandles handles; local
[all...]
/external/chromium_org/sync/engine/
H A Dapply_updates_and_resolve_conflicts_command.cc69 std::vector<int64> handles; local
71 &trans, server_type_restriction, &handles);
78 applicator.AttemptApplications(&trans, handles);
94 handles.clear();
96 &trans, server_type_restriction, &handles);
102 conflict_applicator.AttemptApplications(&trans, handles);
H A Dapply_control_data_updates.cc31 std::vector<int64> handles; local
33 &trans, ToFullModelTypeSet(ControlTypes()), &handles);
66 for (std::vector<int64>::const_iterator iter = handles.begin();
67 iter != handles.end(); ++iter) {
87 // handles the case where two clients both set a different passphrase. The
H A Dupdate_applicator.h45 const std::vector<int64>& handles);
/external/chromium_org/chrome/browser/usb/
H A Dusb_device.cc90 HandlesVector handles; local
91 swap(handles, handles_);
93 handles.begin();
94 it != handles.end();
/external/chromium/base/synchronization/
H A Dwaitable_event_win.cc78 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
83 handles[i] = events[i]->handle();
88 handles,
H A Dcondition_variable_win.cc76 std::stack<HANDLE> handles; // See FAQ-question-10. local
83 handles.push(waiting_list_.PopBack()->handle());
85 while (!handles.empty()) {
86 SetEvent(handles.top());
87 handles.pop();
/external/chromium/chrome/browser/sync/sessions/
H A Dtest_util.cc27 // Note that a non-zero number of unsynced handles once a session has
31 std::vector<int64> handles; local
32 handles.push_back(1);
33 session->status_controller()->set_unsynced_handles(handles);
/external/chromium_org/components/nacl/loader/
H A Dnacl_listener.cc159 // On Windows, valid handles are 32 bit unsigned integers so this is safe.
262 std::vector<nacl::FileDescriptor> handles = params.handles; local
273 CHECK(handles.size() >= 1);
274 g_shm_fd = nacl::ToNativeHandle(handles[handles.size() - 1]);
275 handles.pop_back();
280 CHECK(handles.size() >= 1);
281 NaClHandle irt_handle = nacl::ToNativeHandle(handles[handles
[all...]
/external/chromium_org/sync/syncable/
H A Dsyncable_util.cc22 std::vector<int64> *handles) {
23 trans->directory()->GetUnsyncedMetaHandles(trans, handles);
24 DVLOG_IF(1, !handles->empty()) << "Have " << handles->size()
26 return handles->size();
21 GetUnsyncedEntries(BaseTransaction* trans, std::vector<int64> *handles) argument
/external/chromium_org/base/synchronization/
H A Dwaitable_event_win.cc81 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
86 handles[i] = events[i]->handle();
91 handles,
/external/chromium_org/content/common/
H A Dgamepad_seqlock_unittest.cc71 PlatformThreadHandle handles[kNumReaderThreads]; local
76 ASSERT_TRUE(PlatformThread::Create(0, &threads[i], &handles[i]));
95 PlatformThread::Join(handles[i]);
/external/chromium_org/ash/system/monitor/
H A Dtray_monitor.h32 void OnGotHandles(const std::list<base::ProcessHandle>& handles);
H A Dtray_monitor.cc62 void TrayMonitor::OnGotHandles(const std::list<base::ProcessHandle>& handles) { argument
76 for (std::list<base::ProcessHandle>::const_iterator i = handles.begin();
77 i != handles.end(); ++i) {
/external/chromium_org/media/audio/
H A Dcross_process_notification_win.cc184 scoped_ptr<HANDLE[]> handles(new HANDLE[notifications.size()]);
201 handles[index++] = notifications[i]->other_;
204 handles[index++] = notifications[i]->other_;
210 wait = ::WaitForMultipleObjects(notifications.size(), &handles[0], FALSE,
218 // Create the first thread and pass a pointer to all handles >63
220 // if the number of handles is > 63. If so, spawns a new thread and
221 // passes >62 handles to that thread and waits for the 62 handles + stop +
230 ExtraWaitThread wait_thread(stop, &handles[MAXIMUM_WAIT_OBJECTS - 1],
236 std::copy(&handles[
[all...]
/external/chromium_org/remoting/host/win/
H A Dunprivileged_process_delegate.cc162 WindowStationAndDesktop handles; local
163 handles.SetWindowStation(CreateWindowStation(
166 if (!handles.window_station()) {
172 if (!SetProcessWindowStation(handles.window_station())) {
189 handles.SetDesktop(CreateDesktop(L"Default", NULL, NULL, 0, desired_access,
198 if (!handles.desktop()) {
203 handles.Swap(*handles_out);
271 // Take a lock why any inheritable handles are open to make sure that only
293 WindowStationAndDesktop handles; local
294 if (!CreateWindowStationAndDesktop(logon_sid.Pass(), &handles)) {
[all...]
/external/chromium/chrome/browser/sync/syncable/
H A Dnigori_util.cc81 std::vector<int64> handles; local
82 browser_sync::SyncerUtil::GetUnsyncedEntries(trans, &handles);
83 for (size_t i = 0; i < handles.size(); ++i) {
84 MutableEntry entry(trans, GET_BY_HANDLE, handles[i]);
128 std::vector<int64> handles; local
129 browser_sync::SyncerUtil::GetUnsyncedEntries(trans, &handles);
130 for (size_t i = 0; i < handles.size(); ++i) {
131 Entry entry(trans, GET_BY_HANDLE, handles[i]);
/external/chromium_org/components/nacl/common/
H A Dnacl_messages.h17 IPC_STRUCT_TRAITS_MEMBER(handles)

Completed in 2734 milliseconds

12345678