Home
last modified time | relevance | path

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

/trusted-firmware-a-3.6.0-3.5.0/lib/libfdt/
Dfdt_sw.c252 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_add_string_() local
262 memcpy(strtab - offset, s, len); in fdt_add_string_()
278 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_() local
284 p = fdt_find_string_(strtab - strtabsize, strtabsize, s); in fdt_find_add_string_()
286 return p - strtab; in fdt_find_add_string_()
Dfdt.c315 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
318 const char *last = strtab + tabsize - len; in fdt_find_string_()
321 for (p = strtab; p <= last; p++) in fdt_find_string_()
Dfdt_rw.c129 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); in fdt_find_add_string_() local
138 p = fdt_find_string_(strtab, fdt_size_dt_strings(fdt), s); in fdt_find_add_string_()
141 return (p - strtab); in fdt_find_add_string_()
143 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_()
152 return (new - strtab); in fdt_find_add_string_()
Dlibfdt_internal.h23 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);