Lines Matching refs:PyString_AS_STRING
1017 const char *str = PyString_AS_STRING(*callresult); in PyUnicode_FromFormatV()
1204 s = PyString_AS_STRING(obj); in PyUnicode_FromEncodedObject()
1858 start = out = PyString_AS_STRING(v); in PyUnicode_EncodeUTF7()
2184 p = PyString_AS_STRING(v); in PyUnicode_EncodeUTF8()
2236 nneeded = p - PyString_AS_STRING(v); in PyUnicode_EncodeUTF8()
2479 p = (unsigned char *)PyString_AS_STRING(v); in PyUnicode_EncodeUTF32()
2755 p = (unsigned char *)PyString_AS_STRING(v); in PyUnicode_EncodeUTF16()
3082 p = PyString_AS_STRING(repr); in unicodeescape_string()
3094 ch == (Py_UNICODE) PyString_AS_STRING(repr)[1]) || ch == '\\') { in unicodeescape_string()
3180 *p++ = PyString_AS_STRING(repr)[1]; in unicodeescape_string()
3183 if (_PyString_Resize(&repr, p - PyString_AS_STRING(repr))) in unicodeescape_string()
3346 p = q = PyString_AS_STRING(repr); in PyUnicode_EncodeRawUnicodeEscape()
3647 str = PyString_AS_STRING(res); in unicode_encode_ucs1()
3697 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
3729 str = PyString_AS_STRING(res) + respos; in unicode_encode_ucs1()
3748 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
3763 str = PyString_AS_STRING(res) + respos; in unicode_encode_ucs1()
3784 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
4059 char *s = PyString_AS_STRING(*repr) + n; in encode_mbcs()
4603 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4622 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4626 const char *repchars = PyString_AS_STRING(rep); in charmapencode_output()
4634 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
8104 *ptr = (void *) PyString_AS_STRING(str); in unicode_buffer_getcharbuf()
8300 str = PyString_AS_STRING(v); in formatchar()
8601 unicode = PyUnicode_Decode(PyString_AS_STRING(temp), in PyUnicode_Format()