Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_dbmmodule.c289 datum dbm_key, val; in _dbm_dbm_get_impl() local
291 dbm_key.dptr = (char *)key; in _dbm_dbm_get_impl()
292 dbm_key.dsize = key_length; in _dbm_dbm_get_impl()
294 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_get_impl()
319 datum dbm_key, val; in _dbm_dbm_setdefault_impl() local
322 dbm_key.dptr = (char *)key; in _dbm_dbm_setdefault_impl()
323 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
325 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_setdefault_impl()
344 if (dbm_store(self->di_dbm, dbm_key, val, DBM_INSERT) < 0) { in _dbm_dbm_setdefault_impl()
D_gdbmmodule.c404 datum dbm_key, nextkey; in _gdbm_gdbm_nextkey_impl() local
406 dbm_key.dptr = (char *)key; in _gdbm_gdbm_nextkey_impl()
407 dbm_key.dsize = key_length; in _gdbm_gdbm_nextkey_impl()
409 nextkey = gdbm_nextkey(self->di_dbm, dbm_key); in _gdbm_gdbm_nextkey_impl()