Home
last modified time | relevance | path

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

/system/libufdt/tests/src/
Dextract_dtb.c49 int tag_pos = find_dtb_header_pos(buf, buf_size); in find_and_write_dtb() local
50 if (tag_pos < 0) { in find_and_write_dtb()
55 const char *fdt_ptr = buf + tag_pos; in find_and_write_dtb()
63 size_t fdt_actual_size = buf_size - tag_pos; in find_and_write_dtb()
91 return tag_pos; in find_and_write_dtb()
110 int tag_pos; in extract_dtbs() local
113 tag_pos = find_and_write_dtb(filename, buf, buf_size); in extract_dtbs()
115 tag_pos = find_and_write_dtb(out_dtb_filename, buf, buf_size); in extract_dtbs()
117 if (tag_pos < 0) { in extract_dtbs()
121 buf_size = tag_pos; in extract_dtbs()