/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
H A D | db_bench_tree_db.cc | 137 int reads_; 294 reads_(FLAGS_reads < 0 ? FLAGS_num : FLAGS_reads), 367 int n = reads_; 368 reads_ /= 1000; 370 reads_ = n; 372 int n = reads_; 373 reads_ /= 1000; 375 reads_ = n; 472 for (int i = 0; i < reads_; i++) { 474 const int k = rand_.Next() % reads_; [all...] |
H A D | db_bench_sqlite3.cc | 168 int reads_; 319 reads_(FLAGS_reads < 0 ? FLAGS_num : FLAGS_reads), 401 int n = reads_; 402 reads_ /= 1000; 404 reads_ = n; 600 for (int i = 0; i < reads_; i += entries_per_batch) { 613 int k = (order == SEQUENTIAL) ? i + j : (rand_.Next() % reads_); 656 for (int i = 0; i < reads_ && SQLITE_ROW == sqlite3_step(pStmt); i++) {
|
/external/chromium/net/socket/ |
H A D | socks_client_socket_pool_unittest.cc | 37 reads_.reset(new MockRead[3]); 38 reads_[0] = MockRead(async, kSOCKS5GreetResponse, 40 reads_[1] = MockRead(async, kSOCKS5OkResponse, kSOCKS5OkResponseLength); 41 reads_[2] = MockRead(async, 0); 43 data_.reset(new StaticSocketDataProvider(reads_.get(), 3, 52 scoped_array<MockWrite> reads_; member in class:net::__anon3204::SOCKSClientSocketPoolTest::SOCKS5MockData
|
H A D | socket_test_util.cc | 120 : reads_(NULL), 132 : reads_(reads), 144 return reads_[read_index_]; 154 return reads_[index]; 164 reads_[read_index_].time_stamp = base::Time::Now(); 165 return reads_[read_index_++]; 213 if (reads_.empty()) 215 MockRead result = reads_.front(); 217 reads_.pop_front(); 220 reads_ [all...] |
H A D | socket_test_util.h | 193 MockRead* reads_; member in class:net::StaticSocketDataProvider 231 std::deque<MockRead> reads_; member in class:net::DynamicSocketDataProvider
|
/external/chromium_org/net/socket/ |
H A D | socks_client_socket_pool_unittest.cc | 55 reads_.reset(new MockRead[3]); 56 reads_[0] = MockRead(mode, kSOCKS5GreetResponse, 58 reads_[1] = MockRead(mode, kSOCKS5OkResponse, kSOCKS5OkResponseLength); 59 reads_[2] = MockRead(mode, 0); 61 data_.reset(new StaticSocketDataProvider(reads_.get(), 3, 70 scoped_ptr<MockRead[]> reads_; member in class:net::__anon8969::SOCKSClientSocketPoolTest::SOCKS5MockData
|
H A D | socket_test_util.cc | 149 : reads_(NULL), 161 : reads_(reads), 173 return reads_[read_index_]; 183 return reads_[index]; 193 reads_[read_index_].time_stamp = base::Time::Now(); 194 return reads_[read_index_++]; 241 if (reads_.empty()) 243 MockRead result = reads_.front(); 245 reads_.pop_front(); 248 reads_ [all...] |
H A D | socket_test_util.h | 236 MockRead* reads_; member in class:net::StaticSocketDataProvider 274 std::deque<MockRead> reads_; member in class:net::DynamicSocketDataProvider
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | db_bench.cc | 311 int reads_; member in class:leveldb::__anon11246::RandomGenerator::Benchmark 398 reads_(FLAGS_reads < 0 ? FLAGS_num : FLAGS_reads), 436 reads_ = (FLAGS_reads < 0 ? FLAGS_num : FLAGS_reads); 481 reads_ /= 1000; 747 for (iter->SeekToFirst(); i < reads_ && iter->Valid(); iter->Next()) { 760 for (iter->SeekToLast(); i < reads_ && iter->Valid(); iter->Prev()) { 773 for (int i = 0; i < reads_; i++) { 790 for (int i = 0; i < reads_; i++) { 803 for (int i = 0; i < reads_; i++) { 816 for (int i = 0; i < reads_; [all...] |
/external/chromium_org/net/dns/ |
H A D | dns_transaction_unittest.cc | 68 reads_.push_back(MockRead(mode, 73 reads_.push_back(MockRead(mode, 111 reads_.push_back(MockRead(ASYNC, ERR_IO_PENDING)); 112 provider_.reset(new DelayedSocketData(1, &reads_[0], reads_.size(), 115 provider_->set_connect_data(MockConnect(reads_[0].mode, OK)); 136 std::vector<MockRead> reads_; member in class:net::__anon8685::DnsSocketData
|
/external/chromium_org/jingle/glue/ |
H A D | chrome_async_socket_unittest.cc | 40 EXPECT_TRUE(reads_.empty()); 46 if (reads_.empty()) { 52 net::MockRead mock_read = reads_.front(); 53 reads_.pop_front(); 87 reads_.push_back(mock_read); 96 std::deque<net::MockRead> reads_; member in class:jingle_glue::__anon8340::AsyncSocketDataProvider
|
/external/chromium_org/net/spdy/ |
H A D | spdy_stream_unittest.cc | 74 reads_.push_back(CreateMockRead(frame, offset_++)); 82 reads_.push_back(MockRead(ASYNC, 0, offset_++)); 86 return vector_as_array(&reads_); 90 return reads_.size(); 108 std::vector<MockRead> reads_; member in class:net::test::__anon9023::SpdyStreamTest
|