Home
last modified time | relevance | path

Searched refs:STRINGLIB_LEN (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Objects/stringlib/
H A 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(sel in stringlib_lower()
[all...]
H A Dtransmogrify.h24 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in return_self()
48 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs_impl()
119 u = STRINGLIB_NEW(NULL, left + STRINGLIB_LEN(self) + right); in pad()
125 STRINGLIB_LEN(self)); in pad()
127 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
150 if (STRINGLIB_LEN(self) >= width) { in stringlib_ljust_impl()
154 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust_impl()
174 if (STRINGLIB_LEN(self) >= width) { in stringlib_rjust_impl()
178 return pad(self, width - STRINGLIB_LEN(self), 0, fillchar); in stringlib_rjust_impl()
200 if (STRINGLIB_LEN(sel in stringlib_center_impl()
[all...]
H A Dfind.h67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in contains_obj()
68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in contains_obj()
H A Dundef.h7 #undef STRINGLIB_LEN macro
H A Ducs4lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
H A Ducs2lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
H A Ducs1lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
H A Dasciilib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
H A Dstringdefs.h21 #define STRINGLIB_LEN PyBytes_GET_SIZE macro
H A Dunicodedefs.h21 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
H A Djoin.h11 Py_ssize_t seplen = STRINGLIB_LEN(sep); in bytes_join()

Completed in 4 milliseconds