/external/python/cpython3/Objects/stringlib/ |
D | codecs.h | 22 STRINGLIB_CHAR *dest, in STRINGLIB() 28 STRINGLIB_CHAR *p = dest + *outpos; in STRINGLIB() 44 STRINGLIB_CHAR *_p = p; in STRINGLIB() 53 _p[0] = (STRINGLIB_CHAR)(value & 0xFFu); in STRINGLIB() 54 _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu); in STRINGLIB() 55 _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu); in STRINGLIB() 56 _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu); in STRINGLIB() 58 _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu); in STRINGLIB() 59 _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu); in STRINGLIB() 60 _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu); in STRINGLIB() [all …]
|
D | fastsearch.h | 42 STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() 44 const STRINGLIB_CHAR *p, *e; in STRINGLIB() 57 const STRINGLIB_CHAR *s1, *e1; in STRINGLIB() 65 (e - p) * sizeof(STRINGLIB_CHAR)); in STRINGLIB() 69 p = (const STRINGLIB_CHAR *) in STRINGLIB() 70 _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR)); in STRINGLIB() 99 STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() 101 const STRINGLIB_CHAR *p; in STRINGLIB() 116 const STRINGLIB_CHAR *s1; in STRINGLIB() 125 n * sizeof(STRINGLIB_CHAR)); in STRINGLIB() [all …]
|
D | find.h | 8 STRINGLIB(find)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB() 27 STRINGLIB(rfind)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 28 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB() 46 STRINGLIB(find_slice)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 47 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB() 54 STRINGLIB(rfind_slice)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 55 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
|
D | find_max_char.h | 20 STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end) in STRINGLIB() 60 STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end) in STRINGLIB() 73 const STRINGLIB_CHAR *p = begin; in STRINGLIB() 74 const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4); in STRINGLIB() 80 STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3]; in STRINGLIB()
|
D | split.h | 55 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 103 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 104 const STRINGLIB_CHAR ch, in STRINGLIB() 146 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 147 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in STRINGLIB() 194 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 244 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 245 const STRINGLIB_CHAR ch, in STRINGLIB() 288 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 289 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in STRINGLIB() [all …]
|
D | replace.h | 8 STRINGLIB(replace_1char_inplace)(STRINGLIB_CHAR* s, STRINGLIB_CHAR* end, in STRINGLIB() 39 STRINGLIB_CHAR ch1 = (STRINGLIB_CHAR) u1; in STRINGLIB()
|
D | partition.h | 9 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 11 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in STRINGLIB() 64 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 66 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in STRINGLIB()
|
D | README.txt | 10 STRINGLIB_CHAR 24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t) 28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
|
D | count.h | 8 STRINGLIB(count)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
|
D | undef.h | 5 #undef STRINGLIB_CHAR
|
D | ucs1lib.h | 11 #define STRINGLIB_CHAR Py_UCS1 macro
|
D | ucs2lib.h | 11 #define STRINGLIB_CHAR Py_UCS2 macro
|
D | ucs4lib.h | 11 #define STRINGLIB_CHAR Py_UCS4 macro
|
D | unicodedefs.h | 13 #define STRINGLIB_CHAR Py_UNICODE macro
|
D | asciilib.h | 11 #define STRINGLIB_CHAR Py_UCS1 macro
|
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 23 unknown_presentation_type(STRINGLIB_CHAR presentation_type, in unknown_presentation_type() 48 invalid_comma_type(STRINGLIB_CHAR presentation_type) in invalid_comma_type() 73 get_integer(STRINGLIB_CHAR **ptr, STRINGLIB_CHAR *end, in get_integer() 108 is_alignment_token(STRINGLIB_CHAR c) in is_alignment_token() 120 is_sign_element(STRINGLIB_CHAR c) in is_sign_element() 132 STRINGLIB_CHAR fill_char; 133 STRINGLIB_CHAR align; 135 STRINGLIB_CHAR sign; 139 STRINGLIB_CHAR type; 169 parse_internal_render_format_spec(STRINGLIB_CHAR *format_spec, in parse_internal_render_format_spec() [all …]
|
D | localeutil.h | 51 fill(STRINGLIB_CHAR **digits_end, STRINGLIB_CHAR **buffer_end, in fill() 76 memcpy(*buffer_end, *digits_end, n_chars * sizeof(STRINGLIB_CHAR)); in fill() 113 _Py_InsertThousandsGrouping(STRINGLIB_CHAR *buffer, in _Py_InsertThousandsGrouping() 115 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGrouping() 127 STRINGLIB_CHAR *buffer_end = NULL; in _Py_InsertThousandsGrouping() 128 STRINGLIB_CHAR *digits_end = NULL; in _Py_InsertThousandsGrouping() 199 _Py_InsertThousandsGroupingLocale(STRINGLIB_CHAR *buffer, in _Py_InsertThousandsGroupingLocale() 201 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGroupingLocale()
|
D | string_format.h | 29 STRINGLIB_CHAR *ptr; 30 STRINGLIB_CHAR *end; 67 SubString_init(SubString *str, STRINGLIB_CHAR *p, Py_ssize_t len) in SubString_init() 128 STRINGLIB_CHAR *ptr; 129 STRINGLIB_CHAR *end; 158 STRINGLIB_CHAR *startptr = STRINGLIB_STR(output->obj); in output_extend() 182 output_data(OutputString *output, const STRINGLIB_CHAR *s, Py_ssize_t count) in output_data() 186 memcpy(output->ptr, s, count * sizeof(STRINGLIB_CHAR)); in output_data() 200 STRINGLIB_CHAR *p; in get_integer() 283 STRINGLIB_CHAR *ptr; [all …]
|
D | find.h | 11 stringlib_find(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_find() 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find() 31 stringlib_rfind(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rfind() 32 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind() 66 stringlib_find_slice(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_find_slice() 67 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find_slice() 75 stringlib_rfind_slice(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rfind_slice() 76 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind_slice()
|
D | split.h | 58 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_split_whitespace() 106 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_split_char() 107 const STRINGLIB_CHAR ch, in stringlib_split_char() 149 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_split() 150 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_split() 197 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rsplit_whitespace() 247 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rsplit_char() 248 const STRINGLIB_CHAR ch, in stringlib_rsplit_char() 291 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rsplit() 292 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_rsplit() [all …]
|
D | partition.h | 12 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_partition() 14 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_partition() 62 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_rpartition() 64 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_rpartition()
|
D | README.txt | 10 STRINGLIB_CHAR 24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t) 28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
|
D | count.h | 11 stringlib_count(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in stringlib_count() 12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_count()
|
D | fastsearch.h | 37 fastsearch(const STRINGLIB_CHAR* s, Py_ssize_t n, in fastsearch() 38 const STRINGLIB_CHAR* p, Py_ssize_t m, in fastsearch()
|
D | unicodedefs.h | 10 #define STRINGLIB_CHAR Py_UNICODE macro
|