• Home
  • Raw
  • Download

Lines Matching refs:PyStringObject

13 static PyStringObject *characters[UCHAR_MAX + 1];
14 static PyStringObject *nullstring;
32 #define PyStringObject_SIZE (offsetof(PyStringObject, ob_sval) + 1)
59 register PyStringObject *op; in PyString_FromStringAndSize()
88 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromStringAndSize()
101 op = (PyStringObject *)t; in PyString_FromStringAndSize()
107 op = (PyStringObject *)t; in PyString_FromStringAndSize()
118 register PyStringObject *op; in PyString_FromString()
143 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromString()
154 op = (PyStringObject *)t; in PyString_FromString()
160 op = (PyStringObject *)t; in PyString_FromString()
801 return ((PyStringObject *)op) -> ob_sval; in PyString_AsString()
859 string_print(PyStringObject *op, FILE *fp, int flags) in string_print()
869 op = (PyStringObject *) PyObject_Str((PyObject *)op); in string_print()
934 register PyStringObject* op = (PyStringObject*) obj; in PyString_Repr()
1010 PyStringObject *t = (PyStringObject *) s; in string_str()
1016 string_length(PyStringObject *a) in string_length()
1022 string_concat(register PyStringObject *a, register PyObject *bb) in string_concat()
1025 register PyStringObject *op; in string_concat()
1038 #define b ((PyStringObject *)bb) in string_concat()
1067 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in string_concat()
1081 string_repeat(register PyStringObject *a, register Py_ssize_t n) in string_repeat()
1086 register PyStringObject *op; in string_repeat()
1109 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + nbytes); in string_repeat()
1136 string_slice(register PyStringObject *a, register Py_ssize_t i, in string_slice()
1176 string_item(PyStringObject *a, register Py_ssize_t i) in string_item()
1198 string_richcompare(PyStringObject *a, PyStringObject *b, int op) in string_richcompare()
1262 PyStringObject *a = (PyStringObject*) o1; in _PyString_Eq()
1263 PyStringObject *b = (PyStringObject*) o2; in _PyString_Eq()
1269 string_hash(PyStringObject *a) in string_hash()
1303 string_subscript(PyStringObject* self, PyObject* item) in string_subscript()
1365 string_buffer_getreadbuf(PyStringObject *self, Py_ssize_t index, const void **ptr) in string_buffer_getreadbuf()
1377 string_buffer_getwritebuf(PyStringObject *self, Py_ssize_t index, const void **ptr) in string_buffer_getwritebuf()
1385 string_buffer_getsegcount(PyStringObject *self, Py_ssize_t *lenp) in string_buffer_getsegcount()
1393 string_buffer_getcharbuf(PyStringObject *self, Py_ssize_t index, const char **ptr) in string_buffer_getcharbuf()
1405 string_buffer_getbuffer(PyStringObject *self, Py_buffer *view, int flags) in string_buffer_getbuffer()
1459 string_split(PyStringObject *self, PyObject *args) in string_split()
1494 string_partition(PyStringObject *self, PyObject *sep_obj) in string_partition()
1525 string_rpartition(PyStringObject *self, PyObject *sep_obj) in string_rpartition()
1558 string_rsplit(PyStringObject *self, PyObject *args) in string_rsplit()
1593 string_join(PyStringObject *self, PyObject *orig) in string_join()
1694 return string_join((PyStringObject *)sep, x); in _PyString_Join()
1713 string_find_internal(PyStringObject *self, PyObject *args, int dir) in string_find_internal()
1759 string_find(PyStringObject *self, PyObject *args) in string_find()
1774 string_index(PyStringObject *self, PyObject *args) in string_index()
1798 string_rfind(PyStringObject *self, PyObject *args) in string_rfind()
1813 string_rindex(PyStringObject *self, PyObject *args) in string_rindex()
1828 do_xstrip(PyStringObject *self, int striptype, PyObject *sepobj) in do_xstrip()
1861 do_strip(PyStringObject *self, int striptype) in do_strip()
1891 do_argstrip(PyStringObject *self, int striptype, PyObject *args) in do_argstrip()
1936 string_strip(PyStringObject *self, PyObject *args) in string_strip()
1953 string_lstrip(PyStringObject *self, PyObject *args) in string_lstrip()
1970 string_rstrip(PyStringObject *self, PyObject *args) in string_rstrip()
1990 string_lower(PyStringObject *self) in string_lower()
2023 string_upper(PyStringObject *self) in string_upper()
2053 string_title(PyStringObject *self) in string_title()
2088 string_capitalize(PyStringObject *self) in string_capitalize()
2126 string_count(PyStringObject *self, PyObject *args) in string_count()
2167 string_swapcase(PyStringObject *self) in string_swapcase()
2204 string_translate(PyStringObject *self, PyObject *args) in string_translate()
2328 Py_LOCAL(PyStringObject *)
2329 return_self(PyStringObject *self) in return_self()
2335 return (PyStringObject *)PyString_FromStringAndSize( in return_self()
2360 Py_LOCAL(PyStringObject *)
2361 replace_interleave(PyStringObject *self, in replace_interleave()
2368 PyStringObject *result; in replace_interleave()
2391 if (! (result = (PyStringObject *) in replace_interleave()
2419 Py_LOCAL(PyStringObject *)
2420 replace_delete_single_character(PyStringObject *self, in replace_delete_single_character()
2427 PyStringObject *result; in replace_delete_single_character()
2440 if ( (result = (PyStringObject *) in replace_delete_single_character()
2462 Py_LOCAL(PyStringObject *)
2463 replace_delete_substring(PyStringObject *self, in replace_delete_substring()
2470 PyStringObject *result; in replace_delete_substring()
2487 if ( (result = (PyStringObject *) in replace_delete_substring()
2513 Py_LOCAL(PyStringObject *)
2514 replace_single_character_in_place(PyStringObject *self, in replace_single_character_in_place()
2520 PyStringObject *result; in replace_single_character_in_place()
2534 result = (PyStringObject *) PyString_FromStringAndSize(NULL, self_len); in replace_single_character_in_place()
2558 Py_LOCAL(PyStringObject *)
2559 replace_substring_in_place(PyStringObject *self, in replace_substring_in_place()
2567 PyStringObject *result; in replace_substring_in_place()
2583 result = (PyStringObject *) PyString_FromStringAndSize(NULL, self_len); in replace_substring_in_place()
2609 Py_LOCAL(PyStringObject *)
2610 replace_single_character(PyStringObject *self, in replace_single_character()
2619 PyStringObject *result; in replace_single_character()
2639 if ( (result = (PyStringObject *) in replace_single_character()
2672 Py_LOCAL(PyStringObject *)
2673 replace_substring(PyStringObject *self, in replace_substring()
2681 PyStringObject *result; in replace_substring()
2704 if ( (result = (PyStringObject *) in replace_substring()
2739 Py_LOCAL(PyStringObject *)
2740 replace(PyStringObject *self, in replace()
2817 string_replace(PyStringObject *self, PyObject *args) in string_replace()
2851 return (PyObject *)replace((PyStringObject *) self, in string_replace()
2863 _string_tailmatch(PyStringObject *self, PyObject *substr, Py_ssize_t start, in _string_tailmatch()
2913 string_startswith(PyStringObject *self, PyObject *args) in string_startswith()
2957 string_endswith(PyStringObject *self, PyObject *args) in string_endswith()
3003 string_encode(PyStringObject *self, PyObject *args, PyObject *kwargs) in string_encode()
3042 string_decode(PyStringObject *self, PyObject *args, PyObject *kwargs) in string_decode()
3077 string_expandtabs(PyStringObject *self, PyObject *args) in string_expandtabs()
3158 pad(PyStringObject *self, Py_ssize_t left, Py_ssize_t right, char fill) in pad()
3195 string_ljust(PyStringObject *self, PyObject *args) in string_ljust()
3219 string_rjust(PyStringObject *self, PyObject *args) in string_rjust()
3243 string_center(PyStringObject *self, PyObject *args) in string_center()
3270 string_zfill(PyStringObject *self, PyObject *args) in string_zfill()
3316 string_isspace(PyStringObject *self) in string_isspace()
3347 string_isalpha(PyStringObject *self) in string_isalpha()
3378 string_isalnum(PyStringObject *self) in string_isalnum()
3409 string_isdigit(PyStringObject *self) in string_isdigit()
3440 string_islower(PyStringObject *self) in string_islower()
3474 string_isupper(PyStringObject *self) in string_isupper()
3510 string_istitle(PyStringObject *self, PyObject *uncased) in string_istitle()
3558 string_splitlines(PyStringObject *self, PyObject *args) in string_splitlines()
3575 string_sizeof(PyStringObject *v) in string_sizeof()
3583 string_getnewargs(PyStringObject *v) in string_getnewargs()
3724 ((PyStringObject *)pnew)->ob_shash = in str_subtype_new()
3725 ((PyStringObject *)tmp)->ob_shash; in str_subtype_new()
3726 ((PyStringObject *)pnew)->ob_sstate = SSTATE_NOT_INTERNED; in str_subtype_new()
3864 v = string_concat((PyStringObject *) *pv, w); in PyString_Concat()
3894 register PyStringObject *sv; in _PyString_Resize()
3914 sv = (PyStringObject *) *pv; in _PyString_Resize()
4746 register PyStringObject *s = (PyStringObject *)(*p); in PyString_InternInPlace()
4813 PyStringObject *s; in _Py_ReleaseInternedStrings()
4834 s = (PyStringObject *) PyList_GET_ITEM(keys, i); in _Py_ReleaseInternedStrings()