Home
last modified time | relevance | path

Searched refs:startswith (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/freebsd-12.1/contrib/llvm/lib/IR/
H A DAutoUpgrade.cpp387 if (!Name.startswith("x86.")) in UpgradeX86IntrinsicFunction()
492 if (Name.startswith("arm.rbit") || Name.startswith("aarch64.rbit")) { in UpgradeIntrinsicFunction1()
696 if (Name.startswith("nvvm.")) { in UpgradeIntrinsicFunction1()
1279 if (Name.startswith("max.p")) { in upgradeAVX512MaskToSelect()
2016 if (Name.startswith("lt")) in UpgradeIntrinsicCall()
2018 else if (Name.startswith("le")) in UpgradeIntrinsicCall()
2020 else if (Name.startswith("gt")) in UpgradeIntrinsicCall()
2022 else if (Name.startswith("ge")) in UpgradeIntrinsicCall()
2024 else if (Name.startswith("eq")) in UpgradeIntrinsicCall()
2026 else if (Name.startswith("ne")) in UpgradeIntrinsicCall()
[all …]
/freebsd-12.1/contrib/llvm/lib/BinaryFormat/
H A DMagic.cpp31 return Magic.startswith(StringRef(S, N - 1)); in startswith()
41 if (startswith(Magic, "\0\0\xFF\xFF")) { in identify_magic()
61 if (startswith(Magic, "\0asm")) in identify_magic()
66 if (startswith(Magic, "\xDE\xC0\x17\x0B")) in identify_magic()
70 if (startswith(Magic, "BC\xC0\xDE")) in identify_magic()
74 if (startswith(Magic, "!<arch>\n") || startswith(Magic, "!<thin>\n")) in identify_magic()
103 if (startswith(Magic, "\xCA\xFE\xBA\xBE") || in identify_magic()
104 startswith(Magic, "\xCA\xFE\xBA\xBF")) { in identify_magic()
119 if (startswith(Magic, "\xFE\xED\xFA\xCE") || in identify_magic()
120 startswith(Magic, "\xFE\xED\xFA\xCF")) { in identify_magic()
[all …]
/freebsd-12.1/sbin/spppcontrol/
H A Dspppcontrol.c105 #define startswith(s) strncmp(argv[0], s, (off = strlen(s))) == 0 in main() macro
108 if (startswith("authproto=")) { in main()
121 } else if (startswith("myauthproto=")) { in main()
131 } else if (startswith("myauthname=")) in main()
134 else if (startswith("myauthsecret=") || in main()
135 startswith("myauthkey=")) in main()
138 else if (startswith("hisauthproto=")) { in main()
148 } else if (startswith("hisauthname=")) in main()
151 else if (startswith("hisauthsecret=") || in main()
152 startswith("hisauthkey=")) in main()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DScriptLexer.cpp102 if (S.startswith("\"")) { in tokenize()
118 if (S.startswith("<<") || S.startswith("<=") || S.startswith(">>") || in tokenize()
119 S.startswith(">=") || S.startswith("||") || S.startswith("&&")) { in tokenize()
145 if (S.startswith("/*")) { in skipSpace()
154 if (S.startswith("#")) { in skipSpace()
177 if (S.startswith("\"")) in tokenizeExpr()
196 if (S.substr(E).startswith("!=")) { in tokenizeExpr()
H A DMarkLive.cpp181 return S.startswith(".ctors") || S.startswith(".dtors") || in isReserved()
182 S.startswith(".init") || S.startswith(".fini") || in isReserved()
183 S.startswith(".jcr"); in isReserved()
/freebsd-12.1/contrib/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp212 if (SymName.startswith("??_7")) { in dumpCXXData()
220 else if (SymName.startswith("??_8")) { in dumpCXXData()
227 else if (SymName.startswith("??_R4")) { in dumpCXXData()
236 else if (SymName.startswith("??_R3")) { in dumpCXXData()
274 else if (SymName.startswith("_TI") || SymName.startswith("__TI")) { in dumpCXXData()
282 else if (SymName.startswith("_CTA") || SymName.startswith("__CTA")) { in dumpCXXData()
291 else if (SymName.startswith("_CT") || SymName.startswith("__CT")) { in dumpCXXData()
305 else if (SymName.startswith("_ZTT") || SymName.startswith("__ZTT")) { in dumpCXXData()
310 else if (SymName.startswith("_ZTS") || SymName.startswith("__ZTS")) { in dumpCXXData()
314 else if (SymName.startswith("_ZTV") || SymName.startswith("__ZTV")) { in dumpCXXData()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp125 if (Expr.startswith("<<") || Expr.startswith(">>")) in getTokenForError()
160 if (Expr.startswith("<<")) in parseBinOpToken()
162 if (Expr.startswith(">>")) in parseBinOpToken()
225 if (!Expr.startswith("(")) in evalDecodeOperand()
236 if (!RemainingExpr.startswith(",")) in evalDecodeOperand()
246 if (!RemainingExpr.startswith(")")) in evalDecodeOperand()
293 if (!Expr.startswith("(")) in evalNextPC()
331 if (!Expr.startswith("(")) in evalStubAddr()
376 if (!Expr.startswith("(")) in evalSectionAddr()
434 if (Symbol.startswith("L")) in evalIdentifierExpr()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCocoaConventions.cpp30 if (TDName.startswith(Prefix) && TDName.endswith("Ref")) in isRefType()
33 if (TDName.startswith("xpc_")) in isRefType()
47 return Name.startswith(Prefix); in isRefType()
131 if (suffix.startswith("reate")) { in followsCreateRule()
134 else if (suffix.startswith("opy")) { in followsCreateRule()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp26 if (Ext.startswith("sx")) in getExtensionTypeDesc()
28 if (Ext.startswith("s")) in getExtensionTypeDesc()
30 if (Ext.startswith("x")) in getExtensionTypeDesc()
36 if (Ext.startswith("sx")) in getExtensionType()
38 if (Ext.startswith("s")) in getExtensionType()
40 if (Ext.startswith("x")) in getExtensionType()
218 if (!(MArch.startswith("rv32") || MArch.startswith("rv64")) || in getRISCVTargetFeatures()
225 bool HasRV64 = MArch.startswith("rv64") ? true : false; in getRISCVTargetFeatures()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DArgumentsAdjusters.cpp30 if (!Arg.startswith("-fcolor-diagnostics") && in getClangSyntaxOnlyAdjuster()
31 !Arg.startswith("-fdiagnostics-color")) in getClangSyntaxOnlyAdjuster()
44 if (!Arg.startswith("-o")) in getClangStripOutputAdjuster()
64 if (!Arg.startswith("-M")) { in getClangStripDependencyFileAdjuster()
121 llvm::StringRef(Args[I + 1]).startswith("-plugin-arg-") || in getStripPluginsAdjuster()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/
H A DDistro.cpp30 if (Version == Distro::UnknownDistro && Line.startswith("DISTRIB_CODENAME=")) in DetectDistro()
63 if (Data.startswith("Fedora release")) in DetectDistro()
65 if (Data.startswith("Red Hat Enterprise Linux") || in DetectDistro()
66 Data.startswith("CentOS") || in DetectDistro()
67 Data.startswith("Scientific Linux")) { in DetectDistro()
115 if (!Line.trim().startswith("VERSION")) in DetectDistro()
H A DJob.cpp92 IsInclude = FlagRef.startswith("-F") || FlagRef.startswith("-I"); in skipArgs()
95 if (FlagRef.startswith("-fmodules-cache-path=")) in skipArgs()
196 assert((FlagRef.startswith("-F") || FlagRef.startswith("-I")) && in rewriteIncludes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DBreakableToken.cpp55 if (Comment.startswith(KnownPrefix)) { in getLineCommentIndentPrefix()
189 return Content.startswith("clang-format on") || in switchesFormatting()
190 Content.startswith("clang-format off"); in switchesFormatting()
309 if (Content.startswith(Prefix)) { in mayReflowContent()
365 if (Lines.size() >= 2 && Content[1].startswith("**") && in BreakableBlockComment()
385 while (!Content[i].startswith(Decoration)) in BreakableBlockComment()
421 if (!Decoration.startswith(Content[i])) in BreakableBlockComment()
701 if (Lines[LineIndex].ltrim(Blanks).startswith("*")) { in mayReflow()
722 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
738 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DARMTargetParser.cpp241 if (Arch.startswith("armeb") || Arch.startswith("thumbeb") || in parseArchEndian()
242 Arch.startswith("aarch64_be")) in parseArchEndian()
245 if (Arch.startswith("arm") || Arch.startswith("thumb")) { in parseArchEndian()
252 if (Arch.startswith("aarch64")) in parseArchEndian()
293 if (A.startswith("arm64")) in getCanonicalArchName()
295 else if (A.startswith("arm")) in getCanonicalArchName()
297 else if (A.startswith("thumb")) in getCanonicalArchName()
299 else if (A.startswith("aarch64")) { in getCanonicalArchName()
473 if (ArchExt.startswith("no")) { in getArchExtFeature()
H A DGlobPattern.cpp85 if (Chars.startswith("^")) { in scan()
118 if (S.startswith("*") && !hasWildcard(S.drop_front())) { in create()
139 return S.startswith(*Prefix); in match()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp98 if (NewName.startswith(NS)) in getBestNamespaceSubstr()
125 assert(QName.startswith("::")); in isAmbiguousNameInScope()
126 if (Spelling.startswith("::")) in isAmbiguousNameInScope()
142 if (!TrimmedQName.startswith(Res->getQualifiedNameAsString())) in isAmbiguousNameInScope()
153 assert(ReplacementString.startswith("::") && in replaceNestedName()
/freebsd-12.1/contrib/googletest/googletest/scripts/
H A Dupload.py539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
1051 assert cwd.startswith(self.repo_dir)
1115 if out[0].startswith('%s: ' % relpath):
1156 if line.startswith('Index:'):
[all …]
/freebsd-12.1/contrib/googletest/googlemock/scripts/
H A Dupload.py539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
1051 assert cwd.startswith(self.repo_dir)
1115 if out[0].startswith('%s: ' % relpath):
1156 if line.startswith('Index:'):
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DWarnings.cpp100 if (Opt.startswith("no-")) { in ProcessWarningOptions()
134 if (Opt.startswith("error")) { in ProcessWarningOptions()
162 if (Opt.startswith("fatal-errors")) { in ProcessWarningOptions()
204 bool IsPositive = !Opt.startswith("no-"); in ProcessWarningOptions()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp98 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1)) in runOnModule()
107 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1)) in runOnModule()
132 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1) || in runOnModule()
/freebsd-12.1/contrib/wpa/wpa_supplicant/examples/
H A Ddpp-qrcode.py51 if val.startswith('dat='):
56 if not uri.startswith('DPP:'):
83 if line.startswith("address="):
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp178 if (!IncludeName.startswith("\"")) in isMainHeader()
182 if (FileStem.startswith(HeaderStem) || in isMainHeader()
275 if ((IsAngled && StringRef(Inc.Name).startswith("<")) || in insert()
276 (!IsAngled && StringRef(Inc.Name).startswith("\""))) in insert()
314 if ((IsAngled && StringRef(Inc.Name).startswith("\"")) || in remove()
315 (!IsAngled && StringRef(Inc.Name).startswith("<"))) in remove()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsABIInfo.cpp59 if (Options.getABIName().startswith("o32")) in computeTargetABI()
61 if (Options.getABIName().startswith("n32")) in computeTargetABI()
63 if (Options.getABIName().startswith("n64")) in computeTargetABI()
/freebsd-12.1/contrib/subversion/
H A D.ycm_extra_conf.py52 if not flag.startswith( '/' ):
60 if flag.startswith( path_flag ):
/freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2330 if ((PatchedName.startswith("cmp") || PatchedName.startswith("vcmp")) && in ParseInstruction()
2495 while (Name.startswith(";") || Name.startswith("\n") || in ParseInstruction()
2496 Name.startswith("#") || Name.startswith("\t") || in ParseInstruction()
2627 if (Name.startswith("ins") && in ParseInstruction()
2639 if (Name.startswith("outs") && in ParseInstruction()
2651 if (Name.startswith("lods") && in ParseInstruction()
2662 if (Name.startswith("stos") && in ParseInstruction()
2713 if ((Name.startswith("shr") || Name.startswith("sar") || in ParseInstruction()
2714 Name.startswith("shl") || Name.startswith("sal") || in ParseInstruction()
2715 Name.startswith("rcl") || Name.startswith("rcr") || in ParseInstruction()
[all …]

12345678910>>...13