/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_errmap.c | 82 print_OM_uint32 (OM_uint32 value, FILE *f) argument 84 fprintf(f, "%lu", (unsigned long) value); 103 mecherror_print(struct mecherror value, FILE *f) argument 117 fprintf(f, "%lu@", (unsigned long) value.code); 119 if (value.mech.length == 0) { 123 fprintf(f, "%p=", value.mech.elements); 124 if (generic_gss_oid_to_str(&minor, &value.mech, &str)) { 130 if (!strcmp(str.value, mechnames[i].oidstr) && mechnames[i].name != 0) { 136 fprintf(f, "%s", (char *) str.value); 165 static int free_one(OM_uint32 i, struct mecherror value, voi argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_get.c | 132 char *value; local 144 if ((retval = profile_node_iterator(&state, 0, 0, &value))) 146 if (value) 147 add_to_list(&values, value); 164 * This function only gets the first value from the file; it is a 172 char *value; local 179 if ((retval = profile_node_iterator(&state, 0, 0, &value))) 182 if (value) 183 *ret_value = value; 197 const char *value; local 228 const char *value; local 309 const char *value; local 420 char *name, *value; local [all...] |
H A D | prof_init.c | 422 char * value = NULL; local 435 (const char **)&value); 441 if ((retval == 0) && value) { 446 if (strncmp(value,"true",4) == 0) 447 *(options[i].value) = 1; 449 *(options[i].value) = 0; 468 char * value = NULL; local 481 (const char **)&value); 487 if ((retval == 0) && value) { 488 *options[i].value [all...] |
H A D | prof_int.h | 100 int *value; member in struct:_profile_options 106 char **value; member in struct:_profile_times 155 (const char *name, const char *value, 163 const char *name, const char *value, 180 const char *name, const char *value, 187 char **ret_name, char **value);
|
H A D | prof_parse.c | 84 char *cp, ch, *tag, *value; local 173 value = cp; 174 if (value[0] == '"') { 175 value++; 176 parse_quoted_string(value); 177 } else if (value[0] == 0) { 180 } else if (value[0] == '{' && *(skip_over_blanks(value+1)) == 0) 183 cp = value + strlen(value) 391 char *name, *value; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | threads.c | 250 int k5_setspecific (k5_key_t keynum, void *value) argument 310 t->values[keynum] = value;
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 42 * kva_match(): Given a key-value array and a key, return a pointer to the 43 * value that matches the key. 57 return (data[i].value); 82 if (data[i].value != NULL) { 83 free(data[i].value); 84 data[i].value = NULL; 92 * _kva_free_value(): Free up memory (value) for all the occurrences of 109 if (strcmp(data->key, key) == 0 && data->value != NULL) { 110 free(data->value); 111 data->value 233 _insert2kva(kva_t *kva, char *key, char *value) argument [all...] |
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | libshare_smbfs.c | 189 * Check the range of value as int range. 193 range_check_validator(int index, char *section, char *value) argument 197 if (value == NULL) 199 if (strlen(value) == 0) 201 if (!is_a_number(value)) { 205 val = strtoul(value, NULL, 0); 218 string_length_check_validator(int index, char *section, char *value) argument 222 if (value == NULL) 224 if (strlen(value) == 0) 226 if (strlen(value) > smbclnt_proto_option 236 yes_no_validator(int index, char *section, char *value) argument 255 ip_address_validator(int index, char *section, char *value) argument 271 minauth_validator(int index, char *section, char *value) argument 289 signing_validator(int index, char *section, char *value) argument 305 password_validator(int index, char *section, char *value) argument 352 char *name = NULL, *value = NULL; local 595 smbfs_validate_proto_prop(int index, char *section, char *name, char *value) argument 611 smbfs_save_property(int index, char *section, char *value) argument 642 char *value; local [all...] |
H A D | libshare_smbfs.h | 40 char *value; member in struct:smbclnt_proto_option_defs 70 /* Max value length of all SMB properties */
|
H A D | smbfs_scfutil.c | 577 scf_value_t *value = NULL; local 588 value = scf_value_create(handle->scf_handle); 590 if (value != NULL && entry != NULL) { 595 if (scf_value_set_astring(value, valstr) == 0) { 596 if (scf_entry_add_value(entry, value) != 0) { 598 scf_value_destroy(value); 600 /* the value is in the transaction */ 601 value = NULL; 603 /* value couldn't be constructed */ 626 if (value ! 642 scf_value_t *value; local 680 scf_value_t *value = NULL; local 738 scf_value_t *value = NULL; local 777 scf_value_t *value = NULL; local 835 scf_value_t *value = NULL; local 872 scf_value_t *value; local 936 scf_value_t *value = NULL; local [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_itf.c | 360 * Given a sent-by value check if it is in the registered list. If no values 394 sip_header_value_t value = NULL; local 401 value = (sip_header_value_t)sip_get_header_value(via, &error); 402 if (value == NULL || error != 0) 404 sent_by = sip_get_via_sent_by_host(value, &error); 481 * Silently discard the response if the top VIA has a sent-by value AND
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 130 char *dn, char *attr, char *value) 134 return (ldap_compare(ld, dn, attr, value)); 139 char *dn, char *attr, char *value) 143 return (ldap_compare_s(ld, dn, attr, value)); 129 _ns_ldap_compare(char *service, int flags, char *dn, char *attr, char *value) argument 138 _ns_ldap_compare_s(char *service, int flags, char *dn, char *attr, char *value) argument
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceLocationAttribute.java | 118 * exp = "(" id "=" value-list ")" | keyword 119 * value-list = value | value "," value-list 178 String value = (String)values.elementAt(i); 182 Object o = evaluate(value); 217 static Object evaluate(String value) argument 226 o = Integer.valueOf(value); 232 if (value [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | rap.c | 152 smb_rap_rqparam_z(struct smb_rap *rap, const char *value) argument 154 int len = strlen(value) + 1; 156 bcopy(value, rap->r_npbuf, len); 164 * Note: value is in host order. 167 smb_rap_rqparam(struct smb_rap *rap, char ptype, char plen, int value) argument 170 uint_t uv = (uint_t)value; 256 smb_rap_setNparam(struct smb_rap *rap, int value) argument 267 rap->r_rcvbuflen = value; 272 error = smb_rap_rqparam(rap, ptype, plen, value); 282 smb_rap_setPparam(struct smb_rap *rap, void *value) argument 303 smb_rap_getNparam(struct smb_rap *rap, long *value) argument [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 414 long value; local 425 value = strtol(name, &eptr, 0); 426 if (name != eptr && value >= 0 && value <= UINT8_MAX) { 427 *bits = (uint8_t)value;
|
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | conf_ultra.c | 487 long value; local 499 value = strtol(name, &eptr, 0); 500 if (name != eptr && value >= 0 && value <= UINT8_MAX) { 501 *bits = (uint8_t)value;
|
H A D | event_ultra.c | 97 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 104 if (value == NULL) { 105 __cpc_error(fn, gettext("missing '%s' value\n"), 109 if (__cpc_name_to_reg(cpuver, regno, value, &val8) != 0) { 111 "event '%s' on this cpu\n"), regno, value); 121 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 123 if (value != NULL) { 134 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 136 if (value != NULL) { 207 char *value; local 96 picbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument 120 bitclr(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument 133 bitset(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument [all...] |
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | config_parsing.c | 110 char *value; local 113 if (value = strpbrk(buf, SEP_EQUAL)) { 114 value++; /* get rid of = */ 115 if (strcmp(value, DISABLED_KEYWORD) == 0) { 117 } else if (strcmp(value, ENABLED_KEYWORD) == 0) { 234 char *value; local 252 if (value = strpbrk(buf, SEP_EQUAL)) { 253 value++; /* get rid of = */ 254 (void) strlcpy((char *)pent->metaslot_ks_token, value, 264 if (value [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | print.c | 142 char *terminfo; /* The value of $TERMINFO */ 235 pr_boolean(char *infoname, char *capname, char *fullname, int value) argument 245 if (value < 0) 279 vlen = (value < 0) ? 1 : 0; 319 if (value < 0) 381 digitlen(int value) argument 383 return (value >= 10000 ? 5 : 384 value >= 1000 ? 4 : 385 value >= 100 ? 3 : 386 value > 391 pr_number(char *infoname, char *capname, char *fullname, int value) argument 540 pr_string(char *infoname, char *capname, char *fullname, char *value) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 296 uint_t mask = 0xff, value; local 308 value = strtoul(str, &endp, 16); 309 if (errno != 0 || value == 0 || value > 0xff || *endp != '\0') 312 fd->fd_dsfield = (uint8_t)value;
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Consumer.java | 69 * value) setOption()} after opening the consumer. In the great 225 * @throws DTraceException if a value is expected for the given 232 * @see #setOption(String option, String value) 253 * Sets the value of a DTrace option. If the given option affects 266 * @throws NullPointerException if the given option or value is 275 * <li>The value is invalid for the given option</li> 286 public void setOption(String option, String value) throws DTraceException; argument 289 * Gets the value of a DTrace option. 295 * @return the value of the given DTrace option: If the given option 296 * is a boolean option and is currently unset, the returned value i [all...] |
/illumos-gate/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 63 uint64_t value; local 68 assert(def->payloadLen <= sizeof (value)); 92 value = 0; 93 (void) memcpy((((uint8_t *)&value) + 94 sizeof (value) - def->payloadLen), 96 value = BE_64(value); 100 (uint8_t)value); 104 (uint16_t)value); 108 (uint32_t)value); [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 465 char *value; local 478 if (getsubopt(&s, mntopts, &value) == IGNORE) {
|
/illumos-gate/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 92 * property table to be refeshed with current ndmpd properties value from SMF. 105 * Returns value of the specified variable/property. The return value is a 110 ndmp_get_prop(const char *prop, char **value) argument 116 *value = NULL; 140 *value = lval; 185 scf_value_t *value; local 194 if ((value = scf_value_create(h->scf_handle)) == NULL) 198 scf_value_destroy(value); 206 scf_value_destroy(value); 445 scf_value_t *value = NULL; local 524 scf_value_t *value = NULL; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 79 * the value for NOBODY_UID is set by the SVID. The following define also 199 char *value; local 228 value = name; /* will contain the value eventually */ 229 while (!isspace(*value)) 230 value++; 231 if (*value == '\0') { 237 *value++ = '\0'; /* nul terminate the name */ 241 while (isspace(*value)) 242 value [all...] |