/external/elfutils/libdw/ |
H A D | dwarf_getstring.c | 39 dwarf_getstring (Dwarf *dbg, Dwarf_Off offset, size_t *lenp) argument 59 if (lenp != NULL) 60 *lenp = endp - result;
|
/external/dtc/libfdt/ |
H A D | fdt.c | 96 const fdt32_t *tagp, *lenp; local 120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); 121 if (!lenp) 125 + fdt32_to_cpu(*lenp);
|
H A D | libfdt.h | 425 * @lenp: pointer to an integer variable (will be overwritten) or NULL 428 * device tree node at structure block offset nodeoffset. If lenp is 430 * pointed to by lenp. 434 * If lenp is non-NULL, *lenp contains the length of that name 437 * if lenp is non-NULL *lenp contains an error code (<0): 444 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 518 * @lenp: pointer to an integer variable (will be overwritten) or NULL 522 * offset. If lenp i 588 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 643 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument 681 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument [all...] |
H A D | fdt_ro.c | 273 int *lenp) 279 if (lenp) 280 *lenp = err; 286 if (lenp) 287 *lenp = fdt32_to_cpu(prop->len); 295 int namelen, int *lenp) 302 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { 311 if (lenp) 312 *lenp = offset; 318 const char *name, int *lenp) 271 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument 292 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument 316 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 324 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument 336 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument 349 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 622 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument [all...] |
/external/openssh/ |
H A D | ssh-dss.c | 50 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument 59 if (lenp != NULL) 60 *lenp = 0; 97 if (lenp != NULL) 98 *lenp = SIGBLOB_LEN; 117 if (lenp != NULL) 118 *lenp = len;
|
H A D | ssh-ecdsa.c | 48 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument 58 if (lenp != NULL) 59 *lenp = 0; 97 if (lenp != NULL) 98 *lenp = len;
|
H A D | ssh-ed25519.c | 36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument 45 if (lenp != NULL) 46 *lenp = 0; 80 if (lenp != NULL) 81 *lenp = len;
|
H A D | ssh-rsa.c | 41 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument 51 if (lenp != NULL) 52 *lenp = 0; 105 if (lenp != NULL) 106 *lenp = len;
|
H A D | sshbuf-getput-basic.c | 95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) argument 103 if (lenp != NULL) 104 *lenp = 0; 116 if (lenp != NULL) 117 *lenp = len; 122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument 130 if (lenp != NULL) 131 *lenp = 0; 136 if (lenp != NULL) 137 *lenp 148 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) argument 179 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) argument 429 sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument [all...] |
H A D | authfd.c | 432 u_char **sigp, size_t *lenp, 442 *lenp = 0; 470 *lenp = len; 431 ssh_agent_sign(int sock, struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat) argument
|
H A D | key.c | 109 key_to_blob(const Key *key, u_char **blobp, u_int *lenp) argument 117 if (lenp != NULL) 118 *lenp = 0; 128 if (lenp != NULL) 129 *lenp = blen; 134 key_sign(const Key *key, u_char **sigp, u_int *lenp, argument 143 if (lenp != NULL) 144 *lenp = 0; 155 if (lenp != NULL) 156 *lenp [all...] |
H A D | ssh_api.c | 60 mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp, argument 265 ssh_packet_payload(struct ssh *ssh, size_t *lenp) argument 267 return sshpkt_ptr(ssh, lenp);
|
H A D | monitor_wrap.c | 220 mm_key_sign(Key *key, u_char **sigp, u_int *lenp, argument 236 *sigp = buffer_get_string(&m, lenp);
|
H A D | sshconnect2.c | 974 identity_sign(struct identity *id, u_char **sigp, size_t *lenp, argument 982 return ssh_agent_sign(id->agent_fd, id->key, sigp, lenp, 990 return (sshkey_sign(id->key, sigp, lenp, data, datalen, 995 ret = sshkey_sign(prv, sigp, lenp, data, datalen, compat); 1464 ssh_keysign(struct sshkey *key, u_char **sigp, size_t *lenp, argument 1475 *lenp = 0; 1565 if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) {
|
H A D | packet.c | 2811 sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp) argument 2813 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp); 2817 sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) argument 2819 return sshbuf_get_string_direct(ssh->state->incoming_packet, valp, lenp); 2823 sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) argument 2825 return sshbuf_get_cstring(ssh->state->incoming_packet, valp, lenp); 2861 sshpkt_ptr(struct ssh *ssh, size_t *lenp) argument 2863 if (lenp != NULL) 2864 *lenp = sshbuf_len(ssh->state->incoming_packet);
|
H A D | sshkey.c | 830 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain) argument 836 if (lenp != NULL) 837 *lenp = 0; 845 if (lenp != NULL) 846 *lenp = len; 861 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) argument 863 return to_blob(key, blobp, lenp, 0); 867 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) argument 869 return to_blob(key, blobp, lenp, 1); 874 u_char **retp, size_t *lenp) 873 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, u_char **retp, size_t *lenp) argument 2175 sshkey_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat) argument [all...] |
/external/iptables/extensions/ |
H A D | libxt_bpf.c | 77 static void bpf_parse_string(struct sock_filter *pc, __u16 *lenp, __u16 len_max, argument 119 *lenp = len;
|
/external/dtc/ |
H A D | util.c | 81 int lenp = strlen(path); local 87 len = lenp + lenn + 2; 88 if ((lenp > 0) && (path[lenp-1] == '/')) { 94 memcpy(str, path, lenp); 96 str[lenp] = '/'; 97 lenp++; 99 memcpy(str+lenp, name, lenn+1);
|
/external/ipsec-tools/src/racoon/ |
H A D | gssapi.c | 275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp) argument 333 if (lenp) 334 *lenp = itoken->length; 346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp) argument 394 if (lenp) 395 *lenp = itoken->length;
|
/external/syslinux/core/lwip/src/netif/ppp/ |
H A D | ipcp.c | 348 ipcp_addci(fsm *f, u_char *ucp, int *lenp) argument 351 int len = *lenp; 413 *lenp -= len;
|
H A D | lcp.c | 562 lcp_addci(fsm *f, u_char *ucp, int *lenp) argument 621 if (ucp - start_ucp != *lenp) { 1225 int *lenp, /* Length of requested CIs */ 1241 int l = *lenp; /* Length left */ 1612 *lenp = (int)(next - inp); 1618 *lenp = (int)(nakp - nak_buffer); 1619 BCOPY(nak_buffer, inp, *lenp); 1622 *lenp = (int)(rejp - inp); 1223 lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) argument
|
/external/elfutils/src/ |
H A D | ar.c | 852 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, argument 872 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) 875 *lenp += (memb->next != NULL 881 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) 885 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off; 896 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); 897 *lenp -= sizeof (struct ar_hdr);
|
/external/iproute2/lib/ |
H A D | utils.c | 931 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) argument 936 if ((cc = getline(linep, lenp, in)) < 0) 961 *lenp = strlen(*linep) + strlen(line1) + 1; 962 *linep = realloc(*linep, *lenp); 965 *lenp = 0;
|
/external/libpcap/ |
H A D | optimize.c | 2160 * BPF array representation. Set *lenp to the number of instructions. 2177 icode_to_fcode(struct block *root, u_int *lenp) argument 2188 n = *lenp = count_stmts(root);
|
/external/libxml2/ |
H A D | tree.c | 219 int lenn, lenp; local 226 lenp = strlen((char *) prefix); 228 if ((memory == NULL) || (len < lenn + lenp + 2)) { 229 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); 237 memcpy(&ret[0], prefix, lenp); 238 ret[lenp] = ':'; 239 memcpy(&ret[lenp + 1], ncname, lenn); 240 ret[lenn + lenp + 1] = 0;
|