Home
last modified time | relevance | path

Searched refs:STRINGLIB_LEN (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Objects/stringlib/
Dctype.h10 return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isspace()
16 return _Py_bytes_isalpha(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalpha()
22 return _Py_bytes_isalnum(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalnum()
28 return _Py_bytes_isascii(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isascii()
34 return _Py_bytes_isdigit(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isdigit()
40 return _Py_bytes_islower(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_islower()
46 return _Py_bytes_isupper(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isupper()
52 return _Py_bytes_istitle(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_istitle()
62 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower()
66 STRINGLIB_LEN(self)); in stringlib_lower()
[all …]
Dtransmogrify.h17 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in return_self()
36 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs()
107 u = STRINGLIB_NEW(NULL, left + STRINGLIB_LEN(self) + right); in pad()
113 STRINGLIB_LEN(self)); in pad()
115 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
131 if (STRINGLIB_LEN(self) >= width) { in stringlib_ljust()
135 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust()
148 if (STRINGLIB_LEN(self) >= width) { in stringlib_rjust()
152 return pad(self, width - STRINGLIB_LEN(self), 0, fillchar); in stringlib_rjust()
166 if (STRINGLIB_LEN(self) >= width) { in stringlib_center()
[all …]
Dfind.h67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in STRINGLIB()
68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in STRINGLIB()
Dundef.h7 #undef STRINGLIB_LEN
Ducs1lib.h20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Ducs2lib.h20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Ducs4lib.h20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Dunicodedefs.h22 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
Dasciilib.h20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Dstringdefs.h22 #define STRINGLIB_LEN PyBytes_GET_SIZE macro
DREADME.txt19 Py_ssize_t STRINGLIB_LEN(PyObject*)
Djoin.h11 const Py_ssize_t seplen = STRINGLIB_LEN(sep); in STRINGLIB()
/external/python/cpython2/Objects/stringlib/
Dctype.h9 return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isspace()
15 return _Py_bytes_isalpha(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalpha()
21 return _Py_bytes_isalnum(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isalnum()
27 return _Py_bytes_isdigit(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isdigit()
33 return _Py_bytes_islower(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_islower()
39 return _Py_bytes_isupper(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_isupper()
45 return _Py_bytes_istitle(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_istitle()
55 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower()
59 STRINGLIB_LEN(self)); in stringlib_lower()
67 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_upper()
[all …]
Dtransmogrify.h27 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs()
98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad()
106 left + STRINGLIB_LEN(self) + right); in pad()
112 STRINGLIB_LEN(self)); in pad()
114 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
136 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_ljust()
140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust()
147 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust()
166 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_rjust()
170 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_rjust()
[all …]
Dfind.h89 STRINGLIB_STR(str), STRINGLIB_LEN(str), in stringlib_contains_obj()
90 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in stringlib_contains_obj()
Dstring_format.h143 output->end = STRINGLIB_LEN(output->obj) + output->ptr; in output_initialize()
627 STRINGLIB_STR(result), STRINGLIB_LEN(result)); in render_field()
920 STRINGLIB_STR(tmp), STRINGLIB_LEN(tmp)); in output_markup()
1040 SubString_init(&input, STRINGLIB_STR(self), STRINGLIB_LEN(self)); in do_string_format()
1200 STRINGLIB_LEN(self)); in formatter_parser()
1341 STRINGLIB_LEN(self), in formatter_field_name_split()
Dunicodedefs.h22 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
Dstringdefs.h22 #define STRINGLIB_LEN PyString_GET_SIZE macro
DREADME.txt19 Py_ssize_t STRINGLIB_LEN(PyObject*)
Dformatter.h679 Py_ssize_t len = STRINGLIB_LEN(value); in format_string_internal()
866 n_digits = STRINGLIB_LEN(tmp); in format_int_or_long_internal()
/external/python/cpython3/Objects/
Dbytearrayobject.c1092 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro
/external/python/cpython2/Objects/
Dbytearrayobject.c1139 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro