Home
last modified time | relevance | path

Searched refs:namep (Results 1 – 25 of 91) sorted by path

1234

/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c342 const char *namep, *valuep; in find_property_value() local
361 namep = cmd; in find_property_value()
365 name_len = valuep - namep; in find_property_value()
402 if (strncmp(namep, name, name_len) == 0) { in find_property_value()
/illumos-gate/usr/src/boot/efi/libefi/
H A Denv.c1424 char *namep, *valuep, *guidp; in ficlEfiSetenv() local
1438 namep = (char *)ficlStackPopPointer(pStack); in ficlEfiSetenv()
1472 name[i] = namep[i]; in ficlEfiSetenv()
1502 char *namep; in ficlEfiGetenv() local
1508 namep = (char *)ficlStackPopPointer(ficlVmGetDataStack(pVM)); in ficlEfiGetenv()
1513 strncpy(name, namep, names); in ficlEfiGetenv()
1531 char *namep; in ficlEfiUnsetenv() local
1537 namep = (char *)ficlStackPopPointer(ficlVmGetDataStack(pVM)); in ficlEfiUnsetenv()
1542 strncpy(name, namep, names); in ficlEfiUnsetenv()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1842 const char *namep; in decl_ToString() local
1853 namep = dp->d_name; in decl_ToString()
1855 namep = altname; in decl_ToString()
1859 namep = "(*)"; in decl_ToString()
1863 namep = "_return"; in decl_ToString()
1865 namep = altname; in decl_ToString()
1872 strcpy(tmp, (namep) ? namep : ""); in decl_ToString()
1881 sprintf(bufp, "(*%s)", namep); in decl_ToString()
1911 strcpy(bufp, namep); in decl_ToString()
/illumos-gate/usr/src/cmd/auditreduce/
H A Doption.c969 char *namep, *slp; in check_file() local
975 for (slp = namep = fcb->fcb_file; *namep; namep++) { in check_file()
976 if (*namep == '/') in check_file()
997 (void) strcpy(namep, slp); in check_file()
998 if (namep[14] != '.' || namep[29] != '.') { in check_file()
1001 namep[29]); in check_file()
1003 free(namep); in check_file()
1008 if (derive_date(namep, &tme)) { in check_file()
1013 free(namep); in check_file()
1036 free(namep); in check_file()
[all …]
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c247 set_info(char *namep) in set_info() argument
262 if ((fp = fopen(namep, "r")) == NULL) { in set_info()
263 (void) fprintf(stderr, Openerr, Cmdp, namep); in set_info()
274 parsecode = parse_line(buf, line, namep, &push); in set_info()
293 "autopush for line %d\n"), Cmdp, namep, line); in set_info()
532 (void) fprintf(stderr, Badline, Cmdp, namep, lineno); in parse_line()
538 (void) fprintf(stderr, Badline, Cmdp, namep, lineno); in parse_line()
584 Cmdp, namep, lineno); in parse_line()
591 Cmdp, namep, lineno); in parse_line()
601 "ignored\n"), Cmdp, namep, lineno); in parse_line()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c426 NODE *namep = stringnode(_null, FSTATIC, 0); in dobegin() local
428 NODE *ENVsubname = node(INDEX, varENVIRON, namep); in dobegin()
443 namep->n_strlen = wcslen(namep->n_string = name); in dobegin()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1299 char *shellstring, *namep; in shell() local
1312 namep = rindex(shellstring, '/'); in shell()
1313 if (namep == NULL) in shell()
1314 namep = shellstring; in shell()
1321 execl(shellstring, namep, "-c", altarg, (char *)0); in shell()
1327 execl(shellstring, namep, (char *)0); in shell()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c251 char **namep = arg; in active_ncp_callback() local
257 if (nwam_ncp_get_name(ncph, namep) != NWAM_SUCCESS) in active_ncp_callback()
258 *namep = NULL; in active_ncp_callback()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c1145 char **namep) in object_name_from_handle() argument
1149 return (nwam_ncp_get_name(handle, namep)); in object_name_from_handle()
1151 return (nwam_ncu_get_name(handle, namep)); in object_name_from_handle()
1153 return (nwam_loc_get_name(handle, namep)); in object_name_from_handle()
1155 return (nwam_enm_get_name(handle, namep)); in object_name_from_handle()
1157 return (nwam_known_wlan_get_name(handle, namep)); in object_name_from_handle()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c3257 char *namep = Nam_p; in data_pass() local
3262 namep = G_p->g_attrnam_p; in data_pass()
7520 namep, in convert_to_old_stat()
7542 namep, in convert_to_old_stat()
8262 char *namep, *savenamep; in xattrs_out() local
8426 (void) snprintf(namep, slen, "%s/%s%s", in xattrs_out()
8428 Gen.g_nam_p = namep; in xattrs_out()
8457 free(namep); in xattrs_out()
8506 free(namep); in xattrs_out()
9013 char *namep; in write_xattr_hdr() local
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c992 tree_name2np_lut_add(struct lut *root, struct node *namep, struct node *np) in tree_name2np_lut_add() argument
994 return (lut_add(root, (void *)namep, (void *)np, in tree_name2np_lut_add()
999 tree_name2np_lut_lookup(struct lut *root, struct node *namep) in tree_name2np_lut_lookup() argument
1002 lut_lookup(root, (void *)namep, (lut_cmp)tree_namecmp); in tree_name2np_lut_lookup()
1006 tree_name2np_lut_lookup_name(struct lut *root, struct node *namep) in tree_name2np_lut_lookup_name() argument
1009 lut_lookup_lhs(root, (void *)namep, (lut_cmp)tree_namecmp); in tree_name2np_lut_lookup_name()
H A Dtree.h301 struct node *namep, struct node *np);
302 struct node *tree_name2np_lut_lookup(struct lut *root, struct node *namep);
303 struct node *tree_name2np_lut_lookup_name(struct lut *root, struct node *namep);
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddiskmon_conf.c181 new_indicator(ind_state_t lstate, char *namep, char *actionp) in new_indicator() argument
186 newindicator->ind_name = namep ? dstrdup(namep) : NULL; in new_indicator()
226 new_indaction(ind_state_t state, char *namep) in new_indaction() argument
230 lap->ind_name = namep ? dstrdup(namep) : NULL; in new_indaction()
H A Ddiskmon_conf.h197 extern indicator_t *new_indicator(ind_state_t lstate, char *namep,
203 extern ind_action_t *new_indaction(ind_state_t state, char *namep);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dipath.c227 struct node *namep; in ipath() local
239 namep = np; in ipath()
240 while (namep != NULL) { in ipath()
241 ASSERTinfo(namep->t == T_NAME, ptree_nodetype2str(namep->t)); in ipath()
243 namep = namep->u.name.next; in ipath()
253 namep = np; in ipath()
255 while (namep != NULL) { in ipath()
257 ret[i].s = namep->u.name.s; in ipath()
258 if (namep->u.name.child != NULL && in ipath()
259 namep->u.name.child->t == T_NUM) in ipath()
[all …]
H A Ditree.c206 tname_dup(struct node *namep, enum childnode_action act) in tname_dup() argument
212 if (namep == NULL) in tname_dup()
215 file = namep->file; in tname_dup()
216 line = namep->line; in tname_dup()
218 for (; namep != NULL; namep = namep->u.name.next) { in tname_dup()
221 newnp->u.name.t = namep->u.name.t; in tname_dup()
222 newnp->u.name.s = namep->u.name.s; in tname_dup()
224 newnp->u.name.it = namep->u.name.it; in tname_dup()
225 newnp->u.name.cp = namep->u.name.cp; in tname_dup()
230 npc = namep->u.name.child; in tname_dup()
H A Dplatform.c1107 struct node *namep; in arglist2argv() local
1174 namep = (struct node *)(uintptr_t)value.v; in arglist2argv()
1175 addthisarg = ipath2str(NULL, ipath(namep)); in arglist2argv()
/illumos-gate/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c154 const char **namep; in auth_compare() local
164 for (namep = names; *namep != NULL; namep++) { in auth_compare()
167 (void) nvlist_lookup_string(auth1, *namep, &val1); in auth_compare()
168 (void) nvlist_lookup_string(auth2, *namep, &val2); in auth_compare()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c101 sm_name *namep = arg1; in sm_stat_svc() local
106 namep->mon_name); in sm_stat_svc()
H A Dsm_statd.c450 thr_call_statd(void *namep) in thr_call_statd() argument
452 char *name = (char *)namep; in thr_call_statd()
795 find_name(name_entry **namep, char *name) in find_name() argument
799 nl = *namep; in find_name()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c188 char *namep; /* for name in ls-command; */ member
1082 ep->ln.namep = (*argv[optind] ? argv[optind] : dotp); in main()
1100 pdirectory(flist[i]->ln.namep, Rflg || in main()
1257 (void) printf("%s\n", (ap->lflags & ISARG) ? ap->ln.namep : in pentry()
1377 str = p->ln.namep; in pentry()
2419 p1->lflags & ISARG ? p1->ln.namep : p1->ln.lname, in compar()
2420 p2->lflags&ISARG ? p2->ln.namep : p2->ln.lname)); in compar()
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc577 wchar_t *namep; in enter_dependencies() local
697 namep = ALLOC_WC((int) (target->hash.length + 10)); in enter_dependencies()
713 MBSTOWCS(namep, mb_namep); in enter_dependencies()
715 name = GETNAME(namep, FIND_LENGTH); in enter_dependencies()
716 retmem(namep); in enter_dependencies()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_chkpnt.c294 char *namep; in snapshot_destroy() local
305 namep = volname; in snapshot_destroy()
309 namep = snapname; in snapshot_destroy()
315 snapshot_release(volname, namep, jname, recursive) != 0) { in snapshot_destroy()
318 namep, errno, libzfs_error_description(zlibh)); in snapshot_destroy()
323 if ((zhp = zfs_open(zlibh, namep, ztype)) == NULL) { in snapshot_destroy()
325 namep); in snapshot_destroy()
338 namep, in snapshot_destroy()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c1596 char *uc_name, *retry, *namep; in is_file_wanted() local
1627 namep = name + strspn(name, "/"); in is_file_wanted()
1635 (void) strlcpy(uc_name, namep, TLM_MAX_PATH_NAME); in is_file_wanted()
1637 namep = uc_name; in is_file_wanted()
1648 if ((*cmp_fp)(p_sel, namep)) { in is_file_wanted()
1660 (void) tlm_cat_path(retry, namep, "/"); in is_file_wanted()
1673 if (is_parent(p_sel, namep, flags)) { in is_file_wanted()
1689 if (is_parent(namep, p_sel, flags)) { in is_file_wanted()
1700 if (found && exact_find(namep, exls)) { in is_file_wanted()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c2898 EStringId_t *namep; in i_psvc_load_associations() local
2925 namep = (EStringId_t *)bsearch(name2, hp->othr_tbl, in i_psvc_load_associations()
2929 if (namep == NULL) { in i_psvc_load_associations()
2933 id = namep->id; in i_psvc_load_associations()

1234