/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() 65 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower() 77 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper() [all …]
|
D | transmogrify.h | 17 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in return_self() 36 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs() 37 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs() 68 q = STRINGLIB_STR(u); in stringlib_expandtabs() 70 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs() 110 memset(STRINGLIB_STR(u), fill, left); in pad() 111 memcpy(STRINGLIB_STR(u) + left, in pad() 112 STRINGLIB_STR(self), in pad() 115 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad() 198 p = STRINGLIB_STR(s); in stringlib_zfill() [all …]
|
D | find.h | 67 STRINGLIB_STR(str), STRINGLIB_LEN(str), in STRINGLIB() 68 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in STRINGLIB()
|
D | join.h | 10 char *sepstr = STRINGLIB_STR(sep); in STRINGLIB() 104 p = STRINGLIB_STR(res); in STRINGLIB()
|
D | undef.h | 6 #undef STRINGLIB_STR
|
D | ucs1lib.h | 19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
|
D | ucs2lib.h | 19 #define STRINGLIB_STR PyUnicode_2BYTE_DATA macro
|
D | ucs4lib.h | 19 #define STRINGLIB_STR PyUnicode_4BYTE_DATA macro
|
D | unicodedefs.h | 21 #define STRINGLIB_STR PyUnicode_AS_UNICODE macro
|
D | asciilib.h | 19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA macro
|
D | stringdefs.h | 21 #define STRINGLIB_STR PyBytes_AS_STRING macro
|
D | README.txt | 28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
|
/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() 58 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower() 70 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper() 82 _Py_bytes_title(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_title() [all …]
|
D | transmogrify.h | 27 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs() 28 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs() 59 q = STRINGLIB_STR(u); in stringlib_expandtabs() 61 for (p = STRINGLIB_STR(self); p < e; p++) { in stringlib_expandtabs() 98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad() 109 memset(STRINGLIB_STR(u), fill, left); in pad() 110 Py_MEMCPY(STRINGLIB_STR(u) + left, in pad() 111 STRINGLIB_STR(self), in pad() 114 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad() 140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust() [all …]
|
D | string_format.h | 142 output->ptr = STRINGLIB_STR(output->obj); in output_initialize() 158 STRINGLIB_CHAR *startptr = STRINGLIB_STR(output->obj); in output_extend() 164 startptr = STRINGLIB_STR(output->obj); in output_extend() 627 STRINGLIB_STR(result), STRINGLIB_LEN(result)); in render_field() 920 STRINGLIB_STR(tmp), STRINGLIB_LEN(tmp)); in output_markup() 1007 count = output.ptr - STRINGLIB_STR(output.obj); in build_string() 1040 SubString_init(&input, STRINGLIB_STR(self), STRINGLIB_LEN(self)); in do_string_format() 1199 STRINGLIB_STR(self), in formatter_parser() 1340 if (!field_name_split(STRINGLIB_STR(self), in formatter_field_name_split()
|
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 | formatter.h | 719 p = fill_padding(STRINGLIB_STR(result), len, in format_string_internal() 723 memcpy(p, STRINGLIB_STR(value), len * sizeof(STRINGLIB_CHAR)); in format_string_internal() 865 pnumeric_chars = STRINGLIB_STR(tmp); in format_int_or_long_internal() 904 fill_number(STRINGLIB_STR(result), &spec, pnumeric_chars, n_digits, in format_int_or_long_internal() 1058 fill_number(STRINGLIB_STR(result), &spec, p, n_digits, NULL, in format_float_internal() 1273 p = fill_padding(STRINGLIB_STR(result), in format_complex_internal()
|
D | unicodedefs.h | 21 #define STRINGLIB_STR PyUnicode_AS_UNICODE macro
|
D | stringdefs.h | 21 #define STRINGLIB_STR PyString_AS_STRING macro
|
D | README.txt | 28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 1093 #define STRINGLIB_STR PyByteArray_AS_STRING macro
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 1140 #define STRINGLIB_STR PyByteArray_AS_STRING macro
|