Searched refs:len (Results 626 - 650 of 6514) sorted by relevance

<<21222324252627282930>>

/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_argv.c75 exp->args[exp->argsoff]->len = cmdlen;
93 size_t blen, len; local
98 len = 0;
100 if (argv_fexp(sp, excp, cmd, cmdlen, bp, &len, &bp, &blen, is_bang)) {
106 if (len != 0) {
107 for (p = bp, t = bp + len; p < t; ++p)
115 (void)argv_exp0(sp, excp, bp, len);
131 size_t blen, len, n; local
141 len = SHELLOFFSET;
147 if (argv_fexp(sp, excp, cmd, cmdlen, p, &len,
218 size_t len; local
288 size_t len; local
322 size_t len, nlen; local
365 size_t blen, len, off, tlen; local
461 argv_alloc(SCR *sp, size_t len) argument
562 size_t dlen, len, nlen; local
671 size_t blen, len; local
818 argv_esc(SCR *sp, EXCMD *excp, CHAR_T *str, size_t len) argument
881 argv_uesc(SCR *sp, EXCMD *excp, CHAR_T *str, size_t len) argument
[all...]
H A Dex_append.c82 size_t len; local
154 len = cmdp->save_cmdlen; len > 0; p = t) {
155 for (t = p; len > 0 && t[0] != '\n'; ++t, --len);
156 if (t != p || len == 0) {
160 if (len > 0)
161 --len;
167 if (len != 0) {
169 if (--len
[all...]
/freebsd-11.0-release/usr.sbin/bhyve/
H A Dusb_mouse.c324 uint16_t len; local
357 len = UGETW(xfer->ureq->wLength);
360 "idx 0x%x, len %u\r\n",
362 xfer->ureq->bRequest, value, index, len));
371 data->blen = len > 0 ? len - 1 : 0;
384 DPRINTF(("umouse: (->UDESC_DEVICE) len %u ?= "
386 len, sizeof(umouse_dev_desc)));
391 if (len > sizeof(umouse_dev_desc)) {
392 data->blen = len
683 int len, i, idx; local
[all...]
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-aoe.c146 const u_char *cp, const u_int len)
148 const u_char *ep = cp + len;
150 if (len < AOEV1_ISSUE_ARG_LEN)
196 if (len > AOEV1_ISSUE_ARG_LEN)
197 ND_PRINT((ndo, "\n\tData: %u bytes", len - AOEV1_ISSUE_ARG_LEN));
210 const u_char *cp, const u_int len)
212 const u_char *ep = cp + len;
215 if (len < AOEV1_QUERY_ARG_LEN)
238 if (cslen > AOEV1_MAX_CONFSTR_LEN || AOEV1_QUERY_ARG_LEN + cslen > len)
259 const u_char *cp, const u_int len)
145 aoev1_issue_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
209 aoev1_query_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
258 aoev1_mac_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
309 aoev1_reserve_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
345 aoev1_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
402 aoe_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-wb.c180 const struct pkt_id *id, u_int len)
189 if (len < sizeof(*id) || !ND_TTEST(*id))
191 len -= sizeof(*id);
202 len -= sizeof(*io) * nid;
205 if (ND_TTEST2(cp, len)) {
207 fn_print(ndo, (u_char *)cp, (u_char *)cp + len);
226 const struct pkt_rreq *rreq, u_int len)
229 if (len < sizeof(*rreq) || !ND_TTEST(*rreq))
243 const struct pkt_preq *preq, u_int len)
246 if (len < sizeo
179 wb_id(netdissect_options *ndo, const struct pkt_id *id, u_int len) argument
225 wb_rreq(netdissect_options *ndo, const struct pkt_rreq *rreq, u_int len) argument
242 wb_preq(netdissect_options *ndo, const struct pkt_preq *preq, u_int len) argument
257 wb_prep(netdissect_options *ndo, const struct pkt_prep *prep, u_int len) argument
348 wb_rrep(netdissect_options *ndo, const struct pkt_rrep *rrep, u_int len) argument
373 wb_drawop(netdissect_options *ndo, const struct pkt_dop *dop, u_int len) argument
398 wb_print(netdissect_options *ndo, register const void *hdr, register u_int len) argument
[all...]
H A Dprint-ppp.c419 u_int code, len; local
448 len = EXTRACT_16BITS(tptr);
451 ND_PRINT((ndo, "\n\tencoded length %u (=Option(s) length %u)", len, len - 4));
474 x = len - 4; /* Code(1), Identifier(1) and Length(2) */
504 if ((j = (*pfunc)(ndo, tptr, len)) == 0)
526 if (len > 6) {
528 print_unknown_data(ndo, tptr + 2, "\n\t ", len - 2);
539 if (len > 8) {
541 ND_TCHECK2(tptr[4], len
585 int len, opt; local
826 u_int code, len; local
906 u_int code, len; local
1010 int len, opt; local
1147 int len, opt; local
1207 int len, opt; local
1302 int len, opt; local
[all...]
/freebsd-11.0-release/contrib/file/src/
H A Dder.c166 size_t len; local
177 len = 0;
183 len = (len << 8) | c[(*p)++];
184 return len;
188 der_tag(char *buf, size_t len, uint32_t tag) argument
191 strlcpy(buf, der__tag[tag], len);
193 snprintf(buf, len, "%#x", tag);
199 der_data(char *buf, size_t blen, uint32_t tag, const void *q, uint32_t len) argument
207 return snprintf(buf, blen, "%.*s", len, (cons
224 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; local
256 size_t offs = 0, len = ms->search.s_len; local
315 printtag(uint32_t tag, const void *q, uint32_t len) argument
349 uint32_t len = getlength(p, &x, ep - p + x); local
[all...]
/freebsd-11.0-release/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c139 sysctlname(int *oid, int nlen, char *name, size_t len) argument
150 if (sysctl(mib, nlen + 2, name, &len, 0, 0) == -1)
179 size_t len; local
183 len = sizeof(mib) / sizeof(int);
184 if (sysctlnametomib(buf, mib, &len) == -1)
187 if (len != 4)
191 if (sysctl(mib, len, obuf, obuflen, NULL, 0) == -1)
200 size_t len; local
202 len = sizeof(sensor->desc);
203 update_sensor_sysctl(sensor->desc, &len, id
219 size_t len; local
252 size_t len, nextlen, rootlen; local
[all...]
/freebsd-11.0-release/crypto/heimdal/lib/gssapi/mech/
H A Dgss_import_name.c38 size_t len = input_name_buffer->length; local
52 if (len < 2)
66 len -= 2;
72 if (len < 2)
76 len -= 2;
85 len--;
90 len--;
96 len--;
102 len--;
110 if (len <
[all...]
/freebsd-11.0-release/contrib/wpa/src/eap_common/
H A Deap_common.c28 size_t len; local
40 len = be_to_host16(hdr->length);
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) {
71 size_t len; local
77 len = be_to_host16(hdr->length);
83 if (len < sizeof(*hdr) + 8) {
99 *plen = len - sizeof(*hdr) - 8;
106 *plen = len - sizeof(*hdr) - 1;
133 size_t len; local
[all...]
/freebsd-11.0-release/contrib/serf/buckets/
H A Drequest_buckets.c28 apr_int64_t len; member in struct:__anon5290
47 ctx->len = LENGTH_UNKNOWN;
54 apr_int64_t len)
58 ctx->len = len;
126 if (ctx->len != LENGTH_UNKNOWN) {
128 sprintf(buf, "%" APR_INT64_T_FMT, ctx->len);
148 const char **data, apr_size_t *len)
154 return serf_bucket_read(bucket, requested, data, len);
159 const char **data, apr_size_t *len)
52 serf_bucket_request_set_CL( serf_bucket_t *bucket, apr_int64_t len) argument
146 serf_request_read(serf_bucket_t *bucket, apr_size_t requested, const char **data, apr_size_t *len) argument
157 serf_request_readline(serf_bucket_t *bucket, int acceptable, int *found, const char **data, apr_size_t *len) argument
182 serf_request_peek(serf_bucket_t *bucket, const char **data, apr_size_t *len) argument
[all...]
/freebsd-11.0-release/lib/libc/net/
H A Dgetifmaddrs.c57 size_t len; local
107 len = SA_RLEN(sa);
108 dcnt += len;
109 p += len;
144 len = SA_RLEN(sa);
149 memcpy(data, p, len);
150 data += len;
156 memcpy(data, p, len);
157 data += len;
163 memcpy(data, p, len);
[all...]
/freebsd-11.0-release/contrib/gcclibs/libiberty/
H A Dobjalloc.c117 unsigned long len = original_len; local
121 if (len == 0)
122 len = 1;
124 len = (len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1);
128 if (len + CHUNK_HEADER_SIZE < original_len)
131 if (len <= o->current_space)
133 o->current_ptr += len;
134 o->current_space -= len;
135 return (PTR) (o->current_ptr - len);
[all...]
/freebsd-11.0-release/sys/dev/le/
H A Dlance.c347 int len, tlen = 0; local
352 len = m->m_len;
353 if (len == 0) {
358 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len);
359 boff += len;
360 tlen += len;
383 int len; local
396 m0->m_pkthdr.len = totlen;
397 len = MHLEN;
404 len
636 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
647 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, int len) argument
658 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/freebsd-11.0-release/lib/libgssapi/
H A Dgss_import_name.c45 size_t len = input_name_buffer->length; local
58 if (len < 2)
63 len -= 2;
69 if (len < 2)
73 len -= 2;
82 len--;
87 len--;
93 len--;
99 len--;
107 if (len <
[all...]
/freebsd-11.0-release/sys/boot/powerpc/ps3/
H A Dmain.c50 ssize_t ps3_copyin(const void *src, vm_offset_t dest, const size_t len);
51 ssize_t ps3_copyout(vm_offset_t src, void *dest, const size_t len);
52 ssize_t ps3_readin(const int fd, vm_offset_t dest, const size_t len);
201 ps3_copyin(const void *src, vm_offset_t dest, const size_t len) argument
203 bcopy(src, (void *)dest, len);
204 return (len);
208 ps3_copyout(vm_offset_t src, void *dest, const size_t len) argument
210 bcopy((void *)src, dest, len);
211 return (len);
215 ps3_readin(const int fd, vm_offset_t dest, const size_t len) argument
[all...]
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_mmap.c65 linux_mmap_common(struct thread *td, uintptr_t addr, size_t len, int prot, argument
72 size_t len;
83 addr, len, prot, flags, fd, pos);
158 * takes as addr the initial BOS, and as len, the initial
167 * downsize limit on BOS, and as len the max size of
177 if ((caddr_t)addr + len > vms->vm_maxsaddr) {
208 if (len > STACK_SIZE - GUARD_SIZE) {
210 bsd_args.len = len;
213 (STACK_SIZE - GUARD_SIZE - len);
230 linux_mprotect_common(struct thread *td, uintptr_t addr, size_t len, int prot) argument
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/des/
H A DDES.xs7 static STRLEN len;
68 STRLEN len,l;
72 len=((((unsigned long)l)+7)/8)*8;
75 SvGROW(s,len);
76 SvCUR_set(s,len);
80 sv_setpvn(ST(2),(char *)c[len-8],8);
95 STRLEN len,l;
98 len=((((unsigned long)l)+7)/8)*8;
101 SvGROW(s,len);
102 SvCUR_set(s,len);
[all...]
/freebsd-11.0-release/tools/regression/netinet/tcpstream/
H A Dtcpstream.c63 fill_buffer(long *buffer, int len) argument
67 for (i = 0; i < len; i++)
72 check_buffer(long *buffer, int len) argument
76 for (i = 0; i < len; i++) {
87 ssize_t len; local
102 len = send(sock, buffer, i * sizeof(long), 0);
103 if (len == -1) {
105 len, i * sizeof(long));
124 ssize_t len; local
156 len
[all...]
/freebsd-11.0-release/contrib/nvi/vi/
H A Dv_section.c68 size_t len; local
97 for (lno = vp->m_start.lno; !db_get(sp, ++lno, 0, &p, &len);) {
98 if (len == 0)
120 if (p[0] != '.' || len < 2)
124 ((lp[1] == ' ' && len == 2) || lp[1] == p[2]) &&
147 ret1: if (db_get(sp, --lno, DBG_FATAL, NULL, &len))
150 vp->m_stop.cno = len ? len - 1 : 0;
174 size_t len; local
190 for (lno = vp->m_start.lno; !db_get(sp, --lno, 0, &p, &len);) {
[all...]
/freebsd-11.0-release/usr.bin/tip/libacu/
H A Dhayes.c254 int len; local
272 ioctl(FD, FIONREAD, &len);
274 printf("goodbye1: len=%d -- ", len);
275 rlen = read(FD, dumbuf, min(len, DUMBUFLEN));
282 ioctl(FD, FIONREAD, &len);
283 printf("goodbye2: len=%d -- ", len);
284 rlen = read(FD, dumbuf, min(len, DUMBUFLEN));
299 int len, retr local
[all...]
/freebsd-11.0-release/usr.sbin/chkgrp/
H A Dchkgrp.c58 size_t len; local
91 if ((line = fgetln(gf, &len)) == NULL)
93 if (len > 0 && line[len - 1] != '\n') {
97 while (len && isspace(line[len-1]))
98 len--;
101 for (p = line; p < line + len; p++)
103 if (!len || *p == '#')
109 if (strncmp(line, "+:::", len)
[all...]
/freebsd-11.0-release/usr.sbin/mfiutil/
H A Dmfiutil.c162 int len; local
164 len = strlen(comp->name);
165 if (fw_name_width < len)
166 fw_name_width = len;
167 len = strlen(comp->version);
168 if (fw_version_width < len)
169 fw_version_width = len;
170 len = strlen(comp->build_date);
171 if (fw_date_width < len)
172 fw_date_width = len;
[all...]
/freebsd-11.0-release/usr.sbin/ppp/
H A Dvjcomp.c118 int len, olen, rlen; local
122 olen = len = m_length(bp);
129 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
131 if (len <= 0) {
144 if (len > MAX_VJHEADER)
145 len = MAX_VJHEADER;
146 rlen = len;
149 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
151 if (len <
[all...]
/freebsd-11.0-release/contrib/tcp_wrappers/
H A Dtli-sequent.c60 int len; local
73 len = sizeof(client);
75 if (getpeerinaddr(request->fd, &client, len) < 0) {
94 peek.ctlbuf.len = 0;
98 peek.databuf.len = 0;
115 if (peek.ctlbuf.len < sizeof(long)) {
125 if ((peek.ctlbuf.len < sizeof(struct T_unitdata_ind)) ||
127 (peek.ctlbuf.len <
140 if (getmyinaddr(request->fd, &server, len) < 0)

Completed in 397 milliseconds

<<21222324252627282930>>