/external/llvm/include/llvm/Support/ |
RWMutex.h | 58 /// lock is held by any readers, this method will wait until it can 89 unsigned readers, writers; member in class:llvm::sys::SmartRWMutex 91 explicit SmartRWMutex() : RWMutexImpl(), readers(0), writers(0) { } 99 ++readers; 109 assert(readers > 0 && "Reader lock not acquired before release!"); 110 --readers;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_thread.py | 71 readers = 0 # derived class should set variable in class:ConcurrentDataStoreBase 85 readers_per_writer=self.readers//self.writers 87 self.assertEqual(self.readers,self.writers*readers_per_writer) 89 readers = [] 91 for x in xrange(self.readers): 100 readers.append(rt) 106 b=readers[readers_per_writer*x:readers_per_writer*(x+1)] 122 for t in readers: 125 def writerThread(self, d, keys, readers): 134 count=len(keys)//len(readers) 180 readers = 10 variable in class:BTreeConcurrentDataStore 187 readers = 10 variable in class:HashConcurrentDataStore 196 readers = 10 variable in class:SimpleThreadedBase 320 readers = 0 variable in class:ThreadedTransactionsBase 471 readers = 10 variable in class:BTreeThreadedTransactions 477 readers = 10 variable in class:HashThreadedTransactions 483 readers = 10 variable in class:BTreeThreadedNoWaitTransactions 490 readers = 10 variable in class:HashThreadedNoWaitTransactions [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_thread.py | 71 readers = 0 # derived class should set variable in class:ConcurrentDataStoreBase 85 readers_per_writer=self.readers//self.writers 87 self.assertEqual(self.readers,self.writers*readers_per_writer) 89 readers = [] 91 for x in xrange(self.readers): 100 readers.append(rt) 106 b=readers[readers_per_writer*x:readers_per_writer*(x+1)] 122 for t in readers: 125 def writerThread(self, d, keys, readers): 134 count=len(keys)//len(readers) 180 readers = 10 variable in class:BTreeConcurrentDataStore 187 readers = 10 variable in class:HashConcurrentDataStore 196 readers = 10 variable in class:SimpleThreadedBase 320 readers = 0 variable in class:ThreadedTransactionsBase 471 readers = 10 variable in class:BTreeThreadedTransactions 477 readers = 10 variable in class:HashThreadedTransactions 483 readers = 10 variable in class:BTreeThreadedNoWaitTransactions 490 readers = 10 variable in class:HashThreadedNoWaitTransactions [all...] |
/external/guava/guava/src/com/google/common/io/ |
MultiReader.java | 26 * A {@link Reader} that concatenates multiple readers. 35 MultiReader(Iterator<? extends InputSupplier<? extends Reader>> readers) 37 this.it = readers;
|
/external/wpa_supplicant_8/src/utils/ |
eloop_win.c | 50 struct eloop_sock *readers; member in struct:eloop_data 133 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, 147 eloop.readers = tmp; 160 if (eloop.readers == NULL || eloop.reader_count == 0) 164 if (eloop.readers[i].sock == sock) 170 WSAEventSelect(eloop.readers[i].sock, eloop.readers[i].event, 0); 171 WSACloseEvent(eloop.readers[i].event); 174 os_memmove(&eloop.readers[i], &eloop.readers[i + 1] [all...] |
eloop.c | 88 struct eloop_sock_table readers; member in struct:eloop_data 159 eloop.readers.type = EVENT_TYPE_READ; 340 static int eloop_sock_table_set_fds(struct eloop_sock_table *readers, 355 if (readers && readers->table) { 356 for (i = 0; i < readers->count; i++) { 357 fd = readers->table[i].sock; 449 static void eloop_sock_table_dispatch(struct eloop_sock_table *readers, 455 if (eloop_sock_table_dispatch_table(readers, pollfds_map, 569 return &eloop.readers; [all...] |
pcsc_funcs.c | 502 TCHAR *readers = NULL; local 504 char *readers = NULL; local 536 readers = os_malloc(len); 537 if (readers == NULL) { 542 ret = SCardListReaders(scard->ctx, NULL, readers, &len); 549 wpa_printf(MSG_WARNING, "SCARD: No smart card readers " 553 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: Readers", (u8 *) readers, len); 555 * readers is a list of available readers. The last entry is terminate [all...] |
/frameworks/av/media/libnbaio/ |
PipeReader.cpp | 39 int32_t readers = android_atomic_dec(&mPipe.mReaders); local 40 ALOG_ASSERT(readers > 0);
|
/external/chromium_org/mojo/public/c/system/tests/ |
core_perftest.cc | 179 std::vector<MessagePipeReaderThread*> readers; local 181 readers.push_back(new MessagePipeReaderThread(h1_)); 191 readers[i]->Start(); 196 // Close both handles to make writers and readers stop immediately. 206 readers[i]->Join(); 220 num_reads += readers[i]->num_reads(); 221 delete readers[i]; 223 readers.clear();
|
/external/chromium_org/net/http/ |
http_cache.cc | 337 entry->readers.clear(); 600 DCHECK(entry->writer || !entry->readers.empty()); 647 DCHECK(entry->readers.empty()); 675 DCHECK(entry->readers.empty()); 812 // readers. 824 if (entry->readers.empty()) { 832 entry->readers.push_back(trans); 848 if (entry->will_process_pending_queue && entry->readers.empty()) 872 DCHECK(entry->readers.empty()); 902 std::find(entry->readers.begin(), entry->readers.end(), trans) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_variable.c | 48 struct rc_list * readers; local 72 readers = rc_variable_readers_union(var); 74 for ( ; readers; readers = readers->Next) { 75 struct rc_reader * reader = readers->Item; 155 unsigned int chan_end = var->Readers[i].Inst->IP; 156 unsigned int mask = var->Readers[i].WriteMask; 167 if (var->Readers[i].Inst->IP < start) { 169 rc_match_endloop(var->Readers[i].Inst) [all...] |
radeon_pair_regalloc.c | 282 struct rc_list * readers = rc_variable_readers_union(variable); local 330 struct rc_reader r = var_ptr->Readers[j]; 363 for ( ; readers; readers = readers->Next) { 364 struct rc_reader * r = readers->Item;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_variable.c | 48 struct rc_list * readers; local 72 readers = rc_variable_readers_union(var); 74 for ( ; readers; readers = readers->Next) { 75 struct rc_reader * reader = readers->Item; 155 unsigned int chan_end = var->Readers[i].Inst->IP; 156 unsigned int mask = var->Readers[i].WriteMask; 167 if (var->Readers[i].Inst->IP < start) { 169 rc_match_endloop(var->Readers[i].Inst) [all...] |
radeon_pair_regalloc.c | 282 struct rc_list * readers = rc_variable_readers_union(variable); local 330 struct rc_reader r = var_ptr->Readers[j]; 363 for ( ; readers; readers = readers->Next) { 364 struct rc_reader * r = readers->Item;
|
/hardware/intel/common/libwsbm/src/ |
wsbm_ttmpool.c | 86 unsigned readers; member in struct:_TTMBuffer 235 unsigned int readers; local 242 readers = dBuf->readers; 245 if ((mode & WSBM_SYNCCPU_READ) && (++dBuf->readers == 1)) 278 dBuf->readers = readers; 297 if ((mode & WSBM_SYNCCPU_READ) && (--dBuf->readers == 0))
|
/external/deqp/executor/tools/ |
xeTestLogCompare.cpp | 277 std::vector<de::SharedPtr<LogFileReader> > readers; local 281 readers.push_back(de::SharedPtr<LogFileReader>(new LogFileReader(results[ndx], cmdLine.filenames[ndx].c_str()))); 282 readers.back()->start(); 287 readers[ndx]->join();
|
/external/chromium_org/chrome/browser/policy/cloud/ |
test_request_interceptor.cc | 80 const ScopedVector<net::UploadElementReader>& readers = local 82 if (readers.size() != 1u) 84 const net::UploadBytesElementReader* reader = readers[0]->AsBytesReader();
|
/external/chromium_org/net/base/ |
upload_data_stream.cc | 48 ScopedVector<UploadElementReader> readers; local 49 readers.push_back(reader.release()); 50 return new UploadDataStream(readers.Pass(), identifier); 206 // Chunked transfers may only contain byte readers, so cannot have read
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
DngCreatorTest.java | 262 List<ImageReader> readers = new ArrayList<ImageReader>(); local 263 readers.add(captureReader); 267 Pair<List<Image>, CaptureResult> res = captureSingleRawShot(s, readers, listeners);
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2.c | 1292 OrderedDLReader readers[MERGE_COUNT]; local 6055 DLReader readers[2]; local 6602 OptLeavesReader *readers; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_poll.py | 31 readers = [] 41 readers.append(rd)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_poll.py | 31 readers = [] 41 readers.append(rd)
|
/external/chromium_org/chrome/browser/sessions/ |
better_session_restore_browsertest.cc | 83 const ScopedVector<net::UploadElementReader>& readers = local 85 for (size_t i = 0; i < readers.size(); ++i) { 87 readers[i]->AsBytesReader();
|
/external/chromium_org/mojo/system/ |
message_pipe_dispatcher_unittest.cc | 554 // Make readers. 555 ScopedVector<ReaderThread> readers; local 557 readers.push_back( 565 // Start readers. 567 readers[i]->Start();
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ |
keyboard_handler.js | 125 // If the whole document is hidden from screen readers, let the app
|