Home
last modified time | relevance | path

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

/third_party/python/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.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(self) >= width) { in stringlib_center_impl()
[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
Ducs4lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Ducs1lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Ducs2lib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Dasciilib.h19 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
Dunicodedefs.h21 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
Dstringdefs.h21 #define STRINGLIB_LEN PyBytes_GET_SIZE macro
DREADME.txt19 Py_ssize_t STRINGLIB_LEN(PyObject*)
Djoin.h11 Py_ssize_t seplen = STRINGLIB_LEN(sep); in STRINGLIB()
/third_party/python/Objects/
Dbytearrayobject.c1081 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro