Home
last modified time | relevance | path

Searched refs:StartsWith (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dmatch_test.cc21 TEST(MatchTest, StartsWith) { in TEST() argument
26 EXPECT_TRUE(absl::StartsWith(a, a)); in TEST()
27 EXPECT_TRUE(absl::StartsWith(a, "foo")); in TEST()
28 EXPECT_TRUE(absl::StartsWith(a, e)); in TEST()
29 EXPECT_TRUE(absl::StartsWith(b, s1)); in TEST()
30 EXPECT_TRUE(absl::StartsWith(b, b)); in TEST()
31 EXPECT_TRUE(absl::StartsWith(b, e)); in TEST()
32 EXPECT_TRUE(absl::StartsWith(e, "")); in TEST()
33 EXPECT_FALSE(absl::StartsWith(a, b)); in TEST()
34 EXPECT_FALSE(absl::StartsWith(b, a)); in TEST()
[all …]
Dstrip.h46 if (!absl::StartsWith(*str, expected)) return false; in ConsumePrefix()
73 if (absl::StartsWith(str, prefix)) str.remove_prefix(prefix.size()); in StripPrefix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp276 .StartsWith("bpf", BPFArch) in getArchTypeForLLVMName()
441 .StartsWith("kalimba", Triple::kalimba) in parseArch()
487 .StartsWith("ananas", Triple::Ananas) in parseOS()
488 .StartsWith("cloudabi", Triple::CloudABI) in parseOS()
489 .StartsWith("darwin", Triple::Darwin) in parseOS()
490 .StartsWith("dragonfly", Triple::DragonFly) in parseOS()
491 .StartsWith("freebsd", Triple::FreeBSD) in parseOS()
492 .StartsWith("fuchsia", Triple::Fuchsia) in parseOS()
493 .StartsWith("ios", Triple::IOS) in parseOS()
494 .StartsWith("kfreebsd", Triple::KFreeBSD) in parseOS()
[all …]
DARMTargetParser.cpp245 .StartsWith("aarch64", ISAKind::AARCH64) in parseArchISA()
246 .StartsWith("arm64", ISAKind::AARCH64) in parseArchISA()
247 .StartsWith("thumb", ISAKind::THUMB) in parseArchISA()
248 .StartsWith("arm", ISAKind::ARM) in parseArchISA()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp683 .StartsWith("call16", {AsmToken::PercentCall16, 7}) in LexToken()
684 .StartsWith("call_hi", {AsmToken::PercentCall_Hi, 8}) in LexToken()
685 .StartsWith("call_lo", {AsmToken::PercentCall_Lo, 8}) in LexToken()
686 .StartsWith("dtprel_hi", {AsmToken::PercentDtprel_Hi, 10}) in LexToken()
687 .StartsWith("dtprel_lo", {AsmToken::PercentDtprel_Lo, 10}) in LexToken()
688 .StartsWith("got_disp", {AsmToken::PercentGot_Disp, 9}) in LexToken()
689 .StartsWith("got_hi", {AsmToken::PercentGot_Hi, 7}) in LexToken()
690 .StartsWith("got_lo", {AsmToken::PercentGot_Lo, 7}) in LexToken()
691 .StartsWith("got_ofst", {AsmToken::PercentGot_Ofst, 9}) in LexToken()
692 .StartsWith("got_page", {AsmToken::PercentGot_Page, 9}) in LexToken()
[all …]
DWasmAsmParser.cpp118 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective()
119 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective()
120 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective()
121 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective()
122 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective()
125 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective()
126 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective()
/third_party/gn/src/gn/
Dc_include_iterator.cc45 if (base::StartsWith(line, "//", base::CompareCase::SENSITIVE)) in ShouldCountTowardNonIncludeLines()
47 if (base::StartsWith(line, "/*", base::CompareCase::SENSITIVE) || in ShouldCountTowardNonIncludeLines()
48 base::StartsWith(line, " *", base::CompareCase::SENSITIVE)) in ShouldCountTowardNonIncludeLines()
50 if (base::StartsWith(line, "#", base::CompareCase::SENSITIVE)) in ShouldCountTowardNonIncludeLines()
81 if (base::StartsWith(trimmed, std::string_view(kInclude, kIncludeLen), in ExtractInclude()
84 else if (base::StartsWith(trimmed, std::string_view(kImport, kImportLen), in ExtractInclude()
/third_party/cef/libcef/browser/devtools/
Ddevtools_util.cc28 if (!base::StartsWith(message, kMethodStart)) in ParseEvent()
45 if (base::StartsWith(remainder, kParamsStart)) { in ParseEvent()
75 if (!base::StartsWith(message, kIdStart)) in ParseResult()
88 if (base::StartsWith(remainder, kResultStart)) { in ParseResult()
94 } else if (base::StartsWith(remainder, kErrorStart)) { in ParseResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkFormat.cpp38 .StartsWith("--- ", Format::YAML) // This is only an assumption. in magicToFormat()
39 .StartsWith(remarks::Magic, Format::YAMLStrTab) in magicToFormat()
40 .StartsWith(remarks::ContainerMagic, Format::Bitstream) in magicToFormat()
/third_party/googletest/googletest/test/
Dgtest_dirs_test.cc65 bool StartsWith(const std::string& str, const std::string& prefix) { in StartsWith() function
75 EXPECT_TRUE(StartsWith(testing::TempDir(), temp_dir.DirName())); in TEST()
89 EXPECT_TRUE(StartsWith(testing::SrcDir(), temp_dir.DirName())); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dusage_config.cc65 return absl::StartsWith(suffix, ".") || absl::StartsWith(suffix, "-main.") || in ContainsHelpshortFlags()
66 absl::StartsWith(suffix, "_main."); in ContainsHelpshortFlags()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dfailure_signal_handler_test.cc35 using testing::StartsWith;
121 StartsWith(absl::StrCat( in TEST_P()
133 EXPECT_THAT(error_line, StartsWith("PC: ")); in TEST_P()
/third_party/spirv-tools/test/
Dsoftware_version_test.cpp27 using ::testing::StartsWith;
54 EXPECT_THAT(detailed_version, StartsWith("SPIRV-Tools v")); in TEST()
Dtarget_env_test.cpp26 using ::testing::StartsWith;
40 ASSERT_THAT(description, StartsWith("SPIR-V ")); in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/
Dsoftware_version_test.cpp27 using ::testing::StartsWith;
54 EXPECT_THAT(detailed_version, StartsWith("SPIRV-Tools v")); in TEST()
Dtarget_env_test.cpp26 using ::testing::StartsWith;
40 ASSERT_THAT(description, StartsWith("SPIR-V ")); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dsoftware_version_test.cpp27 using ::testing::StartsWith;
54 EXPECT_THAT(detailed_version, StartsWith("SPIRV-Tools v")); in TEST()
Dtarget_env_test.cpp26 using ::testing::StartsWith;
40 ASSERT_THAT(description, StartsWith("SPIR-V ")); in TEST_P()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_info.cpp1221 if (fExif->fMake.StartsWith ("NIKON")) in ParseMakerNote()
1239 if (fExif->fMake.StartsWith ("CANON")) in ParseMakerNote()
1257 if (fExif->fMake.StartsWith ("MINOLTA" ) || in ParseMakerNote()
1258 fExif->fMake.StartsWith ("KONICA MINOLTA")) in ParseMakerNote()
1276 if (fExif->fMake.StartsWith ("SONY")) in ParseMakerNote()
1294 if (fExif->fMake.StartsWith ("EASTMAN KODAK")) in ParseMakerNote()
1312 if (fExif->fMake.StartsWith ("Mamiya")) in ParseMakerNote()
1346 if (fExif->fMake.StartsWith ("Hasselblad")) in ParseMakerNote()
1364 if (fExif->fMake.StartsWith ("Samsung")) in ParseMakerNote()
1382 if (fExif->fMake.StartsWith ("CASIO COMPUTER") && in ParseMakerNote()
[all …]
Ddng_validate.cpp747 if (gDumpStage1.IsEmpty () || gDumpStage1.StartsWith ("-")) in main()
770 if (gDumpStage2.IsEmpty () || gDumpStage2.StartsWith ("-")) in main()
793 if (gDumpStage3.IsEmpty () || gDumpStage3.StartsWith ("-")) in main()
816 if (gDumpTIF.IsEmpty () || gDumpTIF.StartsWith ("-")) in main()
839 if (gDumpDNG.IsEmpty () || gDumpDNG.StartsWith ("-")) in main()
/third_party/cef/patch/patches/
Dchrome_browser_profiles.patch32 + base::StartsWith(profile_id_, kCEFOTRProfileIDPrefix,
34 base::StartsWith(profile_id_, kDevToolsOTRProfileIDPrefix,
36 base::StartsWith(profile_id_, kMediaRouterOTRProfileIDPrefix,
47 + return base::StartsWith(profile_id_, kCEFOTRProfileIDPrefix,
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc163 StartsWith(StrPrint("%.2a", d0079), "0x1.00") && in VerifyNativeImplementationImpl()
164 StartsWith(StrPrint("%.2a", d0179), "0x1.01") && in VerifyNativeImplementationImpl()
165 StartsWith(StrPrint("%.2a", d0080), "0x1.00") && in VerifyNativeImplementationImpl()
166 StartsWith(StrPrint("%.2a", d0180), "0x1.02") && in VerifyNativeImplementationImpl()
167 StartsWith(StrPrint("%.2a", d0081), "0x1.01") && in VerifyNativeImplementationImpl()
168 StartsWith(StrPrint("%.2a", d0181), "0x1.02"); in VerifyNativeImplementationImpl()
175 StartsWith(StrPrint("%a", denormal), "0x0.0000000000001"); in VerifyNativeImplementationImpl()
189 StartsWith(StrPrint("%a", d_15), "0x1.8") && in VerifyNativeImplementationImpl()
190 StartsWith(StrPrint("%La", ld_15), "0xc"); in VerifyNativeImplementationImpl()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Denum_converter_test.cc67 ::testing::StartsWith("unknown SPIR-V execution model:")); in TEST_P()
130 ::testing::StartsWith("unknown SPIR-V storage class: ")); in TEST_P()
201 EXPECT_THAT(error(), ::testing::StartsWith("unknown SPIR-V builtin: ")); in TEST_P()
355 EXPECT_THAT(error(), ::testing::StartsWith("invalid image format: ")); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp1148 .StartsWith("addc", true) in MaybePredicatedInst()
1149 .StartsWith("add", true) in MaybePredicatedInst()
1150 .StartsWith("and", true) in MaybePredicatedInst()
1151 .StartsWith("sh", true) in MaybePredicatedInst()
1152 .StartsWith("subb", true) in MaybePredicatedInst()
1153 .StartsWith("sub", true) in MaybePredicatedInst()
1154 .StartsWith("or", true) in MaybePredicatedInst()
1155 .StartsWith("xor", true) in MaybePredicatedInst()
/third_party/rust/crates/clap/clap_complete/tests/snapshots/
Dvalue_terminator.ps115 $element.Value.StartsWith('-') -or

1234