Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
Dfdt_ro.c273 int *lenp) in fdt_get_property_by_offset() argument
279 if (lenp) in fdt_get_property_by_offset()
280 *lenp = err; in fdt_get_property_by_offset()
286 if (lenp) in fdt_get_property_by_offset()
287 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
295 int namelen, int *lenp) in fdt_get_property_namelen() argument
302 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { in fdt_get_property_namelen()
311 if (lenp) in fdt_get_property_namelen()
312 *lenp = offset; in fdt_get_property_namelen()
318 const char *name, int *lenp) in fdt_get_property() argument
[all …]
Dfdt.c96 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
121 if (!lenp) in fdt_next_tag()
125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dfgetstr.c98 __fgetstr(FILE *fp, size_t *lenp, int sep) in __fgetstr() argument
105 _DIAGASSERT(lenp != NULL); in __fgetstr()
113 *lenp = 0; in __fgetstr()
128 *lenp = len = p - fp->_p; in __fgetstr()
175 *lenp = len; in __fgetstr()
182 *lenp = 0; /* ??? */ in __fgetstr()
Dfgetln.c63 fgetln(FILE *fp, size_t *lenp) in __weak_alias()
68 cp = __fgetstr(fp, lenp, '\n'); in __weak_alias()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
Dfdt_ro.c241 int *lenp) in fdt_get_property_by_offset() argument
247 if (lenp) in fdt_get_property_by_offset()
248 *lenp = err; in fdt_get_property_by_offset()
254 if (lenp) in fdt_get_property_by_offset()
255 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
263 int namelen, int *lenp) in fdt_get_property_namelen() argument
270 prop = fdt_get_property_by_offset(fdt, offset, lenp); in fdt_get_property_namelen()
280 if (lenp) in fdt_get_property_namelen()
281 *lenp = offset; in fdt_get_property_namelen()
287 const char *name, int *lenp) in fdt_get_property() argument
[all …]
Dfdt.c95 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
120 if (!lenp) in fdt_next_tag()
124 + fdt32_to_cpu(*lenp); in fdt_next_tag()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dmap_v4v6.c112 _map_v4v6_hostent(struct hostent *hp, char **bpp, int *lenp) in _map_v4v6_hostent() argument
123 if (*lenp < (i + IN6ADDRSZ)) { in _map_v4v6_hostent()
129 *lenp -= i; in _map_v4v6_hostent()
133 *lenp -= IN6ADDRSZ; in _map_v4v6_hostent()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/
Dlibfdt.h438 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
534 int *lenp);
550 int namelen, int *lenp);
581 const char *name, int *lenp);
584 int *lenp) in fdt_get_property_w() argument
587 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
622 const char **namep, int *lenp);
636 const char *name, int namelen, int *lenp);
639 int *lenp) in fdt_getprop_namelen_w() argument
642 namelen, lenp); in fdt_getprop_namelen_w()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/
Dlibfdt.h365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
434 int *lenp);
450 int namelen, int *lenp);
480 const char *name, int *lenp);
483 int *lenp) in fdt_get_property_w() argument
486 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
521 const char **namep, int *lenp);
535 const char *name, int namelen, int *lenp);
565 const char *name, int *lenp);
567 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsubr_prf.c194 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument
204 if (lenp) in ksprintn()
205 *lenp = p - nbuf; in ksprintn()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbufferobject.c768 buffer_getsegcount(PyBufferObject *self, Py_ssize_t *lenp) in buffer_getsegcount() argument
774 if (lenp) in buffer_getsegcount()
775 *lenp = size; in buffer_getsegcount()
Dbytearrayobject.c87 bytearray_buffer_getsegcount(PyByteArrayObject *self, Py_ssize_t *lenp) in bytearray_buffer_getsegcount() argument
89 if ( lenp ) in bytearray_buffer_getsegcount()
90 *lenp = Py_SIZE(self); in bytearray_buffer_getsegcount()
Dstringobject.c1362 string_buffer_getsegcount(PyStringObject *self, Py_ssize_t *lenp) in string_buffer_getsegcount() argument
1364 if ( lenp ) in string_buffer_getsegcount()
1365 *lenp = Py_SIZE(self); in string_buffer_getsegcount()
Dunicodeobject.c7965 Py_ssize_t *lenp) in unicode_buffer_getsegcount() argument
7967 if (lenp) in unicode_buffer_getsegcount()
7968 *lenp = PyUnicode_GET_DATA_SIZE(self); in unicode_buffer_getsegcount()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbufferobject.c778 buffer_getsegcount(PyBufferObject *self, Py_ssize_t *lenp) in buffer_getsegcount() argument
784 if (lenp) in buffer_getsegcount()
785 *lenp = size; in buffer_getsegcount()
Dbytearrayobject.c87 bytearray_buffer_getsegcount(PyByteArrayObject *self, Py_ssize_t *lenp) in bytearray_buffer_getsegcount() argument
89 if ( lenp ) in bytearray_buffer_getsegcount()
90 *lenp = Py_SIZE(self); in bytearray_buffer_getsegcount()
Dstringobject.c1379 string_buffer_getsegcount(PyStringObject *self, Py_ssize_t *lenp) in string_buffer_getsegcount() argument
1381 if ( lenp ) in string_buffer_getsegcount()
1382 *lenp = Py_SIZE(self); in string_buffer_getsegcount()
Dunicodeobject.c8069 Py_ssize_t *lenp) in unicode_buffer_getsegcount() argument
8071 if (lenp) in unicode_buffer_getsegcount()
8072 *lenp = PyUnicode_GET_DATA_SIZE(self); in unicode_buffer_getsegcount()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DBdsLinuxFdt.c375 int lenp; in AmdStyxPrepareFdt() local
448 BootArg = fdt_getprop(fdt, node, "bootargs", &lenp); in AmdStyxPrepareFdt()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Darraymodule.c1901 array_buffer_getsegcount(arrayobject *self, Py_ssize_t *lenp) in array_buffer_getsegcount() argument
1903 if ( lenp ) in array_buffer_getsegcount()
1904 *lenp = Py_SIZE(self)*self->ob_descr->itemsize; in array_buffer_getsegcount()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Darraymodule.c1886 array_buffer_getsegcount(arrayobject *self, Py_ssize_t *lenp) in array_buffer_getsegcount() argument
1888 if ( lenp ) in array_buffer_getsegcount()
1889 *lenp = Py_SIZE(self)*self->ob_descr->itemsize; in array_buffer_getsegcount()