Searched defs:newlen (Results 1 - 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dns_print.c704 size_t newlen, save_buflen = *buflen; local
711 newlen = prune_origin(*buf, origin);
712 if ((origin == NULL || origin[0] == '\0' || (*buf)[newlen] == '\0') &&
713 (newlen == 0 || (*buf)[newlen - 1] != '.')) {
715 if (newlen + 2 > *buflen)
717 (*buf)[newlen++] = '.';
718 (*buf)[newlen] = '\0';
720 if (newlen == 0) {
722 if (newlen
[all...]
H A Dres_debug.c325 int n, newlen; local
329 newlen = (int)strlen(name);
330 if (newlen == 0 || name[newlen - 1] != '.') {
331 if (newlen + 1 >= namelen) /* Lack space for final dot */
334 strcpy(name + newlen, ".");
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
H A Dfdt_rw.c97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) argument
104 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt)))
106 memmove(p + newlen, p + oldlen, end - p - oldlen);
124 int oldlen, int newlen)
126 int delta = newlen - oldlen;
129 err = _fdt_splice(fdt, p, oldlen, newlen);
138 static int _fdt_splice_string(void *fdt, int newlen) argument
144 err = _fdt_splice(fdt, p, 0, newlen);
148 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) + newlen);
257 int oldlen, newlen; local
123 _fdt_splice_struct(void *fdt, void *p, int oldlen, int newlen) argument
299 int err, oldlen, newlen; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
H A Dtokenizer.c896 size_t newlen = oldlen + strlen(newtok); local
898 buf = (char *)PyMem_REALLOC(buf, newlen+1);
912 tok->inp = tok->buf + newlen;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
H A Dtokenizer.c876 size_t newlen = oldlen + strlen(newtok); local
878 buf = (char *)PyMem_REALLOC(buf, newlen+1);
892 tok->inp = tok->buf + newlen;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_elementtree.c1338 Py_ssize_t start, stop, step, slicelen, newlen, cur, i; local
1353 newlen = 0;
1363 newlen = PySequence_Size(seq);
1366 if (step != 1 && newlen != slicelen)
1376 newlen, slicelen
1383 if (newlen > slicelen) {
1384 if (element_resize(self, newlen - slicelen) < 0) {
1408 if (newlen < slicelen) {
1411 self->extra->children[i + newlen - slicelen] = self->extra->children[i];
1412 } else if (newlen > slicele
[all...]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A Dsysctl.h117 size_t newlen; member in struct:sysctl_req
489 size_t *oldlenp, void *new, size_t newlen,
493 size_t *oldlenp, int inkernel, void *new, size_t newlen,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dstringobject.c615 Py_ssize_t newlen = recode_encoding ? 4*len:len; local
616 v = PyString_FromStringAndSize((char *)NULL, newlen);
751 if (p-buf < newlen)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dstringobject.c615 Py_ssize_t newlen = recode_encoding ? 4*len:len; local
616 v = PyString_FromStringAndSize((char *)NULL, newlen);
747 if (p-buf < newlen && _PyString_Resize(&v, p - buf))

Completed in 462 milliseconds