Searched refs:keyobj (Results 1 – 1 of 1) sorted by relevance
411 make_key_dbt(DBObject* self, PyObject* keyobj, DBT* key, int* pflags) in make_key_dbt() argument417 if (keyobj == Py_None) { in make_key_dbt()430 else if (PyBytes_Check(keyobj)) { in make_key_dbt()453 key->data = malloc(PyBytes_GET_SIZE(keyobj)); in make_key_dbt()458 memcpy(key->data, PyBytes_AS_STRING(keyobj), in make_key_dbt()459 PyBytes_GET_SIZE(keyobj)); in make_key_dbt()461 key->size = PyBytes_GET_SIZE(keyobj); in make_key_dbt()464 else if (NUMBER_Check(keyobj)) { in make_key_dbt()483 recno = NUMBER_AsLong(keyobj); in make_key_dbt()500 Py_TYPE(keyobj)->tp_name); in make_key_dbt()[all …]