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

  /external/chromium/net/disk_cache/
mem_backend_impl.cc 31 Backend* CreateInMemoryCacheBackend(int max_bytes) {
33 cache->SetMaxSize(max_bytes);
75 bool MemBackendImpl::SetMaxSize(int max_bytes) {
76 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
77 if (max_bytes < 0)
81 if (!max_bytes)
84 max_size_ = max_bytes;
disk_cache.h 36 // new set will be created. max_bytes is the maximum size the cache can grow to.
37 // If zero is passed in as max_bytes, the cache will determine the value to use
42 int max_bytes, net::CacheType type);
45 // object should be deleted when not needed anymore. max_bytes is the maximum
46 // size the cache can grow to. If zero is passed in as max_bytes, the cache will
50 Backend* CreateInMemoryCacheBackend(int max_bytes);
57 // files will be deleted and a new set will be created. |max_bytes| is the
58 // maximum size the cache can grow to. If zero is passed in as |max_bytes|, the
65 int CreateCacheBackend(net::CacheType type, const FilePath& path, int max_bytes,
mem_backend_impl.h 57 bool SetMaxSize(int max_bytes);
backend_impl.cc 175 int max_bytes, net::CacheType type) {
177 return BackendImpl::CreateBackend(full_path, force, max_bytes, type, kNone);
219 int max_bytes, net::CacheType type,
222 cache->SetMaxSize(max_bytes);
238 cache->SetMaxSize(max_bytes);
649 bool BackendImpl::SetMaxSize(int max_bytes) {
650 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
651 if (max_bytes < 0)
655 if (!max_bytes)
659 if (max_bytes >= kint32max - kint32max / 10
    [all...]
backend_impl.h 56 int max_bytes, net::CacheType type,
89 bool SetMaxSize(int max_bytes);
  /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/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/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);
  /device/samsung/crespo/alsa-lib/include/
control_external.h 192 size_t max_bytes);
213 size_t max_bytes);
  /external/freetype/src/psaux/
psobjs.h 114 FT_Offset max_bytes,
psobjs.c     [all...]
  /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/freetype/include/freetype/
ftcache.h 293 /* max_bytes :: Maximum number of bytes to use for cached data nodes. */
314 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 446 // until OnReadComplete is called. The buffer must be at least max_bytes in
449 // The max_bytes parameter is the maximum number of bytes to read.
457 bool Read(net::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 119 public static native int RAND_load_file(String filename, long max_bytes);
  /libcore/luni/src/main/native/
NativeCrypto.cpp 979 static int NativeCrypto_RAND_load_file(JNIEnv* env, jclass, jstring filename, jlong max_bytes) {
980 JNI_TRACE("NativeCrypto_RAND_load_file filename=%p max_bytes=%lld", filename, max_bytes);
985 int result = RAND_load_file(file.c_str(), max_bytes);
    [all...]

Completed in 456 milliseconds