| /src/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Magic.cpp | 28 static bool startswith(StringRef Magic, const char (&S)[N]) { in startswith() function 39 if (startswith(Magic, "\0\0\xFF\xFF")) { in identify_magic() 59 if (startswith(Magic, "\0asm")) in identify_magic() 66 if (startswith(Magic, "\x01\xDF")) in identify_magic() 68 if (startswith(Magic, "\x01\xF7")) in identify_magic() 73 if (startswith(Magic, "\x03\xF0\x00")) in identify_magic() 76 if (startswith(Magic, "\x03\x02\x23\x07")) in identify_magic() 81 if (startswith(Magic, "\x07\x23\x02\x03")) in identify_magic() 86 if (startswith(Magic, "\x10\xFF\x10\xAD")) in identify_magic() 91 if (startswith(Magic, "\xDE\xC0\x17\x0B")) in identify_magic() [all …]
|
| /src/usr.sbin/moused/moused/ |
| H A D | util-evdev.c | 42 startswith(const char *str, size_t len, const char *prefix, size_t plen) in startswith() function 54 if (startswith(name, len, "MAX_", 4)) in type_from_prefix() 57 if (startswith(name, len, "BTN_", 4)) in type_from_prefix() 60 if (startswith(name, len, "FF_STATUS_", 10)) in type_from_prefix() 69 if (len > l && startswith(name, len, e, l) && name[l] == '_') in type_from_prefix()
|
| /src/crypto/krb5/src/util/ |
| H A D | cstyle-file.py | 93 if len(line) > 79 and not line.startswith(' * Copyright'): 115 if not lines[0].lstrip().startswith('/*'): 131 if line.startswith('#'): 138 if line.lstrip().startswith('{') and not line.startswith('{'): 293 if line.startswith('{'): 295 elif line.startswith('}'):
|
| H A D | cstyle.py | 80 if not filename.startswith('src/') or ext not in ('.c', '.h', '.hin'): 114 if not line or line.startswith('\\ No newline'): 125 elif line.startswith('+++ b/'):
|
| H A D | princflags.py | 131 if k.startswith(_prefix): 200 if not s.startswith('0x'):
|
| /src/sys/contrib/openzfs/tests/test-runner/bin/ |
| H A D | zts-report.py.in | 138 if sys.platform.startswith('freebsd'): 169 if sys.platform.startswith('freebsd'): 184 elif sys.platform.startswith('linux'): 275 if sys.platform.startswith('freebsd'): 305 elif sys.platform.startswith('linux'):
|
| /src/contrib/libpcap/testprogs/ |
| H A D | visopts.py | 245 if line.startswith("machine codes for filter:"): 248 elif line.startswith("digraph BPF {"): 253 if line.startswith("}"):
|
| /src/contrib/lib9p/pytest/ |
| H A D | pfod.py | 141 or name.startswith('_') 159 if name.startswith('_OrderedDict_'): 162 if name.startswith('_') and not rename:
|
| /src/contrib/wpa/wpa_supplicant/examples/ |
| H A D | dpp-qrcode.py | 51 if val.startswith('dat='): 56 if not uri.startswith('DPP:'): 83 if line.startswith("address="):
|
| H A D | wpas-dbus-new.py | 127 if not str(exc).startswith("fi.w1.wpa_supplicant1.InterfaceUnknown:"): 134 if not str(exc).startswith("fi.w1.wpa_supplicant1.InterfaceExists:"):
|
| /src/tools/build/ |
| H A D | make.py | 165 x.startswith(var + "=") or x == ("-D" + var) for x in sys.argv[1:]) 219 if sys.platform.startswith("darwin"): 289 if not sys.platform.startswith("freebsd"): 325 if sys.platform.startswith("darwin"): 354 if not want_clean.lower().startswith("y"):
|
| /src/share/mk/ |
| H A D | meta2deps.py | 92 if path.startswith('./'): 93 while path.startswith('./'): 122 if path.startswith('/'): 371 if path.startswith(top): 395 if dir.startswith(objroot): 465 if self.sb and self.name.startswith(self.sb): 626 if p and path.startswith(p): 634 if len(w) > 3 and w[0] in 'ML' and op == 'R' and path.startswith('../'): 842 elif a.startswith('@'):
|
| /src/contrib/bmake/mk/ |
| H A D | meta2deps.py | 92 if path.startswith('./'): 93 while path.startswith('./'): 122 if path.startswith('/'): 371 if path.startswith(top): 395 if dir.startswith(objroot): 465 if self.sb and self.name.startswith(self.sb): 626 if p and path.startswith(p): 634 if len(w) > 3 and w[0] in 'ML' and op == 'R' and path.startswith('../'): 842 elif a.startswith('@'):
|
| /src/contrib/arm-optimized-routines/math/tools/ |
| H A D | plot.py | 37 elif line.startswith('PASS') or line.startswith('FAIL'):
|
| H A D | remez.jl | 1302 if doing_opts && startswith(arg, "-") 1313 elseif startswith(arg, "--debug=") 1315 elseif startswith(arg, "--variable=") 1317 elseif startswith(arg, "--suffix=") 1319 elseif startswith(arg, "--bits=") 1321 elseif startswith(arg, "--bigfloatbits=") 1324 elseif startswith(arg, "--pre=")
|
| /src/tests/atf_python/sys/net/ |
| H A D | vnet.py | 61 if iface_name.startswith("lo"): 106 if name.startswith("epair"): 414 if obj_name.startswith("vnet"): 432 if obj_name.startswith("vnet"): 579 assert len([n for n in names if n.startswith("vnet")]) == 1
|
| /src/contrib/wpa/wpa_supplicant/examples/p2p/ |
| H A D | p2p_connect.py | 112 if not str(exc).startswith( 122 if not str(exc).startswith(
|
| /src/sys/contrib/openzfs/cmd/ |
| H A D | zarcstat.in | 274 if sys.platform.startswith('freebsd'): 303 elif sys.platform.startswith('linux'): 582 elif not l2exist and ele.startswith("l2"): 599 hdr = [col for col in cols.keys() if not col.startswith("l2")]
|
| /src/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _constants.py | 28 if sys.platform.startswith('freebsd'):
|
| /src/tools/tools/notescheck/ |
| H A D | notescheck.py | 161 if not file.startswith(tree): 297 if name.startswith('DEV_'):
|
| /src/sys/tools/gdb/ |
| H A D | vnet.py | 27 if sym.startswith("V_"):
|
| /src/tests/atf_python/ |
| H A D | atf_pytest.py | 197 if reason.startswith(prefix): 298 return {k[len(px):]: v for k, v in os.environ.items() if k.startswith(px)}
|
| /src/tests/atf_python/sys/netlink/ |
| H A D | utils.py | 53 if not prop.startswith("_"):
|
| /src/tools/tools/shlib-compat/ |
| H A D | shlib-compat.py | 214 assert alias.startswith(prefix) 604 if (id.startswith('<') and id.endswith('>')): 641 if vername.startswith('(') and vername.endswith(')'): 655 if not p['symbol'].startswith(prefix): 875 assert args.startswith('<') 902 while len(args) > 0 and args.startswith('<'): 928 if location.startswith('DW_OP_addr'):
|
| /src/sys/contrib/openzfs/.github/workflows/scripts/ |
| H A D | generate-ci-type.py | 84 if line.startswith('ZFS-CI-Commit:'):
|