Searched refs:args (Results 101 - 125 of 204) sorted by relevance

123456789

/gem5/configs/example/
H A Druby_random_test.py67 (options, args) = parser.parse_args()
82 if args:
H A Druby_mem_test.py73 (options, args) = parser.parse_args()
88 if args:
H A Druby_gpu_random_test.py84 (options, args) = parser.parse_args()
105 if args:
/gem5/tests/testing/
H A Dhelpers.py65 def __init__(self, *args, **kwargs):
66 super(ProcessHelper, self).__init__(*args, **kwargs)
/gem5/util/style/
H A Dstyle.py87 def __init__(self, ui, *args, **kwargs):
88 super(MercurialUI, self).__init__(*args, **kwargs)
H A Dsort_includes.py304 opts,args = parser.parse_args()
310 return opts,args
314 opts, args = parse_args(parser)
316 for base in args:
H A Dverifiers.py65 def safefix_wrapper(*args, **kwargs):
68 assert(os.path.exists(args[1]))
69 self = args[0]
71 filename = args[1]
81 fix_func(*args, **kwargs)
344 def __init__(self, *args, **kwargs):
345 super(SortedIncludes, self).__init__(*args, **kwargs)
/gem5/src/base/
H A Dtrace.hh61 const Args &...args)
67 ccprintf(line, fmt, args...);
60 dprintf(Tick when, const std::string &name, const char *fmt, const Args &...args) argument
/gem5/ext/pybind11/include/pybind11/
H A Dfunctional.h72 Return operator()(Args... args) const {
74 object retval(hfunc.f(std::forward<Args>(args)...));
H A Dpybind11.h78 initialize([f](Class *c, Arg... args) -> Return { return (c->*f)(args...); },
85 initialize([f](const Class *c, Arg... args) -> Return { return (c->*f)(args...); },
194 const std::type_info *const *types, size_t args) {
199 for (auto &a: rec->args) {
231 // Write arg name for everything except *args and **kwargs.
235 if (arg_index < rec->args.size() && rec->args[arg_index].name) {
236 signature += rec->args[arg_inde
193 initialize_generic(detail::function_record *rec, const char *text, const std::type_info *const *types, size_t args) argument
1831 print(tuple args, dict kwargs) argument
1864 print(Args &&....args) argument
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_numpy_array.py69 @pytest.mark.parametrize('args, ret', [([], 0), ([0], 0), ([1], 3), ([0, 1], 1), ([1, 2], 5)])
70 def test_index_offset(arr, args, ret):
71 assert m.index_at(arr, *args) == ret
72 assert m.index_at_t(arr, *args) == ret
73 assert m.offset_at(arr, *args) == ret * arr.dtype.itemsize
74 assert m.offset_at_t(arr, *args) == ret * arr.dtype.itemsize
85 @pytest.mark.parametrize('args, ret',
90 def test_data(arr, args, ret):
92 assert all(m.data_t(arr, *args) == ret)
93 assert all(m.data(arr, *args)[(
[all...]
/gem5/ext/dsent/libutil/
H A DString.cc37 va_list args; local
38 va_start(args, format_);
39 vsnprintf(buffer, msBufferSize, format_.c_str(), args);
40 va_end(args);
/gem5/src/gpu-compute/
H A Dqstruct.hh86 // use args and offset arrays
93 uint8_t args[KER_ARGS_LENGTH]; member in struct:HsaQueueEntry
/gem5/tests/configs/
H A Dcheckpoint.py103 args=(cpt_name, ),
H A Dsimple-timing-ruby.py46 (options, args) = parser.parse_args()
H A Dsimple-timing-mp-ruby.py46 (options, args) = parser.parse_args()
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h339 virtual Result Perform(const ArgumentTuple& args) = 0;
387 Result Perform(const ArgumentTuple& args) const {
395 return impl_->Perform(args);
415 // Result Perform(const ArgumentTuple& args) const {
417 // // tr1::get<N>(args) to get the N-th (0-based) argument in the tuple.
445 virtual Result Perform(const ArgumentTuple& args) { argument
446 return impl_.template Perform<Result>(args);
491 virtual Result Perform(const ArgumentTuple& args) { argument
492 return impl_->Perform(args);
763 void Perform(const ArgumentTuple& /* args */) cons
921 Perform(const ArgumentTuple& args) argument
996 Perform(const ArgumentTuple& args) argument
[all...]
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py97 args = ''
107 args = ', '.join(param.type.name for param in node.parameters)
119 args = re.sub(' +', ' ', args_strings.replace('\n', ' '))
123 '%s%s(%s));' % (indent*3, return_type, args)])
142 # Add template args for templated classes.
/gem5/ext/googletest/googletest/test/
H A Dgtest_shuffle_test.py78 def RunAndReturnOutput(extra_env, args):
84 return gtest_test_utils.Subprocess([COMMAND] + args, env=environ_copy).output
87 def GetTestsForAllIterations(extra_env, args):
92 args: command line flags to pass to gtest_shuffle_test_
100 for line in RunAndReturnOutput(extra_env, args).split('\n'):
/gem5/configs/dist/
H A Dsw.py72 (options, args) = parser.parse_args()
/gem5/util/
H A Dfind_copyrights.py216 opts, args = getopt.getopt(sys.argv[1:], "ci:v")
230 for base in args:
254 if len(e.args) == 1:
255 e.args = ('%s (%s))' % (e, filename), )
H A Dhgstyle.py179 args = {}
182 return do_check_style(ui, repo, **args)
/gem5/src/python/m5/
H A DSimObject.py571 e.args = (msg, )
953 def cxxMethod(*args, **kwargs):
963 args, varargs, keywords, defaults = inspect.getargspec(func)
970 args = args[:-len(defaults)] + \
971 list(zip(args[-len(defaults):], defaults))
973 args = args[1:]
977 def cxx_call(self, *args, **kwargs):
979 return getattr(ccobj, name)(*args, **kwarg
[all...]
/gem5/configs/dram/
H A Dsweep.py84 (options, args) = parser.parse_args()
86 if args:
/gem5/tests/gem5/
H A Dverifier.py42 def _test(self, *args, **kwargs):
45 self.test(*args, **kwargs)

Completed in 38 milliseconds

123456789