Searched refs:filenamebytes (Results 1 – 2 of 2) sorted by relevance
454 PyObject *filenamebytes = PyUnicode_EncodeFSDefault(filename); in dbmopen_impl() local455 if (filenamebytes == NULL) { in dbmopen_impl()458 const char *name = PyBytes_AS_STRING(filenamebytes); in dbmopen_impl()459 if (strlen(name) != (size_t)PyBytes_GET_SIZE(filenamebytes)) { in dbmopen_impl()460 Py_DECREF(filenamebytes); in dbmopen_impl()465 Py_DECREF(filenamebytes); in dbmopen_impl()
610 PyObject *filenamebytes = PyUnicode_EncodeFSDefault(filename); in dbmopen_impl() local611 if (filenamebytes == NULL) { in dbmopen_impl()614 const char *name = PyBytes_AS_STRING(filenamebytes); in dbmopen_impl()615 if (strlen(name) != (size_t)PyBytes_GET_SIZE(filenamebytes)) { in dbmopen_impl()616 Py_DECREF(filenamebytes); in dbmopen_impl()621 Py_DECREF(filenamebytes); in dbmopen_impl()