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

  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 133 /** statement cache stats: hits/misses/cachesize */
137 int hits, int misses, int cachesize) {
142 this.cache = hits + "/" + misses + "/" + cachesize;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 354 cachesize=None, lorder=None, hflags=0):
357 e = _openDBEnv(cachesize)
370 btflags=0, cachesize=None, maxkeypage=None, minkeypage=None,
374 e = _openDBEnv(cachesize)
388 rnflags=0, cachesize=None, pgsize=None, lorder=None,
392 e = _openDBEnv(cachesize)
406 def _openDBEnv(cachesize):
408 if cachesize is not None:
409 if cachesize >= 20480:
410 e.set_cachesize(0, cachesize)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 354 cachesize=None, lorder=None, hflags=0):
357 e = _openDBEnv(cachesize)
370 btflags=0, cachesize=None, maxkeypage=None, minkeypage=None,
374 e = _openDBEnv(cachesize)
388 rnflags=0, cachesize=None, pgsize=None, lorder=None,
392 e = _openDBEnv(cachesize)
406 def _openDBEnv(cachesize):
408 if cachesize is not None:
409 if cachesize >= 20480:
410 e.set_cachesize(0, cachesize)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbenv.py 165 cachesize = (0, 512*1024*1024, 3)
166 self.env.set_cachesize(*cachesize)
167 self.assertEqual(cachesize, self.env.get_cachesize())
169 cachesize = (0, 1*1024*1024, 5)
170 self.env.set_cachesize(*cachesize)
172 self.assertEqual(cachesize[0], cachesize2[0])
173 self.assertEqual(cachesize[2], cachesize2[2])
176 self.assertEqual(125, int(100.0*cachesize2[1]/cachesize[1]))
181 cachesize = (0, 2*1024*1024, 1)
183 self.env.set_cachesize, *cachesize)
    [all...]
test_basics.py 37 cachesize = (0, 1024*1024, 1) variable in class:BasicTestCase
71 self.d.set_cachesize(*self.cachesize)
72 cachesize = self.d.get_cachesize()
73 self.assertEqual(cachesize[0], self.cachesize[0])
74 self.assertEqual(cachesize[2], self.cachesize[2])
77 self.assertEqual(125, int(100.0*cachesize[1]/self.cachesize[1]))
90 self.d.set_cachesize, *self.cachesize)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbenv.py 165 cachesize = (0, 512*1024*1024, 3)
166 self.env.set_cachesize(*cachesize)
167 self.assertEqual(cachesize, self.env.get_cachesize())
169 cachesize = (0, 1*1024*1024, 5)
170 self.env.set_cachesize(*cachesize)
172 self.assertEqual(cachesize[0], cachesize2[0])
173 self.assertEqual(cachesize[2], cachesize2[2])
176 self.assertEqual(125, int(100.0*cachesize2[1]/cachesize[1]))
181 cachesize = (0, 2*1024*1024, 1)
183 self.env.set_cachesize, *cachesize)
    [all...]
test_basics.py 37 cachesize = (0, 1024*1024, 1) variable in class:BasicTestCase
71 self.d.set_cachesize(*self.cachesize)
72 cachesize = self.d.get_cachesize()
73 self.assertEqual(cachesize[0], self.cachesize[0])
74 self.assertEqual(cachesize[2], self.cachesize[2])
77 self.assertEqual(125, int(100.0*cachesize[1]/self.cachesize[1]))
90 self.d.set_cachesize, *self.cachesize)
    [all...]
  /frameworks/native/cmds/installd/
installd.c 82 int64_t cachesize = 0; local
88 &codesize, &datasize, &cachesize, &asecsize);
95 codesize, datasize, cachesize, asecsize);
installd.h 205 int64_t *datasize, int64_t *cachesize, int64_t *asecsize);
commands.c 436 int64_t cachesize = 0; local
516 cachesize += dirsize + statsize;
537 *_cachesize = cachesize;
    [all...]
  /external/dnsmasq/src/
cache.c 81 bignames_left = daemon->cachesize/10;
83 if (daemon->cachesize > 0)
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec));
87 for (i=0; i < daemon->cachesize; i++, crecp++)
96 rehash(daemon->cachesize);
871 int i, total_size = daemon->cachesize;
901 if (daemon->cachesize > 0)
1131 daemon->cachesize, cache_live_freed, cache_inserted);
    [all...]
dnsmasq.c 463 else if (daemon->cachesize != 0)
464 my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize);
    [all...]
dnsmasq.h 624 int cachesize, ftabsize; member in struct:daemon
option.c 232 { 'c', ARG_ONE, "cachesize", gettext_noop("Specify the size of the cache in entries (defaults to %s)."), "$" },
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_bsddb.py 21 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_bsddb.py 21 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)

Completed in 2274 milliseconds