Searched refs:bytes_read (Results 1 - 7 of 7) sorted by relevance

/gem5/src/dev/sparc/
H A Dmm_disk.cc78 off_t bytes_read = local
81 assert(bytes_read == SectorSize);
136 off_t bytes_read = local
139 assert(bytes_read == SectorSize);
180 int bytes_read = local
183 assert(bytes_read == SectorSize);
/gem5/src/mem/
H A Dphysical.cc430 uint32_t bytes_read; local
432 bytes_read = gzread(compressed_mem, temp_page, chunk_size);
433 if (bytes_read == 0)
436 assert(bytes_read % sizeof(long) == 0);
438 for (uint32_t x = 0; x < bytes_read / sizeof(long); x++) {
446 curr_size += bytes_read;
/gem5/ext/iostream3/
H A Dzfstream.cc197 int bytes_read = gzread(file, buffer, buffer_size); local
199 if (bytes_read <= 0)
206 this->setg(buffer, buffer, buffer + bytes_read);
/gem5/ext/googletest/googletest/src/
H A Dgtest-port.cc1086 size_t bytes_read = 0; // # of bytes read so far
1093 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
1094 bytes_read += bytes_last_read;
1095 } while (bytes_last_read > 0 && bytes_read < file_size);
1097 const std::string content(buffer, bytes_read);
H A Dgtest-death-test.cc438 int bytes_read; local
445 bytes_read = posix::Read(read_fd(), &flag, 1);
446 } while (bytes_read == -1 && errno == EINTR);
448 if (bytes_read == 0) {
450 } else if (bytes_read == 1) {
/gem5/util/streamline/
H A Dm5stats2streamline.py1158 bytes_read = open(frame_path + "/" + fn, "rb").read()
1161 bytes_read = gzip.open(frame_path + "/" + fn, "rb").read()
1163 userspace_body += int32(len(bytes_read))
1164 userspace_body += bytes_read
/gem5/src/sim/
H A Dsyscall_emul.hh2637 int bytes_read = read(sim_fd, buf_arg.bufferPtr(), nbytes); local
2639 if (bytes_read > 0)
2642 return (bytes_read == -1) ? -errno : bytes_read;

Completed in 39 milliseconds