/external/python/cpython2/Objects/stringlib/ |
D | ctype.h | 9 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 …]
|
D | transmogrify.h | 27 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 …]
|
D | find.h | 89 STRINGLIB_STR(str), STRINGLIB_LEN(str), in stringlib_contains_obj() 90 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in stringlib_contains_obj()
|
D | unicodedefs.h | 22 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
|
D | string_format.h | 143 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()
|
D | stringdefs.h | 22 #define STRINGLIB_LEN PyString_GET_SIZE macro
|
D | README.txt | 19 Py_ssize_t STRINGLIB_LEN(PyObject*)
|
D | formatter.h | 679 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/stringlib/ |
D | ctype.h | 10 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 …]
|
D | transmogrify.h | 24 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 …]
|
D | find.h | 67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in STRINGLIB() 68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in STRINGLIB()
|
D | undef.h | 7 #undef STRINGLIB_LEN
|
D | ucs4lib.h | 20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
|
D | ucs2lib.h | 20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
|
D | ucs1lib.h | 20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
|
D | asciilib.h | 20 #define STRINGLIB_LEN PyUnicode_GET_LENGTH macro
|
D | unicodedefs.h | 22 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
|
D | stringdefs.h | 22 #define STRINGLIB_LEN PyBytes_GET_SIZE macro
|
D | README.txt | 19 Py_ssize_t STRINGLIB_LEN(PyObject*)
|
D | join.h | 11 Py_ssize_t seplen = STRINGLIB_LEN(sep); in STRINGLIB()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 1091 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 1139 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro
|