Home
last modified time | relevance | path

Searched refs:starts_with (Results 1 - 25 of 109) sorted by relevance

12345

/third_party/rust/crates/libc/ci/
H A Dstyle.rs120 if in_impl && line.starts_with('}') { in check_style()
126 let is_pub = line.starts_with("pub "); in check_style()
129 let line_state = if line.starts_with("use ") { in check_style()
138 } else if line.starts_with("const ") { in check_style()
140 } else if line.starts_with("type ") && !in_impl { in check_style()
142 } else if line.starts_with("s! {") { in check_style()
145 } else if line.starts_with("s_no_extra_traits! {") { in check_style()
148 } else if line.starts_with("s_paren! {") { in check_style()
151 } else if line.starts_with("f! {") { in check_style()
154 } else if line.starts_with("exter in check_style()
[all...]
H A Druntest-android.rs44 if !stderr.lines().any(|l| (l.starts_with("PASSED ") && l.contains(" tests")) || l.starts_with("test result: ok")) in main()
45 && !stdout.lines().any(|l| (l.starts_with("PASSED ") && l.contains(" tests")) || l.starts_with("test result: ok")) in main()
/third_party/rust/crates/serde/serde/
H A Dbuild.rs46 let has_atomic64 = target.starts_with("x86_64") in main()
47 || target.starts_with("i686") in main()
48 || target.starts_with("aarch64") in main()
49 || target.starts_with("powerpc64") in main()
50 || target.starts_with("sparc64") in main()
51 || target.starts_with("mips64el") in main()
52 || target.starts_with("riscv64"); in main()
/third_party/rust/crates/libc/libc-test/
H A Dbuild.rs313 if name.starts_with("VM_FLAGS_") { in test_apple()
392 s if s.ends_with("_nsec") && struct_.starts_with("stat") => { in test_apple()
557 "st_birthtime" if struct_.starts_with("stat") => "__st_birthtime".to_string(), in test_openbsd()
558 "st_birthtime_nsec" if struct_.starts_with("stat") => "__st_birthtimensec".to_string(), in test_openbsd()
559 s if s.ends_with("_nsec") && struct_.starts_with("stat") => s.replace("e_nsec", ".tv_nsec"), in test_openbsd()
654 if ty.starts_with("__c_anonymous_") { in test_windows()
683 n if n.starts_with("P") => true, in test_windows()
684 n if n.starts_with("H") => true, in test_windows()
685 n if n.starts_with("LP") => true, in test_windows()
901 if ty.starts_with("__c_anonymous in test_solarish()
[all...]
/third_party/rust/crates/libc/
H A Dbuild.rs147 .map(|raw| raw.starts_with("dev") || raw.starts_with("nightly")) in rustc_minor_nightly()
171 s if s.starts_with("10") => Some(10), in which_freebsd()
172 s if s.starts_with("11") => Some(11), in which_freebsd()
173 s if s.starts_with("12") => Some(12), in which_freebsd()
174 s if s.starts_with("13") => Some(13), in which_freebsd()
175 s if s.starts_with("14") => Some(14), in which_freebsd()
/third_party/skia/tests/
H A DSkStringViewTest.cpp38 REPORTER_ASSERT(r, !empty.starts_with('x')); in DEF_TEST()
40 REPORTER_ASSERT(r, !empty.starts_with("x")); in DEF_TEST()
42 REPORTER_ASSERT(r, empty.starts_with("")); in DEF_TEST()
51 REPORTER_ASSERT(r, xyz.starts_with('x')); in DEF_TEST()
52 REPORTER_ASSERT(r, !xyz.starts_with('y')); in DEF_TEST()
56 REPORTER_ASSERT(r, xyz.starts_with("")); in DEF_TEST()
58 REPORTER_ASSERT(r, xyz.starts_with("x")); in DEF_TEST()
60 REPORTER_ASSERT(r, !xyz.starts_with("xa")); in DEF_TEST()
62 REPORTER_ASSERT(r, xyz.starts_with("xy")); in DEF_TEST()
64 REPORTER_ASSERT(r, xyz.starts_with("xy in DEF_TEST()
[all...]
/third_party/rust/crates/proc-macro2/src/
H A Dparse.rs26 pub fn starts_with(&self, s: &str) -> bool { in starts_with() functions
27 self.rest.starts_with(s) in starts_with()
31 self.rest.starts_with(ch) in starts_with_char()
38 self.rest.starts_with(f) in starts_with_fn()
66 if self.starts_with(tag) { in as_bytes()
83 if s.starts_with("//") in skip_whitespace()
84 && (!s.starts_with("///") || s.starts_with("////")) in skip_whitespace()
85 && !s.starts_with("//!") in skip_whitespace()
90 } else if s.starts_with("/**/") { in skip_whitespace()
[all...]
/third_party/gn/src/gn/
H A Dc_include_iterator.cc45 if (base::starts_with(line, "//")) in ShouldCountTowardNonIncludeLines()
47 if (base::starts_with(line, "/*") || base::starts_with(line, " *")) in ShouldCountTowardNonIncludeLines()
49 if (base::starts_with(line, "#")) in ShouldCountTowardNonIncludeLines()
80 if (base::starts_with(trimmed, std::string_view(kInclude, kIncludeLen))) in ExtractInclude()
82 else if (base::starts_with(trimmed, std::string_view(kImport, kImportLen))) in ExtractInclude()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dversion.rs128 assert!(version().starts_with(expected_name()));
129 assert!(c_flags().starts_with("compiler:"));
132 assert!(built_on().starts_with("built on:"));
134 assert!(dir().starts_with("OPENSSLDIR:"));
/third_party/rust/crates/rust-openssl/systest/
H A Dbuild.rs103 } else if s.starts_with("stack_st_") { in main()
115 || s.starts_with("CRYPTO_EX_") in main()
130 s.starts_with("PEM_read_bio_") || in main()
131 (s.starts_with("PEM_write_bio_") && s.ends_with("PrivateKey")) || in main()
151 || s.starts_with("CRYPTO_") in main()
/third_party/rust/crates/cxx/gen/src/
H A Difndef.rs23 if line != define && !line.trim_start().starts_with("//") {
41 if rest.starts_with('\n') || rest.starts_with('\r') { in find_line()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Difndef.rs23 if line != define && !line.trim_start().starts_with("//") {
41 if rest.starts_with('\n') || rest.starts_with('\r') { in find_line()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Difndef.rs23 if line != define && !line.trim_start().starts_with("//") {
41 if rest.starts_with('\n') || rest.starts_with('\r') { in find_line()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Difndef.rs23 if line != define && !line.trim_start().starts_with("//") {
41 if rest.starts_with('\n') || rest.starts_with('\r') { in find_line()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomment.rs25 if comment.starts_with("/*") { in kind()
27 } else if comment.starts_with("//") { in kind()
38 debug_assert!(comment.starts_with("//"), "comment is not single line"); in preprocess_single_lines()
/third_party/rust/crates/bindgen/bindgen-integration/
H A Dbuild.rs102 assert!(!name.starts_with("TESTMACRO_"), "name = {}", name); in func_macro()
108 if original_item_name.starts_with("my_prefixed_") { in item_name()
114 } else if original_item_name.starts_with("MY_PREFIXED_") { in item_name()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBReporterScanner.java204 FileRule frule = new FileRule(elem.getAttribute("name"), elem.getAttribute("starts_with"), in getFileRules()
232 String starts_with; field in FileRule
236 FileRule(String name, String starts_with, String ends_with, String contains) { in FileRule() argument
238 this.starts_with = starts_with; in FileRule()
245 if (starts_with != null && starts_with.length() > 0 && !(source.startsWith(starts_with))) accept = false; in applyRule()
/third_party/rust/crates/clap/tests/derive/
H A Dauthor_version_about.rs27 assert!(output.starts_with("foo \n\nUsage:")); in no_author_version_about()
38 assert!(output.starts_with("clap")); in use_env()
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
H A Dstring.rs38 pub(crate) fn starts_with(string: &[u8], mut prefix: &[u8]) -> bool {
66 string.starts_with(prefix)
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece_unittest.cc606 // starts_with in TEST()
607 EXPECT_TRUE(a.starts_with(a)); in TEST()
608 EXPECT_TRUE(a.starts_with("foo")); in TEST()
609 EXPECT_TRUE(a.starts_with(e)); in TEST()
610 EXPECT_TRUE(b.starts_with(s1)); in TEST()
611 EXPECT_TRUE(b.starts_with(b)); in TEST()
612 EXPECT_TRUE(b.starts_with(e)); in TEST()
613 EXPECT_TRUE(e.starts_with("")); in TEST()
614 EXPECT_TRUE(!a.starts_with(b)); in TEST()
615 EXPECT_TRUE(!b.starts_with( in TEST()
[all...]
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dident.rs12 if ident.starts_with("cxxbridge") { in check()
21 if ident.starts_with("cxxbridge") { in check()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dident.rs12 if ident.starts_with("cxxbridge") { in check()
21 if ident.starts_with("cxxbridge") { in check()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dident.rs12 if ident.starts_with("cxxbridge") { in check()
21 if ident.starts_with("cxxbridge") { in check()
/third_party/rust/crates/bindgen/bindgen-tests/tests/parse_callbacks/
H A Dmod.rs25 assert!(name.starts_with(expected_prefix)); in generated_name_override()
72 if call_back.starts_with("remove-function-prefix-") { in lookup()
/third_party/rust/crates/cxx/syntax/
H A Dident.rs12 if ident.starts_with("cxxbridge") { in check()
21 if ident.starts_with("cxxbridge") { in check()

Completed in 7 milliseconds

12345