Lines Matching refs:PyString_AS_STRING
394 if (_PyString_Resize(&string, s - PyString_AS_STRING(string))) in PyString_FromFormatV()
644 r = PyString_AS_STRING(w); in PyString_DecodeEscape()
825 *s = PyString_AS_STRING(obj); in PyString_AsStringAndSize()
954 p = PyString_AS_STRING(v); in PyString_Repr()
959 assert(newsize - (p - PyString_AS_STRING(v)) >= 5); in PyString_Repr()
979 assert(newsize - (p - PyString_AS_STRING(v)) >= 1); in PyString_Repr()
982 if (_PyString_Resize(&v, (p - PyString_AS_STRING(v)))) in PyString_Repr()
1330 PyString_AS_STRING(self) + start, in string_subscript()
1457 const char *s = PyString_AS_STRING(self), *sub; in string_split()
1467 sub = PyString_AS_STRING(subobj); in string_split()
1494 sep = PyString_AS_STRING(sep_obj); in string_partition()
1506 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_partition()
1525 sep = PyString_AS_STRING(sep_obj); in string_rpartition()
1537 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_rpartition()
1556 const char *s = PyString_AS_STRING(self), *sub; in string_rsplit()
1566 sub = PyString_AS_STRING(subobj); in string_rsplit()
1589 char *sep = PyString_AS_STRING(self); in string_join()
1666 p = PyString_AS_STRING(res); in string_join()
1671 Py_MEMCPY(p, PyString_AS_STRING(item), n); in string_join()
1719 sub = PyString_AS_STRING(subobj); in string_find_internal()
1734 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_find_internal()
1738 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_find_internal()
1824 char *s = PyString_AS_STRING(self); in do_xstrip()
1826 char *sep = PyString_AS_STRING(sepobj); in do_xstrip()
1857 char *s = PyString_AS_STRING(self); in do_strip()
1994 s = PyString_AS_STRING(newobj); in string_lower()
1996 Py_MEMCPY(s, PyString_AS_STRING(self), n); in string_lower()
2027 s = PyString_AS_STRING(newobj); in string_upper()
2029 Py_MEMCPY(s, PyString_AS_STRING(self), n); in string_upper()
2049 char *s = PyString_AS_STRING(self), *s_new; in string_title()
2084 char *s = PyString_AS_STRING(self), *s_new; in string_capitalize()
2123 const char *str = PyString_AS_STRING(self), *sub; in string_count()
2131 sub = PyString_AS_STRING(sub_obj); in string_count()
2163 char *s = PyString_AS_STRING(self), *s_new; in string_swapcase()
2215 table = PyString_AS_STRING(tableobj); in string_translate()
2246 del_table = PyString_AS_STRING(delobj); in string_translate()
2269 input = PyString_AS_STRING(input_obj); in string_translate()
2330 PyString_AS_STRING(self), in return_self()
2390 self_s = PyString_AS_STRING(self); in replace_interleave()
2391 result_s = PyString_AS_STRING(result); in replace_interleave()
2425 self_s = PyString_AS_STRING(self); in replace_delete_single_character()
2438 result_s = PyString_AS_STRING(result); in replace_delete_single_character()
2468 self_s = PyString_AS_STRING(self); in replace_delete_substring()
2486 result_s = PyString_AS_STRING(result); in replace_delete_substring()
2518 self_s = PyString_AS_STRING(self); in replace_single_character_in_place()
2532 result_s = PyString_AS_STRING(result); in replace_single_character_in_place()
2566 self_s = PyString_AS_STRING(self); in replace_substring_in_place()
2581 result_s = PyString_AS_STRING(result); in replace_substring_in_place()
2616 self_s = PyString_AS_STRING(self); in replace_single_character()
2641 result_s = PyString_AS_STRING(result); in replace_single_character()
2682 self_s = PyString_AS_STRING(self); in replace_substring()
2710 result_s = PyString_AS_STRING(result); in replace_substring()
2831 from_s = PyString_AS_STRING(from); in string_replace()
2843 to_s = PyString_AS_STRING(to); in string_replace()
2875 sub = PyString_AS_STRING(substr); in _string_tailmatch()
2885 str = PyString_AS_STRING(self); in _string_tailmatch()
3094 e = PyString_AS_STRING(self) + PyString_GET_SIZE(self); /* end of input */ in string_expandtabs()
3095 for (p = PyString_AS_STRING(self); p < e; p++) { in string_expandtabs()
3126 q = PyString_AS_STRING(u); /* next output char */ in string_expandtabs()
3127 qe = PyString_AS_STRING(u) + PyString_GET_SIZE(u); /* end of output */ in string_expandtabs()
3129 for (p = PyString_AS_STRING(self); p < e; p++) { in string_expandtabs()
3179 memset(PyString_AS_STRING(u), fill, left); in pad()
3180 Py_MEMCPY(PyString_AS_STRING(u) + left, in pad()
3181 PyString_AS_STRING(self), in pad()
3184 memset(PyString_AS_STRING(u) + left + PyString_GET_SIZE(self), in pad()
3290 PyString_AS_STRING(self), in string_zfill()
3302 p = PyString_AS_STRING(s); in string_zfill()
3322 = (unsigned char *) PyString_AS_STRING(self); in string_isspace()
3353 = (unsigned char *) PyString_AS_STRING(self); in string_isalpha()
3384 = (unsigned char *) PyString_AS_STRING(self); in string_isalnum()
3415 = (unsigned char *) PyString_AS_STRING(self); in string_isdigit()
3446 = (unsigned char *) PyString_AS_STRING(self); in string_islower()
3480 = (unsigned char *) PyString_AS_STRING(self); in string_isupper()
3516 = (unsigned char *) PyString_AS_STRING(self); in string_istitle()
3569 (PyObject*) self, PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_splitlines()
3622 PyString_AS_STRING(format_spec), in string__format__()
3726 Py_MEMCPY(PyString_AS_STRING(pnew), PyString_AS_STRING(tmp), n+1); in str_subtype_new()
4104 buf = PyString_AS_STRING(result); in _PyString_FormatLong()
4262 fmt = PyString_AS_STRING(format); in PyString_Format()
4287 res = PyString_AS_STRING(result) in PyString_Format()
4493 pbuf = PyString_AS_STRING(temp); in PyString_Format()
4568 pbuf = PyString_AS_STRING(temp); in PyString_Format()
4623 res = PyString_AS_STRING(result) in PyString_Format()
4717 rescnt = res - PyString_AS_STRING(result); in PyString_Format()
4721 (fmt - PyString_AS_STRING(format)); in PyString_Format()