Searched refs:STRINGLIB_LEN (Results 1 – 9 of 9) sorted by relevance
/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 | 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 | unicodedefs.h | 22 #define STRINGLIB_LEN PyUnicode_GET_SIZE macro
|
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/cpython2/Objects/ |
D | bytearrayobject.c | 1118 #define STRINGLIB_LEN PyByteArray_GET_SIZE macro
|