Home
last modified time | relevance | path

Searched refs:is_prefix_of (Results 1 – 25 of 173) sorted by relevance

1234567

/dports/devel/p5-UDCode/UDCode-1.03/t/
H A D03_is_prefix_of.t5 *is_prefix_of = \*UDCode::is_prefix_of;
7 ok( is_prefix_of("", "abb"));
8 ok( is_prefix_of("a", "abb"));
9 ok( is_prefix_of("ab", "abb"));
10 ok( is_prefix_of("abb", "abb"));
11 ok(! is_prefix_of("b", "abb"));
12 ok(! is_prefix_of("ba", "abb"));
13 ok(! is_prefix_of("bb", "abb"));
/dports/devel/p5-UDCode/UDCode-1.03/lib/
H A DUDCode.pm74 if (is_prefix_of($c1, $c2)) {
92 if (is_prefix_of($c, $x)) {
97 } elsif (is_prefix_of($x, $c)) {
110 sub is_prefix_of { subroutine
/dports/devel/binutils/binutils-2.37/gold/testsuite/
H A Dplugin_section_alignment.cc55 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
62 if (is_prefix_of(".data.v", secname)) { in flavor_from_name()
64 } else if (is_prefix_of(".bss.v", secname)) { in flavor_from_name()
66 } else if (is_prefix_of(".rodata.v", secname)) { in flavor_from_name()
212 if (is_prefix_of(".data.v", name) || in claim_file_hook()
213 is_prefix_of(".bss.v", name) || in claim_file_hook()
214 is_prefix_of(".rodata.v", name)) { in claim_file_hook()
H A Dplugin_new_section_layout.c116 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
156 if (is_prefix_of(".text.", name)) in new_input_hook()
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gold/testsuite/
H A Dplugin_section_alignment.cc55 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
62 if (is_prefix_of(".data.v", secname)) { in flavor_from_name()
64 } else if (is_prefix_of(".bss.v", secname)) { in flavor_from_name()
66 } else if (is_prefix_of(".rodata.v", secname)) { in flavor_from_name()
212 if (is_prefix_of(".data.v", name) || in claim_file_hook()
213 is_prefix_of(".bss.v", name) || in claim_file_hook()
214 is_prefix_of(".rodata.v", name)) { in claim_file_hook()
/dports/lang/gnatdroid-binutils/binutils-2.27/gold/testsuite/
H A Dplugin_section_alignment.cc55 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
62 if (is_prefix_of(".data.v", secname)) { in flavor_from_name()
64 } else if (is_prefix_of(".bss.v", secname)) { in flavor_from_name()
66 } else if (is_prefix_of(".rodata.v", secname)) { in flavor_from_name()
212 if (is_prefix_of(".data.v", name) || in claim_file_hook()
213 is_prefix_of(".bss.v", name) || in claim_file_hook()
214 is_prefix_of(".rodata.v", name)) { in claim_file_hook()
/dports/devel/arm-elf-binutils/binutils-2.37/gold/testsuite/
H A Dplugin_section_alignment.cc55 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
62 if (is_prefix_of(".data.v", secname)) { in flavor_from_name()
64 } else if (is_prefix_of(".bss.v", secname)) { in flavor_from_name()
66 } else if (is_prefix_of(".rodata.v", secname)) { in flavor_from_name()
212 if (is_prefix_of(".data.v", name) || in claim_file_hook()
213 is_prefix_of(".bss.v", name) || in claim_file_hook()
214 is_prefix_of(".rodata.v", name)) { in claim_file_hook()
H A Dplugin_new_section_layout.c116 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
156 if (is_prefix_of(".text.", name)) in new_input_hook()
/dports/devel/gnulibiberty/binutils-2.37/gold/testsuite/
H A Dplugin_section_alignment.cc55 inline static int is_prefix_of(const char *prefix, const char *str) in is_prefix_of() function
62 if (is_prefix_of(".data.v", secname)) { in flavor_from_name()
64 } else if (is_prefix_of(".bss.v", secname)) { in flavor_from_name()
66 } else if (is_prefix_of(".rodata.v", secname)) { in flavor_from_name()
212 if (is_prefix_of(".data.v", name) || in claim_file_hook()
213 is_prefix_of(".bss.v", name) || in claim_file_hook()
214 is_prefix_of(".rodata.v", name)) { in claim_file_hook()
/dports/devel/folly/folly-2021.12.27.00/folly/test/
H A Djson_pointer_test.cpp53 json_pointer::parse("/a/b").is_prefix_of(json_pointer::parse("/a/b/c"))); in TEST_F()
55 json_pointer::parse("/a/b").is_prefix_of(json_pointer::parse("/a/d/e"))); in TEST_F()
57 json_pointer::parse("/a/b/c").is_prefix_of(json_pointer::parse("/a/b"))); in TEST_F()
/dports/misc/broot/broot-1.7.0/cargo-crates/syntect-4.6.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/devel/git-delta/delta-0.9.2/cargo-crates/syntect-4.6.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/syntect-3.2.0/src/parsing/
H A Dscope.rs253 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
482 if sel_scope.is_prefix_of(*scope) { in does_match()
558 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
561 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
564 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
567 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
570 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
573 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
576 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/editors/xi-term/xi-term-d264767/cargo-crates/syntect-3.2.0/src/parsing/
H A Dscope.rs253 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
482 if sel_scope.is_prefix_of(*scope) { in does_match()
558 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
561 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
564 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
567 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
570 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
573 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
576 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/syntect-4.6.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/www/zola/zola-0.15.2/cargo-crates/syntect-4.6.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/www/xh/xh-0.14.1/cargo-crates/syntect-4.6.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/textproc/bat/bat-0.18.3/cargo-crates/syntect-4.5.0/src/parsing/
H A Dscope.rs280 pub fn is_prefix_of(self, s: Scope) -> bool { in is_prefix_of() method
516 if sel_scope.is_prefix_of(*scope) { in does_match()
596 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
599 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
602 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
605 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
608 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
611 .is_prefix_of(Scope::new("1.2.3.4.5").unwrap())); in prefixes_work()
614 .is_prefix_of(Scope::new("1.2.3.4.5.6.7.8").unwrap())); in prefixes_work()
/dports/devel/binutils/binutils-2.37/gold/
H A Dicf.h202 return (is_prefix_of(".text", section_name_cstr) in is_section_foldable_candidate()
203 || is_prefix_of(".gcc_except_table", section_name_cstr) in is_section_foldable_candidate()
204 || is_prefix_of(".gnu.linkonce.t", section_name_cstr)); in is_section_foldable_candidate()
/dports/devel/arm-elf-binutils/binutils-2.37/gold/
H A Dicf.h202 return (is_prefix_of(".text", section_name_cstr) in is_section_foldable_candidate()
203 || is_prefix_of(".gcc_except_table", section_name_cstr) in is_section_foldable_candidate()
204 || is_prefix_of(".gnu.linkonce.t", section_name_cstr)); in is_section_foldable_candidate()
/dports/devel/gnulibiberty/binutils-2.37/gold/
H A Dicf.h202 return (is_prefix_of(".text", section_name_cstr) in is_section_foldable_candidate()
203 || is_prefix_of(".gcc_except_table", section_name_cstr) in is_section_foldable_candidate()
204 || is_prefix_of(".gnu.linkonce.t", section_name_cstr)); in is_section_foldable_candidate()
/dports/devel/mercurial/mercurial-6.0/rust/hg-core/src/revlog/
H A Dnode.rs228 pub fn is_prefix_of(&self, node: &Node) -> bool { in is_prefix_of() method
370 assert!(NodePrefix::from_hex("12")?.is_prefix_of(&node)); in test_is_prefix_of()
371 assert!(!NodePrefix::from_hex("1a")?.is_prefix_of(&node)); in test_is_prefix_of()
372 assert!(NodePrefix::from_hex("12c")?.is_prefix_of(&node)); in test_is_prefix_of()
373 assert!(!NodePrefix::from_hex("12d")?.is_prefix_of(&node)); in test_is_prefix_of()
/dports/chinese/librime/librime-1.7.3/tools/
H A Drime_proto_console.cc100 inline static bool is_prefix_of(const std::string& str, in is_prefix_of() function
127 if (is_prefix_of(line, kSelectSchema)) { in execute_special_command()
135 if (is_prefix_of(line, kSelectCandidate)) { in execute_special_command()
162 if (is_prefix_of(line, kSetOption)) { in execute_special_command()
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gold/
H A Dicf.h173 return (is_prefix_of(".text", section_name_cstr) in is_section_foldable_candidate()
174 || is_prefix_of(".gnu.linkonce.t", section_name_cstr)); in is_section_foldable_candidate()
/dports/lang/gnatdroid-binutils/binutils-2.27/gold/
H A Dicf.h173 return (is_prefix_of(".text", section_name_cstr) in is_section_foldable_candidate()
174 || is_prefix_of(".gnu.linkonce.t", section_name_cstr)); in is_section_foldable_candidate()

1234567