/freebsd-current/lib/libc/stdio/ |
H A D | vfwscanf.c | 474 int nr; /* characters read by the current conversion */ local 733 nr = convert_wchar(fp, GETARG(wchar_t *), width, 736 nr = convert_char(fp, GETARG(char *), width, 739 if (nr < 0) 749 nr = convert_wccl(fp, GETARG(wchar_t *), width, 752 nr = convert_ccl(fp, GETARG(char *), width, 755 if (nr <= 0) { 756 if (nr < 0) 758 else /* nr == 0 */ 768 nr [all...] |
/freebsd-current/tools/tools/ath/athregs/ |
H A D | dumpregs.c | 62 static u_int ath_hal_setupdiagregs(const HAL_REGRANGE regs[], u_int nr); 273 struct dumpreg *nr = &chipregs[i]; local 274 if (nr->srevMin == 0) 275 nr->srevMin = def_srev_min; 276 if (nr->srevMax == 0) 277 nr->srevMax = def_srev_max; 278 if (nr->phyMin == 0) 279 nr->phyMin = def_phy_min; 280 if (nr->phyMax == 0) 281 nr 621 ath_hal_setupdiagregs(const HAL_REGRANGE regs[], u_int nr) argument [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | readpassphrase.c | 56 ssize_t nr; local 72 nr = -1; 132 while ((nr = read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r') { 192 return(nr == -1 ? NULL : buf);
|
/freebsd-current/contrib/file/src/ |
H A D | is_simh.c | 114 size_t nt = 0, nr = 0; local 120 if ((nt > 0 || nr > 0) && nbytes == 0xFFFFFFFF) 138 nr++; 142 if (nr == 0) /* No records */
|
/freebsd-current/lib/libc/gen/ |
H A D | readpassphrase.c | 45 ssize_t nr; local 61 nr = -1; 127 while ((nr = _read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r') { 183 return(nr == -1 ? NULL : buf);
|
/freebsd-current/bin/dd/ |
H A D | position.c | 88 ssize_t nr; local 110 if ((nr = read(in.fd, in.db, bcnt)) > 0) { 112 if (!(bcnt -= nr)) { 125 if (nr == 0) {
|
/freebsd-current/sys/dev/hyperv/vmbus/ |
H A D | vmbus_var.h | 158 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) 159 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
|
/freebsd-current/sys/dev/gve/ |
H A D | gve_plat.h | 88 #define BIT(nr) (1UL << (nr))
|
/freebsd-current/sys/dev/liquidio/ |
H A D | lio_main.h | 133 #define BIT_ULL(nr) (1ULL << (nr))
|
/freebsd-current/contrib/tzcode/ |
H A D | tzselect.ksh | 523 for (nr = 1; nr <= nlines; nr++) { 524 nf = split(line[nr], f, /\t/) 542 for (nr = 1; nr <= nlines; nr++) { 543 nf = split(line[nr], f, /\t/)
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitops.h | 38 #define BIT(nr) (1UL << (nr)) 39 #define BIT_ULL(nr) (1ULL << (nr)) 51 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) 52 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | mmap37.sh | 123 int nr[THREADS]; 136 nr[i] = i; 138 (void *)&nr[i])) != 0)
|
H A D | mmap41.sh | 112 int nr[THREADS]; 125 nr[i] = i; 127 (void *)&nr[i])) != 0)
|
/freebsd-current/lib/libc/regex/ |
H A D | regexec.c | 61 size_t nr; local 64 nr = mbrtowc(&wc, s, n, mbs); 67 if (nr == 0) 69 else if (nr == (size_t)-1 || nr == (size_t)-2) { 75 return (nr);
|
/freebsd-current/sys/netgraph/ |
H A D | ng_l2tp.c | 74 #define L2TP_HDR_SEQ 0x0800 /* has ns, nr fields */ 113 u_int16_t nr; /* data nr sequence number */ member in struct:ng_l2tp_hook_private 130 * - If xack != nr, there are unacknowledged recv packet(s) (delayed ack) 131 * - xack_timer is running iff xack != nr (unack'd rec'd pkts) 135 u_int16_t nr; /* next recv seq we expect */ member in struct:l2tp_seq 137 u_int16_t rack; /* last 'nr' we rec'd */ 138 u_int16_t xack; /* last 'nr' we sent */ 183 static void ng_l2tp_seq_recv_nr(priv_p priv, u_int16_t nr); 625 conf->nr 759 u_int16_t ns, nr; local 1299 ng_l2tp_seq_recv_nr(priv_p priv, u_int16_t nr) argument 1492 uint16_t nr, session_id = 0; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl.c | 54 newbie->nr = 10; 58 newbie->nr = 12; 62 newbie->nr = 14; 122 ops->encrypt(&ksch->encr_ks.ks32[0], ksch->nr, 137 ops->encrypt(&ksch->encr_ks.ks32[0], ksch->nr, buffer, buffer); 169 ops->decrypt(&ksch->decr_ks.ks32[0], ksch->nr, 184 ops->decrypt(&ksch->decr_ks.ks32[0], ksch->nr, buffer, buffer);
|
/freebsd-current/usr.sbin/bluetooth/btpand/ |
H A D | channel.c | 205 ssize_t nr; local 213 nr = read(fd, pkt->buf, chan->mru); 214 if (nr == -1) { 220 if (nr == 0) { /* EOF */ 226 pkt->len = nr;
|
/freebsd-current/usr.bin/patch/ |
H A D | util.c | 272 ssize_t nr = 0; local 282 if ((nr = read(ttyfd, buf, buf_size)) > 0 && 283 buf[nr - 1] == '\n') 284 buf[nr - 1] = '\0'; 286 if (ttyfd < 0 || nr <= 0) {
|
/freebsd-current/usr.bin/finger/ |
H A D | lprint.c | 292 int fd, nr; local 303 nr = read(fd, tbuf, sizeof(tbuf)); 304 if (nr <= 0) { 308 for (p = tbuf, cnt = nr; cnt--; ++p) 314 for (p = tbuf, cnt = nr; cnt--; ++p)
|
/freebsd-current/usr.bin/cksum/ |
H A D | crc.c | 109 int nr; local 118 while ((nr = read(fd, buf, sizeof(buf))) > 0) 119 for (len += nr, p = buf; nr--; ++p) { 123 if (nr < 0)
|
/freebsd-current/crypto/openssl/crypto/aes/asm/ |
H A D | aes-s390x.pl | 309 nr $s0,$mask 311 nr $t2,$mask 312 nr $t3,$mask 318 nr $i1,$mask 319 nr $s1,$mask 321 nr $i3,$mask 335 nr $i1,$mask 336 nr $i2,$mask 339 nr $s2,$mask 345 nr [all...] |
/freebsd-current/contrib/libfido2/openbsd-compat/ |
H A D | readpassphrase.c | 62 ssize_t nr; local 136 while ((nr = read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r') { 196 return(nr == -1 ? NULL : buf);
|
/freebsd-current/sys/contrib/xen/hvm/ |
H A D | dm_op.h | 203 uint32_t nr; member in struct:xen_dm_op_track_dirty_vram 278 uint32_t nr; member in struct:xen_dm_op_modified_memory_extent 291 * region and @nr reduced to the size of the remaining region. 297 uint32_t nr; member in struct:xen_dm_op_set_mem_type
|
/freebsd-current/contrib/pf/authpf/ |
H A D | authpf.c | 645 u_int32_t nr; local 656 nr = prs.nr; 657 while (nr) { 661 prs.nr = nr - 1; 677 nr--; 720 int nr = prs->nr; local 722 while (nr) { [all...] |
/freebsd-current/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 58 test_and_set_bit(int nr, volatile void *addr) argument 64 } while (atomic_cmpset_int(addr, val, val | (1 << nr)) == 0); 65 return (val & (1 << nr)); 69 int test_and_clear_bit(int nr, volatile void *addr) argument 75 } while (atomic_cmpset_int(addr, val, val & ~(1 << nr)) == 0); 76 return (val & (1 << nr));
|