Lines Matching defs:string
81 /* Convert a string to a normalized Python string(decoded from UTF-8): all characters are
85 PyObject *normalizestring(const char *string)
87 size_t len = strlen(string);
92 PyErr_SetString(PyExc_OverflowError, "string is too large");
100 if (!_Py_normalize_encoding(string, encoding, len + 1))
115 The encoding string is looked up converted to all lower-case
139 /* Convert the encoding to a normalized Python string: all
404 and return the resulting encoded object (usually a Python string).
449 /* Decode an object (usually a Python string) using the given encoding