Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
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 …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
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 ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
106 memmove(p + newlen, p + oldlen, end - p - oldlen); in _fdt_splice()
124 int oldlen, int newlen) in _fdt_splice_struct() argument
126 int delta = newlen - oldlen; in _fdt_splice_struct()
129 err = _fdt_splice(fdt, p, oldlen, newlen); in _fdt_splice_struct()
210 int oldlen; in _fdt_resize_property() local
213 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property()
215 return oldlen; in _fdt_resize_property()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c875 size_t oldlen = tok->cur - tok->buf; in tok_nextc() local
876 size_t newlen = oldlen + strlen(newtok); in tok_nextc()
888 tok->cur = tok->buf + oldlen; in tok_nextc()
890 strcpy(tok->buf + oldlen, newtok); in tok_nextc()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c895 size_t oldlen = tok->cur - tok->buf; in tok_nextc() local
896 size_t newlen = oldlen + strlen(newtok); in tok_nextc()
908 tok->cur = tok->buf + oldlen; in tok_nextc()
910 strcpy(tok->buf + oldlen, newtok); in tok_nextc()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dsysctl.h113 size_t oldlen; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dpgen.py160 oldlen = len(dfa)