Searched refs:filenamebytes (Results 1 – 2 of 2) sorted by relevance
463 PyObject *filenamebytes = PyUnicode_EncodeFSDefault(filename); in dbmopen_impl() local464 if (filenamebytes == NULL) { in dbmopen_impl()467 const char *name = PyBytes_AS_STRING(filenamebytes); in dbmopen_impl()468 if (strlen(name) != (size_t)PyBytes_GET_SIZE(filenamebytes)) { in dbmopen_impl()469 Py_DECREF(filenamebytes); in dbmopen_impl()474 Py_DECREF(filenamebytes); in dbmopen_impl()
632 PyObject *filenamebytes = PyUnicode_EncodeFSDefault(filename); in dbmopen_impl() local633 if (filenamebytes == NULL) { in dbmopen_impl()636 const char *name = PyBytes_AS_STRING(filenamebytes); in dbmopen_impl()637 if (strlen(name) != (size_t)PyBytes_GET_SIZE(filenamebytes)) { in dbmopen_impl()638 Py_DECREF(filenamebytes); in dbmopen_impl()643 Py_DECREF(filenamebytes); in dbmopen_impl()