/gem5/src/systemc/tests/systemc/kernel/kind_string/test01/ |
H A D | foo.cpp | 45 if( std::string(sig_.kind()) == std::string(sig.kind()) ) { 46 cout << "kind() the same\n"; 48 cout << "kind() different: '" << sig_.kind() << "' ~= ' " 49 << sig.kind() << "'\n";
|
H A D | main.cpp | 40 // test the kind string of objects 46 cout << (a).kind() << endl; \ 48 cout << obj->kind() << endl; \
|
/gem5/src/systemc/core/ |
H A D | sc_export.cc | 45 const char *name, const char *kind) 49 msg = csprintf("%s: export '%s' (%s)", add_msg, name, kind); 51 msg = csprintf("export '%s' (%s)", name, kind); 62 name(), kind()); 65 reportError(SC_ID_INSERT_EXPORT_, "elaboration done", name(), kind()); 69 reportError(SC_ID_EXPORT_OUTSIDE_MODULE_, nullptr, name(), kind()); 44 reportError(const char *id, const char *add_msg, const char *name, const char *kind) argument
|
H A D | sc_port.cc | 48 const char *name, const char *kind) 52 msg = csprintf("%s: port '%s' (%s)", add_msg, name, kind); 54 msg = csprintf("port '%s' (%s)", name, kind); 66 name(), kind()); 70 name(), kind()); 75 reportError(SC_ID_PORT_OUTSIDE_MODULE_, nullptr, name(), kind()); 104 ss << "port '" << name() << "' (" << kind() << ")"; 47 reportError(const char *id, const char *add_msg, const char *name, const char *kind) argument
|
H A D | process_types.hh | 46 const char *kind() const override { return "sc_method_process"; } 64 const char *kind() const override { return "sc_thread_process"; } 119 const char *kind() const override { return "sc_cthread_process"; }
|
/gem5/src/systemc/tests/systemc/communication/sc_semaphore/test04/ |
H A D | test04.cpp | 39 // test of sc_semaphore::kind() 57 cout<<a.semaphore.kind()<<endl;
|
/gem5/src/systemc/tests/systemc/kernel/sc_process_b/test01/ |
H A D | test01.cpp | 35 Description of Modification: Rewrite to use sc_process_handle::kind(). 39 // test of sc_process_b::kind() 48 cout << sc_get_current_process_b()->kind() << endl;
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_event_finder.cpp | 48 add_msg, m_port.name(), m_port.kind() ); 50 std::sprintf( msg, "port '%s' (%s)", m_port.name(), m_port.kind() );
|
H A D | sc_signal_resolved_ports.cpp | 54 std::sprintf( msg, "%s (%s)", name(), kind() ); 75 std::sprintf( msg, "%s (%s)", name(), kind() );
|
H A D | sc_mutex.h | 69 virtual const char* kind() const function in class:sc_core::sc_mutex
|
H A D | sc_semaphore.h | 72 virtual const char* kind() const function in class:sc_core::sc_semaphore
|
/gem5/ext/pybind11/tests/ |
H A D | test_tagbased_polymorphic.cpp | 20 static const std::type_info* type_of_kind(Kind kind); 21 static std::string name_of_kind(Kind kind); 23 const Kind kind; member in class:Animal::Kind 28 : kind(_kind), name(_name) 35 std::string bark() const { return name_of_kind(kind) + " " + name + " goes " + sound; } 80 const std::type_info* Animal::type_of_kind(Kind kind) argument 82 switch (kind) { 95 if (kind >= Kind::Dog && kind <= Kind::LastDog) return &typeid(Dog); 96 if (kind > 100 name_of_kind(Kind kind) argument [all...] |
/gem5/src/arch/hsail/ |
H A D | operand.cc | 47 if (brigOp->kind != BRIG_KIND_OPERAND_REGISTER) 54 DPRINTF(GPUReg, "Operand: regNum: %d, kind: %d\n", regIdx, 67 switch (brigOp->kind) { 99 fatal("ListOperand: bad operand kind %d\n", brigOp->kind); 120 if (baseOp->kind != BRIG_KIND_OPERAND_CODE_REF) { 121 fatal("FunctionRefOperand: bad operand kind %d\n", baseOp->kind); 147 if (brigOp->kind != BRIG_KIND_OPERAND_OPERAND_LIST) 159 if (p->kind ! [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test210/ |
H A D | test210.cpp | 48 sc_assert(strcmp(obj->kind(), "sc_module") == 0);
50 sc_assert(strcmp(obj->kind(), "sc_module") == 0);
52 sc_assert(strcmp(obj->kind(), "sc_signal") == 0);
99 sc_assert(strcmp(obj->kind(), "sc_module") == 0);
101 sc_assert(strcmp(obj->kind(), "sc_signal") == 0);
103 sc_assert(strcmp(obj->kind(), "sc_module") == 0);
105 sc_assert(strcmp(obj->kind(), "sc_module") == 0);
107 sc_assert(strcmp(obj->kind(), "sc_signal") == 0);
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_wait.cpp | 60 switch( cpi->kind ) { 79 switch( cpi->kind ) { 103 switch( cpi->kind ) { 129 switch( cpi->kind ) { 153 switch( cpi->kind ) { 177 switch( cpi->kind ) { 201 switch( cpi->kind ) { 225 switch( cpi->kind ) { 252 if( cpi->kind == SC_METHOD_PROC_ ) { 267 if( cpi->kind [all...] |
/gem5/src/systemc/channel/ |
H A D | sc_in_resolved.cc | 50 std::string msg = csprintf("port '%s' (%s)", name(), kind());
|
/gem5/src/systemc/ext/channel/ |
H A D | sc_in_resolved.hh | 54 virtual const char *kind() const { return "sc_in_resolved"; } function in class:sc_core::sc_in_resolved
|
H A D | sc_mutex.hh | 51 virtual const char *kind() const { return "sc_mutex"; } function in class:sc_core::sc_mutex
|
H A D | sc_semaphore.hh | 51 virtual const char *kind() const { return "sc_semaphore"; } function in class:sc_core::sc_semaphore
|
H A D | sc_in_rv.hh | 64 ss << "port '" << this->name() << "' (" << this->kind() << ")"; 69 virtual const char *kind() const { return "sc_in_rv"; } function in class:sc_core::sc_in_rv
|
H A D | sc_inout_resolved.hh | 64 virtual const char *kind() const { return "sc_inout_resolved"; } function in class:sc_core::sc_inout_resolved
|
H A D | sc_out_resolved.hh | 63 virtual const char *kind() const { return "sc_out_resolved"; } function in class:sc_core::sc_out_resolved
|
H A D | sc_event_queue.hh | 64 virtual const char *kind() const { return "sc_event_queue"; } function in class:sc_core::sc_event_queue
|
/gem5/src/arch/hsail/insts/ |
H A D | branch.cc | 50 if (reg->kind == Brig::BRIG_KIND_OPERAND_REGISTER) { 65 if (reg->kind == Brig::BRIG_KIND_OPERAND_REGISTER) { 80 if (reg->kind == Brig::BRIG_KIND_OPERAND_REGISTER) {
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test02/ |
H A D | test02.cpp | 63 const char* kind() const { return "derived_0"; } function in struct:derived_0 69 const char* kind() const { return "derived_1"; } function in struct:derived_1 121 << children[i]->kind()
|