Lines Matching refs:PyString_AS_STRING
23 #define BUF(v) PyString_AS_STRING((PyStringObject *)v)
1609 char *s = PyString_AS_STRING(result); in PyFile_GetLine()
1754 buffer = PyString_AS_STRING(big_buffer); in file_readlines()
1761 buffer = PyString_AS_STRING(big_buffer); in file_readlines()
1844 s = PyString_AS_STRING(text); in file_write()
1850 encoding = PyString_AS_STRING(f->f_encoding); in file_write()
1854 errors = PyString_AS_STRING(f->f_errors); in file_write()
1860 s = PyString_AS_STRING(encoded); in file_write()
1991 nwritten = fwrite(PyString_AS_STRING(line), in file_writelines()
2320 memcpy(PyString_AS_STRING(s) + skip, rab->bufptr, len); in readahead_get_line_skip()
2334 memcpy(PyString_AS_STRING(s) + skip, bufptr, len); in readahead_get_line_skip()
2613 char *cenc = PyString_AS_STRING(enc); in PyFile_WriteObject()
2615 "strict" : PyString_AS_STRING(fobj->f_errors); in PyFile_WriteObject()