Home
last modified time | relevance | path

Searched refs:n_name (Results 1 – 25 of 56) sorted by relevance

123

/titanic_44/usr/src/cmd/mailx/
H A Dnames.c76 np->n_name = skin(np->n_full); in nalloc()
126 snprintf(abuf, sizeof (abuf), "%s@%s", np->n_name, in extract()
128 np->n_name = savestr(abuf); in extract()
186 if (isfileaddr(np->n_name)) in outpre()
219 if (!isfileaddr(np->n_name) && np->n_name[0] != '|') in outof()
222 ispipe = np->n_name[0] == '|'; in outof()
224 fname = np->n_name+1; in outof()
226 fname = safeexpand(np->n_name); in outof()
419 if (np->n_name[0] == '\\') { in usermap()
425 gh = findgroup(np->n_name); in usermap()
[all …]
H A Dtranslate.c59 i += strlen(n->n_name) + 3; in translate()
65 strcat(cmd, n->n_name); in translate()
87 if (!strcmp(line, n->n_name)) in translate()
91 n->n_name = ""; in translate()
93 x->n_full = splice(x->n_name, n->n_full); in translate()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A D_nlist.c45 for (q = list, nreq = 0; q->n_un.n_name && q->n_un.n_name[0]; in _nlist()
51 n = strlen(q->n_un.n_name); in _nlist()
82 p->n_un.n_name && p->n_un.n_name[0]; in _nlist()
86 s1 = p->n_un.n_name; in _nlist()
/titanic_44/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c66 #undef n_name /* this patch causes problems here */
99 for (p = list; p->n_name && p->n_name[0]; p++) { /* n_name can be ptr */ in nlist()
160 for (inl = list, nreq = 0; inl->n_name && inl->n_name[0]; ++inl, nreq++) in _elf_nlist()
258 for (p = list; p->n_name && p->n_name[0]; ++p) { in _elf_nlist()
259 if (strcmp(p->n_name, name)) { in _elf_nlist()
389 for (inl = list, nreq = 0; inl->n_name && inl->n_name[0]; ++inl, nreq++) in _coff_nlist()
398 for (p = list; p->n_name && p->n_name[0]; ++p) { in _coff_nlist()
449 p->n_name)) { in _coff_nlist()
457 p->n_name, SYMNMLEN)) { in _coff_nlist()
/titanic_44/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c42 #undef n_name /* This undef is to handle a #define in syms.h */
101 for (p = list; p->n_name && p->n_name[0]; ++p) { in _elf_nlist()
102 if (strcmp(p->n_name, name)) in _elf_nlist()
132 for (p = list; p->n_name && p->n_name[0]; p++) { /* n_name can be ptr */ in nlist()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgetnetent_r.c159 len += strlen(ne->n_name) + 1; in copy_netent()
174 n = strlen(ne->n_name) + 1; in copy_netent()
175 strcpy(cp, ne->n_name); in copy_netent()
176 nptr->n_name = cp; in copy_netent()
204 if ((n = strlen(ne->n_name) + 1) < (eob - cp)) { in copy_netent()
205 strcpy(cp, ne->n_name); in copy_netent()
206 nptr->n_name = cp; in copy_netent()
H A Dirp_nw.c199 if (nw->n_name != NULL && in nw_byname()
200 strcmp(name, nw->n_name) == 0 && in nw_byname()
334 if (nw->n_name != NULL) in free_nw()
335 free(nw->n_name); in free_nw()
H A Dgetnetent.c130 if (!strcmp(net_data->nw_last->n_name, name)) in getnetbyname_p()
294 pvt->netent.n_name = pvt->name; in fakeaddr()
320 pvt->netent.n_name = nwent->n_name; in nw_to_net()
H A Ddns_nw.c336 pvt->net.n_name = NULL; in get1101answer()
352 pvt->net.n_name = strcpy(bp, name); /* (checked) */ in get1101answer()
401 if (pvt->net.n_name == NULL) in get1101answer()
402 pvt->net.n_name = bp; in get1101answer()
403 else if (ns_samename(pvt->net.n_name, bp) == 1) in get1101answer()
H A Dirpmarshall.c1332 need += strlen(ne->n_name) + 1; in irp_marshall_nw()
1358 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_nw()
1446 ne->n_name = name; in irp_unmarshall_nw()
1506 need += strlen(ne->n_name) + 1; in irp_marshall_ne()
1532 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_ne()
1618 ne->n_name = name; in irp_unmarshall_ne()
2003 printf("Name: \"%s\"\n", ne.n_name); in main()
2017 ne.n_name = np1->n_name; in main()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c147 if (strcmp(f->n_name, *cpp) == 0)
210 if (strcmp(f->n_name, *cpp) == 0)
220 install(f->n_name, sc->sc_name,
225 install(f->n_name, NULL, 0, options);
558 if (strcmp(f->n_name, *cpp) == 0)
564 cmptime(f->n_name);
721 if (!any('@', to->n_name) && rhost != NULL)
722 fprintf(pf, " %s@%s", to->n_name, rhost);
724 fprintf(pf, " %s", to->n_name);
727 if (!any('@', to->n_name) && rhost != NULL)
[all …]
H A Dgram.y129 $1->sc_name = nl ? nl->n_name: NULL;
156 if ((cp = re_comp(nl->n_name)) != NULL)
381 if (strcmp(c->c_name, h->n_name) == 0) {
386 strcmp(c->c_name, h->n_name) == 0);
397 nc->c_name = h->n_name;
485 nl->n_name = name;
508 if (n->n_name) {
509 if ((new->n_name = strdup(n->n_name)) == (char *) NULL)
512 new->n_name = (char *) NULL;
H A Dexpand.c85 for (cp = nl->n_name; *cp; cp++)
103 expstr(nl->n_name);
110 nl->n_name = eargv[n];
167 tp->n_name, tail);
H A Ddefs.h99 char *n_name; member
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c127 char *n_name; /* interface name */ member
559 if (np->n_name && in configure()
560 strcmp(ifr->ifr_name, np->n_name) == 0) in configure()
569 np->n_name = malloc(strlen(ifr->ifr_name) + 1); in configure()
570 if (np->n_name == NULL) { in configure()
574 (void) strcpy(np->n_name, ifr->ifr_name); in configure()
578 free(np->n_name); in configure()
587 free(np->n_name); in configure()
618 free(np->n_name); in configure()
635 free(np->n_name); in configure()
[all …]
/titanic_44/usr/src/cmd/ipf/lib/common/
H A Dhostname.c40 if (np != NULL && np->n_name != NULL &&
41 *np->n_name != '\0') {
42 strncpy(hostbuf, np->n_name, sizeof(hostbuf));
/titanic_44/usr/src/cmd/sgs/error/common/
H A Derrortouch.c506 char n_name[64]; variable
525 (void) strcpy(n_name, canon_name); in edit()
526 (void) mktemp(n_name); in edit()
527 if ((n_touchedfile = fopen(n_name, "w")) == NULL) { in edit()
613 if ((tmpfile = fopen(n_name, "r")) == NULL) { in writetouched()
616 processname, n_name); in writetouched()
629 processname, o_name, n_name); in writetouched()
635 (void) unlink(n_name); in writetouched()
/titanic_44/usr/src/cmd/awk_xpg4/
H A Dawk3.c271 left->n_name); in assign()
418 (void) memcpy(np->n_name, name, (l+1) * sizeof (wchar_t)); in kinstall()
434 (void) memcpy(np->n_name, name, (l+1) * sizeof (wchar_t)); in finstall()
453 if (np->n_hash == hash && wcscmp(name, np->n_name) == 0) in vlookup()
464 (void) memcpy(np->n_name, name, in vlookup()
479 np->n_hash = dohash((wchar_t *)np->n_name); in addsymtab()
1022 awkerr(badarray, np->n_name); in exprreduce()
1043 fname = aname = tnp->n_name; in exprreduce()
1050 aname = tnp->n_name; in exprreduce()
1062 aname = tnp->n_name; in exprreduce()
[all …]
/titanic_44/usr/src/cmd/news/
H A Dnews.c75 char n_name[MAXNAMLEN]; member
217 strncpy (n_list[n_count-1].n_name, in read_dir()
255 print_item (n_list[i].n_name); in all_news()
376 (*emit) (n_list[i].n_name); in late_news()
/titanic_44/usr/src/cmd/sysdef/
H A Dsysdef.c390 nlptr->n_name); in main()
508 nlptr->n_name = malloc(strlen(nam) + 1); /* pointer to next string */ in setup()
509 strcpy(nlptr->n_name, nam); /* move name into string table */ in setup()
788 for (p = nl; p->n_name && p->n_name[0]; p++) { in getnlist()
/titanic_44/usr/src/head/
H A Dnlist.h37 char *n_name; /* symbol name */ member
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.h185 char n_name[SMB_PI_MAX_DOMAIN]; member
/titanic_44/usr/src/lib/libkvm/common/
H A Dtest.c199 for (i = 0; nl[i].n_name != 0 && nl[i].n_name[0] != '\0'; i++) { in tst_nlist()
254 nl[i].n_name, nl[i].n_value, s, t); in tst_nlist()
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dnetdb.h46 char *n_name; /* official name of net */ member
/titanic_44/usr/src/cmd/getent/
H A Ddogetnet.c76 np->n_name, inet_nettoa(in)) == EOF) in putnetent()

123