/gem5/src/dev/virtio/ |
H A D | base.cc | 144 VirtDescriptor::read(size_t offset, uint8_t *dst, size_t size) const 156 VirtDescriptor::write(size_t offset, const uint8_t *src, size_t size) 168 VirtDescriptor::chainRead(size_t offset, uint8_t *dst, size_t size) const 171 const size_t full_size(size); 174 const size_t chunk_size(std::min(desc->size() - offset, size)); 191 VirtDescriptor::chainWrite(size_t offset, const uint8_t *src, size_t siz [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | attr.h | 45 template <size_t Nurse, size_t Patient> struct keep_alive { }; 119 inline void keep_alive_impl(size_t Nurse, size_t Patient, function_call &call, handle ret); 216 size_t type_size = 0; 219 size_t type_align = 0; 222 size_t holder_size = 0; 225 void *(*operator_new)(size_t) = nullptr; 446 template <size_t Nurse, size_t Patien [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_dtypes.cpp | 111 for (size_t i = 0; i < 3 && v.a[i]; i++) os << v.a[i]; 113 for (size_t i = 0; i < 3 && v.b[i]; i++) os << v.b[i]; 143 py::array mkarray_via_buffer(size_t n) { 156 py::array_t<S, 0> create_recarray(size_t n) { 160 for (size_t i = 0; i < n; i++) { 297 m.def("create_rec_nested", [](size_t n) { // test_signature 301 for (size_t i = 0; i < n; i++) { 308 m.def("create_rec_partial_nested", [](size_t n) { 312 for (size_t i = 0; i < n; i++) { 398 m.def("create_array_array", [](size_t [all...] |
/gem5/ext/drampower/src/ |
H A D | Parameter.cc | 75 size_t Parameter::getSizeTValue() const 79 return fromString<size_t>(value, isHex ? std::hex : std::dec);
|
H A D | Parameter.h | 56 size_t getSizeTValue() const; 70 operator size_t() const {
|
/gem5/ext/libelf/ |
H A D | elf_memory.c | 35 elf_memory(char *image, size_t sz) 82 strncmp(image, ARMAG, (size_t) SARMAG) == 0) {
|
H A D | elf_scn.c | 44 size_t fsz, i, shnum; 50 void (*xlator)(char *_d, char *_s, size_t _c, int _swap); 65 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, (size_t) 1); 103 (*xlator)((char *) &scn->s_shdr, src, (size_t) 1, swapbytes); 123 elf_getscn(Elf *e, size_t index) 151 size_t 198 if ((scn = _libelf_allocate_scn(e, (size_t) SHN_UNDEF)) == 225 return (s == NULL ? elf_getscn(e, (size_t) 1) :
|
H A D | libelf_checksum.c | 32 _libelf_sum(unsigned long c, const unsigned char *s, size_t size) 46 size_t shn;
|
H A D | libelf_phdr.c | 39 size_t phnum, phentsize; 40 size_t fsz, msz; 45 void (*xlator)(char *_d, char *_s, size_t _c, int _swap); 110 _libelf_newphdr(Elf *e, int ec, size_t count) 113 size_t msz;
|
H A D | elf_begin.c | 58 if ((m = mmap(NULL, (size_t) sb.st_size, PROT_READ, MAP_PRIVATE, fd, 64 if ((e = elf_memory(m, (size_t) sb.st_size)) == NULL) { 65 (void) munmap(m, (size_t) sb.st_size);
|
/gem5/src/cpu/ |
H A D | nativetrace.hh | 103 read(void *ptr, size_t size) 105 size_t soFar = 0;
|
/gem5/tests/test-progs/gpu-hello/src/ |
H A D | gpu-hello.cpp | 62 size_t grid_size = 512; 63 size_t work_group_size = 256; 101 size_t deviceListSize; 181 size_t sourceSize[] = {strlen(source)}; 213 size_t globalThreads[1] = {grid_size}; 214 size_t localThreads[1] = {work_group_size}; 218 size_t code_size = strlen(code); 219 status = clSetKernelArg(kernel, 0, sizeof(size_t), &code_size);
|
/gem5/src/base/loader/ |
H A D | raw_object.cc | 38 RawObject::tryFile(const std::string &fname, size_t len, uint8_t *data) 44 RawObject::RawObject(const std::string &_filename, size_t _len,
|
H A D | aout_object.cc | 43 AoutObject::tryFile(const string &fname, size_t len, uint8_t *data) 57 size_t _len, uint8_t *_data,
|
H A D | object_file.cc | 57 size_t _len, uint8_t *_data, 137 size_t sz = pread(fd, buf, 2, 0); 145 const size_t blk_sz = 4096; 152 size_t tmp_len = strlen(P_tmpdir); 210 auto len = static_cast<size_t>(off);
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_cor_qt.h | 69 std::size_t m_stack_size; // stack size 101 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
|
/gem5/src/dev/arm/ |
H A D | hdlcd.hh | 151 static constexpr size_t BUS_OPTIONS_RESETV = 0x408; 154 static constexpr size_t VERSION_RESETV = 0x1CDC0000; 157 static constexpr size_t AXI_PORT_WIDTH = 8; 160 static constexpr size_t MAX_BURST_LEN = 16; 163 static constexpr size_t MAX_PIXEL_SIZE = 4; 370 DmaEngine(HDLcd &_parent, size_t size, 372 size_t line_size, ssize_t line_pitch, unsigned num_lines); 386 const size_t lineSize;
|
H A D | smmu_v3_proc.hh | 114 void doRead(Yield &yield, Addr addr, void *ptr, size_t size); 115 void doWrite(Yield &yield, Addr addr, const void *ptr, size_t size);
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test02/ |
H A D | test02.cpp | 73 base* fill_array( const char* n, size_t i ) 119 for (size_t i=0; i<children.size(); ++i )
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test03/ |
H A D | test03.cpp | 59 sub_module* operator()( const char* name, size_t ) // actual creator function 93 for (size_t i=0; i < children.size(); ++i )
|
/gem5/src/arch/riscv/insts/ |
H A D | static_inst.hh | 57 size_t 58 asBytes(void *buf, size_t size) override
|
/gem5/ext/googletest/googletest/samples/ |
H A D | sample10_unittest.cc | 56 void* operator new(size_t allocation_size) { 61 void operator delete(void* block, size_t /* allocation_size */) {
|
/gem5/src/arch/alpha/ |
H A D | registers.hh | 55 constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes; 61 constexpr size_t VecPredRegSizeBits = ::DummyVecPredRegSizeBits;
|
/gem5/src/mem/cache/compressors/ |
H A D | cpack.cc | 43 CPack::CompData::CompData(const std::size_t dictionary_size) 88 for (std::size_t i = 0; i < numEntries; i++) { 117 std::size_t size = 0; 123 for (std::size_t i = 0; i < blkSize/8; i++) { 198 for (std::size_t i = 0; i < blkSize/8; i++) {
|
/gem5/src/arch/x86/ |
H A D | memhelpers.hh | 77 template <typename T, size_t N> 86 template <size_t N> 123 template <typename T, size_t N> 139 template <size_t N> 162 template <typename T, size_t N> 186 template <size_t N> 220 template <size_t N>
|