/third_party/python/Objects/stringlib/ |
H A D | fastsearch.h | 49 STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in find_char() 106 STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in rfind_char() 186 STRINGLIB(_lex_search)(const STRINGLIB_CHAR *needle, Py_ssize_t len_needle, in _lex_search() 238 STRINGLIB(_factorize)(const STRINGLIB_CHAR *needle, in _factorize() 275 cut1 = STRINGLIB(_lex_search)(needle, len_needle, &period1, 0); in _factorize() 276 cut2 = STRINGLIB(_lex_search)(needle, len_needle, &period2, 1); in _factorize() 304 typedef struct STRINGLIB(_pre) { in STRINGLIB() function 312 } STRINGLIB(prework); in STRINGLIB() 316 STRINGLIB(_preprocess)(const STRINGLIB_CHAR *needle, Py_ssize_t len_needle, in _preprocess() 317 STRINGLIB(prewor in _preprocess() [all...] |
H A D | find.h | 8 STRINGLIB(find)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in find() 27 STRINGLIB(rfind)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in rfind() 46 STRINGLIB(find_slice)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in find_slice() 50 return STRINGLIB(find)(str + start, end - start, sub, sub_len, start); in find_slice() 54 STRINGLIB(rfind_slice)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in rfind_slice() 58 return STRINGLIB(rfind)(str + start, end - start, sub, sub_len, start); in rfind_slice() 64 STRINGLIB(contains_obj)(PyObject* str, PyObject* sub) in contains_obj() 66 return STRINGLIB(find)( in contains_obj() 86 STRINGLIB(parse_args_finds)(const char * function_name, PyObject *args, in parse_args_finds()
|
H A D | split.h | 54 STRINGLIB(split_whitespace)(PyObject* str_obj, in split_whitespace() 102 STRINGLIB(split_char)(PyObject* str_obj, in split_char() 145 STRINGLIB(split)(PyObject* str_obj, in split() 158 return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount); in split() 193 STRINGLIB(rsplit_whitespace)(PyObject* str_obj, in rsplit_whitespace() 243 STRINGLIB(rsplit_char)(PyObject* str_obj, in rsplit_char() 287 STRINGLIB(rsplit)(PyObject* str_obj, in rsplit() 300 return STRINGLIB(rsplit_char)(str_obj, str, str_len, sep[0], maxcount); in rsplit() 336 STRINGLIB(splitlines)(PyObject* str_obj, in splitlines()
|
H A D | codecs.h | 23 STRINGLIB(utf8_decode)(const char **inptr, const char *end, in utf8_decode() 261 STRINGLIB(utf8_encoder)(_PyBytesWriter *writer, in utf8_encoder() 504 STRINGLIB(utf16_decode)(const unsigned char **inptr, const unsigned char *e, 624 STRINGLIB(utf16_encode)(const STRINGLIB_CHAR *in, 746 STRINGLIB(SWAB4)(STRINGLIB_CHAR ch) 761 STRINGLIB(utf32_encode)(const STRINGLIB_CHAR *in, 807 out[0] = STRINGLIB(SWAB4)(in[0]); 808 out[1] = STRINGLIB(SWAB4)(in[1]); 809 out[2] = STRINGLIB(SWAB4)(in[2]); 810 out[3] = STRINGLIB(SWAB [all...] |
H A D | find_max_char.h | 20 STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end) in find_max_char() 58 STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end) in find_max_char()
|
H A D | partition.h | 13 STRINGLIB(partition)(PyObject* str_obj, in partition() 70 STRINGLIB(rpartition)(PyObject* str_obj, in rpartition()
|
H A D | undef.h | 2 #undef STRINGLIB macro
|
H A D | count.h | 8 STRINGLIB(count)(const STRINGLIB_CHAR* str, Py_ssize_t str_len, in count()
|
H A D | ucs4lib.h | 7 #define STRINGLIB(F) ucs4lib_##F macro
|
H A D | ucs2lib.h | 7 #define STRINGLIB(F) ucs2lib_##F macro
|
H A D | ucs1lib.h | 7 #define STRINGLIB(F) ucs1lib_##F macro
|
H A D | asciilib.h | 7 #define STRINGLIB(F) asciilib_##F macro
|
H A D | replace.h | 8 STRINGLIB(replace_1char_inplace)(STRINGLIB_CHAR* s, STRINGLIB_CHAR* end, in replace_1char_inplace()
|
H A D | stringdefs.h | 10 #define STRINGLIB(F) stringlib_##F macro
|
H A D | unicodedefs.h | 10 #define STRINGLIB(F) stringlib_##F macro
|
H A D | join.h | 8 STRINGLIB(bytes_join)(PyObject *sep, PyObject *iterable) in bytes_join()
|
/third_party/python/Objects/ |
H A D | bytes_methods.c | 120 /* Fast path, see in STRINGLIB(utf8_decode) in stringlib/codecs.h in _Py_bytes_isascii() 431 #define STRINGLIB(F) stringlib_##F macro
|