Searched refs:nb (Results 1 - 25 of 199) sorted by relevance

12345678

/netbsd-current/distrib/syspkg/sets/base/base-locale-nb/
H A DMakefile3 PKGBASE=base-locale-nb
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dbsqrt.c35 mpn_bsqrt (mp_ptr rp, mp_srcptr ap, mp_bitcnt_t nb, mp_ptr tp) argument
40 ASSERT (nb > 0);
42 n = nb / GMP_NUMB_BITS;
45 mpn_bsqrtinv (tp, ap, nb, sp);
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/
H A Dnouveau_nvkm_engine_device_acpi.c40 nvkm_acpi_ntfy(struct notifier_block *nb, unsigned long val, void *data) argument
43 container_of(nb, typeof(*device), acpi.nb);
57 unregister_acpi_notifier(&device->acpi.nb);
65 device->acpi.nb.notifier_call = nvkm_acpi_ntfy;
66 register_acpi_notifier(&device->acpi.nb);
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A DHeapData.cc213 HeapData::setAllocStat (int64_t nb) argument
215 if (aSmallestBytes > nb)
216 aSmallestBytes = nb;
217 if (aLargestBytes < nb)
218 aLargestBytes = nb;
219 if (nb >= 0 && nb <= _1KB)
221 else if (nb <= _8KB)
223 else if (nb <= _32KB)
225 else if (nb <
250 setLeakStat(int64_t nb) argument
[all...]
H A DFileData.cc325 FileData::setWriteStat (hrtime_t wt, int64_t nb) argument
329 if (nb != 0 && wSmallestBytes > nb)
330 wSmallestBytes = nb;
331 if (wLargestBytes < nb)
332 wLargestBytes = nb;
333 if (nb >= 0 && nb <= _1KB)
335 else if (nb <= _8KB)
337 else if (nb <
364 setReadStat(hrtime_t rt, int64_t nb) argument
[all...]
/netbsd-current/usr.bin/talk/
H A Dio.c64 int nb; local
79 nb = poll(set, 2, A_LONG_TIME * 1000);
80 if (nb <= 0) {
89 nb = read(sockt, buf, sizeof buf);
90 if (nb <= 0) {
94 display(&his_win, buf, nb);
101 ioctl(0, FIONREAD, (void *) &nb);
102 nb = read(0, buf, nb);
103 display(&my_win, buf, nb);
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Drecvmsg.c43 ssize_t ret, nb; local
56 nb = ret = recvfrom (s, buf, tot, flags, msg->msg_name, &msg->msg_namelen);
58 while (nb > 0) {
59 ssize_t cnt = min(nb, iov->iov_len);
63 nb -= cnt;
H A Dreadv.c43 ssize_t ret, nb; local
55 nb = ret = read (d, buf, tot);
57 while (nb > 0) {
58 ssize_t cnt = min(nb, iov->iov_len);
62 nb -= cnt;
/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Dtsmemcmp.c42 isc_tsmemcmp(const void *p1, const void *p2, size_t nb) { argument
49 for (/*NOP*/; 0 != nb; --nb, ++ucp1, ++ucp2) {
/netbsd-current/sys/dev/isa/
H A Dnct.c304 struct nct_bank *nb; local
353 nb = &sc->sc_bank[0];
354 nb->nb_firstpin = 0;
355 nb->nb_numpins = 8;
356 nb->nb_enabled = 0xff;
357 nb->nb_reg_dir = LD7_GPIO0_DIRECTION;
358 nb->nb_reg_data = LD7_GPIO0_DATA;
359 nb->nb_reg_inv = LD7_GPIO0_INVERSION;
360 nb->nb_reg_stat = LD7_GPIO0_STATUS;
361 nb
525 struct nct_bank *nb; local
542 struct nct_bank *nb; local
565 struct nct_bank *nb; local
589 struct nct_bank *nb; local
[all...]
/netbsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c89 int32_t nb; local
118 nb = lastlbn;
119 osize = ffs_blksize(fs, ip, nb);
131 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap);
132 if (nb != 0 && ip->i_ffs1_size >= ffs_lblktosize(fs, lbn + 1)) {
150 if (nb != 0) {
224 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap);
227 if (nb == 0) {
232 nb = newb;
233 *allocblk++ = nb;
339 daddr_t newb, pref, nb; local
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/base/
H A Dnumber.c48 int na, nb; local
56 nb = heim_base_tagged_object_value(b);
58 nb = *(int *)b;
60 return na - nb;
/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Drandom2.c47 int ran_nbits, bit_pos, nb; local
97 nb = (ran >> 1) % (1 << LOGBITS_PER_BLOCK) + 1;
101 /* Generate a string of nb ones. */
102 if (nb > bit_pos)
106 bit_pos -= nb;
111 bit_pos -= nb;
112 acc |= MPFR_LIMB_LSHIFT (MPFR_LIMB_MASK (nb) << 1, bit_pos);
117 /* Generate a string of nb zeroes. */
118 if (nb > bit_pos)
124 bit_pos -= nb;
[all...]
/netbsd-current/libexec/lfs_cleanerd/
H A Dcoalesce.c171 blkcnt_t i, nb, onb; local
180 onb = nb = lfs_lblkno(fs, lfs_dino_getsize(fs, dip));
183 if (nb < ULFS_NDADDR) {
197 if (nb > lfs_dino_getblocks(fs, dip)) {
199 (uintmax_t)ino, (intmax_t)nb,
216 if (nb > INT64_MAX / sizeof(BLOCK_INFO)) {
218 (uintmax_t)ino, (uintmax_t)nb);
223 bip = (BLOCK_INFO *)malloc(sizeof(BLOCK_INFO) * nb);
226 (unsigned long long)ino, (intmax_t)nb,
231 for (i = 0; i < nb;
[all...]
/netbsd-current/external/apache2/llvm/dist/libcxx/src/support/solaris/
H A Dmbsnrtowcs.inc38 size_t nb;
46 if ((nb = mbrtowc_l(&wc, s, nms, ps, loc)) == (size_t)-1)
49 else if (nb == 0 || nb == (size_t)-2)
51 s += nb;
52 nms -= nb;
59 if ((nb = mbrtowc_l(dst, s, nms, ps, loc)) == (size_t)-1) {
62 } else if (nb == (size_t)-2) {
65 } else if (nb == 0) {
69 s += nb;
[all...]
/netbsd-current/sys/ufs/ffs/
H A Dffs_balloc.c81 ffs_extb(struct fs *fs, struct ufs2_dinode *dp, daddr_t nb) argument
83 return ufs_rw64(dp->di_extb[nb], UFS_FSNEEDSWAP(fs));
119 daddr_t newb, pref, nb; local
149 nb = lastlbn;
150 osize = ffs_blksize(fs, ip, nb);
153 error = ffs_realloccg(ip, nb, ffs_getdb(fs, ip, nb),
154 ffs_blkpref_ufs1(ip, lastlbn, nb, flags,
160 ip->i_size = ffs_lblktosize(fs, nb + 1);
163 ip->i_ffs1_db[nb]
537 daddr_t newb, pref, nb; local
[all...]
/netbsd-current/usr.sbin/map-mbone/
H A Dmapper.c152 Neighbor *nb; local
154 for (nb = ifc->neighbors; nb; nb = nb->next)
155 if (nb->addr == addr)
156 return nb;
389 Neighbor *nb; local
402 for (nb = old_neighbors; nb; n
530 Neighbor *nb; local
641 Neighbor *nb; local
695 Neighbor *nb; local
744 Neighbor *nb; local
[all...]
/netbsd-current/external/gpl2/lvm2/dist/libdm/mm/
H A Ddbg_malloc.c61 struct memblock *nb; local
62 size_t tsize = s + sizeof(*nb) + sizeof(unsigned long);
70 if (!(nb = malloc(tsize))) {
77 nb->file = file;
78 nb->line = line;
83 nb->magic = nb + 1;
84 nb->length = s;
85 nb->id = ++_mem_stats.block_serialno;
86 nb
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bn/asm/
H A Dco-586.pl29 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
46 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # load next b
47 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # load next b
57 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
76 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
86 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
112 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
170 $nb
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bn/asm/
H A Dco-586.pl28 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
45 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # load next b
46 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # load next b
56 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
75 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
85 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
111 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
169 $nb
[all...]
/netbsd-current/tools/make/
H A Dbuildmake.sh.in31 docmd " link " "${_TOOL_PREFIX:-nb}make" \
32 @CC@ -o ${_TOOL_PREFIX:-nb}make *.o @LDFLAGS@ @LIBS@
/netbsd-current/sys/external/bsd/drm2/include/linux/
H A Dinterval_tree.h55 const struct interval_tree_node *nb = vb; local
57 if (na->start < nb->start)
59 if (na->start > nb->start)
61 if (na->last < nb->last)
63 if (na->last > nb->last)
/netbsd-current/sys/ufs/ext2fs/
H A Dext2fs_balloc.c99 daddr_t nb; local
127 nb = fs2h32(ip->i_e2fs_blocks[bn]);
128 if (nb != 0) {
183 nb = fs2h32(ip->i_e2fs_blocks[EXT2FS_NDADDR + indirs[0].in_off]);
186 if (nb == 0) {
191 nb = newb;
192 *allocblk++ = nb;
219 nb = fs2h32(bap[indirs[i].in_off]);
223 if (nb != 0) {
233 nb
[all...]
/netbsd-current/lib/libc/db/btree/
H A Dbt_overflow.c87 uint32_t sz, nb, plen; local
114 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
118 nb = MIN(sz, plen);
119 memmove(p, (char *)(void *)h + BTDATAOFF, nb); local
122 if ((sz -= nb) == 0)
145 uint32_t sz, nb, plen; local
169 nb = MIN(sz, plen);
170 (void)memmove((char *)(void *)h + BTDATAOFF, p, (size_t)nb);
178 if ((sz -= nb) == 0) {
/netbsd-current/sys/crypto/blake2/
H A Dblake2s.h43 uint8_t nb; /* number of bytes in buffer */ member in struct:blake2s

Completed in 421 milliseconds

12345678