HomeSort by relevance Sort by last modified time
    Searched refs:handles (Results 1 - 25 of 271) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/ppapi/proxy/
handle_converter.cc 34 typedef std::vector<ppapi::proxy::SerializedHandle> Handles;
40 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
    [all...]
handle_converter.h 28 // 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/
sync_socket_posix.cc 30 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[1] != kInvalidHandle)
    [all...]
sync_socket_win.cc 36 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[1])
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
w32_CancelableWait.c 60 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/
sync_socket_posix.cc 50 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[1] != kInvalidHandle)
    [all...]
  /external/chromium/chrome/browser/sync/engine/
apply_updates_command.cc 27 syncable::Directory::UnappliedUpdateMetaHandles handles; local
28 dir->GetUnappliedUpdateMetaHandles(&trans, &handles);
33 handles.begin(), handles.end(), session->routing_info(),
apply_updates_command_unittest.cc 378 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/
apply_updates_and_resolve_conflicts_command.cc 69 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);
  /external/chromium_org/ash/system/monitor/
tray_monitor.h 32 void OnGotHandles(const std::list<base::ProcessHandle>& handles);
tray_monitor.cc 62 void TrayMonitor::OnGotHandles(const std::list<base::ProcessHandle>& handles) {
76 for (std::list<base::ProcessHandle>::const_iterator i = handles.begin();
77 i != handles.end(); ++i) {
  /external/chromium_org/chrome/browser/usb/
usb_device.cc 90 HandlesVector handles; local
91 swap(handles, handles_);
93 handles.begin();
94 it != handles.end();
  /external/chromium/base/synchronization/
waitable_event_win.cc 78 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
83 handles[i] = events[i]->handle();
88 handles,
condition_variable_win.cc 76 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/
test_util.cc 27 // 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/
nacl_listener.cc 159 // 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.size() - 1])
    [all...]
  /external/chromium_org/sync/syncable/
syncable_util.cc 22 std::vector<int64> *handles) {
23 trans->directory()->GetUnsyncedMetaHandles(trans, handles);
24 DVLOG_IF(1, !handles->empty()) << "Have " << handles->size()
26 return handles->size();
  /external/chromium_org/base/synchronization/
waitable_event_win.cc 81 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
86 handles[i] = events[i]->handle();
91 handles,
  /external/chromium_org/content/common/
gamepad_seqlock_unittest.cc 71 PlatformThreadHandle handles[kNumReaderThreads]; local
76 ASSERT_TRUE(PlatformThread::Create(0, &threads[i], &handles[i]));
95 PlatformThread::Join(handles[i]);
  /external/chromium_org/media/audio/
cross_process_notification_win.cc 184 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[0], &handles[MAXIMUM_WAIT_OBJECTS - 1], &events[0])
    [all...]
  /external/chromium_org/remoting/host/win/
unprivileged_process_delegate.cc 162 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/
nigori_util.cc 81 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/third_party/icu/source/common/
brkeng.h 50 * <p>Indicate whether this engine handles a particular character for
55 * @return TRUE if this engine handles the particular character and break
58 virtual UBool handles(UChar32 c, int32_t breakType) const = 0;
142 * handles characters that no other LanguageBreakEngine is available to
175 * <p>Indicate whether this engine handles a particular character for
180 * @return TRUE if this engine handles the particular character and break
183 virtual UBool handles(UChar32 c, int32_t breakType) const;
  /external/icu4c/common/
brkeng.h 50 * <p>Indicate whether this engine handles a particular character for
55 * @return TRUE if this engine handles the particular character and break
58 virtual UBool handles(UChar32 c, int32_t breakType) const = 0;
142 * handles characters that no other LanguageBreakEngine is available to
175 * <p>Indicate whether this engine handles a particular character for
180 * @return TRUE if this engine handles the particular character and break
183 virtual UBool handles(UChar32 c, int32_t breakType) const;
  /packages/apps/Nfc/nxp/jni/
com_android_nfc.cpp 414 int handles[MAX_NUM_TECHNOLOGIES]; local
430 index = addTechIfNeeded(technologies, handles, libnfctypes, index,
436 index = addTechIfNeeded(technologies, handles, libnfctypes, index,
438 index = addTechIfNeeded(technologies, handles, libnfctypes, index,
443 index = addTechIfNeeded(technologies, handles, libnfctypes,
451 index = addTechIfNeeded(technologies, handles, libnfctypes,
453 index = addTechIfNeeded(technologies, handles, libnfctypes,
458 index = addTechIfNeeded(technologies, handles, libnfctypes,
472 index = addTechIfNeeded(technologies, handles, libnfctypes,
476 index = addTechIfNeeded(technologies, handles, libnfctypes
    [all...]

Completed in 1295 milliseconds

1 2 3 4 5 6 7 8 91011