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

1 2 3

  /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...]
build_and_process_conflict_sets_command.cc 154 // The handles in the |update_set| order.
155 vector<int64> handles; local
170 // 2. Build |handles|, the list of handles for ApplyUpdates.
176 handles.push_back(entry.Get(syncable::META_HANDLE));
199 handles.begin(), handles.end(),
syncer_util.cc 69 std::vector<int64> *handles) {
70 trans->directory()->GetUnsyncedMetaHandles(trans, handles);
71 VLOG_IF(1, !handles->empty()) << "Have " << handles->size()
73 return handles->size();
280 Directory::ChildHandles handles; local
281 trans->directory()->GetChildHandles(trans, id, &handles);
282 if (!handles.empty()) {
655 Directory::UnsyncedMetaHandles handles;
658 dir->GetUnsyncedMetaHandles(&trans, &handles);
    [all...]
  /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/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...]
shared_memory_unittest.cc 123 // Open two handles to a memory segment, confirm that they are mapped
175 // Open two handles to a memory segment and check that open_existing works
383 ProcessHandle handles[kNumTasks]; local
385 handles[index] = SpawnChild("SharedMemoryTestMain", false);
390 EXPECT_TRUE(WaitForExitCode(handles[index], &exit_code));
  /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/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]);
directory_backing_store.cc 328 bool DirectoryBackingStore::DeleteEntries(const MetahandleSet& handles) {
329 if (handles.empty())
335 for (MetahandleSet::const_iterator it = handles.begin(); it != handles.end();
337 if (it != handles.begin())
571 base::hash_set<int64> handles; local
575 DCHECK(handles.insert(kernel->ref(META_HANDLE)).second); // Only in debug.
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
subprocess.cc 98 // Setup STARTUPINFO to redirect handles.
122 TRUE, // inherit handles?
158 HANDLE handles[2]; local
162 handles[handle_count++] = child_stdin_;
165 handles[handle_count++] = child_stdout_;
169 WaitForMultipleObjects(handle_count, handles, FALSE, INFINITE);
174 signaled_handle = handles[wait_result - WAIT_OBJECT_0];
  /external/icu4c/common/
brkeng.cpp 72 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { function in class:UnhandledEngine
157 if (lbe != NULL && lbe->handles(c, breakType)) {
203 if (lbe != NULL && lbe->handles(c, breakType)) {
dictbe.cpp 37 DictionaryBreakEngine::handles(UChar32 c, int32_t breakType) const { function in class:DictionaryBreakEngine
    [all...]
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_ndis.c 162 HANDLE handles[2]; local
189 handles[0] = l2_ndisuio_global->stop_request;
190 handles[1] = l2_ndisuio_global->rx_processed;
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE);
200 HANDLE handles[2]; local
204 handles[0] = l2_ndisuio_global->stop_request;
205 handles[1] = l2_ndisuio_global->ready_for_read;
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
  /external/wpa_supplicant_8/src/utils/
eloop_win.c 68 HANDLE *handles; member in struct:eloop_data
80 eloop.handles = os_malloc(eloop.num_handles *
81 sizeof(eloop.handles[0]));
82 if (eloop.handles == NULL)
89 os_free(eloop.handles);
103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2,
104 sizeof(eloop.handles[0]));
107 eloop.handles = n;
490 eloop.handles[count++] = eloop.events[i].event;
493 eloop.handles[count++] = eloop.readers[i].event
    [all...]
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java 350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); local
351 if (handles == null) {
355 int length = handles.length;
358 MtpObjectInfo info = device.getObjectInfo(handles[i]);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MtpClient.java 376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); local
377 if (handles == null) {
381 int length = handles.length;
384 MtpObjectInfo info = device.getObjectInfo(handles[i]);
  /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...]
  /external/v8/test/cctest/
test-macro-assembler-x64.cc 160 HandleScope handles; local
250 HandleScope handles; local
302 HandleScope handles; local
432 HandleScope handles; local
478 HandleScope handles; local
728 HandleScope handles; local
818 HandleScope handles; local
1010 HandleScope handles; local
1102 HandleScope handles; local
1210 HandleScope handles; local
1322 HandleScope handles; local
1420 HandleScope handles; local
1491 HandleScope handles; local
1572 HandleScope handles; local
1655 HandleScope handles; local
1740 HandleScope handles; local
1809 HandleScope handles; local
1907 HandleScope handles; local
2015 HandleScope handles; local
2086 HandleScope handles; local
2152 HandleScope handles; local
2197 HandleScope handles; local
    [all...]
  /external/valgrind/unittest/
windows_tests.cc 138 HANDLE handles[2] = {t1, t2}; local
141 EXPECT_EQ(WAIT_TIMEOUT, ::WaitForMultipleObjects(2, handles, TRUE, 1));
142 EXPECT_EQ(WAIT_OBJECT_0, ::WaitForMultipleObjects(2, handles, TRUE, INFINITE));
159 HANDLE handles[2] = {t1, t2}; local
162 EXPECT_EQ(WAIT_TIMEOUT, ::WaitForMultipleObjects(2, handles, FALSE, 1));
163 EXPECT_EQ(WAIT_OBJECT_0 + 1, ::WaitForMultipleObjects(2, handles, FALSE, INFINITE));
165 EXPECT_EQ(WAIT_OBJECT_0, ::WaitForMultipleObjects(1, handles, FALSE, INFINITE));
  /packages/apps/Nfc/nci/jni/
NfcJniUtil.h 132 int handles[16]; member in struct:nfc_jni_native_data
  /external/chromium/net/base/
dnsrr_resolver.cc 673 std::vector<RRResolverHandle*> handles; local
674 handles_.swap(handles);
677 i = handles.begin(); i != handles.end(); i++) {
  /frameworks/av/media/mtp/
MtpServer.cpp 555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent);
556 mData.putAUInt32(handles);
557 delete handles;
589 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); local
590 if (handles) {
591 mData.putAUInt32(handles);
592 delete handles;
    [all...]

Completed in 788 milliseconds

1 2 3