Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_dbmmodule.c290 datum dbm_key, val; in _dbm_dbm_get_impl() local
292 dbm_key.dptr = (char *)key; in _dbm_dbm_get_impl()
293 dbm_key.dsize = key_length; in _dbm_dbm_get_impl()
295 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_get_impl()
320 datum dbm_key, val; in _dbm_dbm_setdefault_impl() local
323 dbm_key.dptr = (char *)key; in _dbm_dbm_setdefault_impl()
324 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
326 val = dbm_fetch(self->di_dbm, dbm_key); in _dbm_dbm_setdefault_impl()
345 if (dbm_store(self->di_dbm, dbm_key, val, DBM_INSERT) < 0) { in _dbm_dbm_setdefault_impl()
D_gdbmmodule.c406 datum dbm_key, nextkey; in _gdbm_gdbm_nextkey_impl() local
408 dbm_key.dptr = (char *)key; in _gdbm_gdbm_nextkey_impl()
409 dbm_key.dsize = key_length; in _gdbm_gdbm_nextkey_impl()
411 nextkey = gdbm_nextkey(self->di_dbm, dbm_key); in _gdbm_gdbm_nextkey_impl()