/third_party/skia/tests/ |
H A D | SkStringViewTest.cpp | 39 REPORTER_ASSERT(r, !empty.ends_with('x')); in DEF_TEST() 41 REPORTER_ASSERT(r, !empty.ends_with("x")); in DEF_TEST() 43 REPORTER_ASSERT(r, empty.ends_with("")); in DEF_TEST() 53 REPORTER_ASSERT(r, xyz.ends_with('z')); in DEF_TEST() 54 REPORTER_ASSERT(r, !xyz.ends_with('y')); in DEF_TEST() 57 REPORTER_ASSERT(r, xyz.ends_with("")); in DEF_TEST() 59 REPORTER_ASSERT(r, xyz.ends_with("z")); in DEF_TEST() 61 REPORTER_ASSERT(r, !xyz.ends_with("az")); in DEF_TEST() 63 REPORTER_ASSERT(r, xyz.ends_with("yz")); in DEF_TEST() 65 REPORTER_ASSERT(r, xyz.ends_with("xy in DEF_TEST() [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLMain.cpp | 274 if (inputPath.ends_with(".vert")) { in processCommand() 276 } else if (inputPath.ends_with(".frag") || inputPath.ends_with(".sksl")) { in processCommand() 278 } else if (inputPath.ends_with(".rtb")) { in processCommand() 280 } else if (inputPath.ends_with(".rtcf")) { in processCommand() 282 } else if (inputPath.ends_with(".rts")) { in processCommand() 346 if (outputPath.ends_with(".spirv")) { in processCommand() 351 } else if (outputPath.ends_with(".asm.frag") || outputPath.ends_with(".asm.vert")) { in processCommand() 371 } else if (outputPath.ends_with(" in processCommand() [all...] |
/third_party/rust/crates/rust-openssl/systest/ |
H A D | build.rs | 131 (s.starts_with("PEM_write_bio_") && s.ends_with("PrivateKey")) || in main() 148 s.ends_with("_cb") in main() 149 || s.ends_with("_CB") in main() 150 || s.ends_with("_cb_fn") in main() 153 || s.ends_with("_cb_func") in main() 154 || s.ends_with("_cb_ex") in main()
|
/third_party/rust/crates/libc/libc-test/ |
H A D | build.rs | 384 t if t.ends_with("_t") => t.to_string(), in test_apple() 392 s if s.ends_with("_nsec") && struct_.starts_with("stat") => { in test_apple() 550 t if t.ends_with("_t") => t.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() 626 t if t.ends_with("_t") => t.to_string(), in test_windows() 854 t if t.ends_with("_t") => t.to_string(), in test_solarish() 866 "stat" if field.ends_with("_nsec") => { in test_solarish() 933 "door_arg_t" if field.ends_with("_ptr") => true, in test_solarish() 934 "door_arg_t" if field.ends_with("rbuf") => true, in test_solarish() 1097 t if t.ends_with("_ in test_netbsd() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | output.rs | 10 pub(crate) fn ends_with(&self, suffix: &str) -> bool { 13 Output::File(path) => path.to_string_lossy().ends_with(suffix),
|
H A D | main.rs | 81 || output.ends_with(".h") in try_main() 82 || output.ends_with(".hh") in try_main() 83 || output.ends_with(".hpp") in try_main()
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | deps.rs | 66 if k.ends_with("_CXXBRIDGE_PREFIX") { in direct_dependencies() 72 if k.ends_with("_CXXBRIDGE_LINKS") { in direct_dependencies() 80 if counter_len == 0 || !without_counter.ends_with("_CXXBRIDGE_DIR") { in direct_dependencies()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBReporterScanner.java | 205 elem.getAttribute("ends_with"), elem.getAttribute("contains")); in getFileRules() 233 String ends_with; field in FileRule 236 FileRule(String name, String starts_with, String ends_with, String contains) { in FileRule() argument 239 this.ends_with = ends_with; in FileRule() 246 if (ends_with != null && ends_with.length() > 0 && !(source.endsWith(ends_with))) accept = false; in applyRule()
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | string.rs | 5 pub(crate) fn ends_with(string: &[u8], mut suffix: &[u8]) -> bool { 35 string.ends_with(suffix)
|
H A D | mod.rs | 16 pub(crate) use string::ends_with;
|
/third_party/rust/crates/syn/src/ |
H A D | bigint.rs | 34 len + !self.digits.ends_with(&[0, 0]) as usize + !self.digits.ends_with(&[0]) as usize; in reserve_two_digits()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringpiece_unittest.cc | 619 EXPECT_TRUE(a.ends_with(a)); in TEST() 620 EXPECT_TRUE(a.ends_with("bar")); in TEST() 621 EXPECT_TRUE(a.ends_with(e)); in TEST() 622 EXPECT_TRUE(b.ends_with(s1)); in TEST() 623 EXPECT_TRUE(b.ends_with(b)); in TEST() 624 EXPECT_TRUE(b.ends_with(e)); in TEST() 625 EXPECT_TRUE(e.ends_with("")); in TEST() 626 EXPECT_TRUE(!a.ends_with(b)); in TEST() 627 EXPECT_TRUE(!b.ends_with(a)); in TEST() 628 EXPECT_TRUE(!e.ends_with( in TEST() [all...] |
/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | doc_comments.rs | 110 if s.ends_with('.') && !s.ends_with("..") { in remove_period()
|
/third_party/skia/include/private/ |
H A D | SkSLString.h | 40 bool ends_with(const char suffix[]) const { in ends_with() function in SkSL::String 41 return skstd::string_view(data(), size()).ends_with(suffix); in ends_with()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | base64.rs | 65 if src.ends_with('=') { in decode_block() 67 if src.ends_with("==") { in decode_block()
|
/third_party/python/Lib/test/ |
H A D | test_module.py | 263 ends_with = "__init__.py'>" 266 self.assertEqual(r[-len(ends_with):], ends_with, 267 '{!r} does not end with {!r}'.format(r, ends_with))
|
/third_party/rust/crates/libloading/tests/ |
H A D | library_filename.rs | 16 assert!(Path::new(&resolved).ends_with(EXPECTED)); in test_library_filename()
|
/third_party/rust/crates/os_str_bytes/src/windows/ |
H A D | raw.rs | 7 pub(crate) use super::wtf8::ends_with;
|
/third_party/rust/crates/os_str_bytes/src/wasm/ |
H A D | raw.rs | 12 pub(crate) use common_raw::ends_with;
|
/third_party/skia/include/core/ |
H A D | SkStringView.h | 95 constexpr bool ends_with(string_view s) const { in ends_with() function in skstd::string_view 102 constexpr bool ends_with(value_type c) const { in ends_with() function in skstd::string_view
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/parse_callbacks/ |
H A D | mod.rs | 26 assert!(name.ends_with(expected_suffix)); in generated_name_override()
|
/third_party/rust/crates/rustix/tests/termios/ |
H A D | isatty.rs | 24 if std::env::vars().any(|var| var.0.starts_with("CARGO_TARGET_") && var.0.ends_with("_RUNNER")) in stdout_stderr_terminals()
|
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 101 let date = components.filter(|c| c.ends_with(')')).next() in version_and_date_from_rustc_version() 118 Some("commit-date:") if line.ends_with("unknown") => date = None, in version_and_date_from_rustc_verbose_version()
|
/third_party/skia/third_party/externals/tint/samples/ |
H A D | main.cc | 162 bool ends_with(const std::string& input, const std::string& suffix) { in ends_with() function 177 if (ends_with(filename, ".spv")) { in infer_format() 180 if (ends_with(filename, ".spvasm")) { in infer_format() 186 if (ends_with(filename, ".wgsl")) { in infer_format() 192 if (ends_with(filename, ".metal")) { in infer_format() 198 if (ends_with(filename, ".hlsl")) { in infer_format()
|
/third_party/gn/src/gn/ |
H A D | xcode_writer.cc | 138 base::ends_with(target->label().name(), kXCUITestRunnerTargetNamePostfix); in IsXCUITestRunnerTarget() 145 base::ends_with(target->label().name(), kXCTestModuleTargetNamePostfix); in IsXCTestModuleTarget() 152 base::ends_with(target->label().name(), kXCTestModuleTargetNamePostfix); in IsXCUITestModuleTarget() 158 if (base::ends_with(file_name, kXCTestFileSuffixes[i])) { in IsXCTestFile()
|