Lines Matching refs:defvalue
265 PyObject *defvalue = Py_None; in dbm_get() local
270 &tmp_ptr, &tmp_size, &defvalue)) in dbm_get()
279 Py_INCREF(defvalue); in dbm_get()
280 return defvalue; in dbm_get()
288 PyObject *defvalue = NULL; in dbm_setdefault() local
293 &tmp_ptr, &tmp_size, &defvalue)) in dbm_setdefault()
301 if (defvalue == NULL) { in dbm_setdefault()
302 defvalue = PyString_FromStringAndSize(NULL, 0); in dbm_setdefault()
303 if (defvalue == NULL) in dbm_setdefault()
307 Py_INCREF(defvalue); in dbm_setdefault()
308 val.dptr = PyString_AS_STRING(defvalue); in dbm_setdefault()
309 val.dsize = PyString_GET_SIZE(defvalue); in dbm_setdefault()
315 return defvalue; in dbm_setdefault()