Home
last modified time | relevance | path

Searched refs:cachesize (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Modules/
Dbsddbmodule.c54 int bsize, int ffactor, int nelem, int cachesize, in newdbhashobject() argument
66 info.cachesize = cachesize; in newdbhashobject()
102 int btflags, int cachesize, int maxkeypage, in newdbbtobject() argument
112 info.cachesize = cachesize; in newdbbtobject()
152 int rnflags, int cachesize, int psize, int lorder, in newdbrnobject() argument
163 info.cachesize = cachesize; in newdbrnobject()
688 int cachesize = 0; in bsdhashopen() local
694 &bsize, &ffactor, &nelem, &cachesize, in bsdhashopen()
726 bsize, ffactor, nelem, cachesize, hash, lorder); in bsdhashopen()
736 int cachesize = 0; in bsdbtopen() local
[all …]
/external/python/cpython2/Lib/bsddb/
D__init__.py354 cachesize=None, lorder=None, hflags=0): argument
357 e = _openDBEnv(cachesize)
370 btflags=0, cachesize=None, maxkeypage=None, minkeypage=None, argument
374 e = _openDBEnv(cachesize)
388 rnflags=0, cachesize=None, pgsize=None, lorder=None, argument
392 e = _openDBEnv(cachesize)
406 def _openDBEnv(cachesize): argument
408 if cachesize is not None:
409 if cachesize >= 20480:
410 e.set_cachesize(0, cachesize)
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py165 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)
Dtest_basics.py37 cachesize = (0, 1024*1024, 1) variable in 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)
/external/dnsmasq/src/
Dcache.c53 bignames_left = daemon->cachesize / 10; in cache_init()
55 if (daemon->cachesize > 0) { in cache_init()
56 crecp = safe_malloc(daemon->cachesize * sizeof(struct crec)); in cache_init()
58 for (i = 0; i < daemon->cachesize; i++, crecp++) { in cache_init()
66 rehash(daemon->cachesize); in cache_init()
715 int i, total_size = daemon->cachesize; in cache_reload()
738 if (daemon->cachesize > 0) my_syslog(LOG_INFO, _("cleared cache")); in cache_reload()
936 daemon->cachesize, cache_live_freed, cache_inserted); in dump_cache()
Ddnsmasq.c411 else if (daemon->cachesize != 0) in main()
412 my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); in main()
Ddnsmasq.h598 int cachesize, ftabsize; member
Doption.c1368 daemon->cachesize = size; in one_opt()
2442 daemon->cachesize = CACHESIZ; in read_opts()
/external/python/cpython2/Doc/library/
Dbsddb.rst50 .. function:: hashopen(filename[, flag[, mode[, pgsize[, ffactor[, nelem[, cachesize[, lorder[, hfl…
62 .. function:: btopen(filename[, flag[, mode[, btflags[, cachesize[, maxkeypage[, minkeypage[, pgsiz…
73 .. function:: rnopen(filename[, flag[, mode[, rnflags[, cachesize[, pgsize[, lorder[, rlen[, delim[…
/external/cpuinfo/test/build.prop/
Dnexus10.log93 ro.com.widevine.cachesize=16777216
Dnexus9.log96 ro.com.widevine.cachesize=16777216
/external/python/cpython2/Lib/test/
Dtest_bsddb.py20 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
/external/dnsmasq/
Ddnsmasq.conf.example436 # Set the cachesize here.
/external/python/cpython2/Misc/
DHISTORY913 the cachesize parameter.
/external/python/cpython3/Misc/
DHISTORY18297 the cachesize parameter.