/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/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()
|
D | savefile.c | 171 size_t *lenp _U_) in sf_oid_get_request() 180 size_t *lenp _U_) in sf_oid_set_request()
|
D | pcap.c | 1741 pcap_oid_get_request(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp) in pcap_oid_get_request() argument 1743 return (p->oid_get_request_op(p, oid, data, lenp)); in pcap_oid_get_request() 1748 size_t *lenp _U_) in pcap_oid_get_request_dead() 1756 pcap_oid_set_request(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp) in pcap_oid_set_request() argument 1758 return (p->oid_set_request_op(p, oid, data, lenp)); in pcap_oid_set_request() 1763 size_t *lenp _U_) in pcap_oid_set_request_dead()
|
D | pcap-tc.c | 136 static int TcOidGetRequest(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp); 137 static int TcOidSetRequest(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp); 1231 TcOidGetRequest(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, size_t *lenp _U_) in TcOidGetRequest() 1240 size_t *lenp _U_) in TcOidSetRequest()
|
/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()
|
D | pfkey.c | 2827 pk_recv(so, lenp) in pk_recv() argument 2829 int *lenp; 2835 *lenp = -1; 2839 *lenp = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK | MSG_DONTWAIT); 2842 while (*lenp < 0 && errno == EAGAIN && retry < 3); 2844 if (*lenp < 0) 2847 else if (*lenp < sizeof(buf)) 2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK); 2855 if (*lenp < 0) { 2858 } else if (*lenp != reallen) { [all …]
|
D | privsep.c | 102 privsep_recv(sock, bufp, lenp) in privsep_recv() argument 105 size_t *lenp; 112 *lenp = 0; 159 *lenp = len;
|
/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;
|
D | ipv6cp.c | 563 ipv6cp_addci(f, ucp, lenp) in ipv6cp_addci() argument 566 int *lenp; 569 int len = *lenp; 599 *lenp -= len;
|
/external/iptables/extensions/ |
D | libxt_bpf.c | 79 static void bpf_parse_string(struct sock_filter *pc, __u16 *lenp, __u16 len_max, in bpf_parse_string() argument 121 *lenp = len; in bpf_parse_string()
|
/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()
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | lcp.c | 562 lcp_addci(fsm *f, u_char *ucp, int *lenp) in lcp_addci() argument 621 if (ucp - start_ucp != *lenp) { in lcp_addci() 1225 int *lenp, /* Length of requested CIs */ in lcp_reqci() argument 1241 int l = *lenp; /* Length left */ in lcp_reqci() 1612 *lenp = (int)(next - inp); in lcp_reqci() 1618 *lenp = (int)(nakp - nak_buffer); in lcp_reqci() 1619 BCOPY(nak_buffer, inp, *lenp); in lcp_reqci() 1622 *lenp = (int)(rejp - inp); in lcp_reqci()
|
D | ipcp.c | 348 ipcp_addci(fsm *f, u_char *ucp, int *lenp) in ipcp_addci() argument 351 int len = *lenp; in ipcp_addci() 413 *lenp -= len; in ipcp_addci()
|
/external/iproute2/lib/ |
D | utils.c | 1096 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument 1101 cc = getline(linep, lenp, in); in getcmdline() 1128 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline() 1129 *linep = realloc(*linep, *lenp); in getcmdline() 1132 *lenp = 0; in getcmdline()
|
/external/python/cpython2/Objects/ |
D | bufferobject.c | 778 buffer_getsegcount(PyBufferObject *self, Py_ssize_t *lenp) in buffer_getsegcount() argument 784 if (lenp) in buffer_getsegcount() 785 *lenp = size; in buffer_getsegcount()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 3389 OPJ_OFF_T len, lenp; 3391 lenp = opj_stream_tell(cio); 3411 len = opj_stream_tell(cio) - lenp; 3412 opj_stream_skip(cio, lenp, p_manager); 3415 opj_stream_seek(cio, lenp + len, p_manager); 3426 OPJ_OFF_T len, lenp; 3428 lenp = opj_stream_tell(cio); 3435 len = opj_stream_tell(cio) - lenp; 3436 opj_stream_skip(cio, lenp, p_manager); 3439 opj_stream_seek(cio, lenp + len, p_manager);
|
/external/dtc/pylibfdt/ |
D | libfdt.i | 408 %apply int *OUTPUT { int *lenp };
|
/external/python/cpython2/Modules/ |
D | mmapmodule.c | 711 mmap_buffer_getsegcount(mmap_object *self, Py_ssize_t *lenp) in mmap_buffer_getsegcount() argument 714 if (lenp) in mmap_buffer_getsegcount() 715 *lenp = self->size; in mmap_buffer_getsegcount()
|