Lines Matching refs:end
237 const char *end = path + namelen; in fdt_path_offset_namelen() local
245 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen()
248 q = end; in fdt_path_offset_namelen()
258 while (p < end) { in fdt_path_offset_namelen()
263 if (p == end) in fdt_path_offset_namelen()
266 q = memchr(p, '/', end - p); in fdt_path_offset_namelen()
268 q = end; in fdt_path_offset_namelen()
700 const char *list, *end; in fdt_stringlist_count() local
707 end = list + length; in fdt_stringlist_count()
709 while (list < end) { in fdt_stringlist_count()
710 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
713 if (list + length > end) in fdt_stringlist_count()
727 const char *list, *end; in fdt_stringlist_search() local
734 end = list + length; in fdt_stringlist_search()
736 while (list < end) { in fdt_stringlist_search()
737 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
740 if (list + length > end) in fdt_stringlist_search()
757 const char *list, *end; in fdt_stringlist_get() local
768 end = list + length; in fdt_stringlist_get()
770 while (list < end) { in fdt_stringlist_get()
771 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
774 if (list + length > end) { in fdt_stringlist_get()