Home
last modified time | relevance | path

Searched refs:pat_len (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dstropmodule.c1028 mymemfind(const char *mem, Py_ssize_t len, const char *pat, Py_ssize_t pat_len) in mymemfind() argument
1033 len -= pat_len; in mymemfind()
1037 (pat_len == 1 || in mymemfind()
1038 memcmp(&mem[ii+1], &pat[1], pat_len-1) == 0)) { in mymemfind()
1053 mymemcnt(const char *mem, Py_ssize_t len, const char *pat, Py_ssize_t pat_len) in mymemcnt() argument
1059 offset = mymemfind(mem, len, pat, pat_len); in mymemcnt()
1062 mem += offset + pat_len; in mymemcnt()
1063 len -= offset + pat_len; in mymemcnt()
1090 const char *pat, Py_ssize_t pat_len, /* pattern string to find */ in mymemreplace() argument
1099 if (len == 0 || pat_len > len) in mymemreplace()
[all …]
/external/libaom/libaom/apps/
Daomdec.c355 size_t pat_len; in generate_filename() local
374 pat_len = strlen(q); in generate_filename()
375 if (pat_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename()
376 q += pat_len; in generate_filename()
378 q_len -= pat_len; in generate_filename()
/external/libvpx/libvpx/
Dvpxdec.c433 size_t pat_len; in generate_filename() local
452 pat_len = strlen(q); in generate_filename()
453 if (pat_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename()
454 q += pat_len; in generate_filename()
456 q_len -= pat_len; in generate_filename()
/external/mksh/src/
Dhistrap.c193 size_t len, pat_len, rep_len; in c_fc() local
198 pat_len = strlen(pat); in c_fc()
202 (!any_subst || gflag); s = s1 + pat_len) { in c_fc()