Searched refs:file_buf_size (Results 1 – 2 of 2) sorted by relevance
/external/valgrind/main/tests/ |
D | s390x_features.c | 113 size_t num_bytes, file_buf_size; in get_host() local 127 file_buf_size = 1000; in get_host() 128 file_buf = malloc(file_buf_size + 1); in get_host() 131 n = read(fh, file_buf, file_buf_size); in get_host() 135 if (n < file_buf_size) break; /* reached EOF */ in get_host() 140 if (num_bytes > file_buf_size) { in get_host()
|
/external/valgrind/main/coregrind/ |
D | m_machine.c | 538 SizeT num_bytes, file_buf_size; in VG_() local 552 file_buf_size = 1000; in VG_() 553 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); in VG_() 555 n = VG_(read)(fh, file_buf, file_buf_size); in VG_() 559 if (n < file_buf_size) break; /* reached EOF */ in VG_() 564 if (num_bytes > file_buf_size) { in VG_() 625 SizeT num_bytes, file_buf_size; in VG_() local 639 file_buf_size = 1000; in VG_() 640 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); in VG_() 642 n = VG_(read)(fh, file_buf, file_buf_size); in VG_() [all …]
|