Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 25 of 106) sorted by relevance

12345

/dragonfly/contrib/gdb-7/gdb/
H A Dremote-notif.c68 nc->ack_command); in remote_notif_ack()
70 nc->parse (nc, buf, event); in remote_notif_ack()
71 nc->ack (nc, buf, event); in remote_notif_ack()
88 nc->parse (nc, buf, event); in remote_notif_parse()
112 if (nc->can_get_pending_events (nc))
160 nc = notifs[i]; in handle_notification()
161 if (strncmp (buf, nc->name, strlen (nc->name)) == 0 in handle_notification()
168 if (nc == NULL) in handle_notification()
171 if (nc->pending_event) in handle_notification()
183 = remote_notif_parse (nc, buf + strlen (nc->name) + 1); in handle_notification()
[all …]
H A Dremote-notif.h71 void remote_notif_ack (struct notif_client *nc, char *buf);
72 struct notif_event *remote_notif_parse (struct notif_client *nc,
/dragonfly/tools/diag/dumpvfscache/
H A Ddumpvfscache.c60 struct namecache *nc; in main() local
70 nc = malloc(sizeof *nc + 400); in main()
83 kvm_read(kvm, p, nc, sizeof *nc + 400); in main()
84 kvm_read(kvm, (u_long)nc->nc_dvp, &vn, sizeof vn); in main()
85 nc->nc_name[nc->nc_nlen] = '\0'; in main()
86 for (j=k=kn=0;nc->nc_name[j];j++) { in main()
87 k+= nc->nc_name[j]; in main()
89 kn+= nc->nc_name[j]; in main()
94 kn = wlpsacrc(nc->nc_name,nc->nc_nlen); in main()
103 i,nc->nc_dvp, k, nc->nc_vp, vn.v_id, nc->nc_name); in main()
[all …]
/dragonfly/etc/etc.x86_64/
H A Ddisktab10 # nc #cylinders/disk
12 # su #sectors/unit, sc*nc default
55 :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
61 :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
67 :ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
73 :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
83 :ty=floppy:se#512:nt#2:rm#300:ns#10:nc#80:\
208 :ns#2880:nc#1:\
213 :ns#5760:nc#1:\
218 :ns#8640:nc#1:\
[all …]
/dragonfly/lib/libc/stdlib/
H A Dradixsort.c127 static int count[256], nc, bmin; in r_sort_a() local
146 if (nc == 0) { in r_sort_a()
153 nc++; in r_sort_a()
167 if (nc == 1 && count[bmin] == n) { in r_sort_a()
169 nc = count[bmin] = 0; in r_sort_a()
199 nc--; in r_sort_a()
226 static int count[256], nc, bmin; in r_sort_b() local
242 if (nc == 0) { in r_sort_b()
249 nc++; in r_sort_b()
252 if (sp + nc > s + SIZE) { in r_sort_b()
[all …]
/dragonfly/contrib/mdocml/
H A Dman_validate.c315 struct roff_node *nc; in post_SH() local
318 nc = n->child; in post_SH()
327 if (nc != NULL && nc->type == ROFFT_TEXT && in post_SH()
336 if (nc != NULL) in post_SH()
343 if (nc->tok == MAN_PP && nc->body->child != NULL) { in post_SH()
351 if (nc->tok == MAN_PP || nc->tok == ROFF_sp || nc->tok == ROFF_br) { in post_SH()
352 mandoc_msg(MANDOCERR_PAR_SKIP, nc->line, nc->pos, in post_SH()
354 roff_node_delete(man, nc); in post_SH()
362 if ((nc = n->last) != NULL && nc->tok == ROFF_br) { in post_SH()
364 nc->line, nc->pos, "%s at the end of %s", in post_SH()
[all …]
/dragonfly/contrib/gmp/mpn/generic/
H A Dperfpow.c326 mp_limb_t *nc, factor, g = 0; in mpn_perfect_power_p() local
332 nc = (mp_ptr) np; in mpn_perfect_power_p()
362 nc = TMP_ALLOC_LIMBS (ncn); in mpn_perfect_power_p()
365 mpn_rshift (nc, np + s, ncn, count); in mpn_perfect_power_p()
366 ncn -= (nc[ncn - 1] == 0); in mpn_perfect_power_p()
370 MPN_COPY (nc, np + s, ncn); in mpn_perfect_power_p()
388 nc = TMP_ALLOC_LIMBS (ncn); in mpn_perfect_power_p()
389 MPN_COPY (nc, np, ncn); in mpn_perfect_power_p()
472 MPN_COPY (nc, next, ncn); in mpn_perfect_power_p()
474 if (ncn == 1 && nc[0] == 1) in mpn_perfect_power_p()
[all …]
/dragonfly/lib/libypclnt/
H A Dypclnt_passwd.c67 struct netconfig *nc = NULL; in ypclnt_havepasswdd() local
85 while ((nc = getnetconfig(localhandle)) != NULL) { in ypclnt_havepasswdd()
86 if (nc->nc_protofmly != NULL && in ypclnt_havepasswdd()
87 strcmp(nc->nc_protofmly, NC_LOOPBACK) == 0) in ypclnt_havepasswdd()
90 if (nc == NULL) { in ypclnt_havepasswdd()
97 MASTER_YPPASSWDVERS, nc)) == NULL) { in ypclnt_havepasswdd()
141 struct netconfig *nc = NULL; in yppasswd_local() local
169 if (nc->nc_protofmly != NULL && in yppasswd_local()
170 strcmp(nc->nc_protofmly, NC_LOOPBACK) == 0) in yppasswd_local()
173 if (nc == NULL) { in yppasswd_local()
[all …]
/dragonfly/usr.sbin/lpr/lptest/
H A Dlptest.c46 int i, j, fc, nc; in main() local
62 nc = fc; in main()
64 putchar(nc); in main()
65 if (++nc == 0177) in main()
66 nc = ' '; in main()
/dragonfly/contrib/file/magic/Magdir/
H A Dmcrypt8 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/n/nc-mcrypt.trid.xml
13 !:mime application/x-crypt-nc
14 !:ext nc
19 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/n/nc-mcrypt-22.trid.xml
23 !:mime application/x-crypt-nc
25 !:ext nc
/dragonfly/usr.bin/window/
H A Dwwopen.c75 w->ww_w.nc = ncol; in wwopen()
82 w->ww_b.nc = ncol; in wwopen()
89 w->ww_i.nc = w->ww_i.r - w->ww_i.l; in wwopen()
126 w->ww_w.nr, w->ww_w.nc, sizeof (char)); in wwopen()
143 w->ww_w.nr, w->ww_w.nc, sizeof (char)); in wwopen()
153 w->ww_b.nr, w->ww_b.nc, sizeof (union ww_char)); in wwopen()
166 nvis = m ? 0 : w->ww_w.nc; in wwopen()
H A Dwwsize.c64 if (nrow > w->ww_b.nr || ncol > w->ww_b.nc) { in wwsize()
85 if (ncol < w->ww_b.nc) in wwsize()
122 w->ww_w.nc = ncol; in wwsize()
128 w->ww_b.nc = ncol; in wwsize()
142 w->ww_i.nc = w->ww_i.r - w->ww_i.l; in wwsize()
161 j = m ? 0 : w->ww_w.nc; in wwsize()
H A Dwwbox.c40 wwbox(struct ww *w, int r, int c, int nr, int nc) in wwbox() argument
46 c1 = c + nc - 1; in wwbox()
H A Dwwenviron.c72 if (wwsetttysize(i, wp->ww_w.nr, wp->ww_w.nc) < 0) in wwenviron()
96 WWT_TERMCAP, wp->ww_w.nc, wp->ww_w.nr, wwwintermcap); in wwenviron()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_ncons.c77 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
304 NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc) in NAME_CONSTRAINTS_check() argument
316 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check()
336 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check()
346 r = nc_match(gen, nc); in NAME_CONSTRAINTS_check()
353 nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc) in nc_match() argument
362 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees); i++) { in nc_match()
363 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i); in nc_match()
385 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->excludedSubtrees); i++) { in nc_match()
386 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i); in nc_match()
/dragonfly/sys/net/sl/
H A Dif_sl.c361 for (nsl = NSL, nc = sl_softc; --nsl >= 0; nc++) { in sltioctl()
362 if ( nc->sc_if.if_dunit == *(u_int *)data in sltioctl()
363 && nc->sc_ttyp == NULL in sltioctl()
367 *tmpnc = *nc; in sltioctl()
368 *nc = *sc; in sltioctl()
369 nc->sc_if = tmpnc->sc_if; in sltioctl()
375 if (!(nc->sc_if.if_flags & IFF_UP)) in sltioctl()
376 if_up(&nc->sc_if); in sltioctl()
377 } else if (nc->sc_if.if_flags & IFF_UP) in sltioctl()
378 if_down(&nc->sc_if); in sltioctl()
[all …]
/dragonfly/contrib/lvm2/dist/libdm/mm/
H A Dpool-fast.c172 struct chunk *c = p->chunk, *nc; in dm_pool_grow_object() local
180 nc = _new_chunk(p, (p->object_len + delta) * 2); in dm_pool_grow_object()
182 nc = _new_chunk(p, p->chunk_size); in dm_pool_grow_object()
184 if (!nc) in dm_pool_grow_object()
/dragonfly/usr.bin/m4/
H A Deval.c867 int nc; in dosub() local
875 nc = strlen(fc); in dosub()
878 nc = min(nc, expr(argv[4])); in dosub()
880 nc = min(nc, atoi(argv[4])); in dosub()
883 for (k = fc + nc - 1; k >= fc; k--) in dosub()
/dragonfly/etc/
H A Dgettytab227 :np:nc:sp#0:
229 :np:nc:sp#9600:
231 :np:nc:sp#19200:
233 :np:nc:sp#38400:
235 :np:nc:sp#57600:
237 :np:nc:sp#115200:
239 :np:nc:sp#230400:
/dragonfly/games/cribbage/
H A Dsupport.c236 int nc, ns; in cdiscard() local
242 nc = CARDS; in cdiscard()
244 cremove(known[i], d, nc--); in cdiscard()
257 for (k = 0; k < nc; k++) { in cdiscard()
/dragonfly/crypto/libressl/
H A DREADME.DRAGONFLY20 usr.bin/nc
24 --enable-nc ac_cv_header_dlfcn_h=no ac_cv_lib_dl_dlopen=no
/dragonfly/games/backgammon/common_source/
H A Dfancy.c303 int ov, nc; in fixpos() local
306 nc = 0; in fixpos()
315 nc = c + 2; in fixpos()
317 nc = c < 54 ? c : c + 1; in fixpos()
319 nc = c < 54 ? c + 1 : c; in fixpos()
321 fixcol(r + inc * (nv - n * 5), nc, in fixpos()
324 fixcol(r + inc * (ov - o * 5), nc, in fixpos()
/dragonfly/usr.bin/nc/
H A DMakefile2 .PATH: ${.CURDIR}/../../crypto/libressl/apps/nc
7 PROG= nc
/dragonfly/sys/vfs/tmpfs/
H A Dtmpfs_vfsops.c524 struct netcred *nc; in tmpfs_checkexp() local
527 nc = vfs_export_lookup(mp, &tmp->tm_export, nam); in tmpfs_checkexp()
528 if (nc == NULL) in tmpfs_checkexp()
531 *exflagsp = nc->netc_exflags; in tmpfs_checkexp()
532 *credanonp = &nc->netc_anon; in tmpfs_checkexp()
/dragonfly/usr.bin/tip/
H A Dunidialer.c591 int nc, nl, n; in unidialer_connect() local
600 nc = 0; nl = sizeof(dialer_buf)-1; in unidialer_connect()
603 for (nc = 0, nl = sizeof(dialer_buf)-1 ; nl > 0 ; nc++, nl--) { in unidialer_connect()
648 dialer_buf[nc] = c; in unidialer_connect()

12345