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

1 2

  /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);
disk_cache.h 42 // files will be deleted and a new set will be created. |max_bytes| is the
43 // maximum size the cache can grow to. If zero is passed in as |max_bytes|, the
52 int CreateCacheBackend(net::CacheType type, const FilePath& path, int max_bytes,
backend_impl.h 55 int max_bytes, net::CacheType type,
90 bool SetMaxSize(int max_bytes);
backend_impl.cc 189 CacheCreator(const FilePath& path, bool force, int max_bytes,
194 : path_(path), force_(force), retry_(false), max_bytes_(max_bytes),
292 int CreateCacheBackend(net::CacheType type, const FilePath& path, int max_bytes,
298 *backend = MemBackendImpl::CreateBackend(max_bytes, net_log);
303 return BackendImpl::CreateBackend(path, force, max_bytes, type, kNone, thread,
413 int max_bytes, net::CacheType type,
418 CacheCreator* creator = new CacheCreator(full_path, force, max_bytes, type,
792 bool BackendImpl::SetMaxSize(int max_bytes) {
793 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
794 if (max_bytes < 0
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
httpread.h 72 * Pass max_bytes == 0 to not read body at all (required for e.g.
80 int max_bytes, /* maximum file size else abort it */
httpread.c 72 int max_bytes; /* maximum file size else abort it */ member in struct:httpread
363 h->max_bytes = 0;
371 h->max_bytes = 0;
482 if (h->max_bytes == 0) {
528 if (h->body_nbytes >= h->max_bytes)
735 * Pass max_bytes == 0 to not read body at all (required for e.g.
743 int max_bytes, /* maximum body size else abort it */
755 h->max_bytes = max_bytes;
  /external/wpa_supplicant_8/src/wps/
httpread.h 72 * Pass max_bytes == 0 to not read body at all (required for e.g.
80 int max_bytes, /* maximum file size else abort it */
httpread.c 72 int max_bytes; /* maximum file size else abort it */ member in struct:httpread
363 h->max_bytes = 0;
371 h->max_bytes = 0;
482 if (h->max_bytes == 0) {
528 if (h->body_nbytes >= h->max_bytes)
735 * Pass max_bytes == 0 to not read body at all (required for e.g.
743 int max_bytes, /* maximum body size else abort it */
755 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/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/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);
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
control_external.h 192 size_t max_bytes);
213 size_t max_bytes);
  /external/freetype/src/psaux/
psobjs.h 114 FT_Offset max_bytes,
  /external/qemu/
loader.c 514 size_t max_bytes; local
518 max_bytes = UBOOT_MAX_GUNZIP_BYTES;
519 data = qemu_malloc(max_bytes);
521 bytes = gunzip(data, max_bytes, compressed_data, hdr->ih_size);
  /external/chromium/net/http/
http_cache.h 98 // |max_bytes| is zero, a default value will be calculated automatically.
99 DefaultBackend(CacheType type, const FilePath& path, int max_bytes,
104 static BackendFactory* InMemory(int max_bytes);
http_cache.cc 71 int max_bytes,
75 max_bytes_(max_bytes),
82 HttpCache::BackendFactory* HttpCache::DefaultBackend::InMemory(int max_bytes) {
83 return new DefaultBackend(MEMORY_CACHE, FilePath(), max_bytes, NULL);
    [all...]
  /external/freetype/include/freetype/
ftcache.h 301 /* max_bytes :: Maximum number of bytes to use for cached data nodes. */
322 FT_ULong max_bytes,
    [all...]
  /packages/experimental/procstatlog/
procstatreport.py 390 max_bytes = 0
403 max_bytes = max(max_bytes, rx, tx)
434 "valueRange": [0, max_bytes * 11 / 10],
  /external/chromium/net/url_request/
url_request.h 502 // until OnReadComplete is called. The buffer must be at least max_bytes in
505 // The max_bytes parameter is the maximum number of bytes to read.
513 bool Read(IOBuffer* buf, int max_bytes, int* bytes_read);
  /external/freetype/include/freetype/internal/
psaux.h 363 FT_Offset max_bytes,
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
NativeCrypto.java 98 public static native int RAND_load_file(String filename, long max_bytes);

Completed in 709 milliseconds

1 2