Searched refs:dst (Results 1 - 25 of 32) sorted by relevance

12

/gem5/ext/libelf/
H A Dgelf_xlate.c35 elf32_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
37 return _libelf_xlate(dst, src, encoding, ELFCLASS32, ELF_TOFILE);
41 elf64_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
43 return _libelf_xlate(dst, src, encoding, ELFCLASS64, ELF_TOFILE);
47 elf32_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
49 return _libelf_xlate(dst, src, encoding, ELFCLASS32, ELF_TOMEMORY);
53 elf64_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
55 return _libelf_xlate(dst, src, encoding, ELFCLASS64, ELF_TOMEMORY);
59 gelf_xlatetom(Elf *e, Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
62 return (_libelf_xlate(dst, sr
69 gelf_xlatetof(Elf *e, Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
[all...]
H A Dlibelf_xlate.c45 _libelf_xlate(Elf_Data *dst, const Elf_Data *src, unsigned int encoding, argument
55 dst == NULL || src == NULL || dst == src) {
63 if (dst->d_version != src->d_version) {
68 if (src->d_buf == NULL || dst->d_buf == NULL ||
105 if (dst->d_size < dsz) {
112 db = (uintptr_t) dst->d_buf;
113 de = db + dst->d_size;
130 dst->d_type = src->d_type;
131 dst
[all...]
H A Dgelf_rela.c35 gelf_getrela(Elf_Data *d, int ndx, GElf_Rela *dst) argument
45 if (d == NULL || ndx < 0 || dst == NULL ||
77 dst->r_offset = (Elf64_Addr) rela32->r_offset;
78 dst->r_info = (Elf64_Xword) rela32->r_info;
79 dst->r_addend = (Elf64_Sxword) rela32->r_addend;
85 *dst = *rela64;
88 return (dst);
H A Dgelf_sym.c35 gelf_getsym(Elf_Data *d, int ndx, GElf_Sym *dst) argument
45 if (d == NULL || ndx < 0 || dst == NULL ||
78 dst->st_name = sym32->st_name;
79 dst->st_value = (Elf64_Addr) sym32->st_value;
80 dst->st_size = (Elf64_Xword) sym32->st_size;
81 dst->st_info = ELF64_ST_INFO(ELF32_ST_BIND(sym32->st_info),
83 dst->st_other = sym32->st_other;
84 dst->st_shndx = sym32->st_shndx;
89 *dst = *sym64;
92 return (dst);
[all...]
H A Dgelf_dyn.c34 gelf_getdyn(Elf_Data *d, int ndx, GElf_Dyn *dst) argument
44 if (d == NULL || ndx < 0 || dst == NULL ||
76 dst->d_tag = dyn32->d_tag;
77 dst->d_un.d_val = (Elf64_Xword) dyn32->d_un.d_val;
83 *dst = *dyn64;
86 return (dst);
H A Dgelf_rel.c35 gelf_getrel(Elf_Data *d, int ndx, GElf_Rel *dst) argument
45 if (d == NULL || ndx < 0 || dst == NULL ||
77 dst->r_offset = (Elf64_Addr) rel32->r_offset;
78 dst->r_info = (Elf64_Xword) rel32->r_info;
84 *dst = *rel64;
87 return (dst);
H A Dgelf_symshndx.c35 gelf_getsymshndx(Elf_Data *d, Elf_Data *id, int ndx, GElf_Sym *dst, argument
44 if (gelf_getsym(d, ndx, dst) == 0)
79 return (dst);
H A Delf_update.c509 Elf_Data *d, dst; local
570 dst.d_version = e->e_version;
589 dst.d_buf = nf + rc;
590 dst.d_size = fsz;
592 if (_libelf_xlate(&dst, d, e->e_byteorder, ec, ELF_TOFILE) ==
628 Elf_Data dst, src; local
666 (void) memset(&dst, 0, sizeof(dst));
672 src.d_version = dst.d_version = e->e_version;
676 dst
[all...]
H A Delf_data.c40 char *dst; local
105 if ((dst = malloc(msz*count)) == NULL) {
113 d->d_buf = dst;
/gem5/util/style/
H A Dfile_types.py163 def update_file(dst, src, language, mutator):
170 inplace = dst == src
195 dst = src
196 dst.truncate(0)
197 dst.seek(0)
198 elif isinstance(dst, str):
201 dst = file(dst, 'w')
204 dst.write(line)
205 dst
[all...]
/gem5/ext/dnet/
H A Deth.h55 #define eth_pack_hdr(h, dst, src, type) do { \
57 memmove(&eth_pack_p->eth_dst, &(dst), ETH_ADDR_LEN); \
71 char *eth_ntop(const eth_addr_t *eth, char *dst, size_t len);
72 int eth_pton(const char *src, eth_addr_t *dst);
H A Daddr.h51 char *addr_ntop(const struct addr *src, char *dst, size_t size);
52 int addr_pton(const char *src, struct addr *dst);
H A Dip6.h135 #define IP6_OPT_TYPE_ICMP 0xC0 /* ...only if non-multicast dst */
163 #define ip6_pack_hdr(hdr, fc, fl, plen, nxt, hlim, src, dst) do { \
171 memmove(&ip6->ip6_dst, &(dst), IP6_ADDR_LEN); \
175 char *ip6_ntop(const ip6_addr_t *ip6, char *dst, size_t size);
176 int ip6_pton(const char *src, ip6_addr_t *dst);
H A Dintf.h26 struct addr intf_dst_addr; /* point-to-point dst */
62 int intf_get_dst(intf_t *i, struct intf_entry *entry, struct addr *dst);
H A Dip.h402 #define ip_pack_hdr(hdr, tos, len, id, off, ttl, p, src, dst) do { \
408 ip_pack_p->ip_src = src; ip_pack_p->ip_dst = dst; \
418 char *ip_ntop(const ip_addr_t *ip, char *dst, size_t len);
419 int ip_pton(const char *src, ip_addr_t *dst);
/gem5/src/systemc/tests/systemc/misc/sim_tests/cycle_dw8051_demo/
H A Dcycle_model.cpp232 i->dst.type = o_null;
233 i->dst.val = -1;
251 i->dst.type = o_acc;
261 i->dst.type = o_acc;
273 i->dst.type = o_acc;
283 i->dst.type = o_acc;
301 i->dst.type = o_acc;
311 i->dst.type = o_acc;
323 i->dst.type = o_acc;
333 i->dst
[all...]
H A Dcycle_model.h116 operand dst; /* destination operand */ member in struct:instr
/gem5/src/mem/ruby/network/simple/
H A DPerfectSwitch.cc198 NetDest dst = m_routing_table[link]; local
199 DPRINTF(RubyNetwork, "dst: %s\n", dst);
201 if (!msg_dsts.intersectionIsNotEmpty(dst))
211 output_link_destinations.push_back(msg_dsts.AND(dst));
215 msg_dsts.removeNetDest(dst);
/gem5/src/mem/ruby/network/
H A DTopology.cc101 int dst = router_dst->params()->router_id + 2*m_nodes; local
103 // create the internal uni-directional link from src to dst
104 addLink(src, dst, int_link, src_outport, dst_inport);
140 int dst = src_dest.second; local
141 component_latencies[src][dst] = link->m_latency;
142 topology_weights[src][dst] = link->m_weight;
/gem5/src/dev/virtio/
H A Dbase.cc144 VirtDescriptor::read(size_t offset, uint8_t *dst, size_t size) const argument
146 DPRINTF(VIO, "VirtDescriptor(%p, 0x%x, %i)::read: offset: %i, dst: 0x%x, size: %i\n",
147 this, desc.addr, desc.len, offset, (long)dst, size);
152 memProxy->readBlob(desc.addr + offset, dst, size);
168 VirtDescriptor::chainRead(size_t offset, uint8_t *dst, size_t size) const argument
175 desc->read(offset, dst, chunk_size);
176 dst += chunk_size;
/gem5/src/cpu/o3/
H A Drename_map.cc207 VecReg dst = new_RF[i].as<TheISA::VecElem>(); local
211 dst[l] = regFile->readVecElem(s_prid);
/gem5/src/arch/generic/
H A Dvec_reg.hh126 * VecLaneT<float, false>& dst = vdstraw->laneView<float>(this->_lidx);
128 * dst = src1 + src2;
130 * // the assignment to dst modifies the appropriate bytes in vdstraw which
136 * // dst = tmp; // do writeback
329 void copyTo(Container& dst) const
331 std::memcpy(dst.data(), container.data(), SIZE);
337 void copyTo(std::vector<uint8_t>& dst) const
339 dst.resize(SIZE);
340 std::memcpy(dst.data(), container.data(), SIZE);
/gem5/src/base/
H A Dremote_gdb.cc244 char *dst = vdst; local
248 *dst++ = i2digit(*src >> 4);
249 *dst++ = i2digit(*src++);
251 *dst = '\0';
261 char *dst = vdst; local
271 *dst++ = (msb << 4) | lsb;
/gem5/src/dev/
H A Ddma_device.cc340 DmaReadFifo::tryGet(uint8_t *dst, size_t len) argument
343 buffer.read(dst, len);
352 DmaReadFifo::get(uint8_t *dst, size_t len) argument
354 const bool success(tryGet(dst, len));
/gem5/util/batch/
H A Djob.py54 def do(self, src, dst):
69 args.append(dst)

Completed in 39 milliseconds

12