Searched refs:stroffset (Results 1 - 2 of 2) sorted by relevance

/haiku/src/libs/libfdt/
H A Dfdt_ro.c34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) argument
43 s = (const char *)fdt + fdt_off_dt_strings(fdt) + stroffset;
55 absoffset = stroffset + fdt_off_dt_strings(fdt);
61 if (stroffset < 0)
64 if ((unsigned)stroffset >= fdt_size_dt_strings(fdt))
66 if ((fdt_size_dt_strings(fdt) - stroffset) < len)
67 len = fdt_size_dt_strings(fdt) - stroffset;
70 unsigned int sw_stroffset = -stroffset;
72 if ((stroffset >= 0) ||
100 const char *fdt_string(const void *fdt, int stroffset) argument
105 fdt_string_eq_(const void *fdt, int stroffset, const char *s, int len) argument
[all...]
/haiku/headers/libs/libfdt/
H A Dlibfdt.h342 * @stroffset: offset of the string within the strings block (native endian)
351 * NULL, if stroffset is out of bounds, or doesn't point to a valid string
353 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
358 * @stroffset: offset of the string within the strings block (native endian)
365 * NULL, if stroffset is out of bounds, or doesn't point to a valid string
367 const char *fdt_string(const void *fdt, int stroffset);

Completed in 87 milliseconds