HomeSort by relevance Sort by last modified time
    Searched refs:max_bytes (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/prerender/
prerender_config.cc 9 Config::Config() : max_bytes(150 * 1024 * 1024),
prerender_config.h 20 size_t max_bytes; member in struct:prerender::Config
  /external/chromium_org/net/disk_cache/
cache_creator.cc 27 CacheCreator(const base::FilePath& path, bool force, int max_bytes,
60 const base::FilePath& path, bool force, int max_bytes,
68 max_bytes_(max_bytes),
149 int max_bytes,
155 *backend = disk_cache::MemBackendImpl::CreateBackend(max_bytes, net_log);
159 CacheCreator* creator = new CacheCreator(path, force, max_bytes, type,
mem_backend_impl.cc 44 scoped_ptr<Backend> MemBackendImpl::CreateBackend(int max_bytes,
47 cache->SetMaxSize(max_bytes);
77 bool MemBackendImpl::SetMaxSize(int max_bytes) {
78 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
79 if (max_bytes < 0)
83 if (!max_bytes)
86 max_size_ = max_bytes;
mem_backend_impl.h 31 // object should be deleted when not needed anymore. max_bytes is the maximum
32 // size the cache can grow to. If zero is passed in as max_bytes, the cache
35 static scoped_ptr<Backend> CreateBackend(int max_bytes, net::NetLog* net_log);
41 bool SetMaxSize(int max_bytes);
  /external/chromium/net/disk_cache/
mem_backend_impl.cc 44 Backend* MemBackendImpl::CreateBackend(int max_bytes, net::NetLog* net_log) {
46 cache->SetMaxSize(max_bytes);
80 bool MemBackendImpl::SetMaxSize(int max_bytes) {
81 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
82 if (max_bytes < 0)
86 if (!max_bytes)
89 max_size_ = max_bytes;
mem_backend_impl.h 32 // object should be deleted when not needed anymore. max_bytes is the maximum
33 // size the cache can grow to. If zero is passed in as max_bytes, the cache
36 static Backend* CreateBackend(int max_bytes, net::NetLog* net_log);
42 bool SetMaxSize(int max_bytes);
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_io_handler.cc 35 void SerialIoHandler::Read(int max_bytes) {
38 pending_read_buffer_ = new net::IOBuffer(max_bytes);
39 pending_read_buffer_len_ = max_bytes;
  /external/chromium_org/net/quic/
iovector.h 75 // Appends at most max_bytes from iovec to the IOVector.
78 size_t max_bytes) {
80 for (size_t i = 0; i < iovcnt && max_bytes > 0; ++i) {
81 const size_t length = std::min(max_bytes, iov[i].iov_len);
83 max_bytes -= length;
  /external/wpa_supplicant_8/src/wps/
httpread.h 66 * Pass max_bytes == 0 to not read body at all (required for e.g.
74 int max_bytes, /* maximum file size else abort it */
httpread.c 66 int max_bytes; /* maximum file size else abort it */ member in struct:httpread
357 h->max_bytes = 0;
365 h->max_bytes = 0;
476 if (h->max_bytes == 0) {
522 if (h->body_nbytes >= h->max_bytes)
729 * Pass max_bytes == 0 to not read body at all (required for e.g.
737 int max_bytes, /* maximum body size else abort it */
749 h->max_bytes = max_bytes;
  /external/chromium/sdch/open-vcdiff/src/
blockhash.h 428 // Will not examine more than max_bytes bytes, which is to say that
429 // the return value will be in the range [0, max_bytes] inclusive.
432 int max_bytes);
436 // Will not examine more than max_bytes bytes, which is to say that
437 // the return value will be in the range [0, max_bytes] inclusive.
440 int max_bytes);
blockhash.cc 347 // Will not examine more than max_bytes bytes, which is to say that
348 // the return value will be in the range [0, max_bytes] inclusive.
351 int max_bytes) {
355 while (bytes_found < max_bytes) {
368 // Will not examine more than max_bytes bytes, which is to say that
369 // the return value will be in the range [0, max_bytes] inclusive.
372 int max_bytes) {
376 while ((bytes_found < max_bytes) && (*source_ptr == *target_ptr)) {
blockhash_test.cc 63 int max_bytes) {
66 max_bytes);
71 int max_bytes) {
74 max_bytes);
393 // characters -- in fact, they're the same string -- but since max_bytes is zero
452 const int max_bytes = expected_length - 1;
453 EXPECT_EQ(max_bytes, MatchingBytesToLeft(
456 max_bytes));
463 const int max_bytes = expected_length + 1;
467 max_bytes));
    [all...]
  /external/chromium_org/content/test/net/
url_request_abort_on_end_job.cc 101 const int max_bytes,
104 *bytes_read = std::min(size_t(max_bytes), sizeof(kPageContent));
  /external/chromium_org/sdch/open-vcdiff/src/
blockhash.h 428 // Will not examine more than max_bytes bytes, which is to say that
429 // the return value will be in the range [0, max_bytes] inclusive.
432 int max_bytes);
436 // Will not examine more than max_bytes bytes, which is to say that
437 // the return value will be in the range [0, max_bytes] inclusive.
440 int max_bytes);
blockhash.cc 348 // Will not examine more than max_bytes bytes, which is to say that
349 // the return value will be in the range [0, max_bytes] inclusive.
352 int max_bytes) {
356 while (bytes_found < max_bytes) {
369 // Will not examine more than max_bytes bytes, which is to say that
370 // the return value will be in the range [0, max_bytes] inclusive.
373 int max_bytes) {
377 while ((bytes_found < max_bytes) && (*source_ptr == *target_ptr)) {
blockhash_test.cc 63 int max_bytes) {
66 max_bytes);
71 int max_bytes) {
74 max_bytes);
393 // characters -- in fact, they're the same string -- but since max_bytes is zero
452 const int max_bytes = expected_length - 1;
453 EXPECT_EQ(max_bytes, MatchingBytesToLeft(
456 max_bytes));
463 const int max_bytes = expected_length + 1;
467 max_bytes));
    [all...]
  /external/open-vcdiff/src/
blockhash.h 428 // Will not examine more than max_bytes bytes, which is to say that
429 // the return value will be in the range [0, max_bytes] inclusive.
432 int max_bytes);
436 // Will not examine more than max_bytes bytes, which is to say that
437 // the return value will be in the range [0, max_bytes] inclusive.
440 int max_bytes);
blockhash.cc 348 // Will not examine more than max_bytes bytes, which is to say that
349 // the return value will be in the range [0, max_bytes] inclusive.
352 int max_bytes) {
356 while (bytes_found < max_bytes) {
369 // Will not examine more than max_bytes bytes, which is to say that
370 // the return value will be in the range [0, max_bytes] inclusive.
373 int max_bytes) {
377 while ((bytes_found < max_bytes) && (*source_ptr == *target_ptr)) {
  /external/chromium/chrome/browser/sessions/
base_session_service.cc 28 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|).
30 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
33 if (*bytes_written + num_bytes < max_bytes) {
42 void WriteString16ToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
45 if (*bytes_written + num_bytes < max_bytes) {
  /external/chromium_org/third_party/openssl/openssl/crypto/rand/
rand.h 106 int RAND_load_file(const char *file,long max_bytes);
  /external/chromium_org/third_party/openssl/openssl/include/openssl/
rand.h 106 int RAND_load_file(const char *file,long max_bytes);
  /external/openssl/crypto/rand/
rand.h 106 int RAND_load_file(const char *file,long max_bytes);
  /external/openssl/include/openssl/
rand.h 106 int RAND_load_file(const char *file,long max_bytes);

Completed in 1364 milliseconds

1 2 3