Searched refs:pat_len (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Modules/ |
D | stropmodule.c | 1028 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/apps/ |
D | aomdec.c | 358 size_t pat_len; in generate_filename() local 377 pat_len = strlen(q); in generate_filename() 378 if (pat_len >= q_len - 1) die("Output filename too long.\n"); in generate_filename() 379 q += pat_len; in generate_filename() 381 q_len -= pat_len; in generate_filename()
|
/external/libvpx/ |
D | vpxdec.c | 433 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/python/cpython3/Lib/ |
D | enum.py | 47 pat_len = len(pattern) 49 len(name) > pat_len 51 and name[pat_len:pat_len+1] != ['_']
|
/external/mksh/src/ |
D | histrap.c | 193 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()
|