Searched refs:method (Results 1 - 25 of 27) sorted by relevance

12

/gem5/src/systemc/tests/systemc/kernel/process_control/reset/method_self_reset/
H A Dmethod_self_reset.cpp22 method_self_reset.cpp -- Test of method self reset.
48 SC_METHOD(method);
51 void method() function
/gem5/src/systemc/tests/systemc/kernel/sc_simcontext/sc_delta_count/
H A Dsc_delta_count.cpp7 SC_METHOD(method)
11 void method() function
/gem5/src/systemc/core/
H A DSystemC.py56 method.name: (lambda *a, **k: None) for method in SimObject.cxx_exports
H A Dsc_spawn.cc50 bool method = false; local
54 method = true;
62 if (method)
69 if (method)
/gem5/src/sim/power/
H A Dpower_model.hh90 .method(this, &PowerModelState::getDynamicPower)
96 .method(this, &PowerModelState::getStaticPower)
141 .method(this, &PowerModel::getDynamicPower)
147 .method(this, &PowerModel::getStaticPower)
H A Dthermal_domain.cc81 .method(this, &ThermalDomain::currentTemperature)
/gem5/src/mem/slicc/ast/
H A DPeekStatementAST.py33 def __init__(self, slicc, queue_name, type_ast, pairs, statements, method):
39 self.method = method
43 (self.method, self.queue_name, self.type_ast, self.statements)
65 in_msg_ptr = dynamic_cast<const $mtid *>(($qcode).${{self.method}}());
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test07/
H A Dtest07.cpp60 void method() function
70 sc_spawn( sc_bind(&DUT::method,this), "method", &options );
/gem5/src/systemc/tests/systemc/kernel/sc_process_b/test03/
H A Dtest03.cpp47 void method() { function
60 SC_METHOD(method);
63 cout << name() << ".method " << method_handle.proc_kind() << endl;
/gem5/src/systemc/tests/systemc/compliance_1666/test001/
H A Dtest001.cpp23 SC_METHOD(method);
25 method(); //// Calling an SC_METHOD member function directly DOULOS009
37 void method(void) { function
111 virtual void method() = 0;
116 void method() {} function in struct:C2
122 void method() {} function in struct:C3
214 p2->method();
215 p3->method();
223 p2->method();
224 p3->method();
[all...]
/gem5/src/systemc/tests/systemc/compliance_1666/test205/
H A Dtest205.cpp20 void method() function in struct:Prim
41 prim.method();
/gem5/ext/pybind11/tests/
H A Dtest_numpy_vectorize.cpp63 float method(int x, float y) { return y + (float) (x + value); } function in struct:VectorizeTestClass
71 vtc.def("method", py::vectorize(&VectorizeTestClass::method));
H A Dtest_numpy_vectorize.py185 assert np.all(o.method(x, y) == [[14, 15], [24, 25]])
H A Dtest_eigen.py337 def assert_keeps_alive(cl, method, *args):
342 z = method(a, *args)
424 # You shouldn't be allowed to pass a non-writeable array to a mutating Eigen method:
/gem5/util/stats/
H A Dstats.py110 if type(options.method) is str:
111 source.method = options.method
169 source.method = 'sum'
423 options.method = None
451 options.method = a
H A Ddb.py149 self.method = 'sum'
395 if attr != 'method':
/gem5/src/sim/
H A Dvoltage_domain.cc136 .method(this, &VoltageDomain::voltage)
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/
H A Dsc_vector.cpp84 virtual void method() = 0;
100 for (unsigned int i = 0; i < ports.size(); i++) // Use method size() with vector
103 ports[i]->method(); // Use operator[] with vector
123 port->method();
139 virtual void method() { function in struct:Target
140 cout << "Called method() in " << name() << " at " << sc_time_stamp() << endl;
257 // Additional method to support a vector iterator as an offset
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.cpp48 static void sc_deprecated_report_ids(const char* method) argument
55 message += method;
/gem5/ext/googletest/googlemock/scripts/
H A Dgmock_doctor.py341 The second argument you gave to Invoke() is an overloaded method. Please
361 r'\'gmock_(?P<method>.+)\' in \'(?P<mock_object>.+)\', '
375 MOCK_METHOD0(%(method)s, ...);
384 EXPECT_CALL(*mock_ptr, %(method)s(...));"""
391 'method': 'method',
528 You are using MOCK_METHOD%(wrong_args)s to define a mock method that has
544 r'(?P<method>\w+)\'')
546 r'error: no member named \'(?P<method>\w+)\' in '
550 ".%(method)
[all...]
/gem5/ext/ply/example/ansic/
H A Dcparse.py857 yacc.yacc(method='LALR')
859 #profile.run("yacc.yacc(method='LALR')")
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dast.py742 method = getattr(self, 'handle_' + token.name)
743 return method()
752 # Fall through--handle like any other method.
761 # this is an expression, not a method.
770 # Handle array, this isn't a method, unless it's an operator.
782 # Handle data, this isn't a method.
799 method = getattr(self, 'handle_' + method_name, None)
800 if not method:
804 return method()
808 # Must be a dtor (probably not in method bod
[all...]
/gem5/src/base/
H A Dstatistics.hh813 * A proxy similar to the FunctorProxy, but allows calling a method of a bound
822 MethodPointer method;
825 MethodProxy(T *obj, MethodPointer meth) : object(obj), method(meth) {}
826 Counter value() const { return (object->*method)(); }
827 Result result() const { return (object->*method)(); }
828 Result total() const { return (object->*method)(); }
865 * Extended functor that calls the specified method of the provided object.
867 * @param obj Pointer to the object whose method should be called.
868 * @param method Pointer of the function / method o
[all...]
/gem5/ext/ply/ply/
H A Dyacc.py76 default_lr = 'LALR' # Default LR table generation method
185 # The lineno() method returns the line number of a given
186 # item (or 0 if not defined). The linespan() method returns
188 # for a symbol. The lexspan() method returns a tuple (lexpos,endlexpos)
273 # copy this code to a method parseopt() and delete all of the sections
591 # Optimized version of parse() method. DO NOT EDIT THIS CODE DIRECTLY.
592 # Edit the debug version above, then copy any modifications to the method
1940 def __init__(self,grammar,method='LALR',log=None):
1941 if method not in ['SLR','LALR']:
1942 raise LALRError("Unsupported method
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc333 // results of calling a given int-returning method on each.
336 int (TestCase::*method)() const) {
339 sum += (case_list[i]->*method)();
603 // This method is from the TestPartResultReporterInterface interface.
1920 // On windows, this method uses _wcsicmp which compares according to LC_CTYPE
1921 // environment variable. On GNU platform this method uses wcscasecmp
2377 // Runs the given method and handles SEH exceptions it throws, when
2384 T* object, Result (T::*method)(), const char* location) {
2387 return (object->*method)();
2402 return (object->*method)();
[all...]

Completed in 63 milliseconds

12