Home
last modified time | relevance | path

Searched refs:STRINGLIB_CHAR (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython3/Objects/stringlib/
Dcodecs.h22 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 …]
Dfastsearch.h36 STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB()
38 const STRINGLIB_CHAR *p, *e; in STRINGLIB()
58 (e - p) * sizeof(STRINGLIB_CHAR)); in STRINGLIB()
61 p = (const STRINGLIB_CHAR *) in STRINGLIB()
62 _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR)); in STRINGLIB()
81 STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB()
83 const STRINGLIB_CHAR *p; in STRINGLIB()
105 n * sizeof(STRINGLIB_CHAR)); in STRINGLIB()
108 p = (const STRINGLIB_CHAR *) in STRINGLIB()
109 _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR)); in STRINGLIB()
[all …]
Dlocaleutil.h49 STRINGLIB(fill)(STRINGLIB_CHAR **digits_end, STRINGLIB_CHAR **buffer_end, in STRINGLIB()
50 Py_ssize_t n_chars, Py_ssize_t n_zeros, STRINGLIB_CHAR* thousands_sep, in STRINGLIB()
65 memcpy(*buffer_end, *digits_end, n_chars * sizeof(STRINGLIB_CHAR)); in STRINGLIB()
104 STRINGLIB_CHAR *buffer, in STRINGLIB()
106 STRINGLIB_CHAR *digits, in STRINGLIB()
110 STRINGLIB_CHAR *thousands_sep, in STRINGLIB()
119 STRINGLIB_CHAR *buffer_end = NULL; in STRINGLIB()
120 STRINGLIB_CHAR *digits_end = NULL; in STRINGLIB()
Dfind.h8 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()
Dfind_max_char.h20 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()
Dsplit.h55 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 …]
Dreplace.h8 STRINGLIB(replace_1char_inplace)(STRINGLIB_CHAR* s, STRINGLIB_CHAR* end, in STRINGLIB()
39 STRINGLIB_CHAR ch1 = (STRINGLIB_CHAR) u1; in STRINGLIB()
Dpartition.h9 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()
DREADME.txt10 STRINGLIB_CHAR
24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t)
28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
Dcount.h8 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()
Dundef.h5 #undef STRINGLIB_CHAR
Ducs4lib.h11 #define STRINGLIB_CHAR Py_UCS4 macro
Ducs2lib.h11 #define STRINGLIB_CHAR Py_UCS2 macro
Ducs1lib.h11 #define STRINGLIB_CHAR Py_UCS1 macro
Dunicodedefs.h13 #define STRINGLIB_CHAR Py_UNICODE macro
/external/python/cpython2/Objects/stringlib/
Dformatter.h23 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 …]
Dstring_format.h29 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 …]
Dlocaleutil.h51 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()
Dfind.h11 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()
Dsplit.h58 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 …]
Dpartition.h12 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()
DREADME.txt10 STRINGLIB_CHAR
24 PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t)
28 STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)
Dcount.h11 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()
Dfastsearch.h37 fastsearch(const STRINGLIB_CHAR* s, Py_ssize_t n, in fastsearch()
38 const STRINGLIB_CHAR* p, Py_ssize_t m, in fastsearch()
Dunicodedefs.h10 #define STRINGLIB_CHAR Py_UNICODE macro

12