HomeSort by: relevance | last modified time | path
    Searched defs:blen (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/arch/sun3/dev/
sevar.h 40 int blen; /* length of above */ member in struct:sebuf_attach_args
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
ep7211-edb7211.dts 23 power-supply = <&blen>;
65 blen: blen { label
  /src/sys/fs/ntfs/
ntfs_compr.c 52 int blen, boff; local in function:ntfs_uncompblock
81 blen = 3 + (GET_UINT16(cbuf + cpos) & lmask);
82 for (j = 0; (j < blen) && (pos < NTFS_COMPBLOCK_SIZE); j++) {
  /src/tests/fs/kernfs/
t_basic.c 83 size_t blen; local in function:getthehost
87 blen = sizeof(buf);
88 if (rump_sys___sysctl(mib, 2, buf, &blen, NULL, 0) == -1)
  /src/tests/rump/rumpkern/h_client/
h_sigcli.c 24 size_t blen = sizeof(buf); local in function:sighand
27 buf, &blen, NULL, 0) == -1)
42 size_t blen; local in function:main
63 blen = sizeof(buf);
65 buf, &blen, NULL, 0) == -1)
h_reconcli.c 55 size_t blen; local in function:worker
63 blen = sizeof(hostnamebuf);
66 hostnamebuf, &blen, NULL, 0) == -1)
85 size_t blen; local in function:main
100 blen = sizeof(goodhostname);
102 goodhostname, &blen, NULL, 0) == -1)
h_stresscli.c 45 size_t blen; local in function:client
56 blen = sizeof(buf);
90 buf, &blen, NULL, 0) == -1)
  /src/lib/libc/stdio/
fvwrite.c 130 ptrdiff_t blen = fp->_p - fp->_bf._base; local in function:__sfvwrite
138 } while ((size_t)_size < blen + len);
146 fp->_p = _base + blen;
  /src/lib/libwrap/
expandm.c 70 size_t blen = buf ? strlen(buf) : 0; local in function:expandm
78 if (blen >= PTRDIFF_MAX ||
79 nlen >= PTRDIFF_MAX - blen ||
80 nlen >= SIZE_T_MAX - blen)
83 tlen = nlen + blen;
89 memcpy(nbuf + blen, ptr, nlen);
  /src/usr.bin/tail/
read.c 137 int blen; member in struct:displaylines::__anon544f3be30108
143 int blen, cnt, recno, wrap; local in function:displaylines
153 blen = cnt = recno = wrap = 0;
156 if (++cnt > blen) {
157 if ((n = realloc(sp, blen + 1024)) == NULL)
160 blen += 1024;
165 if (lines[recno].blen < cnt) {
170 lines[recno].blen = cnt + 256;
  /src/lib/libedit/
hist.c 105 size_t blen, hlen; local in function:hist_get
135 blen = (size_t)(el->el_line.limit - el->el_line.buffer);
136 if (hlen > blen && !ch_enlargebufs(el, hlen))
  /src/lib/libform/
type_enum.c 151 unsigned i, start, end, enum_start, blen, elen, enum_end; local in function:match_enum
158 blen = (unsigned) (strlen(&this[start])
161 blen = 0;
163 _formi_dbg_printf("%s: start %u, blen %u\n", __func__, start, blen);
183 if ((exact == TRUE) && (blen != elen))
191 if ((exact != TRUE) && (blen > elen))
197 (size_t)blen) == 0) ?
202 (size_t) blen) == 0) ?
  /src/tests/net/bpf/
t_bpf.c 182 u_int blen = 0; local in function:ATF_TC_BODY
190 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
191 ATF_REQUIRE(blen != 0);
192 blen = 100;
193 RL(rump_sys_ioctl(bpfd, BIOCSBLEN, &blen));
194 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
195 ATF_REQUIRE_EQ(blen, 100);
199 ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(bpfd, BIOCSBLEN, &blen), -1,
  /src/bin/mv/
