/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_config.cc | 9 Config::Config() : max_bytes(150 * 1024 * 1024),
|
H A D | prerender_config.h | 20 size_t max_bytes; member in struct:prerender::Config
|
/external/chromium_org/net/disk_cache/ |
H A D | 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, 59 CacheCreator( const base::FilePath& path, bool force, int max_bytes, net::CacheType type, net::BackendType backend_type, uint32 flags, base::MessageLoopProxy* thread, net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, const net::CompletionCallback& callback) argument 146 CreateCacheBackend(net::CacheType type, net::BackendType backend_type, const base::FilePath& path, int max_bytes, bool force, base::MessageLoopProxy* thread, net::NetLog* net_log, scoped_ptr<Backend>* backend, const net::CompletionCallback& callback) argument
|
H A D | mem_backend_impl.cc | 44 scoped_ptr<Backend> MemBackendImpl::CreateBackend(int max_bytes, argument 47 cache->SetMaxSize(max_bytes); 77 bool MemBackendImpl::SetMaxSize(int max_bytes) { argument 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;
|
H A D | 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/ |
H A D | mem_backend_impl.cc | 44 Backend* MemBackendImpl::CreateBackend(int max_bytes, net::NetLog* net_log) { argument 46 cache->SetMaxSize(max_bytes); 80 bool MemBackendImpl::SetMaxSize(int max_bytes) { argument 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;
|
H A D | 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/ |
H A D | serial_io_handler.cc | 35 void SerialIoHandler::Read(int max_bytes) { argument 38 pending_read_buffer_ = new net::IOBuffer(max_bytes); 39 pending_read_buffer_len_ = max_bytes;
|
/external/chromium_org/net/quic/ |
H A D | 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; 76 AppendIovecAtMostBytes(const struct iovec* iov, size_t iovcnt, size_t max_bytes) argument
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | 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 */
|
H A D | 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; 732 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) argument
|
/external/wpa_supplicant_8/src/wps/ |
H A D | 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 */
|
H A D | 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; 732 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | 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 */
|
H A D | 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; 732 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) argument
|
/external/chromium_org/content/test/net/ |
H A D | url_request_abort_on_end_job.cc | 101 const int max_bytes, 104 *bytes_read = std::min(size_t(max_bytes), sizeof(kPageContent)); 100 ReadRawData(net::IOBuffer* buf, const int max_bytes, int* bytes_read) argument
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | 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);
|
H A D | 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)) { 349 MatchingBytesToLeft(const char* source_match_start, const char* target_match_start, int max_bytes) argument 370 MatchingBytesToRight(const char* source_match_end, const char* target_match_end, int max_bytes) argument
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | 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);
|
H A D | 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)) { 350 MatchingBytesToLeft(const char* source_match_start, const char* target_match_start, int max_bytes) argument 371 MatchingBytesToRight(const char* source_match_end, const char* target_match_end, int max_bytes) argument
|
/external/open-vcdiff/src/ |
H A D | 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);
|
H A D | 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)) { 350 MatchingBytesToLeft(const char* source_match_start, const char* target_match_start, int max_bytes) argument 371 MatchingBytesToRight(const char* source_match_end, const char* target_match_end, int max_bytes) argument
|
/external/chromium/chrome/browser/sessions/ |
H A D | 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, argument 33 if (*bytes_written + num_bytes < max_bytes) { 42 void WriteString16ToPickle(Pickle& pickle, int* bytes_written, int max_bytes, argument 45 if (*bytes_written + num_bytes < max_bytes) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
H A D | rand.h | 106 int RAND_load_file(const char *file,long max_bytes);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
H A D | rand.h | 106 int RAND_load_file(const char *file,long max_bytes);
|