Searched refs:m_buf (Results 1 - 3 of 3) sorted by relevance

/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/
H A Dcircular_buffer.hh48 const T &read_data() const { return buf_read(m_buf, m_ri); }
52 return buf_read(m_buf, (m_ri + i) % size());
58 return buf_read(m_buf, (m_wi + i) % size());
81 void *m_buf; // the buffer member in class:tlm::circular_buffer
112 circular_buffer<T>::circular_buffer(int size) : m_size(size), m_buf(0)
122 buf_clear(m_buf, (m_ri + i) % m_size);
132 buf_free(m_buf);
144 buf_clear(m_buf, (m_ri + i) % m_size);
147 buf_free(m_buf);
155 m_buf
[all...]
/gem5/ext/systemc/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/
H A Dcircular_buffer.h54 { return buf_read( m_buf, m_ri ); }
57 { return buf_read( m_buf, (m_ri + i) % size() ); }
60 { return buf_read( m_buf , (m_wi + i) % size() ); }
81 void* m_buf; // the buffer member in class:tlm::circular_buffer
124 , m_buf(0)
135 buf_clear( m_buf, i );
145 buf_free( m_buf );
159 buf_clear( m_buf, (m_ri + i) % m_size );
163 buf_free( m_buf );
171 m_buf
[all...]
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_fifo.h79 { delete [] m_buf; }
160 T* m_buf; // the buffer member in class:sc_core::sc_fifo
301 sc_trace( tf, m_buf[i], nm + buf );
315 os << m_buf[i] << ::std::endl;
331 os << "value[" << i << "] = " << m_buf[i] << ::std::endl;
385 m_buf = new T[m_size];
399 m_buf[m_wi] = val_;
413 val_ = m_buf[m_ri];
414 m_buf[m_ri] = T(); // clear entry for boost::shared_ptr, et al.

Completed in 7 milliseconds