Searched +defs:val +defs:name (Results 1 - 25 of 194) sorted by relevance

12345678

/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Drescue_parser.c30 char *name; local
46 char *val = grub_strchr (args[0], '='); local
47 val[0] = 0;
48 grub_env_set (args[0], val + 1);
49 val[0] = '=';
53 /* Get the command name. */
54 name = args[0];
57 if (*name == '\0')
60 cmd = grub_command_find (name);
67 grub_printf ("Unknown command `%s'\n", name);
[all...]
H A Dcorecmd.c37 char *val; local
43 grub_printf ("%s=%s\n", env->name, env->value);
54 val = grub_strchr (var, '=');
55 if (! val)
58 val[0] = 0;
59 grub_env_set (var, val + 1);
60 val[0] = '=';
101 grub_mini_print_devices (const char *name) argument
103 grub_printf ("(%s) ", name);
159 device_name, fs ? fs->name
[all...]
H A Denv.c45 grub_env_find (const char *name) argument
48 int idx = grub_env_hashval (name);
52 if (grub_strcmp (var->name, name) == 0)
62 int idx = grub_env_hashval (var->name);
82 grub_env_set (const char *name, const char *val) argument
87 var = grub_env_find (name);
93 var->value = var->write_hook (var, val);
95 var->value = grub_strdup (val);
136 grub_env_get(const char *name) argument
151 grub_env_unset(const char *name) argument
223 grub_register_variable_hook(const char *name, grub_env_read_hook_t read_hook, grub_env_write_hook_t write_hook) argument
245 grub_env_export(const char *name) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Dgetopt.h62 of `struct option' terminated by an element containing a name which is
71 to the value given in the field `val' when the option is found, but
76 option's `flag' field to zero and its `val' field to a nonzero
79 returns the contents of the `val' field. */
84 const char *name; member in struct:option
86 char *name;
92 int val; member in struct:option
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dgetopt.h50 const char* name; member in struct:option
53 int val; member in struct:option
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetopt.h41 const char* name; member in struct:option
44 int val; member in struct:option
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dgetopt.h50 const char* name; member in struct:option
53 int val; member in struct:option
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dgetopt.h50 const char* name; member in struct:option
53 int val; member in struct:option
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dgetopt.h50 const char* name; member in struct:option
53 int val; member in struct:option
/osnet-11/usr/src/lib/libbsm/common/
H A Dau_usermask.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
40 audit_flags(const char *name, kva_t *kva, void *ctxt, void *pres) argument
42 char *val; local
44 if ((val = kva_match(kva, USERATTR_AUDIT_FLAGS_KW)) != NULL) {
45 if ((*(char **)ctxt = strdup(val)) == NULL) {
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Dcache.c41 char *name = key; local
42 time_t *val = value; local
44 HAL_DEBUG(("test stale: %s (%d > %d)", name, args->timestamp, *val));
45 if (args->timestamp > *val) {
52 "network_device.address", name,
60 HAL_DEBUG(("remove: %s (%s)", name, udi[i]));
86 device_seen(char *name) argument
90 time_t *val; local
96 result = g_hash_table_lookup_extended(seen, name,
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_trace.c18 * information: Portions Copyright [yyyy] [name of copyright owner]
55 char *name; member in struct:option
72 set_option(char *name, char *val) argument
79 for (opt = options; opt->name; opt++) {
80 if (strcasecmp(name, opt->name) == 0) {
83 p = strdup(val);
87 if (val && *val
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_policy.c65 * entry have a valid name.
84 if(entry->name == NULL) {
88 dbkey.data = entry->name;
89 dbkey.size = (strlen(entry->name) + 1);
136 * name (input) name of policy
141 * name being non-null.
150 osa_adb_destroy_policy(osa_adb_policy_t db, char *name) argument
157 if(name == NULL) {
161 dbkey.data = name;
203 osa_adb_get_policy(osa_adb_policy_t db, char *name, osa_policy_ent_t *entry, int *cnt) argument
401 osa_free_policy_ent(osa_policy_ent_t val) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dgetopt.in.h166 of `struct option' terminated by an element containing a name which is
175 to the value given in the field `val' when the option is found, but
180 option's `flag' field to zero and its `val' field to a nonzero
183 returns the contents of the `val' field. */
187 const char *name; member in struct:option
192 int val; member in struct:option
204 arguments in ARGV (ARGC of them, minus the program name) for
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcolor.c47 parse_color_name (grub_uint8_t *ret, char *name) argument
51 if (! grub_strcmp (name, color_list[i]))
60 grub_parse_color_name_pair (grub_uint8_t *color, const char *name) argument
67 if (name == NULL)
70 fg_name = grub_strdup (name);
129 const char *val)
131 if (grub_parse_color_name_pair (&color_normal, val))
136 return grub_strdup (val);
142 const char *val)
144 if (grub_parse_color_name_pair (&color_highlight, val))
128 grub_env_write_color_normal(struct grub_env_var *var __attribute__ ((unused)), const char *val) argument
141 grub_env_write_color_highlight(struct grub_env_var *var __attribute__ ((unused)), const char *val) argument
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetuserattrnam.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
43 attr(const char *name, kva_t *kva, void *key, void *val) argument
45 attrval_t *attrval = val;
52 if (name != NULL) {
53 deflt_name = (char *)name;
66 * key = the key name of the attribute.
67 * where = pointer to where to return the name of
98 char *val = NULL; local
131 if ((val
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_connect.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
75 smbfs_setopt_int(int fd, int level, int name, int val) argument
86 opts.oh.name = name;
88 opts.ival = val;
279 * The optional name parameter, if passed, means
280 * we found the sockaddr via NetBIOS name lookup,
282 * Otherwise (if name is NULL), we're connecting
284 * NetBIOS name b
287 smbfs_conn_nbt(struct smb_ctx *ctx, const struct sockaddr *saarg, char *name) argument
[all...]
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_helper.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
54 char *name,
85 de = directory_get_v(d1, &ret_list, &name, 1, type, attrs);
128 char *name,
132 return (directory_sid_from_name_common(d, name, DIRECTORY_ID_NAME, sid,
137 directory_sid_from_user_name(directory_t d, char *name, char **sid) argument
139 return (directory_sid_from_name_common(d, name, DIRECTORY_ID_USER, sid,
144 directory_sid_from_group_name(directory_t d, char *name, char **sid) argument
146 return (directory_sid_from_name_common(d, name, DIRECTORY_ID_GROUP, sid,
151 * Given a name o
52 directory_sid_from_name_common( directory_t d, char *name, char *type, char **sid, uint64_t *classes) argument
126 directory_sid_from_name( directory_t d, char *name, char **sid, uint64_t *classes) argument
250 directory_canon_from_name( directory_t d, char *name, char **canon, uint64_t *classes) argument
261 directory_canon_from_user_name(directory_t d, char *name, char **canon) argument
268 directory_canon_from_group_name(directory_t d, char *name, char **canon) argument
275 is_in_list(char **list, char *val) argument
[all...]
/osnet-11/usr/src/lib/libinetutil/common/
H A Difspec.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
40 extract_uint(const char *valstr, uint_t *val) argument
49 *val = (uint_t)ul;
94 * If the device name does not end with a digit or the device
95 * name is a sequence of numbers or a PPA contains a leading
114 * Given an IP interface name, which is either a
115 * - datalink name (which is driver name plus PPA), for e.g. bge0 or
116 * - datalink name plus a logical interface identifier (delimited by ':'),
153 * the driver name wil
213 dlparse_zonelinkname(const char *name, char *link_name, zoneid_t *zoneidp) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_auth.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
50 char *mfg, char *name, char *part, char *serial)
56 const char *name; member in struct:sys
57 char *val; member in struct:sys
60 { FM_FMRI_AUTH_V1_SYSTEM_NM, name },
65 for (i = 0; auths[i].name != NULL; i++) {
66 if (auths[i].val) {
68 auths[i].name, auths[i].val) != 0) {
71 __func__, auths[i].name);
49 topo_auth_set_nvl(topo_hdl_t *thp, nvlist_t **th_nvl, int auth_type, char *mfg, char *name, char *part, char *serial) argument
77 const char *name; member in struct:sys_comp
78 char *val; member in struct:sys_comp
99 const char *name; member in struct:ch
100 char *val; member in struct:ch
136 char *name = NULL; local
191 char *name = NULL; local
[all...]
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsftmp.c50 char name[1]; /* temp file name */ member in struct:_file_s
56 static int _tmprmfile(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument
58 static int _tmprmfile(f, type, val, disc)
61 Void_t* val;
67 NOTUSED(val);
87 while(sysremovef(ff->name) < 0 && errno == EINTR)
136 strcpy(ff->name,file);
171 while(*p && *p != ':') /* skip dir name */
240 { /* compute a random name */
285 _tmpexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument
[all...]
/osnet-11/usr/src/lib/passwdutil/
H A Dutils.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
155 def_getuint(char *name, int defvalue, void *defp) argument
158 int val = -1; /* -1 is a guard to catch undefined values */ local
160 if ((p = defread_r(name, defp)) != NULL)
161 val = atoi(p);
163 return (val >= 0 ? val : defvalue);
211 def_getint(char *name, int defvalue) argument
213 int val; local
217 val
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppop.c44 set(register long* p, register long op, int val) argument
53 if (val)
70 for (; s = key->name; key++)
79 * return ppkeyword table name given value
90 s = (p + (value - p->value))->name;
94 error(PANIC, "no keyword table name for value=%d", value);
128 error(1, "%s: input file name required for %s ignore", file, dirname(INCLUDE));
172 if (dp->name && (c = strlen(dp->name)) && !strncmp(dp->name, f
295 unguard(const char* name, char* v, void* handle) argument
[all...]
/osnet-11/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c17 * information: Portions Copyright [yyyy] [name of copyright owner]
98 char *buf, *stype, *val; local
119 (nvpair_value_string(curr, &val) != 0) ||
120 (strlcat(buf, val, buflen) >= buflen) ||
262 * Returns true if name is "." or "..", otherwise returns false.
265 rp_is_dot_or_dotdot(const char *name) argument
267 if (*name != '.')
270 if (name[1] == '\0' || (name[1] == '.' && name[
[all...]
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Dsupport.c191 * val 16 bit integer.
195 dst_s_put_int16(u_int8_t *buf, const u_int16_t val) argument
197 buf[0] = (u_int8_t)(val >> 8);
198 buf[1] = (u_int8_t)(val);
209 * val 32 bit integer.
213 dst_s_put_int32(u_int8_t *buf, const u_int32_t val) argument
215 buf[0] = (u_int8_t)(val >> 24);
216 buf[1] = (u_int8_t)(val >> 16);
217 buf[2] = (u_int8_t)(val >> 8);
218 buf[3] = (u_int8_t)(val);
231 dst_s_filename_length(const char *name, const char *suffix) argument
266 dst_s_build_filename(char *filename, const char *name, u_int16_t id, int alg, const char *suffix, size_t filename_length) argument
[all...]

Completed in 121 milliseconds

12345678