Searched refs:startswith (Results 1 - 25 of 48) sorted by relevance

12

/gem5/src/python/m5/internal/
H A Dparams.py48 if name.startswith('param_') or name.startswith('enum_'):
/gem5/ext/pybind11/tests/
H A Dtest_docstring_options.py20 assert m.test_function3.__doc__ .startswith("test_function3(a: int, b: int) -> None")
22 assert m.test_function4.__doc__ .startswith("test_function4(a: int, b: int) -> None")
33 assert m.test_function7.__doc__ .startswith("test_function7(a: int, b: int) -> None")
H A Dtest_exceptions.py119 assert str(capture).startswith("MyException5: nested error 5")
136 assert str(capture).startswith("MyException5: nested error 5")
/gem5/src/python/m5/objects/
H A D__init__.py41 if module.startswith('m5.objects.'):
/gem5/src/sim/
H A Dredirect_path.cc41 if (!startswith(path, "/")) {
/gem5/site_scons/site_tools/
H A Ddefault.py66 any([key.startswith(prefix) for prefix in use_prefixes]):
/gem5/ext/googletest/googlemock/scripts/
H A Dupload_gmock.py60 if arg.startswith(CC_FLAG):
H A Dupload.py477 if host == "localhost" or host.startswith("localhost:"):
539 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("Propert
[all...]
/gem5/ext/googletest/googletest/scripts/
H A Dupload_gtest.py60 if arg.startswith(CC_FLAG):
H A Dupload.py477 if host == "localhost" or host.startswith("localhost:"):
539 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("Propert
[all...]
/gem5/site_scons/gem5_scons/
H A D__init__.py51 if path.startswith(variant_base):
53 elif path.startswith(build_base):
/gem5/src/python/m5/util/
H A Dattrdict.py41 if attr in dir(self) or attr.startswith('_'):
63 if attr.startswith('_'):
/gem5/src/base/
H A Dstr.hh221 startswith(const char *s, const char *prefix) function
231 startswith(const std::string &s, const char *prefix) function
241 startswith(const std::string &s, const std::string &prefix) function
H A Dhostinfo.cc84 if (startswith(line, target)) {
/gem5/util/style/
H A Dfile_types.py103 if basename.startswith(start):
114 if firstline and firstline.startswith('#!'):
/gem5/util/batch/
H A Dsend.py37 if dir.startswith('/.automount/'):
39 elif not dir.startswith('/n/'):
53 if root.startswith('/'):
55 for rem in [ d for d in dirs if d.startswith('.') or d == 'SCCS']:
/gem5/util/pbs/
H A Dsend.py38 if dir.startswith('/.automount/'):
40 elif not dir.startswith('/n/'):
54 if root.startswith('/'):
56 for rem in [ d for d in dirs if d.startswith('.') or d == 'SCCS']:
/gem5/ext/pybind11/tools/
H A Dmkdoc.py90 if s.startswith('/*'):
94 elif s.startswith('///'):
96 if s.startswith('*'):
240 if not any(it.startswith("-std=") for it in args):
272 if item.startswith('-'):
347 if arg.startswith("-o"):
/gem5/src/python/m5/
H A Doptions.py113 if attr.startswith('_'):
122 if attr.startswith('_'):
H A Dproxy.py73 if not attr.startswith('_'):
163 if attr.startswith('_'):
/gem5/src/arch/hsail/
H A Dgen.py598 if base_class.startswith('SpecialInst') or base_class.startswith('Stub'):
600 elif base_class.startswith('ShiftInst'):
/gem5/util/
H A Dfind_copyrights.py19 if i == 0 and (line.startswith('#!') or mode_line.search(line)):
74 if text.startswith("Copyright") > 0:
162 if line.startswith('//'):
H A Dqdo83 if cwd.startswith('/.automount/'):
86 if not cwd.startswith('/n/poolfs/'):
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py246 if (condition.startswith('0') or
247 condition.startswith('(0)')):
/gem5/ext/testlib/
H A Dconfig.py150 if not attr.startswith('_'):
380 elif len(flags) > 1 or flags[0].startswith('-'):
382 if not flag.startswith('-'):
386 if flag.startswith('--'):
542 if not attr.startswith('_'):

Completed in 30 milliseconds

12