Lines Matching refs:size
65 int size; member
99 s->size = 0; in get_symbol_from_map()
166 s->size = 0; in get_symbol_from_table()
176 s->size = elf_sym->st_size; in get_symbol_from_table()
201 static void *map_file(char *file_name, int *size) in map_file() argument
217 *size = st.st_size; in map_file()
218 map = mmap(NULL, *size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in map_file()
228 static char *read_file(char *file_name, int *size) in read_file() argument
244 *size = st.st_size; in read_file()
245 buf = malloc(*size); in read_file()
251 if (read(fd, buf, *size) != *size) { in read_file()
264 info("size: %d\n", s->size); in print_sym()
363 cert_sym.size = used_sym.address - cert_sym.address; in main()
383 if (cert_sym.size < cert_size) { in main()
399 if (cert_size < cert_sym.size) in main()
401 0, cert_sym.size - cert_size); in main()
408 cert_sym.size); in main()