/third_party/python/Objects/stringlib/ |
D | codecs.h | 24 STRINGLIB_CHAR *dest, in STRINGLIB() 29 STRINGLIB_CHAR *p = dest + *outpos; in STRINGLIB() 45 STRINGLIB_CHAR *_p = p; in STRINGLIB() 54 _p[0] = (STRINGLIB_CHAR)(value & 0xFFu); in STRINGLIB() 55 _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu); in STRINGLIB() 56 _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu); in STRINGLIB() 57 _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu); in STRINGLIB() 59 _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu); in STRINGLIB() 60 _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu); in STRINGLIB() 61 _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu); in STRINGLIB() [all …]
|
D | fastsearch.h | 48 STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() 50 const STRINGLIB_CHAR *p, *e; in STRINGLIB() 63 const STRINGLIB_CHAR *s1, *e1; in STRINGLIB() 71 (e - p) * sizeof(STRINGLIB_CHAR)); in STRINGLIB() 75 p = (const STRINGLIB_CHAR *) in STRINGLIB() 76 _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR)); in STRINGLIB() 105 STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() 107 const STRINGLIB_CHAR *p; in STRINGLIB() 122 const STRINGLIB_CHAR *s1; in STRINGLIB() 131 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() 58 STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end) in STRINGLIB() 71 const STRINGLIB_CHAR *p = begin; in STRINGLIB() 72 const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4); in STRINGLIB() 78 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 | 14 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 16 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in STRINGLIB() 71 const STRINGLIB_CHAR* str, Py_ssize_t str_len, in STRINGLIB() 73 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 | ucs4lib.h | 11 #define STRINGLIB_CHAR Py_UCS4 macro
|
D | ucs2lib.h | 11 #define STRINGLIB_CHAR Py_UCS2 macro
|
D | ucs1lib.h | 11 #define STRINGLIB_CHAR Py_UCS1 macro
|
D | asciilib.h | 11 #define STRINGLIB_CHAR Py_UCS1 macro
|
D | unicodedefs.h | 13 #define STRINGLIB_CHAR Py_UNICODE macro
|
D | stringdefs.h | 13 #define STRINGLIB_CHAR char macro
|
/third_party/python/Objects/ |
D | bytes_methods.c | 432 #define STRINGLIB_CHAR char macro
|
D | bytearrayobject.c | 1079 #define STRINGLIB_CHAR char macro
|