/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/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/bluetooth/glib/glib/ |
gpoll.c | 136 HANDLE *handles, 148 /* Wait for either messages or handles 154 ready = MsgWaitForMultipleObjectsEx (nhandles, handles, timeout, 166 /* No handles to wait for, just the timeout */ 177 /* Wait for just handles 183 ready = WaitForMultipleObjectsEx (nhandles, handles, FALSE, timeout, TRUE); 210 /* If we have a timeout, or no handles to poll, be satisfied 216 /* If no timeout and handles to poll, recurse to poll them, 219 recursed_result = poll_rest (FALSE, handles, nhandles, fds, nfds, 0); 226 if ((HANDLE) f->fd == handles[ready - WAIT_OBJECT_0] 259 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local [all...] |
/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/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/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;
|
dictbe.h | 69 * <p>Indicate whether this engine handles a particular character for 74 * @return TRUE if this engine handles the particular character and break 77 virtual UBool handles( UChar32 c, int32_t breakType ) const;
|
/packages/apps/Nfc/jni/ |
com_android_nfc.cpp | 460 int handles[MAX_NUM_TECHNOLOGIES]; local 476 index = addTechIfNeeded(technologies, handles, libnfctypes, index, 482 index = addTechIfNeeded(technologies, handles, libnfctypes, index, 484 index = addTechIfNeeded(technologies, handles, libnfctypes, index, 489 index = addTechIfNeeded(technologies, handles, libnfctypes, 497 index = addTechIfNeeded(technologies, handles, libnfctypes, 499 index = addTechIfNeeded(technologies, handles, libnfctypes, 504 index = addTechIfNeeded(technologies, handles, libnfctypes, 518 index = addTechIfNeeded(technologies, handles, libnfctypes, 522 index = addTechIfNeeded(technologies, handles, libnfctypes [all...] |
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
rep_prefix.S | 16 # handles things properly.
|
/external/wpa_supplicant/ |
eloop_win.c | 75 HANDLE *handles; member in struct:eloop_data 87 eloop.handles = os_malloc(eloop.num_handles * 88 sizeof(eloop.handles[0])); 89 if (eloop.handles == NULL) 96 os_free(eloop.handles); 110 n = os_realloc(eloop.handles, 111 eloop.num_handles * 2 * sizeof(eloop.handles[0])); 114 eloop.handles = n; 476 eloop.handles[count++] = eloop.events[i].event; 479 eloop.handles[count++] = eloop.readers[i].event [all...] |
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_6/wpa_supplicant/src/utils/ |
eloop_win.c | 75 HANDLE *handles; member in struct:eloop_data 87 eloop.handles = os_malloc(eloop.num_handles * 88 sizeof(eloop.handles[0])); 89 if (eloop.handles == NULL) 96 os_free(eloop.handles); 110 n = os_realloc(eloop.handles, 111 eloop.num_handles * 2 * sizeof(eloop.handles[0])); 114 eloop.handles = n; 475 eloop.handles[count++] = eloop.events[i].event; 478 eloop.handles[count++] = eloop.readers[i].event [all...] |
/external/wpa_supplicant_8/src/utils/ |
eloop_win.c | 73 HANDLE *handles; member in struct:eloop_data 84 eloop.handles = os_malloc(eloop.num_handles * 85 sizeof(eloop.handles[0])); 86 if (eloop.handles == NULL) 93 os_free(eloop.handles); 107 n = os_realloc(eloop.handles, 108 eloop.num_handles * 2 * sizeof(eloop.handles[0])); 111 eloop.handles = n; 482 eloop.handles[count++] = eloop.events[i].event; 485 eloop.handles[count++] = eloop.readers[i].event [all...] |
/external/webkit/LayoutTests/fast/js/resources/ |
codegen-temporaries-multiple-global-blocks-2.js | 2 'Tests whether bytecode codegen properly handles temporaries across multiple global blocks.'
|
/external/v8/src/ |
global-handles.h | 38 // Structure for tracking global handles. 39 // A single list keeps all the allocated global handles. 40 // Destroyed handles stay in the list but is added to the free list. 41 // At GC the destroyed global handles are removed from the free list 49 static ObjectGroup* New(Object*** handles, 57 CopyWords(group->objects_, handles, static_cast<int>(length)); 125 // handles point to an object the handles are cleared and the callback 135 // Returns the current number of weak handles. 140 // Returns the current number of weak handles to global objects [all...] |
/external/v8/test/mjsunit/ |
debug-handle.js | 101 lookupRequest(exec_state, '{"handles":["a"]}', false); 102 lookupRequest(exec_state, '{"handles":[-1]}', false); 104 // Evaluate and get some handles. 115 response = lookupRequest(exec_state, '{"handles":[' + handle_o + ']}', true); 133 response = lookupRequest(exec_state, '{"handles":[' + handle_p + ']}', true); 138 // Check handles for functions on the stack. 146 response = lookupRequest(exec_state, '{"handles":[' + handle_f + ']}', true); 153 var arguments = '{"handles":[' + ref + ']}'; 184 var arguments = '{"handles":[' + refs.join(',') + ']}';
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
multiple-requests.js | 1 description("Tests that Geolocation correctly handles multiple concurrent requests.");
|
/external/wpa_supplicant_6/wpa_supplicant/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/l2_packet/ |
l2_packet_ndis.c | 168 HANDLE handles[2]; local 195 handles[0] = l2_ndisuio_global->stop_request; 196 handles[1] = l2_ndisuio_global->rx_processed; 197 WaitForMultipleObjects(2, handles, FALSE, INFINITE); 206 HANDLE handles[2]; local 210 handles[0] = l2_ndisuio_global->stop_request; 211 handles[1] = l2_ndisuio_global->ready_for_read; 231 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
|
/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]);
|
/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));
|