Searched refs:memcpy (Results 26 - 50 of 66) sorted by relevance

123

/gem5/src/gpu-compute/
H A Ddispatcher.cc148 memcpy(pkt->getPtr<const void*>(), curTaskPtr + offset, pkt->getSize());
245 memcpy(curTaskPtr + offset, pkt->getPtr<const void*>(), pkt->getSize());
H A Dcl_driver.cc198 memcpy(datap,
/gem5/src/systemc/tests/tlm/endian_conv/
H A Dtest_endian_conv.cpp209 memcpy(ss+txn.get_data_ptr(), target_mem+txn.get_address(), sw);
211 memcpy(target_mem+txn.get_address(), ss+txn.get_data_ptr(), sw);
/gem5/src/mem/
H A Dpacket.cc272 std::memcpy(getPtr<uint8_t>() + func_offset,
300 std::memcpy(_data + val_offset,
H A Dpacket.hh864 // any memcpy on receiving the response, thus we simply
1031 * freed. Static data allows us to do a single memcpy even if
1072 * packet, and on the way back towards the source, memcpy will be
1075 * final memcpy is needed to extract the data from the packet
1187 std::memcpy(getPtr<uint8_t>(), p, getSize());
1209 std::memcpy(p, getConstPtr<uint8_t>(), getSize());
H A Dabstract_mem.cc383 std::memcpy(hostAddr, &overwrite_val[0], pkt->getSize());
/gem5/util/term/
H A Dterm.c302 memcpy(&saved_ios, &ios, sizeof(struct termios));
/gem5/src/dev/storage/
H A Dide_disk.cc867 memcpy((void *)dataBuffer, (void *)&driveID,
877 memcpy((void *)&cmdReg.data, (void *)dataBuffer,
906 memcpy((void *)&cmdReg.data,
978 memcpy((void *)&dataBuffer[SectorSize - drqBytesLeft],
H A Dide_ctrl.cc407 memcpy(data, (uint8_t *)&bmiRegs + offset, size);
482 memcpy((uint8_t *)&bmiRegs + offset, data, size);
/gem5/src/arch/arm/
H A Dnativetrace.cc73 memcpy(newState, oldState, sizeof(state[0]));
/gem5/src/cpu/checker/
H A Dcpu.cc223 memcpy(data, unverifiedMemData, frag_size);
/gem5/src/mem/cache/prefetch/
H A Dbase.cc71 std::memcpy(data, &(pkt->getConstPtr<uint8_t>()[offset]), req_size);
/gem5/src/mem/ruby/system/
H A DDMASequencer.cc186 memcpy(&active_request.data[active_request.bytes_completed],
/gem5/src/sim/
H A Dsyscall_emul.cc356 memcpy(result_buf.bufferPtr(), &result, sizeof(result));
1424 memcpy(&sa, (struct sockaddr *)addrBuf.bufferPtr(),
1442 memcpy(addrBuf.bufferPtr(), sap, sizeof(sa));
1482 memcpy(&sa, (sockaddr*)addrBuf.bufferPtr(), addrLen);
1736 memcpy(valBuf.bufferPtr(), &val, sizeof(val));
1741 memcpy(lenBuf.bufferPtr(), &len, sizeof(len));
1777 memcpy(addrBuf.bufferPtr(), &sa, sizeof(sa));
/gem5/src/cpu/minor/
H A Dlsq.cc561 std::memcpy(request_data, data + (fragment_addr - base_addr),
657 std::memcpy(
692 std::memcpy(packet->getPtr<uint8_t>(), data, request->getSize());
830 std::memcpy(load_packet_data, store_packet_data, load_size);
1618 std::memcpy(request_data, data, size);
/gem5/src/arch/x86/bios/
H A Dintelmp.cc94 memcpy(cleanedString, str.c_str(), length);
98 memcpy(cleanedString, str.c_str(), str.length());
/gem5/src/cpu/o3/
H A Dlsq_unit.hh731 memcpy(load_inst->memData,
876 memcpy(storeQueue[store_idx].data(), data, size);
/gem5/ext/libelf/
H A Dlibelf_ar.c355 (void) memcpy(&arh, s, sizeof(arh));
/gem5/src/dev/net/
H A Dethertap.cc193 memcpy(packet->data, data, len);
/gem5/src/mem/cache/compressors/
H A Dbdi.cc221 std::memcpy(&curValue, ((uint8_t*)data) + byte_start,
/gem5/src/arch/sparc/linux/
H A Dsyscalls.cc73 memcpy(ruidBuff.bufferPtr(), &id, sizeof(uint64_t));
79 memcpy(euidBuff.bufferPtr(), &id, sizeof(uint64_t));
85 memcpy(suidBuff.bufferPtr(), &id, sizeof(uint64_t));
/gem5/ext/libfdt/
H A Dfdt_ro.c362 memcpy(buf + p, name, namelen);
/gem5/ext/systemc/src/
H A Dsystemc.h174 using std::memcpy;
/gem5/util/tap/
H A Dtap.cc185 memcpy(&sockaddr.sin_addr, hp->h_addr, hp->h_length);
/gem5/ext/mcpat/
H A DxmlParser.cc807 memcpy(lpszNew, lpszData, (cbData) * sizeof(XMLCHAR));
1530 memcpy((void*)(d->pText[i] + n), lpt, n2*sizeof(XMLCHAR));
2466 memcpy(p->pOrder, d->pOrder, n);
3153 memcpy(bb, buf, l); // copy buf into bb to be able to do "bb[l]=0"

Completed in 79 milliseconds

123