Searched refs:buflen (Results 201 - 225 of 609) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_peer/
H A Deap_psk.c95 size_t buflen, len; local
150 buflen = data->id_p_len + data->id_s_len + 2 * EAP_PSK_RAND_LEN;
151 buf = os_malloc(buflen);
163 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) {
191 size_t buflen, left, data_len, len, plen; local
232 buflen = data->id_s_len + EAP_PSK_RAND_LEN;
233 buf = os_malloc(buflen);
238 if (omac1_aes_128(data->ak, buf, buflen, mac)) {
H A Deap_methods.c91 * @buflen: Buffer length
95 size_t eap_get_names(char *buf, size_t buflen) argument
101 if (buflen == 0)
105 end = pos + buflen;
114 buf[buflen - 1] = '\0';
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/
H A Dinput-file.c219 input_file_get (char *buf, int buflen)
226 size = fread (buf, sizeof (char), buflen, f_in);
217 input_file_get(char *buf, int buflen) argument
/netbsd-6-1-5-RELEASE/sbin/ifconfig/
H A Daf_link.c112 .buflen = sizeof(dgreq.iflr_name)},
114 .buflen = sizeof(req.iflr_name)}
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npfctl/
H A Dnpfctl.c92 join(char *buf, size_t buflen, int count, char **args) argument
99 p = stpncpy(s, args[i], buflen);
101 if (len >= buflen) {
104 buflen -= len;
283 size_t buflen = 512; local
310 nct.nct_data.buf.buf = ecalloc(1, buflen);
311 nct.nct_data.buf.len = buflen;
337 buflen <<= 1;
/netbsd-6-1-5-RELEASE/usr.sbin/traceroute/
H A Difaddrlist.c90 ifaddrlist(struct ifaddrlist **ipaddrp, char *errbuf, size_t buflen) argument
144 (void)snprintf(errbuf, buflen, "%s: %s", __func__, strerror(errno));
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dnfsmb.c278 size_t cmdlen, void *vbuf, size_t buflen, int flags)
284 if ((cmdlen == 0) && (buflen == 0)) {
288 if (I2C_OP_READ_P(op) && (cmdlen == 0) && (buflen == 1)) {
296 if ((I2C_OP_READ_P(op)) && (cmdlen == 1) && (buflen == 1)) {
304 if ((I2C_OP_READ_P(op)) && (cmdlen == 1) && (buflen == 2)) {
312 if ((I2C_OP_WRITE_P(op)) && (cmdlen == 0) && (buflen == 1))
315 if ((I2C_OP_WRITE_P(op)) && (cmdlen == 1) && (buflen == 1))
319 if ((I2C_OP_WRITE_P(op)) && (cmdlen == 1) && (buflen == 2))
277 nfsmb_exec(void *cookie, i2c_op_t op, i2c_addr_t addr, const void *cmd, size_t cmdlen, void *vbuf, size_t buflen, int flags) argument
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dmd5.c80 ctx->buflen = 0;
108 md5_uint32 bytes = ctx->buflen;
221 if (ctx->buflen != 0)
223 size_t left_over = ctx->buflen;
227 ctx->buflen += add;
229 if (ctx->buflen > 64)
231 md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
233 ctx->buflen &= 63;
236 ctx->buflen);
268 size_t left_over = ctx->buflen;
[all...]
H A Dmd5.h78 md5_uint32 buflen; member in struct:md5_ctx
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dsha1.c67 ctx->buflen = 0;
96 sha1_uint32 bytes = ctx->buflen;
206 if (ctx->buflen != 0)
208 size_t left_over = ctx->buflen;
212 ctx->buflen += add;
214 if (ctx->buflen > 64)
216 sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
218 ctx->buflen &= 63;
222 ctx->buflen);
254 size_t left_over = ctx->buflen;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dsha1.c67 ctx->buflen = 0;
96 sha1_uint32 bytes = ctx->buflen;
206 if (ctx->buflen != 0)
208 size_t left_over = ctx->buflen;
212 ctx->buflen += add;
214 if (ctx->buflen > 64)
216 sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
218 ctx->buflen &= 63;
222 ctx->buflen);
254 size_t left_over = ctx->buflen;
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dx-tcl.c365 static size_t buflen; variable
370 buflen = 0;
376 if (buflen >= bufmax)
381 buffer[buflen++] = c;
387 while (buflen >= 1
388 && (buffer[buflen - 1] == ' ' || buffer[buflen - 1] == '\t'))
389 --buflen;
390 if (buflen >= bufmax)
395 buffer[buflen]
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/
H A Dsha1.c67 ctx->buflen = 0;
96 sha1_uint32 bytes = ctx->buflen;
206 if (ctx->buflen != 0)
208 size_t left_over = ctx->buflen;
212 ctx->buflen += add;
214 if (ctx->buflen > 64)
216 sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
218 ctx->buflen &= 63;
222 ctx->buflen);
254 size_t left_over = ctx->buflen;
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/resolv/
H A Dres_send.c296 const u_char *buf, int buflen, u_char *ans, int anssiz)
315 (stdout, ";; res_send()\n"), buf, buflen);
316 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
425 act = (*statp->qhook)(&nsap, &buf, &buflen,
459 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
468 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno,
504 act = (*statp->rhook)(nsap, buf, buflen,
594 const u_char *buf, int buflen, u_char *ans, int anssiz,
679 ns_put16((u_short)buflen, (u_char*)&len);
682 iov[1] = evConsIovec(tmp, buflen);
295 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument
593 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument
791 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/resolv/
H A Dres_send.c329 const u_char *buf, int buflen, u_char *ans, int anssiz)
346 (stdout, ";; res_send()\n"), buf, buflen);
347 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
456 act = (*statp->qhook)(&nsap, &buf, &buflen,
490 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
499 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno,
535 act = (*statp->rhook)(nsap, buf, buflen,
625 const u_char *buf, int buflen, u_char *ans, int anssiz,
712 ns_put16((u_short)buflen, (u_char*)(void *)&len);
715 iov[1] = evConsIovec(tmp, (size_t)buflen);
328 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument
624 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument
824 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/makemandb/
H A Dmakemandb.c53 size_t buflen; //Total length of buffer allocated initially member in struct:secbuff
694 size_t buflen; local
725 if (read_and_decompress(file, &buf, &buflen)) {
730 md5_status = check_md5(file, db, "mandb_meta", &md5sum, buf, buflen);
770 begin_parse(file, mp, rec, buf, buflen);
1800 void *buf, size_t buflen)
1808 *md5sum = MD5Data(buf, buflen, NULL);
1905 * Sets the value of buflen for all the sec_buff field of rec. And then
1915 * Therefore explicitly setting the value of buflen field for
1918 rec->desc.buflen
1799 check_md5(const char *file, sqlite3 *db, const char *table, char **md5sum, void *buf, size_t buflen) argument
[all...]
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dedit.h55 int x_cf_glob ARGS((int flags, const char *buf, int buflen, int pos, int *startp,
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Ddebugrm.c125 DRM_setmsg(buf, buflen, ptr, size, file, line, func)
127 int buflen, size, line;
136 len = strftime(buf, buflen, "%Y/%m/%d:%T ", tm);
138 snprintf(buf + len, buflen - len, "%p %6d %s:%d:%s",
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dst/
H A Dgssapi.h181 char *buf, size_t buflen);
/netbsd-6-1-5-RELEASE/external/bsd/fetch/dist/libfetch/
H A Dhttp.c148 ssize_t buflen; /* amount of data currently in buffer */ member in struct:httpio
167 if (io->conn->buflen < 2 || !isxdigit((unsigned char)*io->conn->buf))
222 if ((io->buflen = fetch_read(io->conn, io->buf, len)) == -1) {
227 io->contentlength -= io->buflen;
229 return (io->buflen);
249 if ((io->buflen = fetch_read(io->conn, io->buf, len)) == -1) {
253 io->chunksize -= io->buflen;
255 io->contentlength -= io->buflen;
270 return (io->buflen);
289 if (!io->buf || (ssize_t)io->bufpos == io->buflen)
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/radius/
H A Dradius_client.h261 size_t buflen);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/
H A Dtlsv1_client.h40 size_t buflen);
H A Dtlsv1_server.h38 size_t buflen);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/daemons/clvmd/
H A Dclvmd-comms.h51 int (*get_cluster_name)(char *buf, int buflen);
H A Drefresh_clvmd.c94 int buflen; local
122 buflen = len + outheader->arglen;
123 *retbuf = dm_malloc(buflen);
137 buflen - off - offsetof(struct clvm_header, args));

Completed in 263 milliseconds

1234567891011>>