Lines Matching refs:PyByteArray_AS_STRING
70 *ptr = (void *)PyByteArray_AS_STRING(self); in bytearray_buffer_getreadbuf()
82 *ptr = (void *)PyByteArray_AS_STRING(self); in bytearray_buffer_getwritebuf()
102 *ptr = PyByteArray_AS_STRING(self); in bytearray_buffer_getcharbuf()
115 ptr = (void *) PyByteArray_AS_STRING(obj); in bytearray_getbuffer()
220 return PyByteArray_AS_STRING(self); in PyByteArray_AsString()
451 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript()
901 PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\0'; in bytearray_init()
950 start = PyByteArray_AS_STRING(self); in bytearray_repr()
1119 #define STRINGLIB_STR PyByteArray_AS_STRING
1168 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal()
1172 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal()
1207 const char *str = PyByteArray_AS_STRING(self); in bytearray_count()
1297 pos = stringlib_find(PyByteArray_AS_STRING(self), Py_SIZE(self), in bytearray_contains()
1307 return memchr(PyByteArray_AS_STRING(self), ival, Py_SIZE(self)) != NULL; in bytearray_contains()
1324 str = PyByteArray_AS_STRING(self); in _bytearray_tailmatch()
1491 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate()
1543 PyByteArray_AS_STRING(self), in return_self()
1603 self_s = PyByteArray_AS_STRING(self); in replace_interleave()
1604 result_s = PyByteArray_AS_STRING(result); in replace_interleave()
1638 self_s = PyByteArray_AS_STRING(self); in replace_delete_single_character()
1651 result_s = PyByteArray_AS_STRING(result); in replace_delete_single_character()
1682 self_s = PyByteArray_AS_STRING(self); in replace_delete_substring()
1700 result_s = PyByteArray_AS_STRING(result); in replace_delete_substring()
1732 self_s = PyByteArray_AS_STRING(self); in replace_single_character_in_place()
1746 result_s = PyByteArray_AS_STRING(result); in replace_single_character_in_place()
1780 self_s = PyByteArray_AS_STRING(self); in replace_substring_in_place()
1795 result_s = PyByteArray_AS_STRING(result); in replace_substring_in_place()
1830 self_s = PyByteArray_AS_STRING(self); in replace_single_character()
1855 result_s = PyByteArray_AS_STRING(result); in replace_single_character()
1897 self_s = PyByteArray_AS_STRING(self); in replace_substring()
1925 result_s = PyByteArray_AS_STRING(result); in replace_substring()
2074 const char *s = PyByteArray_AS_STRING(self), *sub; in bytearray_split()
2116 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_partition()
2118 PyByteArray_AS_STRING(bytesep), PyByteArray_GET_SIZE(bytesep) in bytearray_partition()
2144 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_rpartition()
2146 PyByteArray_AS_STRING(bytesep), PyByteArray_GET_SIZE(bytesep) in bytearray_rpartition()
2167 const char *s = PyByteArray_AS_STRING(self), *sub; in bytearray_rsplit()
2312 buf = PyByteArray_AS_STRING(bytearray_obj); in bytearray_extend()
2343 buf = PyByteArray_AS_STRING(bytearray_obj); in bytearray_extend()
2641 dest = PyByteArray_AS_STRING(result); in bytearray_join()
2647 buf = PyByteArray_AS_STRING(obj); in bytearray_join()
2684 (PyObject*) self, PyByteArray_AS_STRING(self), in bytearray_splitlines()
2725 buf = PyByteArray_AS_STRING(newbytes); in bytearray_fromhex()