Home
last modified time | relevance | path

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

12345678910>>...112

/external/python/cryptography/tests/
Dutils.py59 if not line or line.startswith("#") or (line.startswith("[") and
94 if not line or line.startswith("#"):
97 if line.startswith("K"):
99 elif line.startswith("P"):
101 elif line.startswith("C"):
124 if not line or line.startswith("#") or line.startswith("["):
127 if line.startswith("Len"):
129 elif line.startswith("Key"):
132 elif line.startswith("Msg"):
137 elif line.startswith("MD") or line.startswith("Output"):
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp82 Name.startswith("sse2.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
83 Name.startswith("sse2.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
84 Name.startswith("sse2.paddus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
85 Name.startswith("sse2.psubus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
86 Name.startswith("avx2.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
87 Name.startswith("avx2.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
88 Name.startswith("avx2.paddus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
89 Name.startswith("avx2.psubus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
90 Name.startswith("avx512.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
91 Name.startswith("avx512.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
[all …]
/external/llvm/lib/IR/
DAutoUpgrade.cpp71 if (Name.size() <= 8 || !Name.startswith("llvm.")) in UpgradeIntrinsicFunction1()
78 if (Name.startswith("arm.neon.vclz")) { in UpgradeIntrinsicFunction1()
91 if (Name.startswith("arm.neon.vcnt")) { in UpgradeIntrinsicFunction1()
137 if (Name.startswith("ctlz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
143 if (Name.startswith("cttz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
153 if (Name.startswith("masked.load.")) { in UpgradeIntrinsicFunction1()
163 if (Name.startswith("masked.store.")) { in UpgradeIntrinsicFunction1()
180 if (F->arg_size() == 2 && Name.startswith("objectsize.")) { in UpgradeIntrinsicFunction1()
198 bool IsX86 = Name.startswith("x86."); in UpgradeIntrinsicFunction1()
203 (Name.startswith("sse2.pcmpeq.") || in UpgradeIntrinsicFunction1()
[all …]
/external/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp97 Name.startswith("sse2.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
98 Name.startswith("sse2.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
99 Name.startswith("sse2.paddus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
100 Name.startswith("sse2.psubus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
101 Name.startswith("avx2.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
102 Name.startswith("avx2.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
103 Name.startswith("avx2.paddus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
104 Name.startswith("avx2.psubus.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
105 Name.startswith("avx512.padds.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
106 Name.startswith("avx512.psubs.") || // Added in 8.0 in ShouldUpgradeX86Intrinsic()
[all …]
/external/llvm-project/llvm/lib/BinaryFormat/
DMagic.cpp30 static bool startswith(StringRef Magic, const char (&S)[N]) { in startswith() function
31 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, "\xDE\xC0\x17\x0B")) in identify_magic()
79 if (startswith(Magic, "BC\xC0\xDE")) in identify_magic()
83 if (startswith(Magic, "!<arch>\n") || startswith(Magic, "!<thin>\n")) in identify_magic()
88 if (startswith(Magic, "\177ELF") && Magic.size() >= 18) { in identify_magic()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMagic.cpp29 static bool startswith(StringRef Magic, const char (&S)[N]) { in startswith() function
30 return Magic.startswith(StringRef(S, N - 1)); in startswith()
40 if (startswith(Magic, "\0\0\xFF\xFF")) { in identify_magic()
60 if (startswith(Magic, "\0asm")) in identify_magic()
67 if (startswith(Magic, "\x01\xDF")) in identify_magic()
69 if (startswith(Magic, "\x01\xF7")) in identify_magic()
74 if (startswith(Magic, "\xDE\xC0\x17\x0B")) in identify_magic()
78 if (startswith(Magic, "BC\xC0\xDE")) in identify_magic()
82 if (startswith(Magic, "!<arch>\n") || startswith(Magic, "!<thin>\n")) in identify_magic()
87 if (startswith(Magic, "\177ELF") && Magic.size() >= 18) { in identify_magic()
[all …]
/external/llvm/utils/
Dsort_includes.py38 if l.startswith('#include'):
44 if look_for_api_header and header.startswith('"'):
48 if (header.startswith('<') or header.startswith('"gtest/') or
49 header.startswith('"isl/') or header.startswith('"json/')):
52 if (header.startswith('"clang/') or header.startswith('"clang-c/') or
53 header.startswith('"polly/')):
56 if (header.startswith('"llvm/') or header.startswith('"llvm-c/')):
66 if l.startswith('//') or l.startswith('#define') or l.startswith('#ifndef'):
Dextract_symbols.py133 elif symbol.startswith('??$'):
138 elif symbol.startswith('??_G') or symbol.startswith('??_E'):
142 elif symbol.startswith('??0?$') or symbol.startswith('??1?$'):
177 if calling_convention_decoration and symbol.startswith('_'):
180 if not symbol.startswith('_') and not symbol.startswith('.'):
240 assert arg.startswith('I'), arg
254 elif tmp.startswith('I'):
257 elif tmp.startswith('N'):
260 elif tmp.startswith('L') or tmp.startswith('X'):
263 elif tmp.startswith('E'):
[all …]
/external/llvm-project/llvm/utils/
Dsort_includes.py38 if l.startswith('#include'):
44 if look_for_api_header and header.startswith('"'):
48 if (header.startswith('<') or header.startswith('"gtest/') or
49 header.startswith('"isl/') or header.startswith('"json/')):
52 if (header.startswith('"clang/') or header.startswith('"clang-c/') or
53 header.startswith('"polly/')):
56 if (header.startswith('"llvm/') or header.startswith('"llvm-c/')):
66 if l.startswith('//') or l.startswith('#define') or l.startswith('#ifndef'):
Dextract_symbols.py45 if sys.platform.startswith('aix'):
142 elif symbol.startswith('??$'):
147 elif symbol.startswith('??_G') or symbol.startswith('??_E'):
151 elif symbol.startswith('??0?$') or symbol.startswith('??1?$'):
186 if calling_convention_decoration and symbol.startswith('_'):
189 if not symbol.startswith('_') and not symbol.startswith('.'):
211 elif symbol.startswith('_ZNK5clang4Type5getAs'):
253 assert arg.startswith('I'), arg
267 elif tmp.startswith('I'):
270 elif tmp.startswith('N'):
[all …]
/external/tensorflow/third_party/remote_config/
Dremote_platform_configure.bzl7 if os.startswith("windows"):
9 elif os.startswith("mac os"):
16 if (machine_type.startswith("ppc") or
17 machine_type.startswith("powerpc")):
19 elif machine_type.startswith("s390x"):
21 elif machine_type.startswith("aarch64"):
23 elif machine_type.startswith("arm64"):
25 elif machine_type.startswith("arm"):
27 elif machine_type.startswith("mips64"):
29 elif machine_type.startswith("riscv64"):
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time_unittest.py40 if not (sys.platform.startswith(trace_time._PLATFORMS['windows'])
41 or sys.platform.startswith(trace_time._PLATFORMS['cygwin'])):
48 if not sys.platform.startswith(trace_time._PLATFORMS['linux']):
54 if not sys.platform.startswith(trace_time._PLATFORMS['mac']):
61 if not (sys.platform.startswith(trace_time._PLATFORMS['windows'])
62 or sys.platform.startswith(trace_time._PLATFORMS['cygwin'])):
72 if not (sys.platform.startswith(trace_time._PLATFORMS['windows'])
73 or sys.platform.startswith(trace_time._PLATFORMS['cygwin'])):
83 if not (sys.platform.startswith(trace_time._PLATFORMS['windows'])
84 or sys.platform.startswith(trace_time._PLATFORMS['cygwin'])):
[all …]
Dtrace_time.py76 if plat.startswith(key):
167 if plat.startswith(_PLATFORMS['cygwin'])
204 if plat.startswith(_PLATFORMS['mac']):
207 elif (plat.startswith(_PLATFORMS['linux'])
208 or plat.startswith(_PLATFORMS['freebsd'])
209 or plat.startswith(_PLATFORMS['bsd'])
210 or plat.startswith(_PLATFORMS['sunos'])):
213 elif (plat.startswith(_PLATFORMS['windows'])
214 or plat.startswith(_PLATFORMS['cygwin'])):
/external/rust/crates/grpcio-sys/grpc/tools/buildgen/
Dextract_metadata_from_bazel_xml.py110 if label.startswith('//'):
113 if label.startswith(':'):
124 if dep.startswith('//:include/') and dep.endswith('.h'):
133 if dep.startswith('//') and not dep.startswith(
143 if dep.startswith('//') and (dep.endswith('.cc') or dep.endswith('.c')
233 if bazel_dep.startswith('@com_google_absl//'):
296 elif bazel_dep.startswith(
297 '//external:') or not bazel_dep.startswith('//'):
330 if not external_dep_name_maybe.startswith('absl'):
419 for field_to_remove in [k for k in lib.keys() if k.startswith('_')]:
[all …]
/external/llvm-project/lld/ELF/
DScriptLexer.cpp103 if (s.startswith("\"")) { in tokenize()
119 if (s.startswith("<<") || s.startswith("<=") || s.startswith(">>") || in tokenize()
120 s.startswith(">=") || s.startswith("||") || s.startswith("&&")) { in tokenize()
146 if (s.startswith("/*")) { in skipSpace()
155 if (s.startswith("#")) { in skipSpace()
178 if (s.startswith("\"")) in tokenizeExpr()
198 if (s.substr(e).startswith("!=") || s.substr(e).startswith("==") || in tokenizeExpr()
199 s.substr(e).startswith(">=") || s.substr(e).startswith("<=") || in tokenizeExpr()
200 s.substr(e).startswith("<<") || s.substr(e).startswith(">>")) { in tokenizeExpr()
/external/python/cpython3/Tools/c-analyzer/cpython/
D_generate.py24 if line.startswith('static '):
28 elif line.startswith(('Py_LOCAL(', 'Py_LOCAL_INLINE(')):
30 elif line.startswith('_Py_static_string('):
33 elif line.startswith('_Py_IDENTIFIER('):
40 elif line.startswith('PyAPI_DATA('): # only in .h files
42 elif line.startswith('extern '): # only in .h files
44 elif line.startswith('PyDoc_VAR('):
47 elif line.startswith(POTS): # implied static
51 elif line.startswith(STRUCTS) and line.endswith(' = {'): # implied static
53 elif line.startswith(STRUCTS) and line.endswith(' = NULL;'): # implied static
[all …]
Dknown.py21 if decl.startswith(('Py_LOCAL(', 'Py_LOCAL_INLINE(')):
23 if decl.startswith(('_Py_IDENTIFIER(', '_Py_static_string(')):
25 if decl.startswith('PyDoc_VAR('):
27 if decl.startswith(('SLOT1BINFULL(', 'SLOT1BIN(')):
29 if decl.startswith('WRAP_METHOD('):
32 if decl.startswith('PyAPI_DATA('):
/external/mesa3d/src/freedreno/decode/
Dcrashdec.c191 startswith(const char *line, const char *start) in startswith() function
251 if (startswith(line, " - id:")) { in decode_ringbuffer()
254 } else if (startswith(line, " iova:")) { in decode_ringbuffer()
256 } else if (startswith(line, " rptr:")) { in decode_ringbuffer()
258 } else if (startswith(line, " wptr:")) { in decode_ringbuffer()
260 } else if (startswith(line, " size:")) { in decode_ringbuffer()
262 } else if (startswith(line, " data: !!ascii85 |")) { in decode_ringbuffer()
379 if (startswith(line, " - iova:")) { in decode_bos()
381 } else if (startswith(line, " size:")) { in decode_bos()
383 } else if (startswith(line, " data: !!ascii85 |")) { in decode_bos()
[all …]
/external/llvm-project/compiler-rt/test/fuzzer/
Dlit.cfg.py29 if (sys.platform.startswith('darwin') or
30 sys.platform.startswith('freebsd') or
31 sys.platform.startswith('win')):
38 if (sys.platform.startswith('darwin') or sys.platform.startswith('win') or
46 if sys.platform.startswith('win') or sys.platform.startswith('cygwin'):
49 if sys.platform.startswith('darwin'):
52 if sys.platform.startswith('linux'):
/external/python/cpython3/Objects/
Dtypeslots.py14 if member.startswith("tp_"):
16 elif member.startswith("am_"):
18 elif member.startswith("nb_"):
20 elif member.startswith("mp_"):
22 elif member.startswith("sq_"):
24 elif member.startswith("bf_"):
/external/python/cffi/cffi/
Dpkgconfig.py76 return [x[2:] for x in string.split() if x.startswith("-I")]
79 return [x[2:] for x in string.split() if x.startswith("-L")]
82 return [x[2:] for x in string.split() if x.startswith("-l")]
92 return [_macro(x) for x in string.split() if x.startswith("-D")]
95 return [x for x in string.split() if not x.startswith("-I") and
96 not x.startswith("-D")]
99 return [x for x in string.split() if not x.startswith("-L") and
100 not x.startswith("-l")]
/external/scapy/scapy/
Dconsts.py52 LINUX = platform.startswith("linux")
53 OPENBSD = platform.startswith("openbsd")
55 NETBSD = platform.startswith("netbsd")
56 DARWIN = platform.startswith("darwin")
57 SOLARIS = platform.startswith("sunos")
58 WINDOWS = platform.startswith("win32")
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dlldbplatformutil.py74 if device_id.startswith('[') and device_id.endswith(']'):
112 if sys.platform.startswith('linux'):
114 elif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):
116 elif sys.platform.startswith('darwin'):
118 elif sys.platform.startswith('freebsd'):
120 elif sys.platform.startswith('netbsd'):
145 if platform.startswith('freebsd'):
147 elif platform.startswith('netbsd'):
/external/libchrome/build/
Ddetect_host_arch.py22 elif host_arch.startswith('arm'):
24 elif host_arch.startswith('aarch64'):
26 elif host_arch.startswith('mips'):
28 elif host_arch.startswith('ppc'):
30 elif host_arch.startswith('s390'):
/external/autotest/client/site_tests/platform_PrinterPpds/
Dhelpers.py29 while document.startswith(prefix, position):
65 if not (line.startswith('@PJL SET ') or
66 line.startswith('@PJL COMMENT') or
67 line.startswith('@PJL DMINFO') or
68 line.startswith('@PJL JOB NAME') or
69 line.startswith('@PJL JOBNAME')):
107 if not (line.startswith('%%Title:') or line.startswith('%%For:')):
162 if not doc.startswith(LIDIL_MARKER):
188 if not doc.startswith(EJL_MARKER):
194 if not (line.startswith('@EJL JI ID=') or
[all …]

12345678910>>...112