Home
last modified time | relevance | path

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

12

/third_party/uboot/u-boot-2020.01/lib/libfdt/
Dfdt_ro.c38 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument
49 if (lenp) in fdt_get_string()
50 *lenp = strlen(s); in fdt_get_string()
92 if (lenp) in fdt_get_string()
93 *lenp = n - s; in fdt_get_string()
97 if (lenp) in fdt_get_string()
98 *lenp = err; in fdt_get_string()
361 int *lenp) in fdt_get_property_by_offset_() argument
367 if (lenp) in fdt_get_property_by_offset_()
368 *lenp = err; in fdt_get_property_by_offset_()
[all …]
/third_party/uboot/u-boot-2020.01/scripts/dtc/libfdt/
Dfdt_ro.c34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument
45 if (lenp) in fdt_get_string()
46 *lenp = strlen(s); in fdt_get_string()
88 if (lenp) in fdt_get_string()
89 *lenp = n - s; in fdt_get_string()
93 if (lenp) in fdt_get_string()
94 *lenp = err; in fdt_get_string()
357 int *lenp) in fdt_get_property_by_offset_() argument
363 if (lenp) in fdt_get_property_by_offset_()
364 *lenp = err; in fdt_get_property_by_offset_()
[all …]
Dlibfdt.h336 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
541 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
640 int *lenp);
657 int namelen, int *lenp);
689 const char *name, int *lenp);
692 int *lenp) in fdt_get_property_w() argument
695 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
731 const char **namep, int *lenp);
747 const char *name, int namelen, int *lenp);
750 int *lenp) in fdt_getprop_namelen_w() argument
[all …]
Dfdt.c152 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
176 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
177 if (fdt_chk_basic() && !lenp) in fdt_next_tag()
181 + fdt32_to_cpu(*lenp); in fdt_next_tag()
183 fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
184 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
/third_party/uboot/u-boot-2020.01/lib/
Dgzip.c39 int gzip(void *dst, unsigned long *lenp, in gzip() argument
42 return zzip(dst, lenp, src, srclen, 1, NULL); in gzip()
48 int zzip(void *dst, unsigned long *lenp, unsigned char *src, in zzip() argument
64 orig = *lenp; in zzip()
87 left_len = (*lenp > CONFIG_GZIP_COMPRESS_DEF_SZ) ? in zzip()
88 CONFIG_GZIP_COMPRESS_DEF_SZ : *lenp; in zzip()
99 *lenp -= (left_len - s.avail_out); in zzip()
106 } while (s.avail_out == 0 && (*lenp > 0)); in zzip()
112 if (*lenp == 0) { in zzip()
125 *lenp = orig - *lenp; in zzip()
Dgunzip.c74 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument
76 int offset = gzip_parse_header(src, *lenp); in gunzip()
81 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip()
277 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument
293 s.avail_in = *lenp - offset; in zunzip()
305 *lenp = s.next_out - (unsigned char *) dst; in zunzip()
/third_party/uboot/u-boot-2020.01/include/
Dgzip.h30 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp);
43 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
87 int gzip(void *dst, unsigned long *lenp, unsigned char *src, ulong srclen);
100 int zzip(void *dst, ulong *lenp, unsigned char *src, ulong srclen,
Dlcd.h21 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
/third_party/uboot/u-boot-2020.01/drivers/misc/
Dswap_case.c306 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument
322 *lenp = 4; in sandbox_swap_case_map_physmem()
326 *lenp = barinfo[1].size - 1; in sandbox_swap_case_map_physmem()
331 *lenp = PCI_CAP_EA_SIZE_LO; in sandbox_swap_case_map_physmem()
336 *lenp = (PCI_CAP_EA_SIZE_HI << 32) | in sandbox_swap_case_map_physmem()
353 *lenp = 0; in sandbox_swap_case_map_physmem()
355 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
/third_party/uboot/u-boot-2020.01/scripts/dtc/
Dutil.c81 int lenp = strlen(path); in join_path() local
87 len = lenp + lenn + 2; in join_path()
88 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
94 memcpy(str, path, lenp); in join_path()
96 str[lenp] = '/'; in join_path()
97 lenp++; in join_path()
99 memcpy(str+lenp, name, lenn+1); in join_path()
/third_party/uboot/u-boot-2020.01/drivers/core/
Dof_access.c123 const char *name, int *lenp) in of_find_property() argument
132 if (lenp) in of_find_property()
133 *lenp = pp->length; in of_find_property()
137 if (!pp && lenp) in of_find_property()
138 *lenp = -FDT_ERR_NOTFOUND; in of_find_property()
166 int *lenp) in of_get_property() argument
168 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
Dread.c236 const void *dev_read_prop(struct udevice *dev, const char *propname, int *lenp) in dev_read_prop() argument
238 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
/third_party/uboot/u-boot-2020.01/include/dm/
Dof_access.h91 const char *name, int *lenp);
104 int *lenp);
Dread.h466 const void *dev_read_prop(struct udevice *dev, const char *propname, int *lenp);
810 const char *propname, int *lenp) in dev_read_prop() argument
812 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
/third_party/uboot/u-boot-2020.01/arch/sandbox/lib/
Dpci_io.c16 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, in pci_map_physmem() argument
30 ret = (ops->map_physmem)(dev, paddr, lenp, ptrp); in pci_map_physmem()
/third_party/uboot/u-boot-2020.01/arch/sandbox/include/asm/
Du-boot-sandbox.h49 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp,
/third_party/uboot/u-boot-2020.01/cmd/
Dbmp.c39 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
86 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpcie_layerscape_gen4_fixup.c115 int lenp; in fdt_pcie_set_iommu_map_entry() local
129 prop = fdt_getprop_w(blob, nodeoff, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry()
Dpcie_layerscape_fixup.c131 int lenp; in fdt_pcie_set_iommu_map_entry() local
157 prop = fdt_getprop_w(blob, nodeoffset, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry()
/third_party/ffmpeg/libavcodec/
Dhtmlsubtitles.c102 static int scantag(const char* in, char* buffer, int* lenp) { in scantag() argument
114 *lenp = len+1; in scantag()
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlregexp.c4193 int lenn, lenp, ret; in xmlRegExecPushString2() local
4207 lenp = strlen((char *) value); in xmlRegExecPushString2()
4209 if (150 < lenn + lenp + 2) { in xmlRegExecPushString2()
4210 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2()
4218 memcpy(&str[0], value, lenp); in xmlRegExecPushString2()
4219 str[lenp] = XML_REG_STRING_SEPARATOR; in xmlRegExecPushString2()
4220 memcpy(&str[lenp + 1], value2, lenn); in xmlRegExecPushString2()
4221 str[lenn + lenp + 1] = 0; in xmlRegExecPushString2()
5795 int lenn, lenp; in xmlAutomataNewTransition2() local
5799 lenp = strlen((char *) token); in xmlAutomataNewTransition2()
[all …]
/third_party/libxml2/
Dxmlregexp.c4229 int lenn, lenp, ret; in xmlRegExecPushString2() local
4243 lenp = strlen((char *) value); in xmlRegExecPushString2()
4245 if (150 < lenn + lenp + 2) { in xmlRegExecPushString2()
4246 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2()
4254 memcpy(&str[0], value, lenp); in xmlRegExecPushString2()
4255 str[lenp] = XML_REG_STRING_SEPARATOR; in xmlRegExecPushString2()
4256 memcpy(&str[lenp + 1], value2, lenn); in xmlRegExecPushString2()
4257 str[lenn + lenp + 1] = 0; in xmlRegExecPushString2()
5850 int lenn, lenp; in xmlAutomataNewTransition2() local
5854 lenp = strlen((char *) token); in xmlAutomataNewTransition2()
[all …]
/third_party/uboot/u-boot-2020.01/tools/
Dimage-host.c645 int *lenp, int *allow_missingp) in fit_config_get_image_list() argument
652 prop = fdt_getprop(fit, noffset, "sign-images", lenp); in fit_config_get_image_list()
655 return *lenp ? prop : NULL; in fit_config_get_image_list()
660 *lenp = sizeof(default_list); in fit_config_get_image_list()
/third_party/uboot/u-boot-2020.01/net/
Dnet.c904 static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp) in __net_defragment() argument
1023 *lenp = total_len + IP_HDR_SIZE; in __net_defragment()
1028 int *lenp) in net_defragment() argument
1033 return __net_defragment(ip, lenp); in net_defragment()
1039 int *lenp) in net_defragment() argument
/third_party/lwip/src/netif/ppp/
Dlcp.c220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */
224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */
834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci() argument
932 if (ucp - start_ucp != *lenp) { in lcp_addci()
1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci() argument
1835 int l = *lenp; /* Length left */ in lcp_reqci()
2265 *lenp = next - inp; in lcp_reqci()
2271 *lenp = nakoutp - (u_char*)nakp->payload; in lcp_reqci()
2272 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci()
2275 *lenp = rejp - inp; in lcp_reqci()

12