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()
178 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject()
240 return PyByteArray_AS_STRING(self); in PyByteArray_AsString()
471 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript()
506 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values), in bytearray_setslice()
922 PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\0'; in bytearray_init()
971 start = PyByteArray_AS_STRING(self); in bytearray_repr()
1140 #define STRINGLIB_STR PyByteArray_AS_STRING
1189 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal()
1193 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal()
1228 const char *str = PyByteArray_AS_STRING(self); in bytearray_count()
1318 pos = stringlib_find(PyByteArray_AS_STRING(self), Py_SIZE(self), in bytearray_contains()
1328 return memchr(PyByteArray_AS_STRING(self), ival, Py_SIZE(self)) != NULL; in bytearray_contains()
1345 str = PyByteArray_AS_STRING(self); in _bytearray_tailmatch()
1512 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate()
1564 PyByteArray_AS_STRING(self), in return_self()
1623 self_s = PyByteArray_AS_STRING(self); in replace_interleave()
1624 result_s = PyByteArray_AS_STRING(result); in replace_interleave()
1658 self_s = PyByteArray_AS_STRING(self); in replace_delete_single_character()
1671 result_s = PyByteArray_AS_STRING(result); in replace_delete_single_character()
1702 self_s = PyByteArray_AS_STRING(self); in replace_delete_substring()
1720 result_s = PyByteArray_AS_STRING(result); in replace_delete_substring()
1752 self_s = PyByteArray_AS_STRING(self); in replace_single_character_in_place()
1766 result_s = PyByteArray_AS_STRING(result); in replace_single_character_in_place()
1800 self_s = PyByteArray_AS_STRING(self); in replace_substring_in_place()
1815 result_s = PyByteArray_AS_STRING(result); in replace_substring_in_place()
1850 self_s = PyByteArray_AS_STRING(self); in replace_single_character()
1871 result_s = PyByteArray_AS_STRING(result); in replace_single_character()
1913 self_s = PyByteArray_AS_STRING(self); in replace_substring()
1937 result_s = PyByteArray_AS_STRING(result); in replace_substring()
2086 const char *s = PyByteArray_AS_STRING(self), *sub; in bytearray_split()
2128 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_partition()
2130 PyByteArray_AS_STRING(bytesep), PyByteArray_GET_SIZE(bytesep) in bytearray_partition()
2156 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_rpartition()
2158 PyByteArray_AS_STRING(bytesep), PyByteArray_GET_SIZE(bytesep) in bytearray_rpartition()
2179 const char *s = PyByteArray_AS_STRING(self), *sub; in bytearray_rsplit()
2324 buf = PyByteArray_AS_STRING(bytearray_obj); in bytearray_extend()
2355 buf = PyByteArray_AS_STRING(bytearray_obj); in bytearray_extend()
2653 dest = PyByteArray_AS_STRING(result); in bytearray_join()
2659 buf = PyByteArray_AS_STRING(obj); in bytearray_join()
2696 (PyObject*) self, PyByteArray_AS_STRING(self), in bytearray_splitlines()
2737 buf = PyByteArray_AS_STRING(newbytes); in bytearray_fromhex()