Searched refs:file_data (Results 1 - 4 of 4) sorted by relevance

/gem5/src/gpu-compute/
H A Dhsa_object.cc52 uint8_t *file_data = nullptr; local
63 file_data = new uint8_t[file_length];
64 code_file.read((char*)file_data, file_length);
68 if ((hsaObj = tryFile(fname, file_length, file_data))) {
73 delete[] file_data;
/gem5/ext/googletest/googletest/xcode/Scripts/
H A Dversiongenerate.py84 file_data = """//
99 version_file.write(file_data)
/gem5/src/base/loader/
H A Dobject_file.cc213 uint8_t *file_data = (uint8_t *)mmap(NULL, len, PROT_READ, MAP_SHARED,
217 if (file_data == MAP_FAILED) {
224 if ((file_obj = ElfObject::tryFile(fname, len, file_data)) != NULL) {
228 if ((file_obj = EcoffObject::tryFile(fname, len, file_data)) != NULL) {
232 if ((file_obj = AoutObject::tryFile(fname, len, file_data)) != NULL) {
236 if ((file_obj = DtbObject::tryFile(fname, len, file_data)) != NULL) {
241 return RawObject::tryFile(fname, len, file_data);
244 munmap((char*)file_data, len);
/gem5/util/
H A Dhgstyle.py71 file_data = fctx.data()
72 lines = mdiff.splitnewlines(file_data)
74 mod_regions = modified_regions(pctx[0].data(), file_data)
76 m2 = modified_regions(pctx[1].data(), file_data)

Completed in 6 milliseconds