mv.c 276 static blksize_t blen; local in function:fastcopy
292 if (!blen && !(bp = malloc(blen = sbp->st_blksize))) {
294 blen = 0;
299 while ((nread = read(from_fd, bp, blen)) > 0) {
  /src/sys/external/bsd/ipf/netinet/
ip_dns_pxy.c 230 int blen; local in function:ipf_p_dns_match_names
233 blen = idns->idns_namelen;
236 if (blen > qlen)
239 if (blen == qlen)
252 blen--;
256 return strncasecmp(base, query + qlen - blen, blen);
265 int slen, blen; local in function:ipf_p_dns_get_name
270 blen = buflen - 1; /* Always make room for trailing \0 */
282 if ((clen + 1) > blen) {
    [all...]
  /src/tests/crypto/libcrypto/ecdh/
ecdhtest.c 130 int i, alen, blen, aout, bout, ret = 0; local in function:test_ecdh_curve
235 blen = KDF1_SHA1_len;
236 bbuf = (unsigned char *)OPENSSL_malloc(blen);
238 ECDH_compute_key(bbuf, blen, EC_KEY_get0_public_key(a), b, KDF1_SHA1);
  /src/usr.bin/column/
column.c 266 size_t blen; local in function:input
272 while ((buf = fgetln(fp, &blen)) != NULL) {
273 buf = estrndup(buf, blen);
  /src/usr.bin/tr/
str.c 286 size_t blen; local in function:c_class
289 blen = strlen(b->name);
294 if (a->len < blen) {
298 assert(a-> len == blen);
  /src/lib/librmt/
rmtlib.c 106 size_t blen; local in function:command
115 blen = strlen(buf);
117 if ((size_t)write(WRITE(fildes), buf, blen) == blen) {
  /src/usr.bin/sed/
defs.h 150 size_t blen; /* Backing memory length. */ member in struct:__anon754a59000408
  /src/lib/libc/nameser/
ns_name.c 1003 int b, blen, plen, i; local in function:decode_bitstring
1005 if ((blen = (*cp & 0xff)) == 0)
1006 blen = 256;
1007 plen = (blen + 3) / 4;
1008 plen += (int)sizeof("\\[x/]") + (blen > 99 ? 3 : (blen > 9) ? 2 : 1);
1017 for (b = blen; b > 7; b -= 8, cp++) {
1037 i = SPRINTF((dn, "/%d]", blen));
1057 int value = 0, count = 0, tbcount = 0, blen = 0; local in function:encode_bitsring
1068 if (!isxdigit((*cp) & 0xff)) /*%< reject '\[x/BLEN]' */
    [all...]
  /src/bin/sh/
show.c 84 size_t blen; /* chars used in current buffer being filled */ member in struct:traceinfo
179 tracedata.blen = 0;
813 if (fp->blen != 0)
832 } else if (fp->blen && fp->blen >= fp->lines[fp->nxtiov].iov_len) {
833 fp->blen = 0;
848 fp->blen = 0;
851 p = (char *)fp->lines[fp->nxtiov].iov_base + fp->blen++;
861 fp->lines[fp->nxtiov++].iov_len = fp->blen;
862 fp->blen = 0
    [all...]
  /src/usr.sbin/npf/npfctl/
npfctl.c 297 size_t blen; local in function:npfctl_import
311 if ((blen = sb.st_size) == 0) {
315 blob = mmap(NULL, blen, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0);
319 ncf = npf_config_import(blob, blen);
320 munmap(blob, blen);
  /src/sys/fs/nfs/client/
nfs_clvfsops.c 1899 char *opt, char **buf, size_t *blen)
1903 if (testval != 0 && *blen > strlen(opt)) {
1904 len = snprintf(*buf, *blen, "%s", opt);
1908 *blen -= len;
1916 char *opt, char **buf, size_t *blen)
1920 if (*blen > strlen(opt) + 1) {
1922 len = snprintf(*buf, *blen, "%s=%d", opt, optval);
1923 if (len < *blen) {
1925 *blen -= len;
1936 size_t blen; local in function:nfscl_retopts
    [all...]
  /src/sys/arch/sandpoint/stand/altboot/
main.c 297 static const size_t blen = sizeof("wdN:"); local in function:main
300 argv = alloc(MAX_UNITS * (sizeof(char *) + blen));
305 snprintf(bname, blen, "wd%d:", i);
307 bname += blen;

Completed in 121 milliseconds

1 2