Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_dbmmodule.c298 datum dbm_key, val; in _dbm_dbm_get_impl() local
300 dbm_key.dptr = (char *)key; in _dbm_dbm_get_impl()
301 dbm_key.dsize = key_length; in _dbm_dbm_get_impl()
303 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_get_impl()
328 datum dbm_key, val; in _dbm_dbm_setdefault_impl() local
331 dbm_key.dptr = (char *)key; in _dbm_dbm_setdefault_impl()
332 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
334 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_setdefault_impl()
353 if (dbm_store(self->di_dbm, dbm_key, val, DBM_INSERT) < 0) { in _dbm_dbm_setdefault_impl()
D_gdbmmodule.c427 datum dbm_key, nextkey; in _gdbm_gdbm_nextkey_impl() local
429 dbm_key.dptr = (char *)key; in _gdbm_gdbm_nextkey_impl()
430 dbm_key.dsize = key_length; in _gdbm_gdbm_nextkey_impl()
432 nextkey = gdbm_nextkey(self->di_dbm, dbm_key); in _gdbm_gdbm_nextkey_impl()