/illumos-gate/usr/src/lib/libpool/common/ |
H A D | dict.c | 31 * arbitrary key-value mappings. It is used by libpool to store 46 * HASH_64_INIT is the same as the INIT value since it is the value 78 void *db_value; /* value */ 83 * A dictionary which holds a mapping between a key and a value. 124 * Print to standard out the bit representation of the supplied value 143 * Print to standard out the bit representation of the supplied value 289 * Get a value from the hash. Null is returned if the key cannot be 308 * already present, otherwise the previous value is returned. 311 dict_put(dict_hdl_t *hdl, const void *key, void *value) argument 353 void *value = bucket->db_value; local [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppop.c | 36 #define ppiskey(t,v,p) (p=t,v>=p->value&&value<=(p+elementsof(t)-2)->value) 39 * set option value 74 hashput(tab, s, key->value); 79 * return ppkeyword table name given value 83 ppkeyname(register int value, int dir) argument 88 if (dir && ppiskey(directives, value, p) || !dir && (ppiskey(options, value, p) || ppiskey(predicates, value, [all...] |
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 41 * (currently) property value that is allowed. 59 * structs, and altering the prop structure. The prop structure's name and value 70 Oppbuf value; member in struct:static_prop 117 dynOppbuf value; member in struct:prop
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 178 void *value; local 183 value = get_prop_val(find_prop(pnode, "status")); 187 if ((value == NULL) || (name == NULL)) { 204 "\tPROM fault string: %s\n"), value, 0); 507 void *value; local 522 value = get_prop_val(find_prop(sbus, "clock-frequency")); 523 if (value != NULL) 524 freq = ((*(int *)value) + 500000) / 1000000; 547 value = get_prop_val(find_prop(card_node, "status")); 548 if (value ! [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 441 char *value; local 455 value = (char *)get_prop_val(find_prop(pnode, "version")); 456 log_printf(value); 484 * return the first compatible value
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 488 char *value; local 502 value = (char *)get_prop_val(find_prop(pnode, "version")); 503 log_printf(value); 529 * return the first compatible value
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | ontario.c | 511 char *value; local 525 value = (char *)get_prop_val(find_prop(pnode, "version")); 526 log_printf(value); 600 * return the first compatible value
|
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/ |
H A D | xdr.h | 172 * the discriminant value and then searches the array of structures 173 * for a matching value. If a match is found the associated xdr routine 180 int value; member in struct:xdr_discrim
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attrat.c | 317 libc_nvlist_lookup_uint64(nvlist_t *nvp, const char *name, uint64_t *value) argument 319 return (nvlookupint64(nvp, name, value));
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strfmon.c | 57 #define IS_NEGATIVE 0x80 /* is argument value negative ? */ 119 double value; /* just value */ local 163 value = 0; /* we have no value to print now */ 249 /* value itself */ 250 value = va_arg(ap, double); 253 if (value < 0) { 255 value = -value; 524 format_grouped_double(const struct lc_monetary *lmon, const struct lc_numeric *lnum, double value, int *flags, int left_prec, int right_prec, int pad_char) argument [all...] |
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse_helper.c | 94 if (list->value != NULL) 95 free(list->value); 242 add_value_to_list(sdp_list_t **list, const char *value, int len, boolean_t text) argument 252 new->value = (char *)calloc(1, len + 1); 254 new->value = (uint64_t *)calloc(1, sizeof (uint64_t)); 255 if (new->value == NULL) { 260 (void) strncpy(new->value, value, len); 262 if (commp_time_to_secs((char *)value, (char *)(value [all...] |
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 107 * != -1 : lower 8-bit value child passed to exit() 135 * NOTE: The system "errno" value from immediately after waitpid() call 549 _zexec_add_env(char *name, char *value) argument 551 size_t sz = strlen(name) + strlen(value) + 1; 557 (void) snprintf(str, sz, "%s%s", name, value); 626 * != -1 : lower 8-bit value child passed to exit()
|
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | decode.c | 177 ber_int_t value; local 195 value = 0x80 & buffer[0] ? (-1) : 0; 197 value = 0; 201 value = (value << 8) | buffer[i]; 203 *num = value;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | decode.c | 165 ber_int_t value; local 183 value = 0x80 & buffer[0] ? (LBER_FUNC_VALUE) : 0; 185 value = 0; 189 value = (value << 8) | buffer[i]; 191 *num = value;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 258 ldap_getfirstfilter( LDAPFiltDesc *lfdp, char *tagpat, char *value ) 262 if ( lfdp == NULL || tagpat == NULL || value == NULL ) { 271 lfdp->lfd_curval = value; 287 if (( lfdp->lfd_curvalcopy = nsldapi_strdup( value )) == NULL ) { 401 char *prefix, char *suffix, char *attr, char *value, char **valwords ) 408 * attr or value are null pointers. For now we just leave them 472 } else if ( value != NULL ) { 473 f = filter_add_value( f, flimit, value, escape_all ); 507 char *prefix, char *suffix, char *attr, char *value, char **valwords ) 510 value, valword 400 ldap_create_filter( char *filtbuf, unsigned long buflen, char *pattern, char *prefix, char *suffix, char *attr, char *value, char **valwords ) argument 506 ldap_build_filter( char *filtbuf, size_t buflen, char *pattern, char *prefix, char *suffix, char *attr, char *value, char **valwords ) argument [all...] |
H A D | search.c | 240 * Convert a non-NULL timeoutp to a value in seconds that is appropriate to 564 default: /* assume it's a simple type=value filter */ 670 char *value; local 687 value = s + 1; 713 * [type][':dn'][':'oid]':='value 755 if (( len = unescape_filterval( value )) < 0 || 757 value, len, LDAP_TAG_MRA_DNATTRS, dnattr )) == -1 ) { 764 if ( find_star( value ) == NULL ) { 766 } else if ( strcmp( value, "*" ) == 0 ) { 769 rc = put_substring_filter( ber, str, value ); [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | line64.c | 58 #define LDIF_OPT_ISSET( value, opt ) (((value) & (opt)) != 0 ) 86 * str_parse_line - takes a line of the form "type:[:] value" and splits it 87 * into components "type" and "value". if a double colon separates type from 88 * value, then value is encoded in base 64, and parse_line un-decodes it 96 char **value, 132 /* check for double : - indicates base 64 encoded value */ 137 /* single : - normally encoded value */ 142 /* skip space between : and value */ 93 str_parse_line( char *line, char **type, char **value, int *vlen ) argument [all...] |
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vlogf.c | 118 value = x[0]; \ 123 y[index] = value + INF; \ 130 value = (float) ival##N; \ 131 ival##N = *(int*) &value; \ 136 value = 0.0f; \ 138 -1.0f / value : value / value; \ 150 float value; local
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | mkalias.c | 158 datum key, value, part, partvalue; local 166 value = dbm_fetch(Indbm, key); 167 CopyName(address, value.dptr, value.dsize); 184 value.dptr = address; 185 value.dsize = strlen(address) + 1; 192 dbm_store(Outdbm, value, part, DBM_REPLACE); 201 dbm_store(Outdbm, value, key, DBM_REPLACE); 269 datum key, value; local 281 value [all...] |
/illumos-gate/usr/src/common/bignum/ |
H A D | bignum.h | 78 * value[i]=0 for 0<i<len 82 uint32_t size; /* size of memory allocated for value */ 83 uint32_t len; /* number of valid data words in value */ 85 int malloced; /* 1 if value was malloced, 0 if not */ 86 BIG_CHUNK_TYPE *value; member in struct:__anon1943
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | dhcp_impl.h | 94 uint8_t value[1]; member in struct:__anon2011
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci_io.c | 29 unsigned int where, uint8_t *value) 32 *value = inb(0xCFC + (where&3)); 37 unsigned int device_fn, unsigned int where, uint16_t *value) 40 *value = inw(0xCFC + (where&2)); 45 unsigned int where, uint32_t *value) 48 *value = inl(0xCFC); 53 unsigned int where, uint8_t value) 56 outb(value, 0xCFC + (where&3)); 61 unsigned int where, uint16_t value) 64 outw(value, 28 pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t *value) argument 36 pcibios_read_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t *value) argument 44 pcibios_read_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t *value) argument 52 pcibios_write_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t value) argument 60 pcibios_write_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t value) argument 68 pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t value) argument 144 pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t *value) argument 171 pcibios_read_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t *value) argument 198 pcibios_read_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t *value) argument 225 pcibios_write_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t value) argument 252 pcibios_write_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t value) argument 279 pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t value) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 298 char *value = vga + 4; local 302 if (substring ("normal", value) < 1) 304 else if (substring ("ext", value) < 1) 306 else if (substring ("ask", value) < 1) 308 else if (safe_parse_maxint (&value, &vid_mode)) 329 char *value = mem + 4; local 331 safe_parse_maxint (&value, &linux_mem_size); 346 switch (grub_tolower (*value)) 958 /* XXX Should check the return value. */
|
H A D | tparm.c | 245 int value = 0; local 266 prec = value; 268 value = 0; 289 value = (value * 10) + (*s - '0'); 290 if (value > 10000) 303 prec = width = value = 0; 310 width = value; 312 prec = value; 354 * Use this value t [all...] |
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 56 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) argument 61 (void) fprintf(ABISTREAM, "0x%p", (void *)value); 70 if ((char *)value != NULL) 72 " \"%s\"", (char *)value); 84 pa.pa_addr = value; 102 uint64_t value = 0; local 105 uint8_t *buf = (uint8_t *)&value; 111 * to the lowest 'size' bytes in 'value', and we need shift based on 115 buf += sizeof (value) - size; 130 * right so that the value i 270 int value = 0; local [all...] |