Home
last modified time | relevance | path

Searched refs:nam (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetr_ssp.c142 nl_auth_message_t *nam; in netr_ssp_init() local
160 nam = NDR_MALLOC(mxa, len); in netr_ssp_init()
161 if (nam == NULL) in netr_ssp_init()
164 nam->nam_type = NL_AUTH_REQUEST; in netr_ssp_init()
165 nam->nam_flags = 0; in netr_ssp_init()
194 nam->nam_str[hdr->auth_length] = '\0'; in netr_ssp_init()
202 nam->nam_str[hdr->auth_length] = '\0'; in netr_ssp_init()
211 mxa->send_auth.auth_value = (void *)nam; in netr_ssp_init()
212 hdr->auth_length += sizeof (nam->nam_flags) + sizeof (nam->nam_type); in netr_ssp_init()
227 nl_auth_message_t *nam; in netr_ssp_recv() local
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c114 cgrnam(char *nam) in cgrnam() argument
132 len = strlen(nam) + 1; in cgrnam()
138 if ((grp = clgrnam(nam)) != NULL || in cgrnam()
139 (grp = getgrnam(nam)) != NULL) { in cgrnam()
159 (void) memmove(itemp->key, nam, len); in cgrnam()
182 cpwnam(char *nam) in cpwnam() argument
199 len = strlen(nam) + 1; in cpwnam()
205 if ((pwd = clpwnam(nam)) != NULL || in cpwnam()
206 (pwd = getpwnam(nam)) != NULL) { in cpwnam()
593 clgrnam(char *nam) in clgrnam() argument
[all …]
H A Dpkglib.h455 extern struct group *cgrnam(char *nam);
456 extern struct passwd *cpwnam(char *nam);
459 extern struct group *clgrnam(char *nam);
460 extern struct passwd *clpwnam(char *nam);
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpptrace.c100 sfsprintf(buf, sizeof(buf), "%s=%s", ppinmap[i].nam, p->symbol->name); in ppinstr()
105 return(ppinmap[i].nam); in ppinstr()
128 …if (pplexmap[i].val < 0) sfsprintf(buf, sizeof(buf), "%s|0x%04x%s", pplexmap[i].nam, lex, splice ?… in pplexstr()
129 …else sfsprintf(buf, sizeof(buf), "%s+%d", pplexmap[i-1].nam, lex - pplexmap[i-1].val, splice ? "|S… in pplexstr()
134 sfsprintf(buf, sizeof(buf), "%s|SPLICE", pplexmap[i].nam); in pplexstr()
137 return(pplexmap[i].nam); in pplexstr()
157 k = strlen(p[i].nam); in ppflagstr()
161 strcpy(s, p[i].nam); in ppflagstr()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostbyname_r.c69 _switch_gethostbyname_r(const char *nam, struct hostent *result, char *buffer,
78 _uncached_gethostbyname_r(const char *nam, struct hostent *result, in _uncached_gethostbyname_r() argument
81 return (_switch_gethostbyname_r(nam, result, in _uncached_gethostbyname_r()
96 gethostbyname_r(const char *nam, struct hostent *result, char *buffer,
104 gethostbyname_r(const char *nam, struct hostent *result, char *buffer, in gethostbyname_r() argument
115 if (strlen(nam) == 0) { in gethostbyname_r()
127 nssin.arg.nss.host.name = nam; in gethostbyname_r()
H A Dgetrpcent.c51 getrpcbyname(const char *nam) in getrpcbyname() argument
57 return (getrpcbyname_r(nam, b->result, b->buffer, b->buflen)); in getrpcbyname()
H A Dgethostent.c64 gethostbyname(const char *nam) in gethostbyname() argument
70 return (gethostbyname_r(nam, b->result, b->buffer, b->buflen, in gethostbyname()
/illumos-gate/usr/src/cmd/sh/
H A Dname.c465 lookup(unsigned char *nam) in lookup() argument
471 if (!chkid(nam)) in lookup()
472 failed(nam, notid); in lookup()
476 if ((LR = cf(nam, nscan->namid)) == 0) in lookup()
490 nscan->namid = make(nam); in lookup()
499 chkid(nam) in chkid() argument
500 unsigned char *nam; in chkid()
502 unsigned char *cp = nam;
655 findnam(nam) in findnam() argument
656 unsigned char *nam; in findnam()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetgrnam.c101 getgrnam(const char *nam) in getgrnam() argument
109 ret = getgrnam_r(nam, b->result, b->buffer, b->buflen); in getgrnam()
110 if (ret == NULL && errno == ERANGE && nam != NULL) { in getgrnam()
114 ret = getgrnam_r(nam, b->result, b->buffer, b->buflen); in getgrnam()
H A Dgetspent_r.c83 char *nam; in getspent_r() local
92 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in getspent_r()
93 (*nam == '+' || *nam == '-')); in getspent_r()
H A Dgetspent.c67 getspnam(const char *nam) in getspnam() argument
72 getspnam_r(nam, b->result, b->buffer, b->buflen)); in getspnam()
H A Dgetpwnam.c79 getpwnam(const char *nam) in getpwnam() argument
84 getpwnam_r(nam, b->result, b->buffer, b->buflen)); in getpwnam()
H A Dgetpwnam_r.c184 char *nam; in getpwent_r() local
193 (nam = ((struct passwd *)arg.returnval)->pw_name) != 0 && in getpwent_r()
194 (*nam == '+' || *nam == '-')); in getpwent_r()
H A Dgetgrnam_r.c187 char *nam; in getgrent_r() local
196 (nam = ((struct group *)arg.returnval)->gr_name) != 0 && in getgrent_r()
197 (*nam == '+' || *nam == '-')); in getgrent_r()
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dpipeio2.awk38 com_tr | getline nam
39 print nam
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c50 char nam[64]; \
305 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix); in dllsopen()
316 sfsprintf(scan->nam, sizeof(scan->nam), "%s", s); in dllsopen()
319 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version); in dllsopen()
420 sfprintf(scan->tmp, "/%s", scan->nam); in dllsread()
425 b = scan->nam; in dllsread()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetprotoent.c50 getprotobyname(const char *nam) in getprotobyname() argument
56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen); in getprotobyname()
H A Dgetnetent.c50 getnetbyname(const char *nam) in getnetbyname() argument
56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen); in getnetbyname()
H A Dgetservent.c49 getservbyname(const char *nam, const char *proto) in getservbyname() argument
55 res = getservbyname_r(nam, proto, in getservbyname()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfds.c184 char nam[256]; in b_fds() local
328 if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) in b_fds()
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c262 #define DO_CMD_NUMBER(typ, nam, min, max, ptyp, func) \ argument
273 if (nvlist_add_ ## nam ## _array(nvl, argv[0], \
276 "nvlist_add_" #nam "_array\n"); \
280 if (nvlist_add_ ## nam(nvl, argv[0], \
283 "nvlist_add_" #nam "\n"); \
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c136 strset_add(ssp, nam) in strset_add() argument
138 const char *nam;
145 if (0 == (new->name = malloc(strlen(nam) + 1))) {
149 (void) strcpy(new->name, nam);
156 strset_in(ssp, nam) in strset_in() argument
158 const char *nam;
163 if (strcmp(cur->name, nam) == 0) {
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c381 __files_gethostbyname(char *nam, sa_family_t af) in __files_gethostbyname() argument
399 if (strcasecmp(hp->h_name, nam) == 0) { in __files_gethostbyname()
404 if (strcasecmp(*cp, nam) == 0) { in __files_gethostbyname()
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c494 setup(char *nam) in setup() argument
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()
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c481 install(wchar_t *nam, wchar_t *val, int mode) in install() argument
488 (void) lookup(nam); /* lookup sets hshval */ in install()
490 while (undef(nam)) /* undef calls lookup */ in install()
494 np->name = wstrdup(nam); in install()

12