/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-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 | 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 | 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 | 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 | 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 | 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);
|
D | opacket.h | 144 #define packet_get_raw(lenp) \ argument 145 sshpkt_ptr(active_state, lenp)
|
D | ssh_api.h | 96 const u_char *ssh_packet_payload(struct ssh *ssh, size_t *lenp);
|
D | sshkey.c | 829 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain) in to_blob() argument 835 if (lenp != NULL) in to_blob() 836 *lenp = 0; in to_blob() 844 if (lenp != NULL) in to_blob() 845 *lenp = len; in to_blob() 860 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument 862 return to_blob(key, blobp, lenp, 0); in sshkey_to_blob() 866 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument 868 return to_blob(key, blobp, lenp, 1); in sshkey_plain_to_blob() 873 u_char **retp, size_t *lenp) in sshkey_fingerprint_raw() 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 | 444 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 540 int *lenp); 556 int namelen, int *lenp); 587 const char *name, int *lenp); 590 int *lenp) in fdt_get_property_w() argument 593 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 628 const char **namep, int *lenp); 642 const char *name, int namelen, int *lenp); 645 int *lenp) in fdt_getprop_namelen_w() argument 648 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/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/libpcap/ |
D | pcap-win32.c | 298 pcap_oid_get_request_win32(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp) in pcap_oid_get_request_win32() argument 310 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); in pcap_oid_get_request_win32() 321 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ in pcap_oid_get_request_win32() 333 *lenp = oid_data_arg->Length; in pcap_oid_get_request_win32() 338 memcpy(data, oid_data_arg->Data, *lenp); in pcap_oid_get_request_win32() 345 size_t *lenp) in pcap_oid_set_request_win32() argument 357 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); in pcap_oid_set_request_win32() 365 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ in pcap_oid_set_request_win32() 366 memcpy(oid_data_arg->Data, data, *lenp); in pcap_oid_set_request_win32() 378 *lenp = oid_data_arg->Length; in pcap_oid_set_request_win32()
|
/external/ipsec-tools/src/racoon/ |
D | gssapi.c | 275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp) in gssapi_get_itoken() argument 333 if (lenp) in gssapi_get_itoken() 334 *lenp = itoken->length; in gssapi_get_itoken() 346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp) in gssapi_get_rtoken() argument 394 if (lenp) in gssapi_get_rtoken() 395 *lenp = itoken->length; in gssapi_get_rtoken()
|
/external/iptables/extensions/ |
D | libxt_bpf.c | 77 static void bpf_parse_string(struct sock_filter *pc, __u16 *lenp, __u16 len_max, in bpf_parse_string() argument 119 *lenp = len; in bpf_parse_string()
|
/external/iproute2/lib/ |
D | utils.c | 931 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument 936 if ((cc = getline(linep, lenp, in)) < 0) in getcmdline() 961 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline() 962 *linep = realloc(*linep, *lenp); in getcmdline() 965 *lenp = 0; in getcmdline()
|
/external/libxml2/ |
D | xmlregexp.c | 4164 int lenn, lenp, ret; in xmlRegExecPushString2() local 4178 lenp = strlen((char *) value); in xmlRegExecPushString2() 4180 if (150 < lenn + lenp + 2) { in xmlRegExecPushString2() 4181 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2() 4189 memcpy(&str[0], value, lenp); in xmlRegExecPushString2() 4190 str[lenp] = XML_REG_STRING_SEPARATOR; in xmlRegExecPushString2() 4191 memcpy(&str[lenp + 1], value2, lenn); in xmlRegExecPushString2() 4192 str[lenn + lenp + 1] = 0; in xmlRegExecPushString2() 5766 int lenn, lenp; in xmlAutomataNewTransition2() local 5770 lenp = strlen((char *) token); in xmlAutomataNewTransition2() [all …]
|
/external/ppp/pppd/ |
D | ccp.c | 689 ccp_addci(f, p, lenp) in ccp_addci() argument 692 int *lenp; 800 *lenp = p - p0; 1069 ccp_reqci(f, p, lenp, dont_nak) in ccp_reqci() argument 1072 int *lenp; 1087 len = *lenp; 1342 if (ret == CONFREJ && *lenp == retp - p0) 1345 *lenp = retp - p0;
|
D | lcp.c | 707 lcp_addci(f, ucp, lenp) in lcp_addci() argument 710 int *lenp; 779 if (ucp - start_ucp != *lenp) { 1503 lcp_reqci(f, inp, lenp, reject_if_disagree) in lcp_reqci() argument 1506 int *lenp; /* Length of requested CIs */ 1521 int l = *lenp; /* Length left */ 1871 *lenp = next - inp; 1877 *lenp = nakp - nak_buffer; 1878 BCOPY(nak_buffer, inp, *lenp); 1881 *lenp = rejp - inp;
|
/external/elfutils/src/ |
D | ar.c | 852 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument 872 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member() 875 *lenp += (memb->next != NULL in write_member() 881 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member() 885 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off; in write_member() 896 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member() 897 *lenp -= sizeof (struct ar_hdr); in write_member()
|