Searched refs:STRINGLIB_CHECK_EXACT (Results 1 – 17 of 17) sorted by relevance
94 if (left == 0 && right == 0 && STRINGLIB_CHECK_EXACT(self)) { in pad()136 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_ljust()166 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_rjust()197 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_center()232 if (STRINGLIB_CHECK_EXACT(self)) { in stringlib_zfill()
77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace()129 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_char()177 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split()216 if (j == str_len - 1 && i < 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_rsplit_whitespace()269 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_rsplit_char()318 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_rsplit()377 if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_splitlines()
26 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact macro
26 #define STRINGLIB_CHECK_EXACT PyString_CheckExact macro
33 int STRINGLIB_CHECK_EXACT(PyObject *)
74 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()126 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()174 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()213 if (j == str_len - 1 && i < 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()266 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()315 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()374 if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact macro
25 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact macro
25 #define STRINGLIB_CHECK_EXACT PyBytes_CheckExact macro
35 if (STRINGLIB_CHECK_EXACT(item)) { in STRINGLIB()
12 if (STRINGLIB_CHECK_EXACT(self)) { in return_self()
1086 #define STRINGLIB_CHECK_EXACT PyByteArray_CheckExact macro
1123 #define STRINGLIB_CHECK_EXACT PyByteArray_CheckExact macro