Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp423 if (!Name.startswith("x86.")) in UpgradeX86IntrinsicFunction()
546 if (Name.startswith("arm.rbit") || Name.startswith("aarch64.rbit")) { in UpgradeIntrinsicFunction1()
895 if (Name.startswith("nvvm.")) { in UpgradeIntrinsicFunction1()
1562 if (Name.startswith("max.p")) { in upgradeAVX512MaskToSelect()
1573 } else if (Name.startswith("min.p")) { in upgradeAVX512MaskToSelect()
2360 if (Name.startswith("lt")) in UpgradeIntrinsicCall()
2362 else if (Name.startswith("le")) in UpgradeIntrinsicCall()
2364 else if (Name.startswith("gt")) in UpgradeIntrinsicCall()
2366 else if (Name.startswith("ge")) in UpgradeIntrinsicCall()
2368 else if (Name.startswith("eq")) in UpgradeIntrinsicCall()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
68 if (startswith(Magic, "\x01\xDF")) in identify_magic()
70 if (startswith(Magic, "\x01\xF7")) in identify_magic()
75 if (startswith(Magic, "\x03\xF0\x00")) in identify_magic()
84 if (startswith(Magic, "BC\xC0\xDE")) in identify_magic()
88 if (startswith(Magic, "!<arch>\n") || startswith(Magic, "!<thin>\n")) in identify_magic()
204 if (Magic.substr(off).startswith( in identify_magic()
210 if (startswith(Magic, "MDMP")) in identify_magic()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DScriptLexer.cpp121 if (s.startswith("\"")) { in tokenize()
137 if (s.startswith("<<") || s.startswith("<=") || s.startswith(">>") || in tokenize()
138 s.startswith(">=") || s.startswith("||") || s.startswith("&&")) { in tokenize()
164 if (s.startswith("/*")) { in skipSpace()
173 if (s.startswith("#")) { in skipSpace()
196 if (s.startswith("\"")) in tokenizeExpr()
216 if (s.substr(e).startswith("!=") || s.substr(e).startswith("==") || in tokenizeExpr()
217 s.substr(e).startswith(">=") || s.substr(e).startswith("<=") || in tokenizeExpr()
218 s.substr(e).startswith("<<") || 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()
273 } else if ((!config->zStartStopGC || sec->name.startswith("__libc_")) && in run()
/freebsd-13.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-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DArgumentsAdjusters.cpp48 return Arg.startswith(OutputCommand); in getClangSyntaxOnlyAdjuster()
52 if (!Arg.startswith("-fcolor-diagnostics") && in getClangSyntaxOnlyAdjuster()
53 !Arg.startswith("-fdiagnostics-color")) in getClangSyntaxOnlyAdjuster()
76 if (!Arg.startswith("-o")) in getClangStripOutputAdjuster()
105 if (!UsingClDriver && Arg.startswith("-M")) in getClangStripDependencyFileAdjuster()
109 if (Arg.startswith("/showIncludes") || Arg.startswith("-showIncludes")) in getClangStripDependencyFileAdjuster()
162 llvm::StringRef(Args[I + 1]).startswith("-plugin-arg-") || in getStripPluginsAdjuster()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DCodeExpander.cpp35 if (Current.startswith("\n")) { in emit()
41 if (Current.startswith("\\$") || Current.startswith("\\\\")) { in emit()
47 if (Current.startswith("\\")) { in emit()
52 if (Current.startswith("${")) { in emit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp124 if (Expr.startswith("<<") || Expr.startswith(">>")) in getTokenForError()
159 if (Expr.startswith("<<")) in parseBinOpToken()
161 if (Expr.startswith(">>")) in parseBinOpToken()
224 if (!Expr.startswith("(")) in evalDecodeOperand()
235 if (!RemainingExpr.startswith(",")) in evalDecodeOperand()
292 if (!Expr.startswith("(")) in evalNextPC()
330 if (!Expr.startswith("(")) in evalStubOrGOTAddr()
367 if (!Expr.startswith("(")) in evalSectionAddr()
429 if (Symbol.startswith("L")) in evalIdentifierExpr()
450 if (Expr.startswith("0x")) { in parseNumberString()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp220 if (SymName.startswith("??_7")) { in dumpCXXData()
228 else if (SymName.startswith("??_8")) { in dumpCXXData()
235 else if (SymName.startswith("??_R4")) { in dumpCXXData()
244 else if (SymName.startswith("??_R3")) { in dumpCXXData()
282 else if (SymName.startswith("_TI") || SymName.startswith("__TI")) { in dumpCXXData()
290 else if (SymName.startswith("_CTA") || SymName.startswith("__CTA")) { in dumpCXXData()
299 else if (SymName.startswith("_CT") || SymName.startswith("__CT")) { in dumpCXXData()
313 else if (SymName.startswith("_ZTT") || SymName.startswith("__ZTT")) { in dumpCXXData()
318 else if (SymName.startswith("_ZTS") || SymName.startswith("__ZTS")) { in dumpCXXData()
322 else if (SymName.startswith("_ZTV") || SymName.startswith("__ZTV")) { in dumpCXXData()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/Common/
H A DStrings.cpp27 if (!name.startswith("_Z") && !name.startswith("__Z") && in demangleItanium()
28 !name.startswith("___Z") && !name.startswith("____Z")) in demangleItanium()
35 if (Pattern.size() > 2 && Pattern.startswith("\"") && in SingleStringMatcher()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp29 if (TDName.startswith(Prefix) && TDName.endswith("Ref")) in isRefType()
32 if (TDName.startswith("xpc_")) in isRefType()
46 return Name.startswith(Prefix); in isRefType()
130 if (suffix.startswith("reate")) { in followsCreateRule()
133 else if (suffix.startswith("opy")) { in followsCreateRule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DARMTargetParser.cpp233 if (Arch.startswith("armeb") || Arch.startswith("thumbeb") || in parseArchEndian()
234 Arch.startswith("aarch64_be")) in parseArchEndian()
237 if (Arch.startswith("arm") || Arch.startswith("thumb")) { in parseArchEndian()
244 if (Arch.startswith("aarch64") || Arch.startswith("aarch64_32")) in parseArchEndian()
285 if (A.startswith("arm64_32")) in getCanonicalArchName()
287 else if (A.startswith("arm64e")) in getCanonicalArchName()
289 else if (A.startswith("arm64")) in getCanonicalArchName()
293 else if (A.startswith("arm")) in getCanonicalArchName()
295 else if (A.startswith("thumb")) in getCanonicalArchName()
297 else if (A.startswith("aarch64")) { in getCanonicalArchName()
[all …]
H A DGlobPattern.cpp87 if (Chars.startswith("^") || Chars.startswith("!")) { in scan()
126 if (S.startswith("*") && !hasWildcard(S.drop_front())) { in create()
147 return S.startswith(*Prefix); in match()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp101 if (NewName.startswith(NS)) in getBestNamespaceSubstr()
131 assert(QName.startswith("::")); in disambiguateSpellingInScope()
133 if (Spelling.startswith("::")) in disambiguateSpellingInScope()
149 if (CurSpelling.startswith("::")) in disambiguateSpellingInScope()
163 if (!TrimmedQName.startswith(Res->getQualifiedNameAsString()) && in disambiguateSpellingInScope()
190 assert(ReplacementString.startswith("::") && in replaceNestedName()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DDistro.cpp37 if (Version == Distro::UnknownDistro && Line.startswith("ID=")) in DetectOsRelease()
63 Line.startswith("DISTRIB_CODENAME=")) in DetectLsbRelease()
117 if (Data.startswith("Fedora release")) in DetectDistro()
119 if (Data.startswith("Red Hat Enterprise Linux") || in DetectDistro()
120 Data.startswith("CentOS") || Data.startswith("Scientific Linux")) { in DetectDistro()
174 if (!Line.trim().startswith("VERSION")) in DetectDistro()
/freebsd-13.1/tools/build/
H A Dmake.py74 if sys.platform.startswith("linux"):
101 x.startswith(var + "=") or x == ("-D" + var) for x in sys.argv[1:])
134 if sys.platform.startswith("darwin"):
196 if not sys.platform.startswith("freebsd"):
232 if sys.platform.startswith("darwin"):
261 if not want_clean.lower().startswith("y"):
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp58 if (Comment.startswith(KnownPrefix)) { in getLineCommentIndentPrefix()
223 return Content.startswith("clang-format on") || in switchesFormatting()
224 Content.startswith("clang-format off"); in switchesFormatting()
343 if (Content.startswith(Prefix)) { in mayReflowContent()
400 if (Lines.size() >= 2 && Content[1].startswith("**") && in BreakableBlockComment()
420 while (!Content[i].startswith(Decoration)) in BreakableBlockComment()
449 unsigned DecorationSize = Decoration.startswith(Content[i]) in BreakableBlockComment()
456 if (!Decoration.startswith(Content[i])) in BreakableBlockComment()
745 if (Lines[LineIndex].ltrim(Blanks).startswith("*")) { in mayReflow()
768 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
[all …]
/freebsd-13.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-13.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-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp34 if (Ext.startswith("sx")) in getExtensionTypeDesc()
36 if (Ext.startswith("s")) in getExtensionTypeDesc()
38 if (Ext.startswith("x")) in getExtensionTypeDesc()
40 if (Ext.startswith("z")) in getExtensionTypeDesc()
46 if (Ext.startswith("sx")) in getExtensionType()
48 if (Ext.startswith("s")) in getExtensionType()
50 if (Ext.startswith("x")) in getExtensionType()
52 if (Ext.startswith("z")) in getExtensionType()
287 if (!(MArch.startswith("rv32") || MArch.startswith("rv64")) || in getArchFeatures()
294 bool HasRV64 = MArch.startswith("rv64"); in getArchFeatures()
/freebsd-13.1/sys/contrib/openzfs/tests/test-runner/bin/
H A Dzts-report.py.in182 if sys.platform.startswith('freebsd'):
191 elif sys.platform.startswith('linux'):
267 if sys.platform.startswith('freebsd'):
281 elif sys.platform.startswith('linux'):
325 elif sys.platform.startswith('linux'):
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp193 if (!Mnemonic.startswith("cx") && !Mnemonic.startswith("vcx")) in isCDEInstr()
211 return Mnemonic.startswith("cx1a") || Mnemonic.startswith("cx1da") || in isITPredicableCDEInstr()
212 Mnemonic.startswith("cx2a") || Mnemonic.startswith("cx2da") || in isITPredicableCDEInstr()
213 Mnemonic.startswith("cx3a") || Mnemonic.startswith("cx3da"); in isITPredicableCDEInstr()
6560 Mnemonic.startswith("crc32") || Mnemonic.startswith("cps") || in getMnemonicAcceptInfo()
6583 Mnemonic.startswith("vpt") || Mnemonic.startswith("vpst") || in getMnemonicAcceptInfo()
6603 !Mnemonic.startswith("rfe") && !Mnemonic.startswith("srs"); in getMnemonicAcceptInfo()
6874 if (Mnemonic.startswith("vld2") || Mnemonic.startswith("vld4") || in shouldOmitVectorPredicateOperand()
6875 Mnemonic.startswith("vst2") || Mnemonic.startswith("vst4")) in shouldOmitVectorPredicateOperand()
6878 if (Mnemonic.startswith("vctp") || Mnemonic.startswith("vpnot")) in shouldOmitVectorPredicateOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp923 } else if (Name.startswith("cmov.l.") || Name.startswith("cmov.w.") || in splitMnemonic()
924 Name.startswith("cmov.d.") || Name.startswith("cmov.s.")) { in splitMnemonic()
927 } else if (Name.startswith("cvt.w.d.sx") || Name.startswith("cvt.w.d.zx") || in splitMnemonic()
928 Name.startswith("cvt.w.s.sx") || Name.startswith("cvt.w.s.zx")) { in splitMnemonic()
930 } else if (Name.startswith("cvt.l.d")) { in splitMnemonic()
932 } else if (Name.startswith("vcvt.w.d.sx") || Name.startswith("vcvt.w.d.zx") || in splitMnemonic()
933 Name.startswith("vcvt.w.s.sx") || Name.startswith("vcvt.w.s.zx")) { in splitMnemonic()
942 } else if (Name.startswith("vfmk.l.") || Name.startswith("vfmk.w.") || in splitMnemonic()
943 Name.startswith("vfmk.d.") || Name.startswith("vfmk.s.")) { in splitMnemonic()
946 } else if (Name.startswith("pvfmk.w.lo.") || Name.startswith("pvfmk.w.up.") || in splitMnemonic()
[all …]
/freebsd-13.1/contrib/lib9p/pytest/
H A Dpfod.py141 or name.startswith('_')
159 if name.startswith('_OrderedDict_'):
162 if name.startswith('_') and not rename:
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DWarnings.cpp100 if (Opt.startswith("no-")) { in ProcessWarningOptions()
136 if (Opt.startswith("error")) { in ProcessWarningOptions()
165 if (Opt.startswith("fatal-errors")) { in ProcessWarningOptions()
207 bool IsPositive = !Opt.startswith("no-"); in ProcessWarningOptions()

12345678910>>...17