/third_party/elfutils/libdw/ |
H A 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()
|
H A D | libdw.h | 622 size_t *lenp);
|
/third_party/backends/backend/ |
H A D | stubs.c | 56 sane_read (SANE_Handle h, SANE_Byte *buf, SANE_Int maxlen, SANE_Int *lenp) in sane_read() argument 58 return ENTRY(read) (h, buf, maxlen, lenp); in sane_read()
|
H A D | v4l.c | 1062 SANE_Int * lenp) in sane_read() 1068 if (!lenp) in sane_read() 1070 DBG (1, "sane_read: lenp == 0\n"); in sane_read() 1075 *lenp = 0; in sane_read() 1087 *lenp = (parms.lines * parms.bytes_per_line - s->buffercount); in sane_read() 1088 if (max_len < *lenp) in sane_read() 1089 *lenp = max_len; in sane_read() 1090 DBG (3, "sane_read: transferred %d bytes (from %d to %d)\n", *lenp, in sane_read() 1100 *lenp = (parms.lines * parms.bytes_per_line - s->buffercount); in sane_read() 1101 if ((i - s->buffercount) < *lenp) in sane_read() 1061 sane_read(SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len, SANE_Int * lenp) sane_read() argument [all...] |
H A D | xerox_mfp.c | 1304 sane_read(SANE_Handle h, SANE_Byte *buf, SANE_Int maxlen, SANE_Int *lenp) in sane_read() argument 1309 DBG(3, "%s: %p, %p, %d, %p\n", __func__, h, (void *) buf, maxlen, (void *) lenp); in sane_read() 1311 if (lenp) in sane_read() 1312 *lenp = 0; in sane_read() 1329 copy_decompress_data(dev, buf, bufLen, lenp)) { in sane_read() 1330 if (lenp) in sane_read() 1331 dev->total_out_size += *lenp; in sane_read() 1341 if (buf && lenp && slack > 0) { in sane_read() 1342 *lenp = fill_slack(dev, buf, maxlen); in sane_read() 1343 dev->total_out_size += *lenp; in sane_read() [all...] |
H A D | canon_pp.c | 1138 sane_read (SANE_Handle h, SANE_Byte *buf, SANE_Int maxlen, SANE_Int *lenp) in sane_read() argument 1155 *lenp = 0; in sane_read() 1157 if ((h == NULL) || (buf == NULL) || (lenp == NULL)) in sane_read() 1160 "(h=%p, buf=%p, lenp=%p)\n", in sane_read() 1161 (void*)h, (void*)buf, (void*)lenp); in sane_read() 1180 *lenp = bytesleft; in sane_read() 1192 *lenp = maxlen; in sane_read() 1336 *lenp = bytes; in sane_read() 1346 *lenp = maxlen; in sane_read()
|
H A D | microtek.c | 544 size_t lenp; in save_mode_sense() local 552 lenp = comm[4]; in save_mode_sense() 554 status = sanei_scsi_cmd(ms->sfd, comm, 6, data, &lenp); in save_mode_sense() 561 for (i=0;i<lenp;i++) fprintf(stderr, "%2x ", data[i]); in save_mode_sense() 565 for (i=0;i<lenp;i++) MDBG_ADD("%2x ", data[i]); in save_mode_sense() 580 size_t lenp; in compare_mode_sense() local 588 lenp = comm[4]; in compare_mode_sense() 590 status = sanei_scsi_cmd(ms->sfd, comm, 6, data, &lenp); in compare_mode_sense() 599 for (i=0;i<lenp;i++) fprintf(stderr, "%2x(%2x) ", in compare_mode_sense() 605 for (i=0;i<lenp; in compare_mode_sense() 744 size_t lenp; get_scan_status() local [all...] |
H A D | qcam.c | 2096 SANE_Int * lenp) in sane_read() 2106 *lenp = 0; in sane_read() 2153 if (lenp) in sane_read() 2154 *lenp = nread; in sane_read() 2156 DBG (5, "sane_read: exit, read got %d bytes\n", *lenp); in sane_read() 2095 sane_read(SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len, SANE_Int * lenp) sane_read() argument
|
H A D | mustek.c | 696 SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, in dev_read_req_enter() 699 *lenp = lines * bpl; in dev_read_req_enter() 731 return sanei_scsi_req_enter (s->fd, command, 10, buf, lenp, idp); in dev_read_req_enter() 741 return sanei_scsi_req_enter (s->fd, command, 6, buf, lenp, idp); in dev_read_req_enter() 750 return sanei_scsi_req_enter (s->fd, command, 6, buf, lenp, idp); in dev_read_req_enter() 695 dev_read_req_enter(Mustek_Scanner * s, SANE_Byte * buf, SANE_Int lines, SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, SANE_Byte * command) dev_read_req_enter() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | htmlsubtitles.c | 100 * sscanf(in, "%127[^<>]>%n", buffer, lenp) == 2 102 static int scantag(const char* in, char* buffer, int* lenp) { in scantag() argument 114 *lenp = len+1; in scantag()
|
/third_party/elfutils/src/ |
H A D | ar.c | 845 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument 868 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member() 871 *lenp += (memb->next != NULL in write_member() 877 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member() 881 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off; in write_member() 892 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member() 893 *lenp -= sizeof (struct ar_hdr); in write_member()
|
/third_party/lwip/src/netif/ppp/ |
H A D | lcp.c | 220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */ 224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */ 834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci() argument 932 if (ucp - start_ucp != *lenp) { in lcp_addci() 1818 * lenp = Length of requested CIs 1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci() argument 1835 int l = *lenp; /* Length left */ in lcp_reqci() 2265 *lenp = next - inp; in lcp_reqci() 2271 *lenp = nakoutp - (u_char*)nakp->payload; in lcp_reqci() 2272 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci() [all...] |
H A D | ccp.c | 768 static void ccp_addci(fsm *f, u_char *p, int *lenp) { in ccp_addci() argument 828 *lenp = p - p0; in ccp_addci() 1105 static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) { in ccp_reqci() argument 1123 len = *lenp; in ccp_reqci() 1371 if (ret == CONFREJ && *lenp == retp - p0) in ccp_reqci() 1374 *lenp = retp - p0; in ccp_reqci()
|
H A D | ipv6cp.c | 181 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */ 549 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp) { in ipv6cp_addci() argument 552 int len = *lenp; in ipv6cp_addci() 586 *lenp -= len; in ipv6cp_addci()
|
H A D | ipcp.c | 115 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */ 806 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp) { in ipcp_addci() argument 809 int len = *lenp; in ipcp_addci() 909 *lenp -= len; in ipcp_addci()
|
/third_party/curl/src/ |
H A D | tool_getparam.c | 843 size_t *lenp) in data_urlencode() 929 *lenp = size; in data_urlencode() 840 data_urlencode(struct GlobalConfig *global, char *nextarg, char **postp, size_t *lenp) data_urlencode() argument
|
/third_party/mksh/ |
H A D | edit.c | 197 * If successful, *lenp contains the new length. Note: cursor should be 201 x_do_comment(char *buf, ssize_t bsize, ssize_t *lenp) in x_do_comment() argument 203 ssize_t i, j, len = *lenp; in x_do_comment() 218 *lenp = j; in x_do_comment() 236 *lenp += n; in x_do_comment()
|