Lines Matching refs:PyString_AS_STRING
394 if (_PyString_Resize(&string, s - PyString_AS_STRING(string))) in PyString_FromFormatV()
650 r = PyString_AS_STRING(w); in PyString_DecodeEscape()
831 *s = PyString_AS_STRING(obj); in PyString_AsStringAndSize()
960 p = PyString_AS_STRING(v); in PyString_Repr()
965 assert(newsize - (p - PyString_AS_STRING(v)) >= 5); in PyString_Repr()
985 assert(newsize - (p - PyString_AS_STRING(v)) >= 1); in PyString_Repr()
988 if (_PyString_Resize(&v, (p - PyString_AS_STRING(v)))) in PyString_Repr()
1336 PyString_AS_STRING(self) + start, in string_subscript()
1463 const char *s = PyString_AS_STRING(self), *sub; in string_split()
1473 sub = PyString_AS_STRING(subobj); in string_split()
1500 sep = PyString_AS_STRING(sep_obj); in string_partition()
1512 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_partition()
1531 sep = PyString_AS_STRING(sep_obj); in string_rpartition()
1543 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_rpartition()
1562 const char *s = PyString_AS_STRING(self), *sub; in string_rsplit()
1572 sub = PyString_AS_STRING(subobj); in string_rsplit()
1595 char *sep = PyString_AS_STRING(self); in string_join()
1672 p = PyString_AS_STRING(res); in string_join()
1677 Py_MEMCPY(p, PyString_AS_STRING(item), n); in string_join()
1725 sub = PyString_AS_STRING(subobj); in string_find_internal()
1740 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_find_internal()
1744 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_find_internal()
1830 char *s = PyString_AS_STRING(self); in do_xstrip()
1832 char *sep = PyString_AS_STRING(sepobj); in do_xstrip()
1863 char *s = PyString_AS_STRING(self); in do_strip()
2000 s = PyString_AS_STRING(newobj); in string_lower()
2002 Py_MEMCPY(s, PyString_AS_STRING(self), n); in string_lower()
2033 s = PyString_AS_STRING(newobj); in string_upper()
2035 Py_MEMCPY(s, PyString_AS_STRING(self), n); in string_upper()
2055 char *s = PyString_AS_STRING(self), *s_new; in string_title()
2090 char *s = PyString_AS_STRING(self), *s_new; in string_capitalize()
2129 const char *str = PyString_AS_STRING(self), *sub; in string_count()
2137 sub = PyString_AS_STRING(sub_obj); in string_count()
2169 char *s = PyString_AS_STRING(self), *s_new; in string_swapcase()
2221 table = PyString_AS_STRING(tableobj); in string_translate()
2252 del_table = PyString_AS_STRING(delobj); in string_translate()
2275 input = PyString_AS_STRING(input_obj); in string_translate()
2336 PyString_AS_STRING(self), in return_self()
2395 self_s = PyString_AS_STRING(self); in replace_interleave()
2396 result_s = PyString_AS_STRING(result); in replace_interleave()
2430 self_s = PyString_AS_STRING(self); in replace_delete_single_character()
2443 result_s = PyString_AS_STRING(result); in replace_delete_single_character()
2473 self_s = PyString_AS_STRING(self); in replace_delete_substring()
2491 result_s = PyString_AS_STRING(result); in replace_delete_substring()
2523 self_s = PyString_AS_STRING(self); in replace_single_character_in_place()
2537 result_s = PyString_AS_STRING(result); in replace_single_character_in_place()
2571 self_s = PyString_AS_STRING(self); in replace_substring_in_place()
2586 result_s = PyString_AS_STRING(result); in replace_substring_in_place()
2621 self_s = PyString_AS_STRING(self); in replace_single_character()
2642 result_s = PyString_AS_STRING(result); in replace_single_character()
2683 self_s = PyString_AS_STRING(self); in replace_substring()
2707 result_s = PyString_AS_STRING(result); in replace_substring()
2828 from_s = PyString_AS_STRING(from); in string_replace()
2840 to_s = PyString_AS_STRING(to); in string_replace()
2872 sub = PyString_AS_STRING(substr); in _string_tailmatch()
2882 str = PyString_AS_STRING(self); in _string_tailmatch()
3091 e = PyString_AS_STRING(self) + PyString_GET_SIZE(self); /* end of input */ in string_expandtabs()
3092 for (p = PyString_AS_STRING(self); p < e; p++) { in string_expandtabs()
3123 q = PyString_AS_STRING(u); /* next output char */ in string_expandtabs()
3124 qe = PyString_AS_STRING(u) + PyString_GET_SIZE(u); /* end of output */ in string_expandtabs()
3126 for (p = PyString_AS_STRING(self); p < e; p++) { in string_expandtabs()
3176 memset(PyString_AS_STRING(u), fill, left); in pad()
3177 Py_MEMCPY(PyString_AS_STRING(u) + left, in pad()
3178 PyString_AS_STRING(self), in pad()
3181 memset(PyString_AS_STRING(u) + left + PyString_GET_SIZE(self), in pad()
3287 PyString_AS_STRING(self), in string_zfill()
3299 p = PyString_AS_STRING(s); in string_zfill()
3319 = (unsigned char *) PyString_AS_STRING(self); in string_isspace()
3350 = (unsigned char *) PyString_AS_STRING(self); in string_isalpha()
3381 = (unsigned char *) PyString_AS_STRING(self); in string_isalnum()
3412 = (unsigned char *) PyString_AS_STRING(self); in string_isdigit()
3443 = (unsigned char *) PyString_AS_STRING(self); in string_islower()
3477 = (unsigned char *) PyString_AS_STRING(self); in string_isupper()
3513 = (unsigned char *) PyString_AS_STRING(self); in string_istitle()
3566 (PyObject*) self, PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_splitlines()
3619 PyString_AS_STRING(format_spec), in string__format__()
3723 Py_MEMCPY(PyString_AS_STRING(pnew), PyString_AS_STRING(tmp), n+1); in str_subtype_new()
4101 buf = PyString_AS_STRING(result); in _PyString_FormatLong()
4259 fmt = PyString_AS_STRING(format); in PyString_Format()
4284 res = PyString_AS_STRING(result) in PyString_Format()
4490 pbuf = PyString_AS_STRING(temp); in PyString_Format()
4565 pbuf = PyString_AS_STRING(temp); in PyString_Format()
4620 res = PyString_AS_STRING(result) in PyString_Format()
4714 rescnt = res - PyString_AS_STRING(result); in PyString_Format()
4718 (fmt - PyString_AS_STRING(format)); in PyString_Format()