/openbsd/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 73 int32_t nb; in ffs_balloc_ufs1() local 101 nb = lastlbn; in ffs_balloc_ufs1() 134 if (nb != 0) { in ffs_balloc_ufs1() 212 if (nb == 0) { in ffs_balloc_ufs1() 217 nb = newb; in ffs_balloc_ufs1() 259 nb = newb; in ffs_balloc_ufs1() 282 if (nb == 0) { in ffs_balloc_ufs1() 289 nb = newb; in ffs_balloc_ufs1() 466 nb = newb; in ffs_balloc_ufs2() 508 nb = newb; in ffs_balloc_ufs2() [all …]
|
/openbsd/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 102 if (nb < NDADDR && nb < lbn) { in ffs1_balloc() 106 ffs1_blkpref(ip, nb, (int)nb, &ip->i_ffs1_db[0]), in ffs1_balloc() 145 if (nb != 0) { in ffs1_balloc() 226 if (nb == 0) { in ffs1_balloc() 232 nb = newb; in ffs1_balloc() 276 nb = newb; in ffs1_balloc() 306 if (nb == 0) { in ffs1_balloc() 314 nb = newb; in ffs1_balloc() 583 nb = newb; in ffs2_balloc() 636 nb = newb; in ffs2_balloc() [all …]
|
/openbsd/usr.sbin/map-mbone/ |
H A D | mapper.c | 150 Neighbor *nb; in find_neighbor() local 152 for (nb = ifc->neighbors; nb; nb = nb->next) in find_neighbor() 154 return nb; in find_neighbor() 399 for (nb = old_neighbors; nb; nb = nb->next) in accept_neighbors() 401 if (metric != nb->metric || threshold != nb->threshold) in accept_neighbors() 543 for (nb = old_neighbors; nb; nb = nb->next) in accept_neighbors2() 644 for (nb = ifc->neighbors; nb; nb = nb->next) { in print_map() 650 printf(" [%d/%d", nb->metric, nb->threshold); in print_map() 704 for (nb = ifc->neighbors; nb; nb = nb->next) { in graph_edges() 715 nb_node->addr, nb->metric, nb->threshold); in graph_edges() [all …]
|
/openbsd/usr.bin/talk/ |
H A D | io.c | 59 int nb; in talk() local 81 nb = poll(fds, 2, A_LONG_TIME * 1000); in talk() 86 if (nb <= 0) { in talk() 94 nb = read(sockt, buf, sizeof buf); in talk() 95 if (nb <= 0) in talk() 97 display(&his_win, buf, nb); in talk() 104 ioctl(0, FIONREAD, &nb); in talk() 105 nb = read(STDIN_FILENO, buf, nb); in talk() 106 display(&my_win, buf, nb); in talk() 108 write(sockt, buf, nb); in talk()
|
/openbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 62 u_int32_t nb, newb, *bap; in ext2fs_buf_alloc() local 78 if (nb != 0) { in ext2fs_buf_alloc() 124 if (nb == 0) { in ext2fs_buf_alloc() 129 nb = newb; in ext2fs_buf_alloc() 130 *allocblk++ = nb; in ext2fs_buf_alloc() 160 if (nb != 0) { in ext2fs_buf_alloc() 170 nb = newb; in ext2fs_buf_alloc() 171 *allocblk++ = nb; in ext2fs_buf_alloc() 200 if (nb == 0) { in ext2fs_buf_alloc() 207 nb = newb; in ext2fs_buf_alloc() [all …]
|
/openbsd/lib/libcrypto/bn/asm/ |
H A D | co-586.pl | 18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 65 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb); 75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 101 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb); 159 $nb=($bi+1); 164 $nb=$bs+($i >= ($num-1)); 247 $nb=$bi+1; 252 $nb=$bs+($i >= ($num-1)); 257 $c0,$c1,$c2,$v,$i,$na,$nb); [all …]
|
H A D | ppc64-mont.pl | 335 fcfid $nb,$nb 385 fmadd $T1b,$N1,$nb,$T1b 387 fmadd $T2b,$N2,$nb,$T2b 389 fmadd $T3b,$N3,$nb,$T3b 391 fmadd $T0b,$N0,$nb,$T0b 510 fmadd $T1b,$N1,$nb,$T1b 513 fmadd $T2b,$N2,$nb,$T2b 516 fmadd $T3b,$N3,$nb,$T3b 519 fmadd $T0b,$N0,$nb,$T0b 683 fcfid $nb,$nb [all …]
|
/openbsd/gnu/llvm/libcxx/src/support/solaris/ |
H A D | wcsnrtombs.inc | 36 size_t nb; 43 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1) 47 return (nbytes + nb - 1); 49 nbytes += nb; 57 if ((nb = wcrtomb_l(dst, *s, ps, loc)) == (size_t)-1) { 74 if (nb > (int)len) { 79 memcpy(dst, buf, nb); 83 return (nbytes + nb - 1); 86 dst += nb; 87 len -= nb; [all …]
|
H A D | mbsnrtowcs.inc | 38 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; 70 nms -= nb;
|
/openbsd/regress/lib/libpthread/select/ |
H A D | select.c | 82 int nb; in fg_routine() local 110 while ((nb = read(fd, buf, sizeof(buf) - 1)) > 0) { in fg_routine() 111 printf("read %d: `%.*s'\n", nb, nb, buf); in fg_routine() 113 printf("last read was %d, errno = %d %s\n", nb, errno, in fg_routine() 115 if (nb < 0) in fg_routine() 118 if (nb == 0) in fg_routine()
|
/openbsd/lib/libc/db/btree/ |
H A D | bt_overflow.c | 78 size_t nb, plen; in __ovfl_get() local 104 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { in __ovfl_get() 108 nb = MINIMUM(sz, plen); in __ovfl_get() 109 memmove(p, (char *)h + BTDATAOFF, nb); in __ovfl_get() 112 if ((sz -= nb) == 0) in __ovfl_get() 135 size_t nb, plen; in __ovfl_put() local 153 nb = MINIMUM(sz, plen); in __ovfl_put() 154 memmove((char *)h + BTDATAOFF, p, nb); in __ovfl_put() 162 if ((sz -= nb) == 0) { in __ovfl_put()
|
/openbsd/usr.sbin/tcpdump/ |
H A D | print-netbios.c | 49 netbios_print(struct p8022Hdr *nb, u_int length) in netbios_print() argument 56 TCHECK(*nb); in netbios_print() 58 if (nb->flags == UI) in netbios_print() 64 netbios_decode(nb, (u_char *)nb + p8022Size, length - p8022Size); in netbios_print()
|
/openbsd/gnu/usr.bin/perl/ext/B/t/ |
H A D | showlex.t | 30 my ($na,$nb,$nc); # holds regex-strs 45 $nb = padrep('$b',$newlex); 47 like ($out, qr/2: $nb/ms, 'found $b in "my ($a,$b)"'); 57 $nb = padrep('$bar',$newlex); 59 like ($buf, qr/2: $nb/ms, 'found $bar in "sub { my ($foo,$bar) }"'); 70 $nb = padrep('@arr',$newlex); 73 like ($buf, qr/2: $nb/ms, 'found @arr in "'. $src .'"');
|
/openbsd/sys/dev/pci/drm/include/drm/ |
H A D | drm_privacy_screen_consumer.h | 29 struct notifier_block *nb); 31 struct notifier_block *nb); 54 struct notifier_block *nb) in drm_privacy_screen_register_notifier() argument 59 struct notifier_block *nb) in drm_privacy_screen_unregister_notifier() argument
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_iosf_mbi.h | 24 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier() argument 30 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked() argument 36 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier() argument
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-1.c | 2 fun (nb) in fun() argument 3 int nb; in fun() 7 while (nb--)
|
/openbsd/lib/libcurses/tinfo/ |
H A D | alloc_ttype.c | 56 merge_names(char **dst, char **a, int na, char **b, int nb) in merge_names() argument 59 while (na > 0 && nb > 0) { in merge_names() 66 nb--; in merge_names() 70 na--, nb--; in merge_names() 76 while (nb-- > 0) { in merge_names() 428 int nb; in _nc_align_termtype() local 432 nb = from ? ((int) NUM_EXT_NAMES(from)) : 0; in _nc_align_termtype() 436 nb, from ? NonNull(from->term_names) : "?")); in _nc_align_termtype() 466 TYPE_MALLOC(char *, (size_t)(na + nb), ext_Names); in _nc_align_termtype() 507 if (nb != (ext_Booleans + ext_Numbers + ext_Strings)) { in _nc_align_termtype() [all …]
|
/openbsd/usr.bin/ssh/ |
H A D | poly1305.c | 34 uint32_t b, nb; in poly1305_auth() local 139 nb = ~b; in poly1305_auth() 140 h0 = (h0 & nb) | (g0 & b); in poly1305_auth() 141 h1 = (h1 & nb) | (g1 & b); in poly1305_auth() 142 h2 = (h2 & nb) | (g2 & b); in poly1305_auth() 143 h3 = (h3 & nb) | (g3 & b); in poly1305_auth() 144 h4 = (h4 & nb) | (g4 & b); in poly1305_auth()
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-spec/ |
H A D | basic-data.tml | 11 "a\nb": c 13 {"a\nb":"c"} 15 # "a\nb": c
|
/openbsd/usr.bin/make/ |
H A D | buf.c | 84 #define DO_STAT_BUF(bp, nb) \ argument 107 BufExpand(Buffer bp, size_t nb) in BufExpand() argument 111 DO_STAT_BUF(bp, nb); in BufExpand() 120 } while (size - occupied < nb+1+BUF_MARGIN); in BufExpand()
|
/openbsd/sys/dev/pci/drm/i915/gt/uc/ |
H A D | intel_huc.c | 178 static int gsc_notifier(struct notifier_block *nb, unsigned long action, void *data) in gsc_notifier() argument 184 struct intel_huc *huc = container_of(nb, struct intel_huc, delayed_load.nb); in gsc_notifier() 213 huc->delayed_load.nb.notifier_call = gsc_notifier; in intel_huc_register_gsc_notifier() 214 ret = bus_register_notifier(bus, &huc->delayed_load.nb); in intel_huc_register_gsc_notifier() 217 huc->delayed_load.nb.notifier_call = NULL; in intel_huc_register_gsc_notifier() 224 if (!huc->delayed_load.nb.notifier_call) in intel_huc_unregister_gsc_notifier() 229 bus_unregister_notifier(bus, &huc->delayed_load.nb); in intel_huc_unregister_gsc_notifier() 230 huc->delayed_load.nb.notifier_call = NULL; in intel_huc_unregister_gsc_notifier()
|
/openbsd/gnu/usr.bin/binutils/intl/ |
H A D | loadmsgcat.c | 132 long int nb = (long int) read (fd, read_ptr, to_read); local 133 if (nb == -1) 139 read_ptr += nb; 140 to_read -= nb;
|
/openbsd/gnu/usr.bin/binutils-2.17/intl/ |
H A D | loadmsgcat.c | 132 long int nb = (long int) read (fd, read_ptr, to_read); local 133 if (nb == -1) 139 read_ptr += nb; 140 to_read -= nb;
|
/openbsd/usr.bin/col/ |
H A D | col.c | 349 int half, i, nb; in flush_blanks() local 352 nb = nblank_lines; in flush_blanks() 353 if (nb & 1) { in flush_blanks() 357 nb++; in flush_blanks() 359 nb /= 2; in flush_blanks() 360 for (i = nb; --i >= 0;) in flush_blanks() 369 if (!nb) in flush_blanks()
|
/openbsd/sys/dev/pci/drm/include/asm/ |
H A D | iosf_mbi.h | 35 iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier() argument 41 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked() argument
|