Searched defs:handles (Results 1 - 25 of 99) sorted by path

1234

/external/bluetooth/bluedroid/stack/btu/
H A Dbtu_hcif.c545 UINT16 handles[MAX_L2CAP_LINKS + 4]; local
549 num_ents = l2c_link_pkts_rcvd (num_pkts, handles);
556 btsnd_hcic_host_num_xmitted_pkts (num_ents, handles, num_pkts);
/external/bluetooth/bluedroid/stack/include/
H A Dgatt_api.h439 UINT16 num_handles; /* number of handles to read */
440 UINT16 handles[GATT_MAX_READ_MULTI_HANDLES]; /* handles list to be read */ member in struct:__anon1537
693 ** Description This function add the allocated handles range for the specifed
696 ** Parameter p_hndl_range: pointer to allocated handles information
724 ** Description This function is called to reserve a block of handles for a service.
731 ** num_handles : number of handles needed by the service.
/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/bluetooth/bluedroid/stack/sdp/
H A Dsdpint.h194 UINT32 handles[SDP_MAX_DISC_SERVER_RECS]; /* Discovered server record handles */ member in struct:__anon1711
195 UINT16 num_handles; /* Number of server 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
665 ProcessHandle handles[kNumTasks]; local
667 handles[index] = SpawnChild("SharedMemoryTestMain");
668 ASSERT_TRUE(handles[index]);
673 EXPECT_TRUE(WaitForExitCode(handles[index], &exit_code));
/external/chromium_org/base/
H A Dsync_socket_posix.cc72 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[
[all...]
/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();
H A Dwaitable_event_win.cc81 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
86 handles[i] = events[i]->handle();
91 handles,
/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/cloud_print/service/win/
H A Dchrome_launcher.cc225 HANDLE handles[] = {stop_event_.handle(), chrome_handle}; local
229 wait_result = ::WaitForMultipleObjects(arraysize(handles), handles,
/external/chromium_org/components/nacl/common/
H A Dnacl_types.h45 std::vector<FileDescriptor> handles; member in struct:nacl::NaClStartParams
/external/chromium_org/components/nacl/loader/
H A Dnacl_ipc_adapter.cc473 Handles handles; local
475 if (!locked_data_.nacl_msg_scanner_.ScanMessage(msg, &handles, &new_msg))
478 // Now add any descriptors we found to rewritten_msg. |handles| is usually
480 for (Handles::const_iterator iter = handles.begin();
481 iter != handles.end();
613 // If we ever pass handles from the plugin to the host, we should close them
H A Dnacl_listener.cc189 // 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
[all...]
/external/chromium_org/components/usb_service/
H A Dusb_device_impl.cc143 HandlesVector handles; local
144 swap(handles, handles_);
145 for (HandlesVector::iterator it = handles.begin(); it != handles.end(); ++it)
/external/chromium_org/content/browser/gpu/
H A Dgpu_process_host.cc276 std::list<base::ProcessHandle> handles; local
280 handles.push_back(host->process_->GetHandle());
285 base::Bind(callback, handles));
808 // offscreen contexts. This more robustly handles situations where
1048 // First send empty channel handles for all EstablishChannel requests.
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_backing_store.cc1865 ScopedVector<webkit_blob::BlobDataHandle>* handles,
1891 handles);
1894 DCHECK(!handles->size());
4152 ScopedVector<webkit_blob::BlobDataHandle>* handles) {
4154 if (handles)
4155 handles_.swap(*handles);
4175 ScopedVector<webkit_blob::BlobDataHandle>* handles) {
4197 database_id, object_store_id, object_store_data_key, blob_info, handles);
4210 ScopedVector<webkit_blob::BlobDataHandle>* handles) {
4226 record->SetHandles(handles);
1859 PutRecord( IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, const IndexedDBKey& key, IndexedDBValue& value, ScopedVector<webkit_blob::BlobDataHandle>* handles, RecordIdentifier* record_identifier) argument
4151 SetHandles( ScopedVector<webkit_blob::BlobDataHandle>* handles) argument
4170 PutBlobInfoIfNeeded( int64 database_id, int64 object_store_id, const std::string& object_store_data_key, std::vector<IndexedDBBlobInfo>* blob_info, ScopedVector<webkit_blob::BlobDataHandle>* handles) argument
4205 PutBlobInfo( int64 database_id, int64 object_store_id, const std::string& object_store_data_key, std::vector<IndexedDBBlobInfo>* blob_info, ScopedVector<webkit_blob::BlobDataHandle>* handles) argument
[all...]
H A Dindexed_db_backing_store_unittest.cc364 ScopedVector<webkit_blob::BlobDataHandle> handles; local
367 &transaction1, 1, 1, m_key1, m_value1, &handles, &record);
396 ScopedVector<webkit_blob::BlobDataHandle> handles; local
403 &handles,
481 ScopedVector<webkit_blob::BlobDataHandle> handles; local
488 &handles,
495 &handles,
502 &handles,
509 &handles,
571 ScopedVector<webkit_blob::BlobDataHandle> handles; local
630 ScopedVector<webkit_blob::BlobDataHandle> handles; local
709 ScopedVector<webkit_blob::BlobDataHandle> handles; local
798 ScopedVector<webkit_blob::BlobDataHandle> handles; local
[all...]
H A Dindexed_db_database.cc713 ScopedVector<webkit_blob::BlobDataHandle> handles; member in struct:content::IndexedDBDatabase::PutOperationParams
726 ScopedVector<webkit_blob::BlobDataHandle>* handles,
745 params->handles.swap(*handles);
845 &params->handles,
723 Put(int64 transaction_id, int64 object_store_id, IndexedDBValue* value, ScopedVector<webkit_blob::BlobDataHandle>* handles, scoped_ptr<IndexedDBKey> key, PutMode put_mode, scoped_refptr<IndexedDBCallbacks> callbacks, const std::vector<IndexKeys>& index_keys) argument
H A Dindexed_db_database_unittest.cc389 ScopedVector<webkit_blob::BlobDataHandle> handles; local
397 &handles,
H A Dindexed_db_dispatcher_host.cc343 std::vector<webkit_blob::BlobDataHandle*> handles) {
344 database_dispatcher_host_->OnPut(params, handles);
606 std::vector<webkit_blob::BlobDataHandle*> handles; local
609 handles.push_back(parent_->blob_storage_context_->context()
616 &IndexedDBDispatcherHost::OnPutHelper, parent_, params, handles));
621 std::vector<webkit_blob::BlobDataHandle*> handles) {
627 scoped_handles.swap(handles);
341 OnPutHelper( const IndexedDBHostMsg_DatabasePut_Params& params, std::vector<webkit_blob::BlobDataHandle*> handles) argument
619 OnPut( const IndexedDBHostMsg_DatabasePut_Params& params, std::vector<webkit_blob::BlobDataHandle*> handles) argument
H A Dindexed_db_fake_backing_store.cc86 ScopedVector<webkit_blob::BlobDataHandle>* handles,
80 PutRecord( IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, const IndexedDBKey& key, IndexedDBValue& value, ScopedVector<webkit_blob::BlobDataHandle>* handles, RecordIdentifier* record) argument
/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]);
H A Dhandle_enumerator_win.cc53 sandbox::HandleTable handles; local
60 = handles.HandlesForProcess(::GetCurrentProcessId());
61 sys_handle != handles.end(); ++sys_handle) {
/external/chromium_org/mojo/android/system/
H A Dcore_impl.cc64 // Buffer contains first the list of handles, then the list of flags.
152 const MojoHandle* handles = 0; local
155 handles =
159 // Java code will handle invalidating handles if the write succeeded.
161 mojo_handle, buffer_start, buffer_size, handles, num_handles, flags);
177 MojoHandle* handles = 0; local
180 handles =
185 mojo_handle, buffer_start, &buffer_size, handles, &num_handles, flags);
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DCoreImpl.java82 public WaitManyResult waitMany(List<Pair<Handle, WaitFlags>> handles, long deadline) { argument
84 // contain all mojo handles, followed by all flags values.
85 ByteBuffer buffer = allocateDirectBuffer(handles.size() * 8);
87 for (Pair<Handle, WaitFlags> handle : handles) {
89 buffer.putInt(HANDLE_SIZE * handles.size() + FLAG_SIZE * index,
200 List<? extends Handle> handles, MessagePipeHandle.WriteFlags flags) {
202 if (handles != null && !handles.isEmpty()) {
203 handlesBuffer = allocateDirectBuffer(handles.size() * HANDLE_SIZE);
204 for (Handle handle : handles) {
199 writeMessage(MessagePipeHandleImpl pipeHandle, ByteBuffer bytes, List<? extends Handle> handles, MessagePipeHandle.WriteFlags flags) argument
[all...]

Completed in 677 milliseconds

1234