| /netbsd/src/share/examples/disktab/ |
| D | disktab | 14 # nc #cylinders/disk 16 # su #sectors/unit, sc*nc default 47 :ty=floppy:se#512:nt#2:rm#300:ns#36:nc#80:\ 55 :dt=ESDI:ty=winchester:se#512:nt#16:ns#63:nc#826: \ 63 :dt=ESDI:ty=winchester:se#512:nt#15:ns#62:nc#899: \ 72 :dt=ESDI:ty=winchester:se#512:nt#16:ns#62:nc#839: \ 82 :nc#1651:ns#63:nt#16:se#512:\ 90 :dt=SCSI::ty=removable:se#512:nt#64:ns#32:nc#634: \ 99 :ty=winchester:dt=SCSI:ns#62:nt#9:nc#1476:\ 107 :dt=SCSI:se#512:ns#99:nt#16:sc#1584:nc#2595:\ [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | remote-notif.c | 60 const notif_client *nc, const char *buf) in remote_notif_ack() argument 62 notif_event_up event = nc->alloc_event (); in remote_notif_ack() 66 nc->ack_command); in remote_notif_ack() 68 nc->parse (remote, nc, buf, event.get ()); in remote_notif_ack() 69 nc->ack (remote, nc, buf, std::move (event)); in remote_notif_ack() 76 const notif_client *nc, const char *buf) in remote_notif_parse() argument 78 notif_event_up event = nc->alloc_event (); in remote_notif_parse() 81 gdb_printf (gdb_stdlog, "notif: parse '%s'\n", nc->name); in remote_notif_parse() 83 nc->parse (remote, nc, buf, event.get ()); in remote_notif_parse() 97 const notif_client *nc = state->notif_queue.front (); in remote_notif_process() local [all …]
|
| /netbsd/src/sys/net/npf/ |
| D | npf_conf.c | 66 npf_config_t *nc; in npf_config_init() local 69 nc = npf_config_create(); in npf_config_init() 74 nc->ruleset = npf_ruleset_create(0); in npf_config_init() 75 nc->nat_ruleset = npf_ruleset_create(0); in npf_config_init() 76 nc->rule_procs = npf_rprocset_create(); in npf_config_init() 77 nc->tableset = npf_tableset_create(0); in npf_config_init() 78 nc->default_pass = true; in npf_config_init() 80 npf_config_load(npf, nc, NULL, true); in npf_config_init() 91 npf_config_destroy(npf_config_t *nc) in npf_config_destroy() argument 97 if (nc->ruleset) { in npf_config_destroy() [all …]
|
| D | npf_ctl.c | 196 npf_mk_tables(npf_t *npf, const nvlist_t *req, nvlist_t *resp, npf_config_t *nc) in npf_mk_tables() argument 226 nc->tableset = tblset; in npf_mk_tables() 261 npf_mk_rprocs(npf_t *npf, const nvlist_t *req, nvlist_t *resp, npf_config_t *nc) in npf_mk_rprocs() argument 289 nc->rule_procs = rpset; in npf_mk_rprocs() 390 npf_mk_rules(npf_t *npf, const nvlist_t *req, nvlist_t *resp, npf_config_t *nc) in npf_mk_rules() argument 413 error = npf_mk_singlerule(npf, rule, resp, nc->rule_procs, &rl); in npf_mk_rules() 426 nc->ruleset = rlset; in npf_mk_rules() 481 npf_mk_natlist(npf_t *npf, const nvlist_t *req, nvlist_t *resp, npf_config_t *nc) in npf_mk_natlist() argument 507 nc->tableset, &rl); in npf_mk_natlist() 513 nc->nat_ruleset = ntset; in npf_mk_natlist() [all …]
|
| /netbsd/src/sys/dev/pckbport/ |
| D | pckbport.c | 313 struct pckbport_devcmd nc; in pckbport_poll_cmd() local 318 memset(&nc, 0, sizeof(nc)); in pckbport_poll_cmd() 319 memcpy(nc.cmd, cmd, len); in pckbport_poll_cmd() 320 nc.cmdlen = len; in pckbport_poll_cmd() 321 nc.responselen = responselen; in pckbport_poll_cmd() 322 nc.flags = (slow ? KBC_CMDFLAG_SLOW : 0); in pckbport_poll_cmd() 324 pckbport_poll_cmd1(t, slot, &nc); in pckbport_poll_cmd() 326 if (nc.status == 0 && respbuf) in pckbport_poll_cmd() 327 memcpy(respbuf, nc.response, responselen); in pckbport_poll_cmd() 329 return nc.status; in pckbport_poll_cmd() [all …]
|
| /netbsd/src/etc/etc.vax/ |
| D | disktab | 27 :ty=removable:ns#32:nt#5:nc#823:sf:\ 38 :ty=removable:ns#32:nt#19:nc#823:sf:\ 50 :ty=removable:ns#22:nt#19:nc#815:sf:\ 61 :ty=winchester:ns#31:nt#14:nc#559:sf:\ 72 :ty=removable:ns#22:nt#19:nc#411:sf:\ 83 :ty=winchester:ns#50:nt#32:nc#630:sf:\ 95 :ty=simulated:dt=SMD:ns#1:nt#1:nc#2000: 97 :ty=winchester:ns#32:nt#40:nc#842:sf:\ 109 :ty=removable:ns#32:nt#10:nc#823:sf:\ 120 :ty=winchester:ns#32:nt#16:nc#1024:sf:\ [all …]
|
| /netbsd/src/usr.sbin/services_mkdb/ |
| D | output_db.c | 171 size_t nc, i, pos; in mkaliases() local 175 nc = strlcpy(buf + pos, sl->sl_str[i], len); in mkaliases() 176 if (nc >= len) in mkaliases() 178 pos += nc; in mkaliases() 179 len -= nc; in mkaliases() 180 nc = strlcpy(buf + pos, " ", len); in mkaliases() 181 if (nc >= len) in mkaliases() 183 pos += nc; in mkaliases() 184 len -= nc; in mkaliases()
|
| /netbsd/src/external/bsd/mdocml/dist/ |
| D | man_validate.c | 249 struct roff_node *nc; in post_SH() local 251 if (n->type != ROFFT_BODY || (nc = n->child) == NULL) in post_SH() 254 if (nc->tok == MAN_PP && nc->body->child != NULL) { in post_SH() 255 while (nc->body->last != NULL) { in post_SH() 257 roff_node_relink(man, nc->body->last); in post_SH() 262 if (nc->tok == MAN_PP || nc->tok == ROFF_sp || nc->tok == ROFF_br) { in post_SH() 263 mandoc_msg(MANDOCERR_PAR_SKIP, nc->line, nc->pos, in post_SH() 264 "%s after %s", roff_name[nc->tok], roff_name[n->tok]); in post_SH() 265 roff_node_delete(man, nc); in post_SH() 273 if ((nc = n->last) != NULL && nc->tok == ROFF_br) { in post_SH() [all …]
|
| /netbsd/src/lib/libc/stdlib/ |
| D | radixsort.c | 151 static u_int count[256], nc, bmin; in r_sort_a() local 173 if (nc == 0) { in r_sort_a() 180 nc++; in r_sort_a() 183 if (sp + nc > s + SIZE) { /* Get more stack. */ in r_sort_a() 204 for (cp = count + bmin; nc > 0; cp++) { in r_sort_a() 215 nc--; in r_sort_a() 242 static u_int count[256], nc, bmin; in r_sort_b() local 262 if (nc == 0) { in r_sort_b() 269 nc++; in r_sort_b() 272 if (sp + nc > s + SIZE) { in r_sort_b() [all …]
|
| /netbsd/src/common/lib/libc/sys/ |
| D | cpuset.c | 57 #define CPUSET_NENTRIES(nc) (((nc) >> CPUSET_SHIFT) + 1) argument 136 u_int nc; in _cpuset_create() local 138 len = sizeof(nc); in _cpuset_create() 139 if (sysctl(mib, (unsigned int)__arraycount(mib), &nc, &len, in _cpuset_create() 143 cpuset_nentries = CPUSET_NENTRIES(nc); in _cpuset_create()
|
| /netbsd/src/usr.sbin/lpr/lptest/ |
| D | lptest.c | 54 int i, j, fc, nc; in main() local 70 nc = fc; in main() 72 putchar(nc); in main() 73 if (++nc == 0177) in main() 74 nc = ' '; in main()
|
| /netbsd/src/external/bsd/am-utils/dist/conf/transp/ |
| D | transp_tli.c | 169 struct netconfig *nc = NULL; in get_mount_client() local 182 if ((nc = getnetconfigent(NC_TCP)) == NULL) { in get_mount_client() 186 if (!rpcb_getaddr(MOUNTPROG, mnt_version, nc, &nb, host)) { in get_mount_client() 196 *sock = t_open(nc->nc_device, O_RDWR, 0); in get_mount_client() 199 plog(XLOG_ERROR, "t_open %s: %m", nc->nc_device); in get_mount_client() 213 if (nc) in get_mount_client() 214 freenetconfigent(nc); in get_mount_client() 219 if (nc) in get_mount_client() 220 freenetconfigent(nc); in get_mount_client() 229 if ((nc = getnetconfigent(NC_UDP)) == NULL) { in get_mount_client() [all …]
|
| /netbsd/src/usr.bin/rdist/ |
| D | gram.y | 373 struct cmd *c, *prev, *nc; in insert() local 395 nc = ALLOC(cmd); in insert() 396 if (nc == NULL) in insert() 398 nc->c_type = ARROW; in insert() 399 nc->c_name = h->n_name; in insert() 400 nc->c_label = label; in insert() 401 nc->c_files = files; in insert() 402 nc->c_cmds = subcmds; in insert() 403 nc->c_next = c; in insert() 405 cmds = nc; in insert() [all …]
|
| /netbsd/src/games/dab/ |
| D | main.cc | 105 const char* nc = "ch"; in main() local 119 nc = optarg; in main() 156 char n = nc[1] == nc[0] ? i + '0' : nc[i]; in main() 157 switch (nc[i]) { in main()
|
| /netbsd/src/games/worms/ |
| D | worms.c | 204 int x, y, h, n, nc; in main() local 377 nc = docolour ? initclr(&ctab) : 0; in main() 452 w->attr = nc ? ctab[n % nc] : 0; in main() 453 i = (nc && number > flavors ? n / nc : n) % flavors; in main() 569 int nc = 0; in initclr() local 600 if (nc + 1 >= COLOR_PAIRS) in initclr() 602 if (init_pair(nc + 1, clr[j], -1) == ERR) in initclr() 604 *ip++ = COLOR_PAIR(nc + 1) | attr[i]; in initclr() 605 nc++; in initclr() 609 return nc; in initclr()
|
| /netbsd/src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| D | scanresults.cpp | 134 NetworkConfig *nc = new NetworkConfig(); in bssSelected() local 135 if (nc == NULL) in bssSelected() 137 nc->setWpaGui(wpagui); in bssSelected() 138 nc->paramsFromScanResults(sel); in bssSelected() 139 nc->show(); in bssSelected() 140 nc->exec(); in bssSelected()
|
| /netbsd/src/external/lgpl3/gmp/dist/mpn/generic/ |
| D | perfpow.c | 244 mp_limb_t *nc, factor, g; in mpn_perfect_power_p() local 282 nc = TMP_ALLOC_LIMBS (n); in mpn_perfect_power_p() 283 mpn_rshift (nc, np, n, count); in mpn_perfect_power_p() 284 n -= (nc[n - 1] == 0); in mpn_perfect_power_p() 285 np = nc; in mpn_perfect_power_p() 299 nc = TMP_ALLOC_LIMBS (n); in mpn_perfect_power_p() 310 exp = mpn_remove (nc, &n, np, n, &d, 1, ~(mp_bitcnt_t)0); in mpn_perfect_power_p() 323 if ((n == 1) & (nc[0] == 1)) in mpn_perfect_power_p() 329 np = nc; in mpn_perfect_power_p()
|
| /netbsd/src/external/bsd/file/dist/magic/magdir/ |
| D | mcrypt | 8 # 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
|
| /netbsd/src/usr.bin/sort/ |
| D | radix_sort.c | 73 u_int count[256], nc, bmin; in radix_sort() local 103 nc = 0; in radix_sort() 123 nc++; in radix_sort() 130 if (sp + nc > s + stack_size) { in radix_sort() 142 for (cp = count + bmin; nc > 0; cp++) { in radix_sort() 155 nc--; in radix_sort()
|
| /netbsd/src/distrib/emips/ramdisk/ |
| D | disktab.preinstall | 10 # nc #cylinders/disk 11 # sc #sectors/cylinder, nc*nt default 12 # su #sectors/unit, sc*nc default 33 :dt=ESDI:ty=removable:se#512:nt#255:ns#63:nc#50: \ 38 :dt=ESDI:ty=removable:se#512:nt#255:ns#63:nc#100: \
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/ |
| D | v3_ncons.c | 33 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc); 250 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc) in NAME_CONSTRAINTS_check() argument 264 sk_GENERAL_SUBTREE_num(nc->permittedSubtrees), in NAME_CONSTRAINTS_check() 265 sk_GENERAL_SUBTREE_num(nc->excludedSubtrees)) in NAME_CONSTRAINTS_check() 274 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check() 294 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check() 304 r = nc_match(gen, nc); in NAME_CONSTRAINTS_check() 409 int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc) in NAME_CONSTRAINTS_check_CN() argument 443 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check_CN() 472 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc) in nc_match() argument [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/bn/asm/ |
| D | sparcv9a-mont.pl | 115 $na="%f8"; $nb="%f10"; $nc="%f12"; $nd="%f14"; 227 ldda [%sp+$bias+$frame+2]%asi,$nc 237 fxtod $nc,$nc 247 fmuld $nlo,$nc,$nloc 259 fmuld $nhi,$nc,$nhic 312 fmuld $nlo,$nc,$nloc 341 fmuld $nhi,$nc,$nhic 399 fmuld $nlo,$nc,$nloc 424 fmuld $nhi,$nc,$nhic 544 ldda [%sp+$bias+$frame+2]%asi,$nc [all …]
|
| D | ppc64-mont.pl | 173 $na="f4"; $nb="f5"; $nc="f6"; $nd="f7"; 375 lfd $nc,`$FRAME+48`($sp) 391 fcfid $nc,$nc 448 fmadd $T1a,$N0,$nc,$T1a 450 fmadd $T2a,$N1,$nc,$T2a 452 fmadd $T3a,$N2,$nc,$T3a 454 fmadd $dota,$N3,$nc,$dota 598 fmadd $T1a,$N0,$nc,$T1a 601 fmadd $T2a,$N1,$nc,$T2a 604 fmadd $T3a,$N2,$nc,$T3a [all …]
|
| /netbsd/src/usr.sbin/nfsd/ |
| D | nfsd.c | 144 struct netconfig *nc; member 180 cfg->nc = getnetconfigent(cfg_netconf[t]); in tryconf() 182 if (cfg->nc == NULL) { in tryconf() 191 if (!rpcb_set(RPCPROG_NFS, 2, cfg->nc, &cfg->nb)) { in tryconf() 197 freenetconfigent(cfg->nc); in tryconf() 198 cfg->nc = NULL; in tryconf() 251 if (!rpcb_set(RPCPROG_NFS, 2, cfg->nc, &cfg->nb) || in setupsock() 252 !rpcb_set(RPCPROG_NFS, 3, cfg->nc, &cfg->nb)) { in setupsock() 544 if (cfg[i].nc == NULL) in main()
|
| /netbsd/src/usr.bin/apply/ |
| D | apply.c | 63 char *c, *cmd, *p, *q, *nc; in main() local 167 nc = realloc(c, l); in main() 168 if (nc == NULL) in main() 170 c = nc; in main()
|