Home
last modified time | relevance | path

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

/external/elfutils/0.153/libdw/
Ddwarf_getstring.c60 dwarf_getstring (dbg, offset, lenp) in dwarf_getstring() argument
63 size_t *lenp;
83 if (lenp != NULL)
84 *lenp = endp - result;
Dlibdw.h545 size_t *lenp);
/external/srec/srec/crec/
Dsrec_results.c304 int lenp; in srec_nbest_get_result() local
312 lenp = (char)strlen(p); in srec_nbest_get_result()
313 if (return_len + lenp >= label_len) in srec_nbest_get_result()
319 return_len += lenp; in srec_nbest_get_result()
333 lenp = sprintf(et, "@%d", wtoken->end_time); in srec_nbest_get_result()
334 if (return_len + lenp >= label_len) in srec_nbest_get_result()
337 return_len += lenp; in srec_nbest_get_result()
340 lenp = 1; in srec_nbest_get_result()
341 if (return_len + lenp >= label_len) in srec_nbest_get_result()
344 return_len += lenp; in srec_nbest_get_result()
/external/oprofile/module/
Doprofile.c638 …t get_nr_interrupts(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) in get_nr_interrupts() argument
655 ret = proc_dointvec(table, write, filp, buffer, lenp); in get_nr_interrupts()
661 …_nr_buffer_overflow(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) in get_nr_buffer_overflow() argument
676 ret = proc_dointvec(table, write, filp, buffer, lenp); in get_nr_buffer_overflow()
682 int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) in lproc_dointvec() argument
687 err = proc_dointvec(table, write, filp, buffer, lenp); in lproc_dointvec()
702 … int sysctl_do_dump(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) in sysctl_do_dump() argument
712 err = proc_dointvec(table, write, filp, buffer, lenp); in sysctl_do_dump()
724 …sysctl_do_dump_stop(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) in sysctl_do_dump_stop() argument
734 err = proc_dointvec(table, write, filp, buffer, lenp); in sysctl_do_dump_stop()
Doprofile.h147 …int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp);
/external/ipsec-tools/src/racoon/
Dgssapi.c275 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()
Dpfkey.c2827 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 …]
Dprivsep.c102 privsep_recv(sock, bufp, lenp) in privsep_recv() argument
105 size_t *lenp;
112 *lenp = 0;
159 *lenp = len;
/external/iproute2/lib/
Dutils.c711 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument
716 if ((cc = getline(linep, lenp, in)) < 0) in getcmdline()
741 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline()
742 *linep = realloc(*linep, *lenp); in getcmdline()
745 *lenp = 0; in getcmdline()
/external/ppp/pppd/
Dccp.c689 ccp_addci(f, p, lenp) in ccp_addci() argument
692 int *lenp;
800 *lenp = p - p0;
1068 ccp_reqci(f, p, lenp, dont_nak) in ccp_reqci() argument
1071 int *lenp;
1086 len = *lenp;
1338 if (ret == CONFREJ && *lenp == retp - p0)
1341 *lenp = retp - p0;
Dlcp.c684 lcp_addci(f, ucp, lenp) in lcp_addci() argument
687 int *lenp;
756 if (ucp - start_ucp != *lenp) {
1480 lcp_reqci(f, inp, lenp, reject_if_disagree) in lcp_reqci() argument
1483 int *lenp; /* Length of requested CIs */
1498 int l = *lenp; /* Length left */
1848 *lenp = next - inp;
1854 *lenp = nakp - nak_buffer;
1855 BCOPY(nak_buffer, inp, *lenp);
1858 *lenp = rejp - inp;
Dipv6cp.c554 ipv6cp_addci(f, ucp, lenp) in ipv6cp_addci() argument
557 int *lenp;
560 int len = *lenp;
590 *lenp -= len;
Dipcp.c749 ipcp_addci(f, ucp, lenp) in ipcp_addci() argument
752 int *lenp;
755 int len = *lenp;
826 *lenp -= len;
Dipxcp.c610 ipxcp_addci(f, ucp, lenp) in ipxcp_addci() argument
613 int *lenp;
/external/chromium_org/third_party/libxml/src/
Dxmlregexp.c4141 int lenn, lenp, ret; in xmlRegExecPushString2() local
4155 lenp = strlen((char *) value); in xmlRegExecPushString2()
4157 if (150 < lenn + lenp + 2) { in xmlRegExecPushString2()
4158 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2()
4166 memcpy(&str[0], value, lenp); in xmlRegExecPushString2()
4167 str[lenp] = XML_REG_STRING_SEPARATOR; in xmlRegExecPushString2()
4168 memcpy(&str[lenp + 1], value2, lenn); in xmlRegExecPushString2()
4169 str[lenn + lenp + 1] = 0; in xmlRegExecPushString2()
5739 int lenn, lenp; in xmlAutomataNewTransition2() local
5743 lenp = strlen((char *) token); in xmlAutomataNewTransition2()
[all …]
Dtree.c216 int lenn, lenp; in xmlBuildQName() local
223 lenp = strlen((char *) prefix); in xmlBuildQName()
225 if ((memory == NULL) || (len < lenn + lenp + 2)) { in xmlBuildQName()
226 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlBuildQName()
234 memcpy(&ret[0], prefix, lenp); in xmlBuildQName()
235 ret[lenp] = ':'; in xmlBuildQName()
236 memcpy(&ret[lenp + 1], ncname, lenn); in xmlBuildQName()
237 ret[lenn + lenp + 1] = 0; in xmlBuildQName()
/external/libxml2/
Dxmlregexp.c4151 int lenn, lenp, ret; in xmlRegExecPushString2() local
4165 lenp = strlen((char *) value); in xmlRegExecPushString2()
4167 if (150 < lenn + lenp + 2) { in xmlRegExecPushString2()
4168 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlRegExecPushString2()
4176 memcpy(&str[0], value, lenp); in xmlRegExecPushString2()
4177 str[lenp] = XML_REG_STRING_SEPARATOR; in xmlRegExecPushString2()
4178 memcpy(&str[lenp + 1], value2, lenn); in xmlRegExecPushString2()
4179 str[lenn + lenp + 1] = 0; in xmlRegExecPushString2()
5753 int lenn, lenp; in xmlAutomataNewTransition2() local
5757 lenp = strlen((char *) token); in xmlAutomataNewTransition2()
[all …]
Dtree.c219 int lenn, lenp; in xmlBuildQName() local
226 lenp = strlen((char *) prefix); in xmlBuildQName()
228 if ((memory == NULL) || (len < lenn + lenp + 2)) { in xmlBuildQName()
229 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2); in xmlBuildQName()
237 memcpy(&ret[0], prefix, lenp); in xmlBuildQName()
238 ret[lenp] = ':'; in xmlBuildQName()
239 memcpy(&ret[lenp + 1], ncname, lenn); in xmlBuildQName()
240 ret[lenn + lenp + 1] = 0; in xmlBuildQName()
/external/elfutils/0.153/src/
Dar.c863 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument
883 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member()
886 *lenp += (memb->next != NULL in write_member()
892 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member()
896 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off; in write_member()
907 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member()
908 *lenp -= sizeof (struct ar_hdr); in write_member()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.c2771 OPJ_OFF_T len, lenp;
2773 lenp = opj_stream_tell(cio);
2793 len = opj_stream_tell(cio)-lenp;
2794 opj_stream_skip(cio, lenp, p_manager);
2797 opj_stream_seek(cio, lenp+len,p_manager);
2807 OPJ_OFF_T len, lenp;
2809 lenp = opj_stream_tell(cio);
2816 len = opj_stream_tell(cio)-lenp;
2817 opj_stream_skip(cio, lenp, p_manager);
2820 opj_stream_seek(cio, lenp+len,p_manager);
/external/linux-tools-perf/perf-3.12.0/include/linux/
Dperf_event.h713 void __user *buffer, size_t *lenp,
716 void __user *buffer, size_t *lenp,
/external/elfutils/elfutils/
Dlibdw.h545 size_t *lenp);
/external/libpcap/
Doptimize.c2167 icode_to_fcode(struct block *root, u_int *lenp) in icode_to_fcode() argument
2178 n = *lenp = count_stmts(root); in icode_to_fcode()
/external/mksh/src/
Dedit.c181 x_do_comment(char *buf, ssize_t bsize, ssize_t *lenp) in x_do_comment() argument
183 ssize_t i, j, len = *lenp; in x_do_comment()
198 *lenp = j; in x_do_comment()
216 *lenp += n; in x_do_comment()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
Dnasm-pp.c1025 int lenp = strlen(prev->text); in tasm_join_tokens() local
1027 prev->text = nasm_realloc(prev->text, lenp + lenn + 1); in tasm_join_tokens()
1028 strncpy(prev->text + lenp, next->text, lenn + 1); in tasm_join_tokens()