/external/python/cpython2/Modules/ |
D | bsddbmodule.c | 54 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__.py | 354 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/ |
D | 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)
|
D | test_basics.py | 37 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/ |
D | cache.c | 53 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()
|
D | dnsmasq.c | 411 else if (daemon->cachesize != 0) in main() 412 my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); in main()
|
D | dnsmasq.h | 598 int cachesize, ftabsize; member
|
D | option.c | 1368 daemon->cachesize = size; in one_opt() 2442 daemon->cachesize = CACHESIZ; in read_opts()
|
/external/python/cpython2/Doc/library/ |
D | bsddb.rst | 50 .. 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/python/cpython2/Lib/test/ |
D | test_bsddb.py | 20 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
|
/external/dnsmasq/ |
D | dnsmasq.conf.example | 436 # Set the cachesize here.
|
/external/python/cpython2/Misc/ |
D | HISTORY | 913 the cachesize parameter.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 18297 the cachesize parameter.
|