Searched refs:swap (Results 1 - 25 of 35) sorted by relevance

12

/gem5/src/base/
H A Dsat_counter.hh92 this->swap(temp);
104 other.swap(temp);
114 other.swap(temp);
123 * @param other The other object to swap contents with.
126 swap(SatCounter& other) function in class:SatCounter
128 std::swap(initialVal, other.initialVal);
129 std::swap(maxVal, other.maxVal);
130 std::swap(counter, other.counter);
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.cpp43 #include <algorithm> // std::swap
125 swap( copy );
130 sc_report::swap( sc_report & that ) function in class:sc_core::sc_report
132 using std::swap;
133 swap( severity, that.severity );
134 swap( md, that.md );
135 swap( msg, that.msg );
136 swap( file, that.file );
137 swap( line, that.line );
138 swap( timestam
[all...]
H A Dsc_report.h150 void swap( sc_report& );
273 // Philip A. Hartmann: changes in "swap" support.
H A Dsc_vector.h35 #include <algorithm> // std::swap
543 swap( other_copy );
547 void swap( sc_vector_assembly & that ) function in class:sc_core::sc_vector_assembly
549 using std::swap;
550 swap( vec_, that.vec_ );
551 swap( ptr_, that.ptr_ );
552 swap( child_vec_, that.child_vec_ );
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_except.cpp116 rpt_p->swap( rpt );
H A Dsc_event.h147 void swap( sc_event_list& );
198 void swap( sc_event_and_list& );
231 void swap( sc_event_or_list& );
528 sc_event_list::swap( sc_event_list& that ) function in class:sc_core::sc_event_list
532 m_events.swap( that.m_events );
540 swap( const_cast<sc_event_list&>(that) ); // move from source
694 sc_event_or_list::swap( sc_event_or_list & that ) function in class:sc_core::sc_event_or_list
696 sc_event_list::swap( that );
722 sc_event_and_list::swap( sc_event_and_list & that ) function in class:sc_core::sc_event_and_list
724 sc_event_list::swap( tha
[all...]
H A Dsc_attribute.cpp143 std::swap( m_cltn[i], m_cltn.back() );
H A Dsc_process_handle.h88 inline void swap( sc_process_handle& other );
226 // The assignment is done using the swap() method, which simply swaps the
237 swap( orig );
413 // swap targets of this process handle with the supplied one.
415 inline void sc_process_handle::swap( sc_process_handle& other ) function in class:sc_core::sc_process_handle
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_process_handle_less_than/
H A Dsc_process_handle_less_than.cpp31 // sc_process_handle::operator< and swap
78 a.swap(b);
82 b.swap(a);
159 a.swap( b );
/gem5/src/systemc/core/
H A Dsc_attr.cc105 std::swap(attr, cltn.back());
H A Dsc_event.cc73 sc_event_and_list::swap(sc_event_and_list &eal) function in class:sc_core::sc_event_and_list
75 events.swap(eal.events);
158 sc_event_or_list::swap(sc_event_or_list &eol) function in class:sc_core::sc_event_or_list
160 events.swap(eol.events);
H A Devent.cc103 std::swap(*it, topLevelEvents.back());
108 std::swap(*it, allEvents.back());
H A Dobject.cc70 std::swap(objects->back(), *it);
260 std::swap(*it, events.back());
H A Dsc_process_handle.cc138 sc_process_handle::swap(sc_process_handle &handle) function in class:sc_core::sc_process_handle
/gem5/src/systemc/ext/core/
H A Dsc_event.hh73 void swap(sc_event_and_list &);
105 void swap(sc_event_or_list &);
H A Dsc_process_handle.hh179 void swap(sc_process_handle &);
/gem5/ext/pybind11/tests/
H A Dtest_copy_move.cpp41 MoveOnlyInt(MoveOnlyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); }
42 MoveOnlyInt &operator=(MoveOnlyInt &&m) { print_move_assigned(this, m.value); std::swap(value, m.value); return *this; }
53 MoveOrCopyInt(MoveOrCopyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); }
54 MoveOrCopyInt &operator=(MoveOrCopyInt &&m) { print_move_assigned(this, m.value); std::swap(value, m.value); return *this; }
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace_file_base.cpp73 ss.str().swap( filename_ );
H A Dsc_vcd_trace.cpp465 std::vector<char>( sz ).swap( compdata ); // resize without copying values
466 std::vector<char>( sz ).swap( rawdata );
527 std::vector<char>( sz ).swap( compdata ); // resize without copying values
528 std::vector<char>( sz ).swap( rawdata );
795 std::vector<char>( sz ).swap( compdata ); // resize without copying values
796 std::vector<char>( sz ).swap( rawdata );
866 std::vector<char>( sz ).swap( compdata ); // resize without copying values
867 std::vector<char>( sz ).swap( rawdata );
2048 obtain_name.swap( *p_destination );
H A Dsc_wif_trace.cpp462 std::vector<char>( sz ).swap( buf ); // resize without copying values
518 std::vector<char>( sz ).swap( buf ); // resize without copying values
769 std::vector<char>( sz ).swap( buf ); // resize without copying values
838 std::vector<char>( sz ).swap( buf ); // resize without copying values
1842 obtain_name().swap(*ptr_to_str);
/gem5/ext/pybind11/include/pybind11/
H A Dbuffer_info.h71 std::swap(view, rhs.view);
72 std::swap(ownview, rhs.ownview);
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_prim_channel.cpp171 m_push_queue.swap( m_pop_queue );
/gem5/system/alpha/console/
H A Ddbmentry.S194 .ent SlaveSpin 2 # and swap context without
/gem5/src/systemc/tests/systemc/1666-2011-compliance/event_list/
H A Devent_list.cpp243 list1.swap(list2);
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1141 friend void swap(scoped_ptr& a, scoped_ptr& b) { function in class:testing::internal::scoped_ptr
1142 using std::swap;
1143 swap(a.ptr_, b.ptr_);

Completed in 57 milliseconds

12