Home
last modified time | relevance | path

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

/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_rw.c97 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument
102 if (((p + oldlen) < p) || ((p + oldlen) > end)) in fdt_splice_()
104 if ((p < (char *)fdt) || ((end - oldlen + newlen) < (char *)fdt)) in fdt_splice_()
106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in fdt_splice_()
108 memmove(p + newlen, p + oldlen, end - p - oldlen); in fdt_splice_()
126 int oldlen, int newlen) in fdt_splice_struct_() argument
128 int delta = newlen - oldlen; in fdt_splice_struct_()
131 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_()
206 int oldlen; in fdt_resize_property_() local
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
[all …]
/openbmc/qemu/bsd-user/freebsd/
H A Dos-sys.c257 size_t holdlen, oldlen; in do_freebsd_sysctl_oid() local
262 holdlen = oldlen = *holdlenp; in do_freebsd_sysctl_oid()
270 if (oldlen) { in do_freebsd_sysctl_oid()
278 if (oldlen) { in do_freebsd_sysctl_oid()
295 strlcpy(holdp, TARGET_HW_MACHINE, oldlen); in do_freebsd_sysctl_oid()
304 strlcpy(holdp, TARGET_HW_MACHINE_ARCH, oldlen); in do_freebsd_sysctl_oid()
310 if (oldlen) { in do_freebsd_sysctl_oid()
318 if (oldlen) { in do_freebsd_sysctl_oid()
335 if (oldlen) { in do_freebsd_sysctl_oid()
379 if (oldlen) { in do_freebsd_sysctl_oid()
[all …]
/openbmc/qemu/include/gdbstub/
H A Dhelpers.h85 guint oldlen = array->len; in gdb_get_zeroes() local
86 g_byte_array_set_size(array, oldlen + len); in gdb_get_zeroes()
87 memset(array->data + oldlen, 0, len); in gdb_get_zeroes()