Home
last modified time | relevance | path

Searched refs:_BLOCKSIZE (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Ddumbdbm.py31 _BLOCKSIZE = 512 variable
136 npos = ((pos + _BLOCKSIZE - 1) // _BLOCKSIZE) * _BLOCKSIZE
171 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
172 newblocks = (len(val) + _BLOCKSIZE - 1) // _BLOCKSIZE
/external/python/cpython3/Lib/dbm/
Ddumb.py31 _BLOCKSIZE = 512 variable
167 npos = ((pos + _BLOCKSIZE - 1) // _BLOCKSIZE) * _BLOCKSIZE
213 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
214 newblocks = (len(val) + _BLOCKSIZE - 1) // _BLOCKSIZE