Home
last modified time | relevance | path

Searched refs:readers (Results 1 – 25 of 92) sorted by relevance

1234

/external/wpa_supplicant_8/src/utils/
Deloop_none.c40 struct eloop_sock *readers; member
69 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, in eloop_register_read_sock()
79 eloop.readers = tmp; in eloop_register_read_sock()
92 if (eloop.readers == NULL || eloop.reader_count == 0) in eloop_unregister_read_sock()
96 if (eloop.readers[i].sock == sock) in eloop_unregister_read_sock()
102 os_memmove(&eloop.readers[i], &eloop.readers[i + 1], in eloop_unregister_read_sock()
367 eloop.readers[i].handler( in eloop_run()
368 eloop.readers[i].sock, in eloop_run()
369 eloop.readers[i].eloop_data, in eloop_run()
370 eloop.readers[i].user_data); in eloop_run()
[all …]
Deloop_win.c50 struct eloop_sock *readers; member
133 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, in eloop_register_read_sock()
147 eloop.readers = tmp; in eloop_register_read_sock()
160 if (eloop.readers == NULL || eloop.reader_count == 0) in eloop_unregister_read_sock()
164 if (eloop.readers[i].sock == sock) in eloop_unregister_read_sock()
170 WSAEventSelect(eloop.readers[i].sock, eloop.readers[i].event, 0); in eloop_unregister_read_sock()
171 WSACloseEvent(eloop.readers[i].event); in eloop_unregister_read_sock()
174 os_memmove(&eloop.readers[i], &eloop.readers[i + 1], in eloop_unregister_read_sock()
493 eloop.handles[count++] = eloop.readers[i].event; in eloop_run()
563 if (WSAEnumNetworkEvents(eloop.readers[i].sock, in eloop_run()
[all …]
Deloop.c66 struct eloop_sock_table readers; member
237 static int eloop_sock_table_set_fds(struct eloop_sock_table *readers, in eloop_sock_table_set_fds() argument
252 if (readers && readers->table) { in eloop_sock_table_set_fds()
253 for (i = 0; i < readers->count; i++) { in eloop_sock_table_set_fds()
254 fd = readers->table[i].sock; in eloop_sock_table_set_fds()
346 static void eloop_sock_table_dispatch(struct eloop_sock_table *readers, in eloop_sock_table_dispatch() argument
352 if (eloop_sock_table_dispatch_table(readers, pollfds_map, in eloop_sock_table_dispatch()
445 return &eloop.readers; in eloop_get_sock_table()
728 (!dl_list_empty(&eloop.timeout) || eloop.readers.count > 0 || in eloop_run()
749 &eloop.readers, &eloop.writers, &eloop.exceptions, in eloop_run()
[all …]
Dpcsc_funcs.c504 TCHAR *readers = NULL; in scard_init() local
506 char *readers = NULL; in scard_init() local
538 readers = os_malloc(len); in scard_init()
539 if (readers == NULL) { in scard_init()
544 ret = SCardListReaders(scard->ctx, NULL, readers, &len); in scard_init()
555 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: Readers", (u8 *) readers, len); in scard_init()
566 os_strncmp(&readers[pos], reader, os_strlen(reader)) == 0) in scard_init()
568 while (pos < len && readers[pos]) in scard_init()
571 if (pos < len && readers[pos] == '\0') in scard_init()
582 wpa_printf(MSG_DEBUG, "SCARD: Selected reader='%S'", &readers[pos]); in scard_init()
[all …]
/external/llvm/include/llvm/Support/
DRWMutex.h89 unsigned readers, writers; variable
91 explicit SmartRWMutex() : RWMutexImpl(), readers(0), writers(0) { } in SmartRWMutex()
99 ++readers; in reader_acquire()
109 assert(readers > 0 && "Reader lock not acquired before release!"); in reader_release()
110 --readers; in reader_release()
/external/chromium/net/http/
Dhttp_cache.cc379 entry->readers.clear(); in ~HttpCache()
603 DCHECK(entry->writer || !entry->readers.empty()); in DoomEntry()
634 DCHECK(entry->readers.empty()); in FinalizeDoomedEntry()
662 DCHECK(entry->readers.empty()); in DeactivateEntry()
808 if (entry->readers.empty()) { in AddTransactionToEntry()
816 entry->readers.push_back(trans); in AddTransactionToEntry()
832 if (entry->will_process_pending_queue && entry->readers.empty()) in DoneWithEntry()
853 DCHECK(entry->readers.empty()); in DoneWritingToEntry()
883 std::find(entry->readers.begin(), entry->readers.end(), trans); in DoneReadingFromEntry()
884 DCHECK(it != entry->readers.end()); in DoneReadingFromEntry()
[all …]
Dhttp_cache.h223 TransactionList readers; member
/external/chromium_org/net/http/
Dhttp_cache.cc308 entry->readers.clear(); in ~HttpCache()
570 DCHECK(entry->writer || !entry->readers.empty()); in DoomEntry()
617 DCHECK(entry->readers.empty()); in FinalizeDoomedEntry()
645 DCHECK(entry->readers.empty()); in DeactivateEntry()
794 if (entry->readers.empty()) { in AddTransactionToEntry()
802 entry->readers.push_back(trans); in AddTransactionToEntry()
818 if (entry->will_process_pending_queue && entry->readers.empty()) in DoneWithEntry()
842 DCHECK(entry->readers.empty()); in DoneWritingToEntry()
872 std::find(entry->readers.begin(), entry->readers.end(), trans); in DoneReadingFromEntry()
873 DCHECK(it != entry->readers.end()); in DoneReadingFromEntry()
[all …]
Dhttp_cache.h229 TransactionList readers; member
/external/guava/guava/src/com/google/common/io/
DMultiReader.java35 MultiReader(Iterator<? extends InputSupplier<? extends Reader>> readers) in MultiReader() argument
37 this.it = readers; in MultiReader()
/external/chromium_org/third_party/sqlite/
Dfts2.patch405 OrderedDLReader readers[MERGE_COUNT];
422 nStart += dlrDocDataBytes(readers[0].pReader);
429 pStart = dlrDocData(readers[0].pReader);
430 nStart = dlrDocDataBytes(readers[0].pReader);
434 - dlrStep(readers[0].pReader);
435 + rc = dlrStep(readers[0].pReader);
440 !dlrAtEnd(readers[i].pReader) &&
441 dlrDocid(readers[i].pReader)==iDocid; i++){
442 - dlrStep(readers[i].pReader);
443 + rc = dlrStep(readers[i].pReader);
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_variable.c48 struct rc_list * readers; in rc_variable_change_dst() local
72 readers = rc_variable_readers_union(var); in rc_variable_change_dst()
74 for ( ; readers; readers = readers->Next) { in rc_variable_change_dst()
75 struct rc_reader * reader = readers->Item; in rc_variable_change_dst()
Dradeon_pair_regalloc.c282 struct rc_list * readers = rc_variable_readers_union(variable); in variable_get_class() local
363 for ( ; readers; readers = readers->Next) { in variable_get_class()
364 struct rc_reader * r = readers->Item; in variable_get_class()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c48 struct rc_list * readers; in rc_variable_change_dst() local
72 readers = rc_variable_readers_union(var); in rc_variable_change_dst()
74 for ( ; readers; readers = readers->Next) { in rc_variable_change_dst()
75 struct rc_reader * reader = readers->Item; in rc_variable_change_dst()
Dradeon_pair_regalloc.c282 struct rc_list * readers = rc_variable_readers_union(variable); in variable_get_class() local
363 for ( ; readers; readers = readers->Next) { in variable_get_class()
364 struct rc_reader * r = readers->Item; in variable_get_class()
/external/chromium_org/net/base/
Dupload_data_stream.cc48 ScopedVector<UploadElementReader> readers; in CreateWithReader() local
49 readers.push_back(reader.release()); in CreateWithReader()
50 return new UploadDataStream(readers.Pass(), identifier); in CreateWithReader()
/external/chromium_org/chrome/browser/policy/cloud/
Dtest_request_interceptor.cc80 const ScopedVector<net::UploadElementReader>& readers = in ValidRequest() local
82 if (readers.size() != 1u) in ValidRequest()
84 const net::UploadBytesElementReader* reader = readers[0]->AsBytesReader(); in ValidRequest()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2.c1292 OrderedDLReader readers[MERGE_COUNT]; in docListMerge() local
1310 readers[i].pReader = pReaders+i; in docListMerge()
1311 readers[i].idx = i; in docListMerge()
1321 orderedDLReaderReorder(readers+i, nReaders-i); in docListMerge()
1325 while( !dlrAtEnd(readers[0].pReader) ){ in docListMerge()
1326 sqlite_int64 iDocid = dlrDocid(readers[0].pReader); in docListMerge()
1332 if( dlrDocData(readers[0].pReader)==pStart+nStart ){ in docListMerge()
1333 nStart += dlrDocDataBytes(readers[0].pReader); in docListMerge()
1339 pStart = dlrDocData(readers[0].pReader); in docListMerge()
1340 nStart = dlrDocDataBytes(readers[0].pReader); in docListMerge()
[all …]
/external/chromium_org/mojo/system/
Dmessage_pipe_dispatcher_unittest.cc544 ScopedVector<ReaderThread> readers; in TEST() local
546 readers.push_back( in TEST()
556 readers[i]->Start(); in TEST()
/external/chromium_org/chrome/browser/sessions/
Dbetter_session_restore_browsertest.cc83 const ScopedVector<net::UploadElementReader>& readers = in URLRequestFakerForPostRequests() local
85 for (size_t i = 0; i < readers.size(); ++i) { in URLRequestFakerForPostRequests()
87 readers[i]->AsBytesReader(); in URLRequestFakerForPostRequests()
/external/valgrind/main/coregrind/m_debuginfo/
DREADME.txt34 readers for other formats, if needed
/external/chromium_org/third_party/sqlite/src/test/
Dwal5.test249 # until readers using part (but not all) of the log file have finished.
252 # database file, RESTART checkpoints block until readers using any part
Dwalcrash2.test30 # Normally, this causes no problem - readers can tell the difference
/external/chromium_org/third_party/leveldatabase/src/doc/
Dlog_format.txt14 consist entirely of zero bytes and must be skipped by readers.
/external/strace/
DPORTING30 detached readers are invited to continue with little to risk but

1234