/titanic_50/usr/src/cmd/avs/dsstat/ |
H A D | sdbc_stats.c | 643 sdbc_getvalues(sdbcstat_t *sdbcstat, sdbcvals_t *vals, int flags) in sdbc_getvalues() argument 663 vals->cache_read = in sdbc_getvalues() 665 vals->disk_read = in sdbc_getvalues() 669 vals->total_reads = vals->cache_read + vals->disk_read; in sdbc_getvalues() 671 if (vals->cache_read == 0) in sdbc_getvalues() 672 vals->read_hit = 0.0; in sdbc_getvalues() 674 vals->read_hit = in sdbc_getvalues() 675 ((float)vals->cache_read / vals->total_reads) * 100.0; in sdbc_getvalues() 678 vals->cache_write = in sdbc_getvalues() 680 vals->disk_write = in sdbc_getvalues() [all …]
|
H A D | report.c | 146 sdbcvals_t vals; in io_report() local 157 sdbc_getvalues(sdbcstat, &vals, (SDBC_KBYTES | SDBC_INTAVG))) in io_report() 194 (float)vals.total_cache); in io_report() 196 (float)vals.total_disk); in io_report() 214 (float)vals.cache_read); in io_report() 216 (float)vals.disk_read); in io_report() 232 (float)vals.cache_write); in io_report() 234 (float)vals.disk_write); in io_report() 276 sdbcvals_t vals; in cd_report() local 279 if (sdbc_getvalues(sdbcstat, &vals, (SDBC_KBYTES | SDBC_INTAVG))) in cd_report() [all …]
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | freevalues.c | 36 ldap_value_free( char **vals ) in ldap_value_free() argument 40 if ( vals == NULL ) in ldap_value_free() 42 for ( i = 0; vals[i] != NULL; i++ ) in ldap_value_free() 43 NSLDAPI_FREE( vals[i] ); in ldap_value_free() 44 NSLDAPI_FREE( (char *) vals ); in ldap_value_free() 49 ldap_value_free_len( struct berval **vals ) in ldap_value_free_len() argument 53 if ( vals == NULL ) in ldap_value_free_len() 55 for ( i = 0; vals[i] != NULL; i++ ) { in ldap_value_free_len() 56 NSLDAPI_FREE( vals[i]->bv_val ); in ldap_value_free_len() 57 NSLDAPI_FREE( vals[i] ); in ldap_value_free_len() [all …]
|
H A D | tmplout.c | 56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label, 155 char *dn, **vals; in do_entry2text() local 205 ( vals = ldap_explode_dn( dn, 0 )) != NULL ) { in do_entry2text() 212 for ( i = 1; vals[ i ] != NULL; ++i ) { in do_entry2text() 216 strcat_escaped( buf, vals[ i ] ); in do_entry2text() 218 if ( vals[ 1 ] != NULL ) { in do_entry2text() 219 untagged = strchr( vals[ 1 ], '=' ); in do_entry2text() 225 ( vals[ 1 ] == NULL ) ? "??one" : "", in do_entry2text() 226 ( untagged != NULL ) ? untagged + 1 : vals[ 1 ], eol ); in do_entry2text() 232 untagged = strchr( vals[ 0 ], '=' ); in do_entry2text() [all …]
|
H A D | countvalues.c | 36 ldap_count_values( char **vals ) in ldap_count_values() argument 40 if ( vals == NULL ) in ldap_count_values() 43 for ( i = 0; vals[i] != NULL; i++ ) in ldap_count_values() 51 ldap_count_values_len( struct berval **vals ) in ldap_count_values_len() argument 53 return( ldap_count_values( (char **) vals ) ); in ldap_count_values_len()
|
H A D | getvalues.c | 48 void **vals; in internal_ldap_get_values() local 94 rc = ber_scanf( &ber, "[V]", &vals ); in internal_ldap_get_values() 96 rc = ber_scanf( &ber, "[v]", &vals ); in internal_ldap_get_values() 107 return(( rc == LDAP_SUCCESS ) ? vals : NULL ); in internal_ldap_get_values() 336 void **vals = NULL; in internal_ldap_get_lang_values() local 367 vals = internal_ldap_get_values( ld, entry, target, lencall ); in internal_ldap_get_lang_values() 370 return vals; in internal_ldap_get_lang_values() 404 if ( vals ) in internal_ldap_get_lang_values() 405 NSLDAPI_FREE( vals ); in internal_ldap_get_lang_values() 416 rc = ber_scanf( &ber, "[V]}", &vals ); in internal_ldap_get_lang_values() [all …]
|
H A D | sort.c | 236 char **vals; in ldap_multisort_entries() local 239 vals = ldap_get_values( ld, e, attr[attrcnt] ); in ldap_multisort_entries() 240 if ( ldap_charray_merge( &(et[i].et_vals), vals ) in ldap_multisort_entries() 252 if ( vals != NULL ) { in ldap_multisort_entries() 253 NSLDAPI_FREE( (char *)vals ); in ldap_multisort_entries() 299 char **vals, in ldap_sort_values() argument 309 if ( NULL == vals) in ldap_sort_values() 314 for ( nel = 0; vals[nel] != NULL; nel++ ) in ldap_sort_values() 317 XP_QSORT( vals, nel, sizeof(char *), (LDAP_VOIDCMP_CALLBACK *)cmp ); in ldap_sort_values()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 283 remove_tr_entry_values(uu_list_t *vals) in remove_tr_entry_values() argument 287 for (rval = uu_list_first(vals); rval != NULL; in remove_tr_entry_values() 288 rval = uu_list_next(vals, rval)) { in remove_tr_entry_values() 306 uu_list_t *vals) in add_tr_entry_values() argument 310 for (rval = uu_list_first(vals); rval != NULL; in add_tr_entry_values() 311 rval = uu_list_next(vals, rval)) { in add_tr_entry_values() 315 remove_tr_entry_values(vals); in add_tr_entry_values() 322 remove_tr_entry_values(vals); in add_tr_entry_values() 345 _store_rep_vals(uu_list_t *vals, const char *inst_fmri, const char *prop_name) in _store_rep_vals() argument 382 if (add_tr_entry_values(rep_handle, entry, vals) < 0) { in _store_rep_vals() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | mbdb.c | 610 char **vals; local 612 vals = ldap_get_values(LDAPLMAP.ldap_ld, entry, attr); 613 if (vals == NULL) 638 if (vals[0] == NULL || vals[0][0] == '\0') 644 strlen(vals[0]) >= sizeof(user->mbdb_fullname)) 647 sm_pwfullname(vals[0], name, user->mbdb_fullname, 654 strlen(vals[0]) >= sizeof(user->mbdb_homedir)) 657 (void) sm_strlcpy(user->mbdb_homedir, vals[0], 664 strlen(vals[0]) >= sizeof(user->mbdb_shell)) 667 (void) sm_strlcpy(user->mbdb_shell, vals[0], [all …]
|
H A D | ldap.c | 457 char **vals = NULL; local 463 vals = ldap_get_values(lmap->ldap_ld, entry, "objectClass"); 464 if (vals == NULL) 467 for (i = 0; vals[i] != NULL; i++) 478 if ((p - q) == strlen(vals[i]) && 479 sm_strncasecmp(vals[i], q, p - q) == 0) 481 ldap_value_free(vals); 491 ldap_value_free(vals); 681 char **vals = NULL; local 803 vals = ldap_get_values(lmap->ldap_ld, [all …]
|
/titanic_50/usr/src/cmd/localedef/ |
H A D | mkwidths.py | 62 vals = line.split() 63 while len(vals) > 1: 64 start = int(vals[0], 16) 65 end = int(vals[1], 16) 74 vals = vals[2:]
|
/titanic_50/usr/src/common/acl/ |
H A D | acl_common.c | 772 acevals_init(acevals_t *vals, uid_t key) in acevals_init() argument 774 bzero(vals, sizeof (*vals)); in acevals_init() 775 vals->allowed = ACE_MASK_UNDEFINED; in acevals_init() 776 vals->denied = ACE_MASK_UNDEFINED; in acevals_init() 777 vals->mask = ACE_MASK_UNDEFINED; in acevals_init() 778 vals->key = key; in acevals_init() 1046 acevals_to_aent(acevals_t *vals, aclent_t *dest, ace_list_t *list, in acevals_to_aent() argument 1054 if (vals->allowed != (vals->denied ^ flips)) { in acevals_to_aent() 1058 if ((list->hasmask) && (list->acl_mask != vals->mask) && in acevals_to_aent() 1059 (vals->aent_type & (USER | GROUP | GROUP_OBJ))) { in acevals_to_aent() [all …]
|
/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SunServerDATable.java | 135 Vector vals = new Vector(); in recordNewDA() local 136 vals.addElement(Long.toString(timestamp)); in recordNewDA() 138 new ServiceLocationAttribute(SunServerDATable.TIMESTAMP_ID, vals); in recordNewDA() 141 vals = new Vector(); in recordNewDA() 142 vals.addElement(new Integer(version)); in recordNewDA() 143 attr = new ServiceLocationAttribute(SunDATable.VERSION_ID, vals); in recordNewDA() 146 vals = new Vector(); in recordNewDA() 147 vals.addElement(url.getHost()); in recordNewDA() 148 attr = new ServiceLocationAttribute(SunServerDATable.ADDRESS_ID, vals); in recordNewDA() 185 vals = attr.getValues(); in recordNewDA() [all …]
|
H A D | SLPV1SSrvReg.java | 97 Vector vals = attr.getValues(); in initialize() local 98 int j, m = vals.size(); in initialize() 101 Object o = vals.elementAt(j); in initialize() 110 new Object[] {vals}); in initialize()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 334 ace4vals_init(ace4vals_t *vals, utf8string *key) in ace4vals_init() argument 336 bzero(vals, sizeof (*vals)); in ace4vals_init() 337 vals->allowed = ACE4_MASK_UNDEFINED; in ace4vals_init() 338 vals->denied = ACE4_MASK_UNDEFINED; in ace4vals_init() 339 vals->mask = ACE4_MASK_UNDEFINED; in ace4vals_init() 340 vals->key = key; in ace4vals_init() 1192 ace4vals_to_aent(ace4vals_t *vals, aclent_t *dest, ace4_list_t *list, in ace4vals_to_aent() argument 1200 if (vals->allowed != (vals->denied ^ flips)) { in ace4vals_to_aent() 1203 vals->allowed, vals->denied)); in ace4vals_to_aent() 1207 if ((list->hasmask) && (list->acl_mask != vals->mask) && in ace4vals_to_aent() [all …]
|
/titanic_50/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 189 push_delete_callback(void *data, int columns, char **vals, char **names) in push_delete_callback() argument 193 const char *id_str = *vals++; in push_delete_callback() 194 const char *gen_str = *vals++; in push_delete_callback() 528 fill_child_callback(void *data, int columns, char **vals, char **names) in fill_child_callback() argument 539 name = *vals++; in fill_child_callback() 542 cur = *vals++; in fill_child_callback() 559 fill_snapshot_callback(void *data, int columns, char **vals, char **names) in fill_snapshot_callback() argument 572 name = *vals++; in fill_snapshot_callback() 575 cur = *vals++; in fill_snapshot_callback() 577 snap = *vals++; in fill_snapshot_callback() [all …]
|
/titanic_50/usr/src/test/util-tests/tests/libsff/ |
H A D | libsff_8636_diag.c | 36 char **vals; in main() local 50 &vals, &count)) != 0) { in main() 56 (void) printf("%d\t%s\n", i, vals[i]); in main()
|
H A D | libsff_8636_tech.c | 36 char **vals; in lst_print_array() local 38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) { in lst_print_array() 45 (void) printf("\t%d\t%s\n", i, vals[i]); in lst_print_array()
|
H A D | libsff_opts.c | 36 char **vals; in lso_print_array() local 38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) { in lso_print_array() 45 (void) printf("\t%d\t%s\n", i, vals[i]); in lso_print_array()
|
H A D | libsff_compliance.c | 36 char **vals; in lsc_print_array() local 38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) { in lsc_print_array() 45 (void) printf("\t%d\t%s\n", i, vals[i]); in lsc_print_array()
|
/titanic_50/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 532 scf_values_t *vals) in _append_astrings_values() argument 541 assert(vals != NULL); in _append_astrings_values() 542 assert(vals->value_type == SCF_TYPE_ASTRING); in _append_astrings_values() 543 assert(vals->reserved == NULL); in _append_astrings_values() 544 count = vals->value_count; in _append_astrings_values() 547 vals->values.v_astring = calloc(cursz, sizeof (char *)); in _append_astrings_values() 548 if (vals->values.v_astring == NULL) { in _append_astrings_values() 597 (void) memcpy(aux, vals->values.v_astring, in _append_astrings_values() 599 free(vals->values.v_astring); in _append_astrings_values() 600 vals->values.v_astring = aux; in _append_astrings_values() [all …]
|
/titanic_50/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 1674 pool_value_t **vals = ctl->zsctl_pool_vals; in zsd_get_pool_pset() local 1744 pool_value_set_int64(vals[1], psetid); in zsd_get_pool_pset() 1745 if (pool_value_set_name(vals[1], "pset.sys_id") in zsd_get_pool_pset() 1749 if (pool_value_set_name(vals[0], "type") != PO_SUCCESS) in zsd_get_pool_pset() 1751 if (pool_value_set_string(vals[0], "pset") != PO_SUCCESS) in zsd_get_pool_pset() 1753 if ((res_list = pool_query_resources(conf, &num, vals)) == NULL) in zsd_get_pool_pset() 1761 "pset.name", vals[0]) != POC_STRING || in zsd_get_pool_pset() 1762 pool_value_get_string(vals[0], &string) != PO_SUCCESS) in zsd_get_pool_pset() 1775 pset), "pset.size", vals[0]) == POC_UINT && in zsd_get_pool_pset() 1776 pool_value_get_uint64(vals[0], &uint64) == PO_SUCCESS) in zsd_get_pool_pset() [all …]
|
/titanic_50/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 1480 pool_value_t *vals[3] = {NULL}; in get_cpu() local 1484 if ((vals[0] = pool_value_alloc()) == NULL) in get_cpu() 1486 if ((vals[1] = pool_value_alloc()) == NULL) { in get_cpu() 1487 pool_value_free(vals[0]); in get_cpu() 1490 if (pool_value_set_string(vals[0], "cpu") != PO_SUCCESS || in get_cpu() 1491 pool_value_set_name(vals[0], "type") != PO_SUCCESS) { in get_cpu() 1492 pool_value_free(vals[0]); in get_cpu() 1493 pool_value_free(vals[1]); in get_cpu() 1499 pool_value_free(vals[0]); in get_cpu() 1500 pool_value_free(vals[1]); in get_cpu() [all …]
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_018_pos.ksh | 68 typeset vals=("off" "off" "$CPATH" "3" "on") 73 log_must $ZPOOL create -o ${props[$i]}=${vals[$i]} $TESTPOOL $disk 75 if [[ $RESULT != ${vals[$i]} ]]
|
/titanic_50/usr/src/uts/i86pc/cpu/scripts/ |
H A D | ao_gendisp.pl | 366 my @vals = split(/,\s*/, $_[0]); 368 if ($#vals < 0) { 371 @vals = map { tr/[a-z]/[A-Z]/; "AO_AED_PANIC_" . $_; } @vals; 372 &errout(&print_bits("panic_when", @vals));
|