/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_msg.c | 403 sip_header_value_t value; local 418 value = header->sip_hdr_parsed->value; 419 while (value != NULL) { 420 if (value->value_state != SIP_VALUE_DELETED) { 422 len = value->value_end - value->value_start; 424 (void) strncpy(p, value->value_start, len); 427 s = value->value_start; 430 len += value [all...] |
H A D | sip_parse_generic.c | 196 * Skip the current value. 212 * value ends before the COMMA 315 * start of param value 381 parsed_header->value = NULL; 391 sip_parse_uri_str(sip_str_t *sip_str, sip_hdr_value_t *value) argument 399 value->sip_value_parsed_uri = sip_parse_uri(sip_str, &error); 400 if (value->sip_value_parsed_uri == NULL) 403 value->sip_value_parsed_uri->sip_uri_errflags != 0) { 404 value->sip_value_state = SIP_VALUE_BAD; 500 sip_hdr_value_t *value local 670 sip_hdr_value_t *value = NULL; local 722 sip_hdr_value_t *value = NULL; local 928 sip_hdr_value_t *value = NULL; local 975 sip_hdr_value_t *value = NULL; local [all...] |
H A D | sip_parse_hdrs.c | 48 * generic-param = token [ EQUAL gen-value] 49 * gen-value = token | host | quoted-str 102 sip_hdr_value_t *value = NULL; local 122 value = calloc(1, sizeof (sip_hdr_value_t)); 123 if (value == NULL) { 128 last_value->sip_next_value = value; 130 parsed_header->value = (sip_value_t *)value; 132 value->sip_value_start = hdr->sip_hdr_current; 133 value 240 sip_hdr_value_t *value = NULL; local 476 sip_hdr_value_t *value = NULL; local 584 sip_hdr_value_t *value = NULL; local 688 sip_hdr_value_t *value = NULL; local 1163 sip_hdr_value_t *value = NULL; local 1420 sip_hdr_value_t *value = NULL; local [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 107 char buffer[BUFSIZE], *name, *value; local 145 value = NULL; 146 __s_api_split_key_value(buffer, &name, &value); 147 if (name == NULL || value == NULL) { 179 ret = __ns_ldap_setParamValue(ptr, i, value, 199 ret = __ns_ldap_setParamValue(ptr, i, value, 637 /* For each parameter - construct value */ 746 /* For each parameter - construct value */ 1098 /* For each parameter - construct value */
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | rcfile.c | 70 const char *value); 279 rc_sect_addkey(struct rcsection *rsp, const char *name, const char *value) argument 292 p->rk_value = value ? strdup(value) : strdup(""); 528 char *value; local 531 error = rc_getstringptr(rcp, section, key, &value); 534 if (strlen(value) >= maxlen) { 540 strcpy(dest, value); 545 rc_getint(struct rcfile *rcp, const char *section, const char *key, int *value) argument 564 *value 581 rc_getbool(struct rcfile *rcp, const char *section, const char *key, int *value) argument [all...] |
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 42 char *dc_string; /* string value for the category */ 44 dsym_category_t dc_id; /* numerical value for the category */ 69 char *dt_string; /* string value for the type */ 70 dsym_cdtype_t dt_id; /* numerical value for the type */ 216 * dsym_get_long(): given a numeric string, returns its long value 219 * long *: the return location for the long value 421 * dsym_parse_cat(): given a category field, returns the category value 425 * dsym_category_t *: the return location for the category value 454 * dsym_parse_intrange(): given a DHCP integer field, returns the value 457 * int *: the return location for the value 652 dsym_init_parser(const char *name, const char *value, char ***fields_ret, dhcp_symbol_t *sym) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_decl.c | 668 dt_decl_hasmembers(const char *name, int value, void *private) argument 718 int value; local 727 value = dsp->ds_enumval + 1; /* default is previous value plus one */ 735 * If the enumerator is being assigned a value, cook and check the node 736 * and then free it after we get the value. We also permit references 741 dsp->ds_ctfp, dsp->ds_type, dnp->dn_string, &value) != 0) { 752 xyerror(D_DECL_ENOFLOW, "enumerator '%s' value " 756 value = (int)dnp->dn_value; 762 name, value) [all...] |
H A D | dt_print.c | 160 uint64_t value = 0; local 162 uint8_t *buf = (uint8_t *)&value; 167 * to the lowest 'size' bytes in 'value', and we need to shift based on 171 buf += sizeof (value) - size; 187 * right so that the value is in the lowest 'cte_bits' of 'value'. 190 value >>= shift; 191 value &= mask; 193 (void) fprintf(fp, "%#llx", (u_longlong_t)value); 279 * Print a floating point (float, double, long double) value 483 int value = 0; local [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Option.java | 37 * A DTrace option and its value. Compile-time options must be set 104 new String[] {"name", "value"}) 133 * Gets a size option value indicating the given number of 137 * @return size option value indicating the given number of 147 * Gets a size option value indicating the given number of 151 * @return size option value indicating the given number of 161 * Gets a size option value indicating the given number of 165 * @return size option value indicating the given number of 175 * Gets a size option value indicating the given number of 179 * @return size option value indicatin 544 private final String value; field in class:Option [all...] |
/illumos-gate/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 64 int value; member in struct:ITEM
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 412 * is one that sets a value such as onerror=, the value to the right of the "=" 415 * which set a value. 424 * NOTE: The caller must free the space allocated for the return value by using 873 char *value; local 889 value = (char *)calloc((size_t)(value_len+1), 892 if (value == NULL) { 902 value[counter] = opt_string[opt_len+counter]; 908 value[counter] = '\0'; 909 return_val = value; [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 353 * the value of the environment variable that follows it into the output 357 char *value; /* The value of the environment variable */ local 358 int vlen; /* The length of the value string */ 372 * Get the value of the environment variable. 374 value = getenv(cf->envnam); 375 if(!value) { 380 vlen = strlen(value); 383 * environment variable value is a '~', attempt home-directory 386 if(cf->path->name[0] == '\0' && value[ [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | options.c | 91 static void setenv_option(); /* execute "setenv name value" */ 93 static void severity_option(); /* execute "severity value" */ 144 char *value; local 154 * Separate the option into name and value parts. For backwards 155 * compatibility we ignore exactly one '=' between name and value. 158 if (*(value = curr_opt + strcspn(curr_opt, whitespace_eq))) { 159 if (*value != '=') { 160 *value++ = 0; 161 value += strspn(value, whitespac 455 int value; member in struct:syslog_names [all...] |
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_util.c | 169 zjni_int_to_boolean(JNIEnv *env, uint64_t value) argument 175 value ? "TRUE" : "FALSE", "Ljava/lang/Boolean;"); 181 zjni_int_to_enum(JNIEnv *env, int value, char *class_name, argument 192 if (value == mapping[i].value) { 221 jobject value = NULL; local 230 value = (*env)->CallStaticObjectMethod( 233 return (value); 237 zjni_long_to_Long(JNIEnv *env, uint64_t value) argument 245 env, class_Long, constructor_Long, value); [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 108 assign_next_desc(db_next_desc* desc, entryp value) argument 119 store->next_value = (void*)value; 125 assign_next_desc(db_next_desc* desc, db_next_index_desc * value) argument 135 store->next_value = (void*)value;
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_enm.c | 197 * Get a bitmapped flag value corresponding to this enm's 198 * activation value - if the activation value is not recognized, 298 nwam_value_t value) 303 assert(enmh != NULL && propname != NULL && value != NULL); 305 if ((err = nwam_enm_validate_prop(enmh, propname, value)) 312 return (nwam_set_prop_value(enmh->nwh_data, propname, value)); 362 /* Property-specific value validation functions follow */ 365 valid_enm_activation_mode(nwam_value_t value) argument 369 if (nwam_value_get_uint64(value, 297 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname, nwam_value_t value) argument 497 nwam_enm_validate_prop(nwam_enm_handle_t enmh, const char *propname, nwam_value_t value) argument [all...] |
H A D | libnwam_object.c | 206 nwam_value_t value; local 237 &value)) != NWAM_SUCCESS) { 241 err = nwam_value_get_string_array(value, &object_names, &num_objects); 244 nwam_value_free(value); 258 nwam_value_free(value); 265 nwam_value_free(value); 273 nwam_value_free(value); 329 nwam_value_t value; local 338 &propname, &value)) == NWAM_SUCCESS) { 340 ret = cb(propname, value, dat 621 nwam_validate_prop_internal(const char *propname, nwam_value_t value, void *arg) argument 676 nwam_validate_prop(struct nwam_prop_table table, struct nwam_handle *hp, const char *propname, nwam_value_t value) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 154 (void) strcpy(temp->value.opp.oprom_array, 156 getpropval(&temp->value.opp); 157 temp->size = temp->value.opp.oprom_size; 183 * Then copy over temp->value's data. 184 * temp->value.opp.opio_u could contain char[], int or 185 * int []. If *(temp->value.opp.oprom_array) is '\0', 190 new->value.opp.oprom_size = temp->value.opp.oprom_size; 192 if (*(temp->value.opp.oprom_array) == '\0') { 194 new->value 579 void *value; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 333 void *value = NULL; local 338 value = get_prop_val(find_prop(pnode, "portid")); 339 if (value != NULL) { 340 portid = *(int *)value; 382 * OBP's device tree. Ignore its return value and use our exit_code instead. 383 * Its return value comes from calling error_check() which is not implemented 397 * return the property value for the Prop 406 return ((void *)(prop->value.val_ptr)); 439 * and returns a pointer to the value of the name property. 454 return (prop->value 504 void *value; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 303 void *value; local 331 value = (char *)get_prop_val( 334 if (value != NULL) { 336 slot_name_arr[0] = (char *)value + sizeof (int); 484 void *value; local 489 value = get_prop_val(find_prop(pnode, "status")); 493 if ((value == NULL) || (name == NULL)) { 510 "\tPROM fault string: %s\n"), value); 696 err = picl_get_propval_by_name(ps_type[i], "Gpio-value", &type, 946 char *value; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib.c | 685 evSetOption(evContext *opaqueCtx, const char *option, int value) { argument 689 UNUSED(value); 698 if (value == 0 || value == 1) { 699 __evOptMonoTime = value; 712 evGetOption(evContext *opaqueCtx, const char *option, int *value) { argument 717 UNUSED(value); 725 *value = __evOptMonoTime;
|
H A D | logging.c | 545 log_option(log_context lc, int option, int value) { argument 552 if (value) 558 lc->level = value;
|
H A D | memcluster.c | 581 check(unsigned char *a, int value, size_t len) { argument 584 INSIST(a[i] == value);
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 50 * significance. The CN is the most specific value, the C (country) 206 /* unescaped special and not within quoted value */ 246 /* empty value -- not allowed */ 286 CreateAVA(KMF_OID *oid, int valueType, char *value, argument 300 ava->value.Data = malloc(strlen(value)); 301 if (ava->value.Data == NULL) { 305 (void) memcpy(ava->value.Data, value, strlen(value)); [all...] |
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 506 * and the break value that will become 875 * M_MXFAST Set maxfast to value. Maxfast is the size of the 879 * M_NLBLKS Set numlblks to value. Numlblks is the number of 883 * M_GRAIN Set grain to value. The sizes of all blocks 886 * value of grain is the smallest number of bytes 899 * if value or cmd have illegal values 903 mallopt(int cmd, int value) argument 913 if (value < 0) { 917 fastct = (value + grain - 1) / grain; 921 if (value < [all...] |