Searched refs:file_buf_size (Results 1 – 2 of 2) sorted by relevance
/external/valgrind/main/tests/ |
D | s390x_features.c | 117 size_t num_bytes, file_buf_size; in get_host() local 130 file_buf_size = 1000; in get_host() 131 file_buf = malloc(file_buf_size + 1); in get_host() 134 n = read(fh, file_buf, file_buf_size); in get_host() 138 if (n < file_buf_size) break; /* reached EOF */ in get_host() 143 if (num_bytes > file_buf_size) { in get_host()
|
/external/valgrind/main/coregrind/ |
D | m_machine.c | 559 SizeT num_bytes, file_buf_size; in VG_() local 573 file_buf_size = 1000; in VG_() 574 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); in VG_() 576 n = VG_(read)(fh, file_buf, file_buf_size); in VG_() 580 if (n < file_buf_size) break; /* reached EOF */ in VG_() 585 if (num_bytes > file_buf_size) { in VG_() 648 SizeT num_bytes, file_buf_size; in VG_() local 662 file_buf_size = 1000; in VG_() 663 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); in VG_() 665 n = VG_(read)(fh, file_buf, file_buf_size); in VG_() [all …]
|