Searched defs:handles (Results 1 - 25 of 111) sorted by relevance

12345

/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-pipeline.cc10 #include "src/handles.h"
19 InitializedHandleScope handles; local
H A Dtest-linkage.cc45 InitializedHandleScope handles; local
53 InitializedHandleScope handles; local
59 i::HandleScope handles(CcTest::i_isolate());
87 HandleAndZoneScope handles; local
/external/chromium_org/content/common/
H A Dhandle_enumerator_win.cc53 sandbox::HandleTable handles; local
60 = handles.HandlesForProcess(::GetCurrentProcessId());
61 sys_handle != handles.end(); ++sys_handle) {
H A Done_writer_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/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DMessagePipeHandleImpl.java44 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) { argument
45 mCore.writeMessage(this, bytes, handles, flags);
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbindings_serialization.h48 // Handles are encoded as indices into a vector of handles. These functions
50 void EncodeHandle(Handle* handle, std::vector<Handle>* handles);
52 void DecodeHandle(Handle* handle, std::vector<Handle>* handles);
58 inline void Encode(T* obj, std::vector<Handle>* handles) { argument
60 obj->ptr->EncodePointersAndHandles(handles);
66 inline void Decode(T* obj, std::vector<Handle>* handles) { argument
69 obj->ptr->DecodePointersAndHandles(handles);
H A Darray_internal.cc60 std::vector<Handle>* handles) {
62 EncodeHandle(&elements[i], handles);
69 std::vector<Handle>* handles) {
71 DecodeHandle(&elements[i], handles);
57 EncodePointersAndHandles( const ArrayHeader* header, ElementType* elements, std::vector<Handle>* handles) argument
66 DecodePointersAndHandles( const ArrayHeader* header, ElementType* elements, std::vector<Handle>* handles) argument
H A Dbindings_serialization.cc63 void EncodeHandle(Handle* handle, std::vector<Handle>* handles) { argument
65 handles->push_back(*handle);
66 handle->set_value(static_cast<MojoHandle>(handles->size() - 1));
72 void DecodeHandle(Handle* handle, std::vector<Handle>* handles) { argument
77 MOJO_DCHECK(handle->value() < handles->size());
79 *handle = FetchAndReset(&handles->at(handle->value()));
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DMessage.java25 * The handles of the message.
38 * @param handles The list of handles to send.
40 public Message(ByteBuffer buffer, List<? extends Handle> handles) { argument
43 mHandle = handles;
54 * The handles of the message.
/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/sync/engine/
H A Dupdate_applicator.cc48 const std::vector<int64>& handles) {
49 std::vector<int64> to_apply = handles;
46 AttemptApplications( syncable::WriteTransaction* trans, const std::vector<int64>& handles) argument
H A Dapply_control_data_updates.cc30 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
/external/chromium_org/base/synchronization/
H A Dwaitable_event_win.cc79 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
84 handles[i] = events[i]->handle();
89 handles,
/external/chromium_org/sync/internal_api/
H A Dsync_rollback_manager.cc89 ModelType type, std::vector<int64> handles) {
95 for (size_t i = 0; i < handles.size(); ++i) {
97 syncable::GET_BY_HANDLE, handles[i]);
103 del.id = handles[i];
88 DeleteOnWorkerThread( ModelType type, std::vector<int64> handles) argument
H A Dwrite_transaction.cc86 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/third_party/WebKit/Source/bindings/core/v8/
H A DScheduledAction.cpp126 void ScheduledAction::createLocalHandlesForArgs(Vector<v8::Handle<v8::Value> >* handles) argument
128 handles->reserveCapacity(m_info.Size());
130 handles->append(m_info.Get(i));
/external/chromium_org/chrome/browser/chromeos/memory/
H A Doom_priority_manager_unittest.cc147 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 ar
[all...]
/external/chromium_org/mojo/embedder/
H A Dplatform_channel_utils_posix.cc108 PlatformHandle* handles,
110 DCHECK(handles);
127 DCHECK(handles[i].is_valid());
128 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = handles[i].fd;
138 handles[i].CloseIfNecessary();
107 PlatformChannelSendHandles(PlatformHandle h, PlatformHandle* handles, size_t num_handles) argument
/external/chromium_org/mojo/public/cpp/bindings/
H A Dmessage.h15 // Message is a holder for the data and handles to be sent over a MessagePipe.
16 // Message owns its data and handles, but a consumer of Message is free to
17 // mutate the data and handles. The message's data is comprised of a header
28 // Swaps data and handles between this Message and another.
70 // Access the handles.
71 const std::vector<Handle>* handles() const { return &handles_; } function in class:mojo::Message
/external/chromium_org/mojo/public/cpp/system/
H A Dmessage_pipe.h52 // ownership of handles (especially when writing messages).
57 const MojoHandle* handles,
60 return MojoWriteMessage(message_pipe.value(), bytes, num_bytes, handles,
67 MojoHandle* handles,
70 return MojoReadMessage(message_pipe.value(), bytes, num_bytes, handles,
75 // handles.
54 WriteMessageRaw(MessagePipeHandle message_pipe, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument
64 ReadMessageRaw(MessagePipeHandle message_pipe, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
/external/chromium_org/mojo/public/cpp/system/tests/
H A Dcore_unittest.cc233 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,
[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/components/nacl/common/
H A Dnacl_types.h55 std::vector<FileDescriptor> handles; member in struct:nacl::NaClStartParams
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_database_unittest.cc395 ScopedVector<storage::BlobDataHandle> handles; local
403 &handles,
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/
H A DHandleMock.java154 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, argument

Completed in 515 milliseconds

12345