Home
last modified time | relevance | path

Searched refs:file_sz (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap01.c59 static size_t file_sz; variable
97 if (memcmp(&addr[file_sz], dummy, page_sz - file_sz)) { in main()
106 addr[file_sz] = 'X'; in main()
107 addr[file_sz + 1] = 'Y'; in main()
108 addr[file_sz + 2] = 'Z'; in main()
176 file_sz = stat_buf.st_size; in setup()
/external/syslinux/com32/modules/
Dhexdump.c33 size_t file_sz; in main() local
90 if (loadfile(filename, &file_data, &file_sz)) { in main()
95 file_sz = BYTES_PER_PAGE; in main()
96 file_data = malloc(file_sz); in main()
115 len = fread(file_data, 1, file_sz, f); in main()
119 if (file_sz < len) in main()
120 len = file_sz; in main()
136 file_sz -= len; in main()