/external/python/cpython2/Lib/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...] |
/external/python/cpython2/Modules/ |
bsddbmodule.c | 54 int bsize, int ffactor, int nelem, int cachesize, 66 info.cachesize = cachesize; 102 int btflags, int cachesize, int maxkeypage, 112 info.cachesize = cachesize; 152 int rnflags, int cachesize, int psize, int lorder, 163 info.cachesize = cachesize; 688 int cachesize = 0 local 736 int cachesize = 0; local 788 int cachesize = 0; local [all...] |
/external/python/cpython2/Lib/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...] |
/external/dnsmasq/src/ |
cache.c | 53 bignames_left = daemon->cachesize / 10; 55 if (daemon->cachesize > 0) { 56 crecp = safe_malloc(daemon->cachesize * sizeof(struct crec)); 58 for (i = 0; i < daemon->cachesize; i++, crecp++) { 66 rehash(daemon->cachesize); 715 int i, total_size = daemon->cachesize; 738 if (daemon->cachesize > 0) my_syslog(LOG_INFO, _("cleared cache")); [all...] |
dnsmasq.c | 411 else if (daemon->cachesize != 0) 412 my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); [all...] |
dnsmasq.h | 598 int cachesize, ftabsize; member in struct:daemon
|
option.c | 209 {'c', ARG_ONE, "cachesize", [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_bsddb.py | 21 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
|
/external/python/cpython2/Lib/test/ |
test_bsddb.py | 20 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
|