Searched refs:is_prefix (Results 1 – 7 of 7) sorted by relevance
/external/strace/ |
D | ioctlsort.c | 49 is_prefix(const char *s1, const char *s2) in is_prefix() function 76 if (is_prefix("asm/", info1) && in compare_name_info() 77 is_prefix("asm-generic/", info2)) in compare_name_info() 80 if (is_prefix("asm/", info2) && in compare_name_info() 81 is_prefix("asm-generic/", info1)) in compare_name_info() 145 !is_prefix(ioctls[i-1].name, ioctls[i].name)) in ioctlsort()
|
/external/selinux/libselinux/src/android/ |
D | android_platform.c | 143 char is_prefix; member 219 if (s1->user.is_prefix != s2->user.is_prefix) in seapp_context_cmp() 220 return (s2->user.is_prefix ? -1 : 1); in seapp_context_cmp() 223 if (s1->user.is_prefix && s1->user.len != s2->user.len) in seapp_context_cmp() 241 if (s1->name.is_prefix != s2->name.is_prefix) in seapp_context_cmp() 242 return (s2->name.is_prefix ? -1 : 1); in seapp_context_cmp() 245 if (s1->name.is_prefix && s1->name.len != s2->name.len) in seapp_context_cmp() 257 if (s1->path.is_prefix != s2->path.is_prefix) in seapp_context_cmp() 258 return (s2->path.is_prefix ? -1 : 1); in seapp_context_cmp() 261 if (s1->path.is_prefix && s1->path.len != s2->path.len) in seapp_context_cmp() [all …]
|
/external/rust/crates/aho-corasick/src/packed/ |
D | rabinkarp.rs | 159 if pat.is_prefix(&haystack[at..]) { in verify()
|
D | pattern.rs | 260 pub fn is_prefix(&self, bytes: &[u8]) -> bool { in is_prefix() method
|
/external/mksh/src/ |
D | expr.c | 234 do_ppmm(Expr_state *es, enum token op, struct tbl *vasn, bool is_prefix) in do_ppmm() argument 253 if (!is_prefix) in do_ppmm()
|
/external/rust/crates/aho-corasick/src/packed/teddy/ |
D | runtime.rs | 394 if pat.is_prefix(&haystack[at..]) { in verify_bucket()
|
/external/rust/crates/aho-corasick/ |
D | DESIGN.md | 48 * Support for anchored searches, which permit efficient `is_prefix` checks for
|