HomeSort by relevance Sort by last modified time
    Searched refs:reads_ (Results 1 - 14 of 14) sorted by null

  /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/net/socket/
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::__anon5613::SOCKSClientSocketPoolTest::SOCKS5MockData
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_.front().data += result.data_len
    [all...]
socket_test_util.h 193 MockRead* reads_; member in class:net::StaticSocketDataProvider
231 std::deque<MockRead> reads_; member in class:net::DynamicSocketDataProvider
    [all...]
  /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::__anon12069::SOCKSClientSocketPoolTest::SOCKS5MockData
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_.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::__anon14402::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 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::__anon11766::DnsSocketData
    [all...]
  /external/chromium_org/net/websockets/
websocket_basic_stream_test.cc 182 reads_[0] = read;
183 CreateStream(reads_, 1U, NULL, 0);
186 MockRead reads_[1]; member in class:net::__anon12320::WebSocketBasicStreamSocketSingleReadTest
214 reads_.reset(new MockRead[number_of_chunks]);
223 reads_[i] = MockRead(mode, start, len);
226 CreateStream(reads_.get(), number_of_chunks, NULL, 0);
229 scoped_ptr<MockRead[]> reads_; member in class:net::__anon12320::WebSocketBasicStreamSocketChunkedReadTest
    [all...]
  /external/chromium_org/jingle/glue/
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::__anon11312::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());
571 std::vector<MockRead> reads_; member in class:net::__anon11897::SimpleGetRunner
  /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::__anon12121::SpdyStreamTest
    [all...]

Completed in 1697 milliseconds