/freebsd/usr.bin/su/ |
H A D | su.c | 146 } np; in main() local 230 np.a = &nargv[i + 3]; in main() 532 *np.a-- = "-f"; in main() 534 *np.a-- = "-m"; in main() 537 *np.a = asthem ? "-su" : iscsh == YES ? "_su" : "su"; in main() 543 execv(shell, np.b); in main()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | eeprom.c | 104 struct device_node *np = dev->mt76.dev->of_node; in mt7603_apply_cal_free_data() local 109 if (!np || !of_property_read_bool(np, "mediatek,eeprom-merge-otp")) in mt7603_apply_cal_free_data()
|
/freebsd/sys/arm64/acpica/ |
H A D | acpi_iort.c | 386 struct iort_node *node, *np; in iort_resolve_node() local 390 TAILQ_FOREACH(np, &smmu_nodes, next) { in iort_resolve_node() 391 if (entry->out_node_offset == np->node_offset) { in iort_resolve_node() 392 node = np; in iort_resolve_node() 398 TAILQ_FOREACH(np, &its_groups, next) { in iort_resolve_node() 399 if (entry->out_node_offset == np->node_offset) { in iort_resolve_node() 400 node = np; in iort_resolve_node()
|
/freebsd/lib/libc/gen/ |
H A D | wordexp.c | 136 char *np, *p; /* Handy pointers */ in we_askshell() local 281 if ((np = memchr(p, '\0', nbytes)) == NULL) in we_askshell() 283 nbytes -= np - p + 1; in we_askshell() 284 p = np + 1; in we_askshell()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_node.h | 76 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode) argument
|
/freebsd/bin/ed/ |
H A D | main.c | 1140 line_t *lp, *np = get_addressed_line_node(first_addr); in copy_lines() local 1150 for (; n > 0; n=m, m=0, np = get_addressed_line_node(current_addr + 1)) in copy_lines() 1151 for (; n-- > 0; np = np->q_forw) { in copy_lines() 1153 if ((lp = dup_line_node(np)) == NULL) { in copy_lines() 1270 line_t *np; in dup_line_node() local 1272 if ((np = (line_t *) malloc(sizeof(line_t))) == NULL) { in dup_line_node() 1277 np->seek = lp->seek; in dup_line_node() 1278 np->len = lp->len; in dup_line_node() 1279 return np; in dup_line_node()
|
H A D | sub.c | 39 extract_subst_tail(int *flagp, long *np) in extract_subst_tail() argument 43 *flagp = *np = 0; in extract_subst_tail() 56 STRTOL(*np, ibufp); in extract_subst_tail()
|
/freebsd/bin/sh/ |
H A D | parser.c | 1029 union node *np; in parseredir() local 1033 np->nfile.fd = 1; in parseredir() 1036 np->type = NAPPEND; in parseredir() 1038 np->type = NTOFD; in parseredir() 1042 np->type = NTO; in parseredir() 1046 np->nfile.fd = 0; in parseredir() 1051 np->nfile.fd = 0; in parseredir() 1053 np->type = NHERE; in parseredir() 1055 heredoc->here = np; in parseredir() 1067 np->type = NFROM; in parseredir() [all …]
|
H A D | jobs.c | 1382 union node *np; in cmdtxt() local 1455 for (np = n->ncmd.args ; np ; np = np->narg.next) { in cmdtxt() 1456 cmdtxt(np); in cmdtxt() 1457 if (np->narg.next) in cmdtxt() 1460 for (np = n->ncmd.redirect ; np ; np = np->nfile.next) { in cmdtxt() 1462 cmdtxt(np); in cmdtxt()
|
/freebsd/contrib/arm-optimized-routines/math/tools/ |
H A D | plot.py | 8 import numpy as np namespace 49 es = np.abs(es) # ignore the sign
|
/freebsd/usr.bin/mkstr/ |
H A D | mkstr.c | 67 static char name[100], *np; variable 102 np = name + namelen; in main() 105 if (strlcpy(np, argv[0], sizeof(name) - namelen) >= in main()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_warc.c | 463 const char *np; in xmemmem() local 484 for (hp = hay + 1U, np = needle + 1U, hsum = *hay, nsum = *hay, eqp = 1U; in xmemmem() 485 hp < eoh && np < eon; in xmemmem() 486 hsum ^= *hp, nsum ^= *np, eqp &= *hp == *np, hp++, np++); in xmemmem() 489 if (np < eon) { in xmemmem()
|
/freebsd/usr.bin/sed/ |
H A D | compile.c | 767 const char *op, *np; in compile_tr() local 795 np = new; in compile_tr() 796 newlen = mbsrtowcs(NULL, &np, 0, NULL); in compile_tr() 809 for (; *op; op++, np++) in compile_tr() 810 y->bytetab[(u_char)*op] = *np; in compile_tr() 827 nclen = mbrlen(np, MB_LEN_MAX, &mbs2); in compile_tr() 831 y->bytetab[(u_char)*op] = *np; in compile_tr() 842 memcpy(y->multis[i].to, np, nclen); in compile_tr() 845 np += nclen; in compile_tr()
|
/freebsd/contrib/byacc/test/yacc/ |
H A D | expr.oxout.tab.c | 1543 void yyyCheckNodeInstancesSolved(yyyGNT *np) in yyyCheckNodeInstancesSolved() argument 1547 if (np->prodNum != 0) in yyyCheckNodeInstancesSolved() 1549 prodNum = np->prodNum; in yyyCheckNodeInstancesSolved() 1554 prodNum = np->parent.noderef->prodNum; in yyyCheckNodeInstancesSolved() 1555 symPos = np->whichSym; in yyyCheckNodeInstancesSolved() 1560 if ((np->refCountList)[i] != 0) nUnsolvedInsts += 1; in yyyCheckNodeInstancesSolved() 1574 if (!(np->parentIsStack)) in yyyCheckNodeInstancesSolved() 1577 np->whichSym in yyyCheckNodeInstancesSolved() 1579 yyyShowProd(np->parent.noderef->prodNum); in yyyCheckNodeInstancesSolved() 1582 yyyShowProd(np->prodNum); in yyyCheckNodeInstancesSolved() [all …]
|
/freebsd/contrib/less/ |
H A D | search.c | 652 struct hilite_node *np = n->parent; in hlist_rotate_left() local 656 if (np != NULL) in hlist_rotate_left() 658 if (n == np->left) in hlist_rotate_left() 659 np->left = nr; in hlist_rotate_left() 661 np->right = nr; in hlist_rotate_left() 669 nr->parent = np; in hlist_rotate_left() 684 if (np != NULL) in hlist_rotate_right() 686 if (n == np->right) in hlist_rotate_right() 687 np->right = nl; in hlist_rotate_right() 689 np->left = nl; in hlist_rotate_right() [all …]
|
/freebsd/sys/dev/usb/serial/ |
H A D | uvisor.c | 424 uint16_t i, np; in uvisor_init() local 427 np = UGETW(coninfo.num_ports); in uvisor_init() 428 if (np > UVISOR_MAX_CONN) { in uvisor_init() 429 np = UVISOR_MAX_CONN; in uvisor_init() 431 DPRINTF("Number of ports: %d\n", np); in uvisor_init() 433 for (i = 0; i < np; ++i) { in uvisor_init()
|
/freebsd/sbin/ifconfig/ |
H A D | af_inet.c | 210 struct netent *np; in in_getaddr() local 244 else if ((np = getnetbyname(s)) != NULL) in in_getaddr() 245 sin->sin_addr = inet_makeaddr(np->n_net, INADDR_ANY); in in_getaddr() 271 struct netent *np; in in_getip() local 278 else if ((np = getnetbyname(addr_str)) != NULL) in in_getip() 279 *ip = inet_makeaddr(np->n_net, INADDR_ANY); in in_getip()
|
/freebsd/lib/libc/rpc/ |
H A D | getnetconfig.c | 243 struct netconfig *np; in getnetconfig() local 329 np = (struct netconfig *) malloc(sizeof (struct netconfig)); in getnetconfig() 330 if (np == NULL) { in getnetconfig() 335 list->ncp = np; in getnetconfig() 341 free(np); in getnetconfig()
|
/freebsd/lib/libc/iconv/ |
H A D | bsd_iconv.c | 191 const char * const *np; in __bsd_iconvlist() local 223 np = (const char * const *)names; in __bsd_iconvlist() 224 do_one(j, np, data); in __bsd_iconvlist()
|
/freebsd/contrib/nvi/ex/ |
H A D | ex.c | 210 char *np; in ex_cmd() local 943 for (np = ecp->cmd->syntax; *np != '\0'; ++np) { in ex_cmd() 949 if (*np == '!') { in ex_cmd() 965 switch (*np) { in ex_cmd() 1020 if (*np == '3') { in ex_cmd() 1040 strchr(np, '1') != NULL) in ex_cmd() 1056 ++np; in ex_cmd() 1071 if (ltmp == 0 && *np != '0') { in ex_cmd() 1087 if (*np == 'a') { in ex_cmd() 1200 tmp = *np - '0'; in ex_cmd() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | machdep.c | 1222 struct nmi_pcpu *np; in amd64_bsp_ist_init() local 1229 np->np_pcpu = (register_t)pc; in amd64_bsp_ist_init() 1230 tssp->tss_ist1 = (long)np; in amd64_bsp_ist_init() 1236 np = ((struct nmi_pcpu *)&nmi0_stack[sizeof(nmi0_stack)]) - 1; in amd64_bsp_ist_init() 1237 np->np_pcpu = (register_t)pc; in amd64_bsp_ist_init() 1238 tssp->tss_ist2 = (long)np; in amd64_bsp_ist_init() 1244 np = ((struct nmi_pcpu *)&mce0_stack[sizeof(mce0_stack)]) - 1; in amd64_bsp_ist_init() 1245 np->np_pcpu = (register_t)pc; in amd64_bsp_ist_init() 1246 tssp->tss_ist3 = (long)np; in amd64_bsp_ist_init() 1252 np->np_pcpu = (register_t)pc; in amd64_bsp_ist_init() [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_asm.c | 870 return bn_sqr_mont(rp, ap, np, n0p, num); in bn_mul_mont() 914 mul_add(c1, np[0], ml, mh, c0); in bn_mul_mont() 916 mul_add(c1, ml, np[0], c0); in bn_mul_mont() 921 mul_add(c1, np[j], ml, mh, c0); in bn_mul_mont() 923 mul_add(c1, ml, np[j], c0); in bn_mul_mont() 932 if (tp[num] != 0 || tp[num - 1] >= np[num - 1]) { in bn_mul_mont() 933 c0 = bn_sub_words(rp, tp, np, num); in bn_mul_mont() 953 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() argument 1018 c0 = bn_mul_add_words(tp, np, num, tp[0] * n0); in bn_mul_mont() 1026 if (tp[num] != 0 || tp[num - 1] >= np[num - 1]) { in bn_mul_mont() [all …]
|
/freebsd/contrib/one-true-awk/ |
H A D | tran.c | 264 Cell *cp, *op, **np; in rehash() local 267 np = (Cell **) calloc(nsz, sizeof(*np)); in rehash() 268 if (np == NULL) /* can't do it, but can keep running. */ in rehash() 274 cp->cnext = np[nh]; in rehash() 275 np[nh] = cp; in rehash() 279 tp->tab = np; in rehash()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfsnode.h | 170 #define NFSTOV(np) ((struct vnode *)(np)->n_vnode) argument
|
/freebsd/contrib/tcsh/ |
H A D | sh.lex.c | 965 const Char *mp, *np; in subword() local 991 for (np = rhsb.s; *np; np++) in subword() 992 switch (*np) { in subword() 995 if (np[1] == '&') in subword() 996 np++; in subword() 1000 Strbuf_append1(&wbuf, *np); in subword() 1171 Char *np; in gethent() local 1287 np = putn((tcsh_number_t)event); in gethent() 1288 seterror(ERR_NOEVENT, short2str(np)); in gethent() 1289 xfree(np); in gethent()
|