/gem5/src/dev/serial/ |
H A D | terminal.cc | 220 for (size_t i = 0; i < txbuf.size(); i += sizeof(buf)) { 221 const size_t chunk_len(std::min(txbuf.size() - i, sizeof(buf))); 255 size_t 256 Terminal::read(uint8_t *buf, size_t len) 279 size_t 280 Terminal::write(const uint8_t *buf, size_t len)
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | pytypes.h | 551 using key_type = size_t; 553 static object get(handle obj, size_t index) { 559 static void set(handle obj, size_t index, handle val) { 568 using key_type = size_t; 570 static object get(handle obj, size_t index) { 576 static void set(handle obj, size_t index, handle val) { 585 using key_type = size_t; 587 static object get(handle obj, size_t index) { 593 static void set(handle obj, size_t index, handle val) { 682 reference dereference() const { return {obj, static_cast<size_t>(inde [all...] |
H A D | numpy.h | 274 template <typename T, size_t N> struct is_std_array<std::array<T, N>> : std::true_type { }; 289 template <typename T, size_t N> struct array_info<std::array<T, N>> { 293 static constexpr size_t extent = N; 307 template <size_t N> struct array_info<char[N]> : array_info_scalar<char[N]> { }; 308 template <size_t N> struct array_info<std::array<char, N>> : array_info_scalar<std::array<char, N>> { }; 309 template <typename T, size_t N> struct array_info<T[N]> : array_info<std::array<T, N>> { }; 344 conditional_t<Dynamic, const ssize_t *, std::array<ssize_t, (size_t) Dims>> 353 for (size_t i = 0; i < (size_t) dims_; i++) { 388 ssize_t shape(ssize_t dim) const { return shape_[(size_t) di [all...] |
H A D | iostream.h | 28 const size_t buf_size; 44 str line(pbase(), static_cast<size_t>(pptr() - pbase())); 59 pythonbuf(object pyostream, size_t buffer_size = 1024)
|
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest-printers.h | 119 size_t count, 148 const size_t kProtobufOneLinerMaxLength = 50; 281 template <typename ToPrint, size_t N, typename OtherOperand> 373 const size_t kMaxCount = 32; // The maximum number of elements to print. 375 size_t count = 0; 548 void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) { 550 for (size_t i = 1; i != count; i++) { 716 void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) { 721 const size_t kThreshold = 18; 722 const size_t kChunkSiz [all...] |
/gem5/src/base/ |
H A D | circular_queue.hh | 127 void increase(uint32_t& v, size_t delta = 1) 407 size_t idx() const { return _idx; } 434 bool isValidIdx(size_t idx) const 457 bool isValidIdx(size_t idx, uint32_t round) const 495 size_t capacity() const { return _capacity; } 525 void pop_front(size_t num_elem = 1) 639 iterator getIterator(size_t idx)
|
/gem5/src/dev/virtio/ |
H A D | fs9p.cc | 166 VirtIO9PBase::sendRMsg(const P9MsgHeader &header, const uint8_t *data, size_t size) 194 VirtIO9PBase::dumpMsg(const P9MsgHeader &header, const uint8_t *data, size_t size) 253 const uint8_t *data, size_t size) 284 VirtIO9PProxy::readAll(uint8_t *data, size_t len) 299 VirtIO9PProxy::writeAll(const uint8_t *data, size_t len) 419 VirtIO9PDiod::read(uint8_t *data, size_t len) 427 VirtIO9PDiod::write(const uint8_t *data, size_t len) 550 VirtIO9PSocket::read(uint8_t *data, size_t len) 563 VirtIO9PSocket::write(const uint8_t *data, size_t len)
|
/gem5/src/mem/ |
H A D | mem_checker.cc | 299 Addr addr, size_t size, uint8_t *data) 307 for (size_t i = 0; i < size; ++i) { 324 for (size_t j = 0; j < tracker->lastExpectedData().size(); ++j) { 343 MemChecker::reset(Addr addr, size_t size) 345 for (size_t i = 0; i < size; ++i) {
|
/gem5/ext/systemc/src/sysc/datatypes/bit/ |
H A D | sc_logic.h | 282 static void* operator new( std::size_t, void* p ) // placement new 285 static void* operator new( std::size_t sz ) 288 static void operator delete( void* p, std::size_t sz ) 291 static void* operator new [] ( std::size_t sz ) 294 static void operator delete [] ( void* p, std::size_t sz )
|
/gem5/src/systemc/ext/dt/bit/ |
H A D | sc_logic.hh | 256 static void *operator new (std::size_t, void *p) { return p; } 258 operator new (std::size_t sz) 263 operator delete (void *p, std::size_t sz) 268 operator new [] (std::size_t sz) 273 operator delete [] (void *p, std::size_t sz)
|
/gem5/src/cpu/testers/traffic_gen/ |
H A D | traffic_gen.cc | 313 for (size_t i = 0; i < states.size(); i++) { 324 for (size_t i = 0; i < states.size(); i++) { 326 for (size_t j = 0; j < states.size(); j++) { 340 size_t 346 size_t i = 0;
|
/gem5/src/cpu/ |
H A D | static_inst.hh | 340 size_t 341 simpleAsBytes(void *buf, size_t max_size, const T &t) 343 size_t size = sizeof(T); 361 virtual size_t asBytes(void *buf, size_t max_size) { return 0; }
|
/gem5/src/arch/arm/ |
H A D | remote_gdb.cc | 182 RemoteGDB::acc(Addr va, size_t len) 212 size_t base = 0; 215 for (size_t j = 0; j < NumVecElemPerNeonVecReg; j++) { 240 size_t base = 0; 244 for (size_t j = 0; j < NumVecElemPerNeonVecReg; j++) {
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-port.cc | 109 size_t GetThreadCount() { 117 size_t GetThreadCount() { 128 return static_cast<size_t>(thread_count); 138 size_t GetThreadCount() { 148 return static_cast<size_t>(process_info.num_threads); 156 size_t GetThreadCount() { 169 size_t GetThreadCount() { 599 const size_t full_regex_len = strlen(regex) + 10; 741 // characters to be indexable by size_t, in which case the test will 747 const size_t min_coun [all...] |
/gem5/ext/libelf/ |
H A D | gelf.h | 76 size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count, 89 void * gelf_newphdr(Elf *_elf, size_t _phnum);
|
H A D | gelf_phdr.c | 102 elf32_newphdr(Elf *e, size_t count) 108 elf64_newphdr(Elf *e, size_t count) 114 gelf_newphdr(Elf *e, size_t count)
|
H A D | libelf_allocate.c | 135 if ((d = calloc((size_t) 1, sizeof(Elf_Data))) == NULL) { 158 _libelf_allocate_scn(Elf *e, size_t ndx) 162 if ((s = calloc((size_t) 1, sizeof(Elf_Scn))) == NULL) {
|
H A D | elf_update.c | 121 if ((size_t) *rc < sh_offset + sh_size) 201 (size_t) 1)) == 1) 220 if ((size_t) *rc < sh_offset + sh_size) 271 size_t sh_type; 325 size_t align, fsz; 326 size_t phnum, shnum; 394 (size_t) 1); \ 396 (size_t) 1); \ 398 (size_t) 1); \ 408 rc += _libelf_fsize(ELF_T_EHDR, ec, eh_version, (size_t) [all...] |
H A D | gelf_dyn.c | 41 size_t msz; 97 size_t msz;
|
H A D | gelf_rel.c | 42 size_t msz; 98 size_t msz;
|
H A D | gelf_rela.c | 42 size_t msz; 99 size_t msz;
|
H A D | gelf_symshndx.c | 41 size_t msz; 89 size_t msz;
|
H A D | libelf_xlate.c | 48 size_t cnt, dsz, fsz, msz; 80 (size_t) 1, src->d_version)) == 0)
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_thread_process.h | 70 void sc_set_stack_size( sc_thread_handle, std::size_t ); 80 void sc_set_stack_size( sc_thread_handle thread_h, std::size_t size ); 96 friend void sc_set_stack_size( sc_thread_handle, std::size_t ); 141 void set_stack_size( std::size_t size ); 169 std::size_t m_stack_size; // Thread stack size. 182 inline void sc_thread_process::set_stack_size( std::size_t size )
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | internals.h | 64 size_t operator()(const std::type_index &t) const { 65 size_t hash = 5381; 84 inline size_t operator()(const std::pair<const PyObject *, const char *>& v) const { 85 size_t value = std::hash<const void *>()(v.first); 119 size_t type_size, type_align, holder_size_in_ptrs; 120 void *(*operator_new)(size_t);
|