/external/u-boot/scripts/dtc/libfdt/ |
D | fdt_ro.c | 292 int *lenp) in fdt_get_property_by_offset_() argument 298 if (lenp) in fdt_get_property_by_offset_() 299 *lenp = err; in fdt_get_property_by_offset_() 305 if (lenp) in fdt_get_property_by_offset_() 306 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset_() 313 int *lenp) in fdt_get_property_by_offset() argument 319 if (lenp) in fdt_get_property_by_offset() 320 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_by_offset() 324 return fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_by_offset() 331 int *lenp, in fdt_get_property_namelen_() argument [all …]
|
D | libfdt.h | 449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 548 int *lenp); 565 int namelen, int *lenp); 597 const char *name, int *lenp); 600 int *lenp) in fdt_get_property_w() argument 603 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 639 const char **namep, int *lenp); 655 const char *name, int namelen, int *lenp); 658 int *lenp) in fdt_getprop_namelen_w() argument 661 namelen, lenp); in fdt_getprop_namelen_w() [all …]
|
D | fdt.c | 96 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() 126 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag() 127 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
|
/external/u-boot/lib/ |
D | gzip.c | 38 int gzip(void *dst, unsigned long *lenp, in gzip() argument 41 return zzip(dst, lenp, src, srclen, 1, NULL); in gzip() 47 int zzip(void *dst, unsigned long *lenp, unsigned char *src, in zzip() argument 63 orig = *lenp; in zzip() 86 left_len = (*lenp > CONFIG_GZIP_COMPRESS_DEF_SZ) ? in zzip() 87 CONFIG_GZIP_COMPRESS_DEF_SZ : *lenp; in zzip() 98 *lenp -= (left_len - s.avail_out); in zzip() 105 } while (s.avail_out == 0 && (*lenp > 0)); in zzip() 111 if (*lenp == 0) { in zzip() 124 *lenp = orig - *lenp; in zzip()
|
D | gunzip.c | 72 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument 74 int offset = gzip_parse_header(src, *lenp); in gunzip() 79 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip() 275 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument 291 s.avail_in = *lenp - offset; in zunzip() 303 *lenp = s.next_out - (unsigned char *) dst; in zunzip()
|
/external/openssh/ |
D | sshbuf-getput-basic.c | 97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() argument 105 if (lenp != NULL) in sshbuf_get_string() 106 *lenp = 0; in sshbuf_get_string() 118 if (lenp != NULL) in sshbuf_get_string() 119 *lenp = len; in sshbuf_get_string() 124 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct() argument 132 if (lenp != NULL) in sshbuf_get_string_direct() 133 *lenp = 0; in sshbuf_get_string_direct() 138 if (lenp != NULL) in sshbuf_get_string_direct() 139 *lenp = len; in sshbuf_get_string_direct() [all …]
|
D | ssh-dss.c | 50 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_dss_sign() argument 59 if (lenp != NULL) in ssh_dss_sign() 60 *lenp = 0; in ssh_dss_sign() 97 if (lenp != NULL) in ssh_dss_sign() 98 *lenp = SIGBLOB_LEN; in ssh_dss_sign() 117 if (lenp != NULL) in ssh_dss_sign() 118 *lenp = len; in ssh_dss_sign()
|
D | key.c | 109 key_to_blob(const Key *key, u_char **blobp, u_int *lenp) in key_to_blob() argument 117 if (lenp != NULL) in key_to_blob() 118 *lenp = 0; in key_to_blob() 128 if (lenp != NULL) in key_to_blob() 129 *lenp = blen; in key_to_blob() 134 key_sign(const Key *key, u_char **sigp, u_int *lenp, in key_sign() argument 143 if (lenp != NULL) in key_sign() 144 *lenp = 0; in key_sign() 155 if (lenp != NULL) in key_sign() 156 *lenp = siglen; in key_sign()
|
D | ssh-ecdsa.c | 48 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ecdsa_sign() argument 58 if (lenp != NULL) in ssh_ecdsa_sign() 59 *lenp = 0; in ssh_ecdsa_sign() 97 if (lenp != NULL) in ssh_ecdsa_sign() 98 *lenp = len; in ssh_ecdsa_sign()
|
D | ssh-ed25519.c | 36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ed25519_sign() argument 45 if (lenp != NULL) in ssh_ed25519_sign() 46 *lenp = 0; in ssh_ed25519_sign() 80 if (lenp != NULL) in ssh_ed25519_sign() 81 *lenp = len; in ssh_ed25519_sign()
|
D | sshkey.h | 125 int, u_char **retp, size_t *lenp); 197 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, 201 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 206 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 211 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
|
D | ssh-rsa.c | 83 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_rsa_sign() argument 92 if (lenp != NULL) in ssh_rsa_sign() 93 *lenp = 0; in ssh_rsa_sign() 150 if (lenp != NULL) in ssh_rsa_sign() 151 *lenp = len; in ssh_rsa_sign()
|
D | sshbuf.h | 193 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp); 194 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp); 206 size_t *lenp); 213 size_t *lenp); 221 const u_char **valp, size_t *lenp);
|
D | packet.h | 192 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 193 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 194 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 199 const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
|
/external/u-boot/lib/libfdt/ |
D | fdt_ro.c | 252 int *lenp) in fdt_get_property_by_offset() argument 258 if (lenp) in fdt_get_property_by_offset() 259 *lenp = err; in fdt_get_property_by_offset() 265 if (lenp) in fdt_get_property_by_offset() 266 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset() 274 int namelen, int *lenp) in fdt_get_property_namelen() argument 281 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { in fdt_get_property_namelen() 290 if (lenp) in fdt_get_property_namelen() 291 *lenp = offset; in fdt_get_property_namelen() 297 const char *name, int *lenp) in fdt_get_property() argument [all …]
|
/external/dtc/libfdt/ |
D | fdt_ro.c | 273 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 …]
|
D | libfdt.h | 449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 545 int *lenp); 562 int namelen, int *lenp); 594 const char *name, int *lenp); 597 int *lenp) in fdt_get_property_w() argument 600 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 636 const char **namep, int *lenp); 652 const char *name, int namelen, int *lenp); 655 int *lenp) in fdt_getprop_namelen_w() argument 658 namelen, lenp); in fdt_getprop_namelen_w() [all …]
|
D | fdt.c | 96 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()
|
/external/dtc/ |
D | util.c | 81 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()
|
/external/u-boot/scripts/dtc/ |
D | util.c | 81 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()
|
/external/elfutils/libdw/ |
D | dwarf_getstring.c | 39 dwarf_getstring (Dwarf *dbg, Dwarf_Off offset, size_t *lenp) in dwarf_getstring() argument 59 if (lenp != NULL) in dwarf_getstring() 60 *lenp = endp - result; in dwarf_getstring()
|
/external/u-boot/drivers/misc/ |
D | swap_case.c | 229 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument 243 *lenp = 0; in sandbox_swap_case_map_physmem() 245 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
|
/external/u-boot/drivers/core/ |
D | of_access.c | 123 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()
|
/external/libpcap/ |
D | pcap-npf.c | 144 oid_get_request(ADAPTER *adapter, bpf_u_int32 oid, void *data, size_t *lenp, in oid_get_request() argument 156 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); in oid_get_request() 167 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ in oid_get_request() 181 *lenp = oid_data_arg->Length; in oid_get_request() 186 memcpy(data, oid_data_arg->Data, *lenp); in oid_get_request() 337 pcap_oid_get_request_npf(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp) in pcap_oid_get_request_npf() argument 341 return (oid_get_request(pw->adapter, oid, data, lenp, p->errbuf)); in pcap_oid_get_request_npf() 346 size_t *lenp) in pcap_oid_set_request_npf() argument 359 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); in pcap_oid_set_request_npf() 367 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ in pcap_oid_set_request_npf() [all …]
|
/external/u-boot/include/dm/ |
D | of_access.h | 91 const char *name, int *lenp); 104 int *lenp);
|