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

/external/chromium/base/
H A Dsync_socket_posix.cc31 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; local
46 if (socketpair(AF_UNIX, SOCK_STREAM, 0, handles) != 0) {
52 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE,
54 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE,
59 // Copy the handles out for successful return.
60 tmp_sockets[0]->handle_ = handles[0];
62 tmp_sockets[1]->handle_ = handles[1];
67 if (handles[0] != kInvalidHandle)
68 (void) close(handles[0]);
69 if (handles[
[all...]
H A Dsync_socket_win.cc37 Handle handles[2]; local
59 handles[0] = CreateNamedPipeW(
68 if (handles[0] == INVALID_HANDLE_VALUE &&
73 } while (handles[0] == INVALID_HANDLE_VALUE);
74 handles[1] = CreateFileW(name,
82 if (handles[1] == INVALID_HANDLE_VALUE) {
83 CloseHandle(handles[0]);
86 if (ConnectNamedPipe(handles[0], NULL) == FALSE) {
89 CloseHandle(handles[0]);
90 CloseHandle(handles[
[all...]
H A Dwaitable_event_win.cc78 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
83 handles[i] = events[i]->handle();
88 handles,
H A Dcondition_variable_win.cc76 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();
H A Dshared_memory_unittest.cc121 // Open two handles to a memory segment, confirm that they are mapped
327 base::ProcessHandle handles[kNumTasks]; local
329 handles[index] = SpawnChild(L"SharedMemoryTestMain");
334 EXPECT_TRUE(base::WaitForExitCode(handles[index], &exit_code));
/external/bluetooth/glib/glib/
H A Dgpoll.c136 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[read
135 poll_rest(gboolean poll_msgs, HANDLE *handles, gint nhandles, GPollFD *fds, guint nfds, gint timeout) argument
259 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; local
[all...]
/external/protobuf/src/google/protobuf/compiler/
H A Dsubprocess.cc98 // 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/chromium/third_party/icu/source/common/
H A Dbrkeng.cpp70 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { function in class:UnhandledEngine
155 if (lbe != NULL && lbe->handles(c, breakType)) {
201 if (lbe != NULL && lbe->handles(c, breakType)) {
H A Ddictbe.cpp43 DictionaryBreakEngine::handles(UChar32 c, int32_t breakType) const { function in class:DictionaryBreakEngine
/external/icu4c/common/
H A Dbrkeng.cpp69 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { function in class:UnhandledEngine
154 if (lbe != NULL && lbe->handles(c, breakType)) {
200 if (lbe != NULL && lbe->handles(c, breakType)) {
H A Ddictbe.cpp38 DictionaryBreakEngine::handles(UChar32 c, int32_t breakType) const { function in class:DictionaryBreakEngine
/external/wpa_supplicant/
H A Deloop_win.c75 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[coun
[all...]
H A Dl2_packet_ndis.c162 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/l2_packet/
H A Dl2_packet_ndis.c162 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/
H A Deloop_win.c75 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[coun
[all...]
/external/v8/test/cctest/
H A Dtest-macro-assembler-x64.cc135 HandleScope handles; local
220 HandleScope handles; local
267 HandleScope handles; local
392 HandleScope handles; local
433 HandleScope handles; local
678 HandleScope handles; local
763 HandleScope handles; local
950 HandleScope handles; local
1037 HandleScope handles; local
1140 HandleScope handles; local
1247 HandleScope handles; local
1340 HandleScope handles; local
1406 HandleScope handles; local
1482 HandleScope handles; local
1560 HandleScope handles; local
1640 HandleScope handles; local
1704 HandleScope handles; local
1845 HandleScope handles; local
1948 HandleScope handles; local
2014 HandleScope handles; local
2075 HandleScope handles; local
[all...]
/external/v8/src/arm/
H A Dregexp-macro-assembler-arm.cc1001 HandleScope handles; local
/external/v8/src/
H A Dglobal-handles.cc31 #include "global-handles.h"
192 PENDING, // Has been recognized as only reachable by weak handles.
404 // Traversal of global handles marked as NORMAL.
485 PrintF("Global handles:\n");
500 void GlobalHandles::AddGroup(Object*** handles, size_t length) { argument
503 new_entry->objects_.Add(handles[i]);

Completed in 565 milliseconds