Searched refs:off (Results 1 - 13 of 13) sorted by relevance

/gem5/ext/dnet/
H A Dblob.h16 int off; /* offset into data */ member in struct:blob
27 int blob_seek(blob_t *b, int off, int whence);
31 #define blob_offset(b) ((b)->off)
32 #define blob_left(b) ((b)->end - (b)->off)
H A Dip.h402 #define ip_pack_hdr(hdr, tos, len, id, off, ttl, p, src, dst) do { \
406 ip_pack_p->ip_id = htons(id); ip_pack_p->ip_off = htons(off); \
/gem5/src/base/
H A Dstr.hh51 std::string::size_type off = s.find_first_not_of(' '); local
52 if (off != std::string::npos) {
54 s.erase(begin, begin + off);
61 std::string::size_type off = s.find_last_not_of(' '); local
62 if (off != std::string::npos)
63 s.erase(s.begin() + off + 1, s.end());
H A Dinet.hh186 int off() const { return 0; } function in class:Net::EthPtr
187 int pstart() const { return off() + ((const EthHdr*)p->data)->size(); }
328 int off() const { return (sizeof(eth_hdr) + ((eth_hdr_vlan) ? 4 : 0)); } function in class:Net::IpPtr
329 int pstart() const { return (off() + get()->size()); }
444 int off() const { return sizeof(eth_hdr) + ((eth_hdr_vlan) ? 4 : 0); } function in class:Net::Ip6Ptr
445 int pstart() const { return off() + get()->size(); }
516 uint8_t off() const { return th_off*4; } function in struct:Net::TcpHdr
528 int size() const { return off(); }
580 int off() const { return _off; } function in class:Net::TcpPtr
581 int pstart() const { return off()
675 int off() const { return _off; } function in class:Net::UdpPtr
[all...]
H A Dinet.cc364 int all = off() - sizeof(struct tcp_hdr);
/gem5/src/base/loader/
H A Dobject_file.cc207 off_t off = lseek(fd, 0, SEEK_END); local
208 fatal_if(off < 0,
210 auto len = static_cast<size_t>(off);
/gem5/ext/libelf/
H A Dlibelf_ar.c420 size_t n, nentries, off; local
452 off = 0;
454 GET_WORD(p, off);
456 sym->as_off = off;
/gem5/src/gpu-compute/
H A Ddispatcher.hh110 void accessUserVar(BaseCPU *cpu, uint64_t addr, int val, int off);
H A Ddispatcher.cc355 GpuDispatcher::accessUserVar(BaseCPU *cpu, uint64_t addr, int val, int off) argument
358 if (off) {
361 val += off;
/gem5/src/python/m5/
H A Dmain.py77 listener_modes = ( "on", "off", "auto" )
98 option("--listener-mode", metavar="{on,off,auto}",
367 if options.listener_mode == "off":
392 off = False
395 off = True
401 if off:
/gem5/util/
H A Dgem5img.py114 off = findPartOffset(self.devFile, fileName, 0)
116 ["-o", "%d" % off] + \
/gem5/src/systemc/tests/tlm/endian_conv/
H A Dtestall.py280 off = "0" * txn.data_width
285 txns[1-curr].byte_enable += off
/gem5/ext/systemc/src/sysc/qt/md/
H A Dksr1.s256 # off the top of the stack.

Completed in 22 milliseconds