/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
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...] |
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_org/net/socket/ |
socks_client_socket_pool_unittest.cc | 74 reads_.reset(new MockRead[3]); 75 reads_[0] = MockRead(mode, kSOCKS5GreetResponse, 77 reads_[1] = MockRead(mode, kSOCKS5OkResponse, kSOCKS5OkResponseLength); 78 reads_[2] = MockRead(mode, 0); 80 data_.reset(new StaticSocketDataProvider(reads_.get(), 3, 89 scoped_ptr<MockRead[]> reads_; member in class:net::__anon14155::SOCKSClientSocketPoolTest::SOCKS5MockData
|
socket_test_util.cc | 151 : reads_(NULL), 163 : reads_(reads), 175 return reads_[read_index_]; 185 return reads_[index]; 195 reads_[read_index_].time_stamp = base::Time::Now(); 196 return reads_[read_index_++]; 248 if (reads_.empty()) 250 MockRead result = reads_.front(); 252 reads_.pop_front(); 255 reads_.front().data += result.data_len [all...] |
socket_test_util.h | 270 MockRead* reads_; member in class:net::StaticSocketDataProvider 306 std::deque<MockRead> reads_; member in class:net::DynamicSocketDataProvider [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_bench.cc | 311 int reads_; member in class:leveldb::__anon17064::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_; i++) [all...] |
/external/chromium_org/net/dns/ |
dns_transaction_unittest.cc | 67 reads_.push_back(MockRead(mode, 72 reads_.push_back(MockRead(mode, 105 reads_.push_back(MockRead(mode, error)); 115 reads_.push_back(MockRead(ASYNC, ERR_IO_PENDING)); 116 provider_.reset(new DelayedSocketData(1, &reads_[0], reads_.size(), 119 provider_->set_connect_data(MockConnect(reads_[0].mode, OK)); 140 std::vector<MockRead> reads_; member in class:net::__anon13828::DnsSocketData [all...] |
/external/chromium_org/net/websockets/ |
websocket_basic_stream_test.cc | 184 reads_[0] = read; 185 CreateStream(reads_, 1U, NULL, 0); 188 MockRead reads_[1]; member in class:net::__anon14443::WebSocketBasicStreamSocketSingleReadTest 216 reads_.reset(new MockRead[number_of_chunks]); 225 reads_[i] = MockRead(mode, start, len); 228 CreateStream(reads_.get(), number_of_chunks, NULL, 0); 231 scoped_ptr<MockRead[]> reads_; member in class:net::__anon14443::WebSocketBasicStreamSocketChunkedReadTest [all...] |
/external/chromium_org/jingle/glue/ |
chrome_async_socket_unittest.cc | 41 EXPECT_TRUE(reads_.empty()); 47 if (reads_.empty()) { 53 net::MockRead mock_read = reads_.front(); 54 reads_.pop_front(); 88 reads_.push_back(mock_read); 97 std::deque<net::MockRead> reads_; member in class:jingle_glue::__anon13129::AsyncSocketDataProvider [all...] |
/external/chromium_org/net/http/ |
http_stream_parser_unittest.cc | 513 reads_.push_back(MockRead(SYNCHRONOUS, sequence_number_++, data.data())); 517 reads_.push_back(MockRead(SYNCHRONOUS, 0, sequence_number_++)); // EOF 521 &reads_.front(), reads_.size(), &writes_.front(), writes_.size())); 523 data_->SetStop(reads_.size() + writes_.size()); 572 std::vector<MockRead> reads_; member in class:net::__anon13950::SimpleGetRunner
|
/external/chromium_org/net/quic/ |
quic_network_transaction_unittest.cc | 73 reads_.push_back(MockRead(SYNCHRONOUS, packet->data(), packet->length(), 79 reads_.push_back(MockRead(mode, rv)); 90 MockRead* reads = reads_.empty() ? NULL : &reads_[0]; 93 delay, reads, reads_.size(), writes, writes_.size())); 100 std::vector<MockRead> reads_; member in class:net::test::MockQuicData [all...] |
/external/chromium_org/net/spdy/ |
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::__anon14233::SpdyStreamTest [all...] |
/external/chromium_org/extensions/browser/api/cast_channel/ |
cast_socket_unittest.cc | 246 reads_.push_back(read); 304 reads_.data(), reads_.size(), writes_.data(), writes_.size())); 334 std::vector<net::MockRead> reads_; member in class:extensions::core_api::cast_channel::TestCastSocket [all...] |