Lines Matching refs:STRINGLIB
48 STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() function
105 STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t n, STRINGLIB_CHAR ch) in STRINGLIB() function
179 STRINGLIB(_lex_search)(const STRINGLIB_CHAR *needle, Py_ssize_t len_needle, in STRINGLIB() function
231 STRINGLIB(_factorize)(const STRINGLIB_CHAR *needle, in STRINGLIB() function
268 cut1 = STRINGLIB(_lex_search)(needle, len_needle, &period1, 0); in STRINGLIB()
269 cut2 = STRINGLIB(_lex_search)(needle, len_needle, &period2, 1); in STRINGLIB()
297 typedef struct STRINGLIB(_pre) { typedef
304 } STRINGLIB(prework);
308 STRINGLIB(_preprocess)(const STRINGLIB_CHAR *needle, Py_ssize_t len_needle, in STRINGLIB() function
309 STRINGLIB(prework) *p) in STRINGLIB()
313 p->cut = STRINGLIB(_factorize)(needle, len_needle, &(p->period)); in STRINGLIB()
342 STRINGLIB(_two_way)(const STRINGLIB_CHAR *haystack, Py_ssize_t len_haystack, in STRINGLIB() function
343 STRINGLIB(prework) *p) in STRINGLIB()
468 STRINGLIB(_two_way_find)(const STRINGLIB_CHAR *haystack, in STRINGLIB() function
474 STRINGLIB(prework) p; in STRINGLIB()
475 STRINGLIB(_preprocess)(needle, len_needle, &p); in STRINGLIB()
476 return STRINGLIB(_two_way)(haystack, len_haystack, &p); in STRINGLIB()
480 STRINGLIB(_two_way_count)(const STRINGLIB_CHAR *haystack, in STRINGLIB() function
487 STRINGLIB(prework) p; in STRINGLIB()
488 STRINGLIB(_preprocess)(needle, len_needle, &p); in STRINGLIB()
492 result = STRINGLIB(_two_way)(haystack + index, in STRINGLIB()
536 return STRINGLIB(find_char)(s, n, p[0]); in FASTSEARCH()
538 return STRINGLIB(rfind_char)(s, n, p[0]); in FASTSEARCH()
561 return STRINGLIB(_two_way_find)(s, n, p, m); in FASTSEARCH()
564 return STRINGLIB(_two_way_count)(s, n, p, m, maxcount); in FASTSEARCH()
623 res = STRINGLIB(_two_way_count)( in FASTSEARCH()
628 res = STRINGLIB(_two_way_find)(s+i, n-i, p, m); in FASTSEARCH()