Searched refs:encoded_string (Results 1 – 1 of 1) sorted by relevance
678 PyObject* encoded_string = NULL; in CheckAndGetInteger() local682 encoded_string = arg; // Already encoded. in CheckAndGetInteger()683 Py_INCREF(encoded_string); in CheckAndGetInteger()685 encoded_string = PyUnicode_AsEncodedObject(arg, "utf-8", NULL); in CheckAndGetInteger()689 encoded_string = arg; in CheckAndGetInteger()690 Py_INCREF(encoded_string); in CheckAndGetInteger()693 return encoded_string; in CheckAndGetInteger()702 ScopedPyObjectPtr encoded_string(CheckString(arg, descriptor)); in CheckAndGetInteger() local704 if (encoded_string.get() == NULL) { in CheckAndGetInteger()710 if (PyBytes_AsStringAndSize(encoded_string.get(), &value, &value_len) < 0) { in CheckAndGetInteger()