/netbsd-current/sys/arch/sun3/dev/ |
H A D | sevar.h | 40 int blen; /* length of above */ member in struct:sebuf_attach_args
|
/netbsd-current/external/bsd/nvi/dist/common/ |
H A D | args.h | 25 size_t blen; /* Buffer length. */ member in struct:_args
|
H A D | mem.h | 63 #define GET_SPACE_GOTO(sp, type, bp, blen, nlen) { \ 68 blen = 0; \ 69 BINC_GOTO(sp, type, bp, blen, nlen); \ 73 blen = L__wp->tmp_blen; \ 77 #define GET_SPACE_GOTOC(sp, bp, blen, nlen) \ 78 GET_SPACE_GOTO(sp, char, bp, blen, nlen) 79 #define GET_SPACE_GOTOW(sp, bp, blen, nlen) \ 80 GET_SPACE_GOTO(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T)) 81 #define GET_SPACE_RET(sp, type, bp, blen, nlen) { \ 86 blen [all...] |
H A D | delete.c | 44 size_t blen, len, nlen, tlen; local 86 GET_SPACE_RETW(sp, bp, blen, fm->cno); 99 GET_SPACE_RETW(sp, bp, blen, len); 119 GET_SPACE_RETW(sp, bp, blen, tlen + 256); 139 GET_SPACE_RETW(sp, bp, blen, nlen); 141 ADD_SPACE_RETW(sp, bp, blen, nlen); 164 FREE_SPACEW(sp, bp, blen);
|
H A D | msg.c | 78 size_t blen, len, mlen, nlen; local 143 retry: FREE_SPACE(sp, bp, blen); 147 blen = 0; 148 GET_SPACE_GOTOC(sp, bp, blen, nlen); 155 * blen: total length of the buffer 157 #define REM (blen - mlen) 178 if ((mlen += len) > blen) 183 if ((mlen += len) > blen) 344 if ((mlen += len) > blen) 349 if ((mlen += len) > blen) 466 size_t cnt, blen, len, tlen; local 561 size_t blen, len; local 894 size_t blen, nlen; local [all...] |
/netbsd-current/external/bsd/nvi/dist/ipc/ |
H A D | ip_send.c | 42 static size_t blen; local 62 if (blen == 0 && (bp = malloc(blen = 512)) == NULL) 82 if (nlen >= blen) { 83 blen = blen * 2 + nlen; 85 if ((bp = realloc(bp, blen)) == NULL) 96 if (nlen >= blen) { 97 blen = blen * [all...] |
/netbsd-current/tests/rump/rumpkern/h_client/ |
H A D | h_sigcli.c | 24 size_t blen = sizeof(buf); local 27 buf, &blen, NULL, 0) == -1) 42 size_t blen; local 63 blen = sizeof(buf); 65 buf, &blen, NULL, 0) == -1)
|
H A D | h_reconcli.c | 55 size_t blen; local 63 blen = sizeof(hostnamebuf); 66 hostnamebuf, &blen, NULL, 0) == -1) 85 size_t blen; local 100 blen = sizeof(goodhostname); 102 goodhostname, &blen, NULL, 0) == -1)
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | xsbprintf.c | 44 size_t blen = (size_t)(pend - pbuf); local 45 rc = vsnprintf(pbuf, blen, pfmt, va); 47 if ((size_t)rc >= blen)
|
/netbsd-current/lib/libwrap/ |
H A D | expandm.c | 70 size_t blen = buf ? strlen(buf) : 0; local 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);
|
/netbsd-current/lib/libc/gdtoa/ |
H A D | g__fmt.c | 40 g__fmt(b, s, se, decpt, sign, blen) char *b; char *s; char *se; int decpt; ULong sign; size_t blen; 42 g__fmt(char *b, char *s, char *se, int decpt, ULong sign, size_t blen) 71 if (blen < len) 73 be = b + blen - 1;
|
/netbsd-current/external/bsd/wpa/dist/src/utils/ |
H A D | pcsc_funcs.c | 414 size_t blen; local 419 blen = sizeof(buf); 420 if (scard_select_file(scard, SCARD_FILE_EF_DIR, buf, &blen)) { 424 wpa_hexdump(MSG_DEBUG, "SCARD: EF_DIR select", buf, blen); 434 blen = sizeof(buf); 435 if (rlen > (int) blen) { 528 size_t blen; local 632 blen = sizeof(buf); 635 if (_scard_select_file(scard, SCARD_FILE_MF, buf, &blen, 645 blen 900 size_t blen; local 935 size_t blen = len + 3; local 981 size_t blen = len + 3; local 1110 size_t blen, imsilen, i; local 1184 size_t blen; local [all...] |
/netbsd-current/usr.bin/tail/ |
H A D | read.c | 137 int blen; member in struct:__anon13565 143 int blen, cnt, recno, wrap; local 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;
|
/netbsd-current/external/bsd/nvi/dist/ex/ |
H A D | ex_argv.c | 96 size_t blen, len; local 99 GET_SPACE_RETW(sp, bp, blen, 512); 102 if (argv_fexp(sp, excp, cmd, cmdlen, bp, &len, &bp, &blen, is_bang)) { 103 FREE_SPACEW(sp, bp, blen); 119 ret: FREE_SPACEW(sp, bp, blen); 133 size_t blen, len, n; local 138 GET_SPACE_RETW(sp, bp, blen, 512); 154 if (argv_fexp(sp, excp, cmd, cmdlen, p, &len, &bp, &blen, 0)) { 233 if (argv_sexp(sp, &bp, &blen, &len)) { 242 err: FREE_SPACEW(sp, bp, blen); 325 size_t blen, len, off, tlen; local 656 size_t blen, len; local [all...] |
H A D | ex_move.c | 98 size_t blen, len; local 141 GET_SPACE_RETW(sp, bp, blen, 256); 151 BINC_RETW(sp, bp, blen, len); 169 BINC_RETW(sp, bp, blen, len); 183 FREE_SPACEW(sp, bp, blen);
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/lto/ |
H A D | lto.c | 212 stream_out_partitions_1 (char *temp_filename, int blen, int min, int max) argument 217 sprintf (temp_filename + blen, "%u.o", p); 227 stream_out_partitions (char *temp_filename, int blen, int min, int max, argument 235 stream_out_partitions_1 (temp_filename, blen, min, max); 255 stream_out_partitions_1 (temp_filename, blen, min, max); 260 stream_out_partitions_1 (temp_filename, blen, min, max); 268 stream_out_partitions_1 (temp_filename, blen, min, max); 274 stream_out_partitions_1 (temp_filename, blen, min, max); 290 size_t blen; local 317 blen [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/lto/ |
H A D | lto.cc | 212 stream_out_partitions_1 (char *temp_filename, int blen, int min, int max) argument 217 sprintf (temp_filename + blen, "%u.o", p); 227 stream_out_partitions (char *temp_filename, int blen, int min, int max, argument 235 stream_out_partitions_1 (temp_filename, blen, min, max); 255 stream_out_partitions_1 (temp_filename, blen, min, max); 260 stream_out_partitions_1 (temp_filename, blen, min, max); 268 stream_out_partitions_1 (temp_filename, blen, min, max); 274 stream_out_partitions_1 (temp_filename, blen, min, max); 290 size_t blen; local 317 blen [all...] |
/netbsd-current/lib/librumpuser/ |
H A D | rumpuser.c | 187 rumpuser_getparam(const char *name, void *buf, size_t blen) argument 194 if (getenv_r("RUMP_NCPU", buf, blen) == -1) { 198 snprintf(buf, blen, "%d", ncpu); 205 snprintf(buf, blen, "rump-%05d", (int)getpid()); 207 snprintf(buf, blen, "rump-%05d.%s", 214 if (getenv_r(name, buf, blen) == -1)
|
/netbsd-current/sys/fs/ntfs/ |
H A D | ntfs_compr.c | 52 int blen, boff; local 81 blen = 3 + (GET_UINT16(cbuf + cpos) & lmask); 82 for (j = 0; (j < blen) && (pos < NTFS_COMPBLOCK_SIZE); j++) {
|
/netbsd-current/tests/fs/kernfs/ |
H A D | t_basic.c | 83 size_t blen; local 87 blen = sizeof(buf); 88 if (rump_sys___sysctl(mib, 2, buf, &blen, NULL, 0) == -1)
|
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | win_if_list.c | 77 size_t blen = sizeof(*b) + 1024; local 84 b = malloc(blen); 89 memset(b, 0, blen); 93 (DWORD) blen, &written, NULL)) {
|
/netbsd-current/external/bsd/ipf/dist/ |
H A D | ip_dns_pxy.c | 245 int blen; local 248 blen = idns->idns_namelen; 251 if (blen > qlen) 254 if (blen == qlen) 267 blen--; 271 return strncasecmp(base, query + qlen - blen, blen); 284 int slen, blen; local 289 blen = buflen - 1; /* Always make room for trailing \0 */ 301 if ((clen + 1) > blen) { [all...] |
/netbsd-current/sys/external/bsd/ipf/netinet/ |
H A D | ip_dns_pxy.c | 230 int blen; local 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 270 blen = buflen - 1; /* Always make room for trailing \0 */ 282 if ((clen + 1) > blen) { [all...] |
/netbsd-current/lib/libform/ |
H A D | type_enum.c | 151 unsigned i, start, end, enum_start, blen, elen, enum_end; local 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) ?
|
/netbsd-current/sys/dev/i2c/ |
H A D | bmx280thpi2c.c | 75 uint8_t *buf, size_t blen) 83 buf,blen,0); 91 uint8_t *buf, size_t blen) 95 KASSERT(blen > 0); 98 buf, blen); 110 uint8_t *buf, size_t blen) 114 KASSERT(blen > 0); 115 /* XXX - there should be a KASSERT for blen at least 119 buf,blen,0); 74 bmx280thpi2c_read_register_direct(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg, uint8_t *buf, size_t blen) argument 90 bmx280thpi2c_read_register(struct bmx280_sc *sc, uint8_t reg, uint8_t *buf, size_t blen) argument 109 bmx280thpi2c_write_register(struct bmx280_sc *sc, uint8_t *buf, size_t blen) argument
|