/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/synchronization/ |
waitable_event_win.cc | 81 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local 86 handles[i] = events[i]->handle(); 91 handles,
|
/external/chromium_org/components/usb_service/ |
usb_device_impl.cc | 143 HandlesVector handles; local 144 swap(handles, handles_); 145 for (HandlesVector::iterator it = handles.begin(); it != handles.end(); ++it)
|
/external/chromium_org/content/common/ |
handle_enumerator_win.cc | 53 sandbox::HandleTable handles; local 58 output.append(ASCIIToUTF16(" process - Handles at shutdown:\n")); 60 = handles.HandlesForProcess(::GetCurrentProcessId()); 61 sys_handle != handles.end(); ++sys_handle) {
|
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/sync/engine/ |
apply_control_data_updates.cc | 30 std::vector<int64> handles; local 32 &trans, ToFullModelTypeSet(ControlTypes()), &handles); 63 for (std::vector<int64>::const_iterator iter = handles.begin(); 64 iter != handles.end(); ++iter) { 84 // handles the case where two clients both set a different passphrase. The
|
directory_update_handler.cc | 113 std::vector<int64> handles; local 117 &handles); 121 applicator.AttemptApplications(&trans, handles); 148 handles.clear(); 152 &handles); 155 conflict_applicator.AttemptApplications(&trans, handles);
|
process_updates_util.cc | 313 syncable::Directory::Metahandles handles; local 314 dir->GetMetaHandlesOfType(trans, type, &handles); 315 for (size_t i = 0; i < handles.size(); ++i) { 317 handles[i]);
|
apply_control_data_updates_unittest.cc | 122 Syncer::UnsyncedMetaHandles handles; local 123 GetUnsyncedEntries(&trans, &handles); 124 EXPECT_TRUE(handles.empty()); 165 Syncer::UnsyncedMetaHandles handles; local 166 GetUnsyncedEntries(&trans, &handles); 167 EXPECT_EQ(2*batch_s+1, handles.size()); 183 Syncer::UnsyncedMetaHandles handles; local 184 GetUnsyncedEntries(&trans, &handles); 185 EXPECT_EQ(2*batch_s+1, handles.size()); 209 Syncer::UnsyncedMetaHandles handles; local 234 Syncer::UnsyncedMetaHandles handles; local 279 Syncer::UnsyncedMetaHandles handles; local 299 Syncer::UnsyncedMetaHandles handles; local [all...] |
/external/chromium_org/sync/internal_api/ |
write_transaction.cc | 86 syncable::Directory::Metahandles handles; local 88 transaction_, attachment_id.GetProto(), &handles); 89 for (syncable::Directory::Metahandles::iterator iter = handles.begin(); 90 iter != handles.end();
|
/external/chromium_org/chrome/browser/chromeos/memory/ |
oom_priority_manager_unittest.cc | 147 std::vector<base::ProcessHandle> handles; local 149 // Empty stats list gives empty handles list. 151 handles = OomPriorityManager::GetProcessHandles(empty_list); 152 EXPECT_EQ(0u, handles.size()); 154 // Two tabs in two different processes generates two handles out. 160 handles = OomPriorityManager::GetProcessHandles(two_list); 161 EXPECT_EQ(2u, handles.size()); 162 EXPECT_EQ(100, handles[0]); 163 EXPECT_EQ(101, handles[1]); 165 // Zero handles are removed [all...] |
/external/chromium_org/components/nacl/common/ |
nacl_types.h | 45 std::vector<FileDescriptor> handles; member in struct:nacl::NaClStartParams
|
/external/chromium_org/mojo/public/cpp/bindings/ |
message.h | 16 // Message is a holder for the data and handles to be sent over a MessagePipe. 17 // Message owns its data and handles, but a consumer of Message is free to 18 // mutate the data and handles. The message's data is comprised of a header 29 // Swaps data and handles between this Message and another. 71 // Access the handles. 72 const std::vector<Handle>* handles() const { return &handles_; } function in class:mojo::Message
|
/external/chromium_org/mojo/public/cpp/system/tests/ |
core_unittest.cc | 233 MojoHandle handles[5]; local 234 handles[0] = mp.handle1.release().value(); 235 EXPECT_NE(kInvalidHandleValue, handles[0]); 241 handles, handles_count, 243 // |handles[0]| should actually be invalid now. 244 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(handles[0])); 252 for (size_t i = 0; i < MOJO_ARRAYSIZE(handles); i++) 253 handles[i] = kInvalidHandleValue; 254 handles_count = static_cast<uint32_t>(MOJO_ARRAYSIZE(handles)); 258 handles, &handles_count [all...] |
/external/chromium_org/sync/syncable/ |
nigori_util.cc | 36 std::vector<int64> handles; local 37 GetUnsyncedEntries(trans, &handles); 38 for (size_t i = 0; i < handles.size(); ++i) { 39 MutableEntry entry(trans, GET_BY_HANDLE, handles[i]); 54 std::vector<int64> handles; local 55 GetUnsyncedEntries(trans, &handles); 56 for (size_t i = 0; i < handles.size(); ++i) { 57 Entry entry(trans, GET_BY_HANDLE, handles[i]);
|
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
rpmsg_omx.h | 27 * number of handles associated with fd 28 * @handles: opaque pointers pointing to buffers 33 void *handles[2]; member in struct:omx_pvr_data
|
/art/runtime/ |
monitor_test.cc | 61 std::vector<Handle<mirror::Object>>* handles) 89 handles->push_back(h); 97 handles->push_back(h); 310 std::vector<Handle<mirror::Object>> handles; local 316 FillHeap(self, class_linker, &hsp, &handles); 319 auto it = handles.begin(); 320 auto end = handles.end();
|
/external/chromium_org/base/ |
sync_socket_posix.cc | 72 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; local 73 if (socketpair(AF_UNIX, SOCK_STREAM, 0, handles) != 0) { 74 CloseHandle(handles[0]); 75 CloseHandle(handles[1]); 82 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE, 84 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE, 86 CloseHandle(handles[0]); 87 CloseHandle(handles[1]); 92 // Copy the handles out for successful return. 93 socket_a->handle_ = handles[0] [all...] |
/external/chromium_org/components/nacl/loader/ |
nacl_listener.cc | 189 // On Windows, valid handles are 32 bit unsigned integers so this is safe. 311 std::vector<nacl::FileDescriptor> handles = params.handles; local 322 CHECK(handles.size() >= 1); 323 g_shm_fd = nacl::ToNativeHandle(handles[handles.size() - 1]); 324 handles.pop_back(); 329 CHECK(handles.size() >= 1); 330 NaClHandle irt_handle = nacl::ToNativeHandle(handles[handles.size() - 1]) [all...] |
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_database_unittest.cc | 389 ScopedVector<webkit_blob::BlobDataHandle> handles; local 397 &handles,
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
CoreImplTest.java | 98 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 105 new Pair<Handle, Core.WaitFlags>(handles.second, Core.WaitFlags.READABLE)); 107 new Pair<Handle, Core.WaitFlags>(handles.first, Core.WaitFlags.WRITABLE)); 114 new Pair<Handle, Core.WaitFlags>(handles.first, Core.WaitFlags.WRITABLE)); 116 new Pair<Handle, Core.WaitFlags>(handles.second, Core.WaitFlags.READABLE)); 121 handles.first.close(); 122 handles.second.close(); 133 Pair<? extends Handle, ? extends Handle> handles = core.createMessagePipe(); local 135 assertEquals(core, handles.first.getCore()); 136 assertEquals(core, handles.second.getCore()) 168 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 217 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 235 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 263 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 293 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe( local 326 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local 362 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local 396 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); local 511 List<Pair<Handle, Core.WaitFlags>> handles = new ArrayList< local 525 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 585 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 615 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 648 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 682 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 735 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 763 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local 802 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); local [all...] |
/external/chromium_org/mojo/common/ |
message_pump_mojo.cc | 22 std::vector<Handle> handles; member in struct:mojo::common::MessagePumpMojo::WaitState 116 // There isn't a good way to know if there are more handles ready, we assume 145 WaitMany(wait_state.handles, wait_state.wait_signals, deadline); 153 DCHECK(handlers_.find(wait_state.handles[index]) != handlers_.end()); 154 handlers_[wait_state.handles[index]].handler->OnHandleReady( 155 wait_state.handles[index]); 190 for (size_t i = 1; i < wait_state.handles.size(); ++i) { 192 Wait(wait_state.handles[i], wait_state.wait_signals[i], 0); 198 DCHECK(handlers_.find(wait_state.handles[i]) != handlers_.end()); 200 handlers_[wait_state.handles[i]].handler [all...] |
/external/chromium_org/mojo/public/cpp/utility/lib/ |
run_loop.cc | 28 std::vector<Handle> handles; member in struct:mojo::RunLoop::WaitState 123 if (wait_state.handles.empty()) { 128 const MojoResult result = WaitMany(wait_state.handles, 133 assert(handler_data_.find(wait_state.handles[index]) != 135 handler_data_[wait_state.handles[index]].handler->OnHandleReady( 136 wait_state.handles[index]); 177 for (size_t i = 0; i < wait_state.handles.size(); ++i) { 179 mojo::Wait(wait_state.handles[i], wait_state.handle_signals[i], 185 assert(handler_data_.find(wait_state.handles[i]) != handler_data_.end()); 187 handler_data_[wait_state.handles[i]].handler [all...] |
/external/chromium_org/mojo/system/ |
core_unittest.cc | 151 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; local 155 core()->WaitMany(handles, signals, 0, MOJO_DEADLINE_INDEFINITE)); 159 core()->WaitMany(handles, NULL, 0, MOJO_DEADLINE_INDEFINITE)); 164 core()->WaitMany(handles, NULL, 1, MOJO_DEADLINE_INDEFINITE)); 166 core()->WaitMany(handles, signals, 1, MOJO_DEADLINE_INDEFINITE)); 169 handles[0] = CreateMockHandle(&info[0]); 172 core()->WaitMany(handles, signals, 1, MOJO_DEADLINE_INDEFINITE)); 174 core()->WaitMany(handles, signals, 2, MOJO_DEADLINE_INDEFINITE)); 175 handles[1] = handles[0] + 1; // Invalid handle 207 MojoHandle handles[2] = {MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID}; local 436 MojoHandle handles[10]; local 687 MojoHandle handles[10]; local [all...] |
/external/chromium_org/ppapi/proxy/ |
resource_message_params.h | 27 // Note that the caller doesn't take ownership of the returned handles. 28 const std::vector<SerializedHandle>& handles() const { function in class:ppapi::proxy::ResourceMessageParams 32 // Makes ResourceMessageParams leave its handles open, even if they weren't 46 // Helper functions to return shared memory, socket or file handles passed in 65 std::vector<base::SharedMemoryHandle>* handles) const; 67 // Appends the given handle to the list of handles sent with the call or 78 // Writes everything except the handles to |msg|. 80 // Writes the handles to |msg|. 99 // Whether the handles stored in |data_| should be closed when this object 105 // ResourceMessageReplyParams) will close those handles which haven't bee [all...] |