Searched defs:lenp (Results 1 - 12 of 12) sorted by relevance

/external/srec/srec/crec/
H A Dsrec_results.c304 int lenp; local
312 lenp = (char)strlen(p);
313 if (return_len + lenp >= label_len)
319 return_len += lenp;
333 lenp = sprintf(et, "@%d", wtoken->end_time);
334 if (return_len + lenp >= label_len)
337 return_len += lenp;
340 lenp = 1;
341 if (return_len + lenp >= label_len)
344 return_len += lenp;
[all...]
/external/ipsec-tools/src/racoon/
H A Dgssapi.c275 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/iproute2/lib/
H A Dutils.c711 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) argument
716 if ((cc = getline(linep, lenp, in)) < 0)
741 *lenp = strlen(*linep) + strlen(line1) + 1;
742 *linep = realloc(*linep, *lenp);
745 *lenp = 0;
/external/oprofile/module/
H A Doprofile.c638 static int get_nr_interrupts(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) argument
655 ret = proc_dointvec(table, write, filp, buffer, lenp);
661 static int get_nr_buffer_overflow(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) argument
676 ret = proc_dointvec(table, write, filp, buffer, lenp);
682 int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) argument
687 err = proc_dointvec(table, write, filp, buffer, lenp);
702 static int sysctl_do_dump(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) argument
712 err = proc_dointvec(table, write, filp, buffer, lenp);
724 static int sysctl_do_dump_stop(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp) argument
734 err = proc_dointvec(table, write, filp, buffer, lenp);
[all...]
/external/elfutils/0.153/src/
H A Dar.c863 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, argument
883 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off)
886 *lenp += (memb->next != NULL
892 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp))
896 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off;
907 assert ((size_t) *lenp >= sizeof (struct ar_hdr));
908 *lenp -= sizeof (struct ar_hdr);
/external/libpcap/
H A Doptimize.c2150 * BPF array representation. Set *lenp to the number of instructions.
2167 icode_to_fcode(struct block *root, u_int *lenp) argument
2178 n = *lenp = count_stmts(root);
/external/chromium_org/third_party/libxml/src/
H A Dtree.c216 int lenn, lenp; local
223 lenp = strlen((char *) prefix);
225 if ((memory == NULL) || (len < lenn + lenp + 2)) {
226 ret = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2);
234 memcpy(&ret[0], prefix, lenp);
235 ret[lenp] = ':';
236 memcpy(&ret[lenp + 1], ncname, lenn);
237 ret[lenn + lenp + 1] = 0;
H A Dxmlregexp.c4141 int lenn, lenp, ret; local
4155 lenp = strlen((char *) value);
4157 if (150 < lenn + lenp + 2) {
4158 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2);
4166 memcpy(&str[0], value, lenp);
4167 str[lenp] = XML_REG_STRING_SEPARATOR;
4168 memcpy(&str[lenp + 1], value2, lenn);
4169 str[lenn + lenp + 1] = 0;
5739 int lenn, lenp; local
5743 lenp
5801 int lenn, lenp; local
5871 int lenn, lenp; local
6026 int lenn, lenp; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasm-pp.c1025 int lenp = strlen(prev->text); local
1027 prev->text = nasm_realloc(prev->text, lenp + lenn + 1);
1028 strncpy(prev->text + lenp, next->text, lenn + 1);
/external/libxml2/
H A Dtree.c219 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;
H A Dxmlregexp.c4151 int lenn, lenp, ret; local
4165 lenp = strlen((char *) value);
4167 if (150 < lenn + lenp + 2) {
4168 str = (xmlChar *) xmlMallocAtomic(lenn + lenp + 2);
4176 memcpy(&str[0], value, lenp);
4177 str[lenp] = XML_REG_STRING_SEPARATOR;
4178 memcpy(&str[lenp + 1], value2, lenn);
4179 str[lenn + lenp + 1] = 0;
5753 int lenn, lenp; local
5757 lenp
5815 int lenn, lenp; local
5885 int lenn, lenp; local
6040 int lenn, lenp; local
[all...]
/external/mksh/src/
H A Dedit.c177 * If successful, *lenp contains the new length. Note: cursor should be
181 x_do_comment(char *buf, ssize_t bsize, ssize_t *lenp) argument
183 ssize_t i, j, len = *lenp;
198 *lenp = j;
216 *lenp += n;

Completed in 660 milliseconds