Searched defs:vals (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dreport.c146 sdbcvals_t vals; local
157 sdbc_getvalues(sdbcstat, &vals, (SDBC_KBYTES | SDBC_INTAVG)))
194 (float)vals.total_cache);
196 (float)vals.total_disk);
214 (float)vals.cache_read);
216 (float)vals.disk_read);
232 (float)vals.cache_write);
234 (float)vals.disk_write);
276 sdbcvals_t vals; local
279 if (sdbc_getvalues(sdbcstat, &vals, (SDBC_KBYTE
[all...]
H A Dsdbc_stats.c635 * sdbcvals_t *vals - pointer to the structure that will receive the values
643 sdbc_getvalues(sdbcstat_t *sdbcstat, sdbcvals_t *vals, int flags) argument
663 vals->cache_read =
665 vals->disk_read =
669 vals->total_reads = vals->cache_read + vals->disk_read;
671 if (vals->cache_read == 0)
672 vals->read_hit = 0.0;
674 vals
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_client.c330 directory_value_rpc *vals; local
343 vals = dav_rpc->directory_values_rpc_u.values.values_val;
345 (*dav)[i] = directory_datum(vals[i].directory_value_rpc_val,
346 vals[i].directory_value_rpc_len);
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_decl.c114 inj_decl_mem_create_enum(const char *name, inj_hash_t *vals) argument
120 dlm->dlm_enumvals = vals;
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c47 ber_svecfree(char **vals) argument
51 if (vals == NULL)
53 for (i = 0; vals[i] != NULL; i++)
54 free(vals[i]);
55 free((char *)vals);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetvalues.c48 void **vals; local
94 rc = ber_scanf( &ber, "[V]", &vals );
96 rc = ber_scanf( &ber, "[v]", &vals );
107 return(( rc == LDAP_SUCCESS ) ? vals : NULL );
336 void **vals = NULL; local
367 vals = internal_ldap_get_values( ld, entry, target, lencall );
370 return vals;
404 if ( vals )
405 NSLDAPI_FREE( vals );
416 rc = ber_scanf( &ber, "[V]}", &vals );
[all...]
H A Dsort.c236 char **vals; local
239 vals = ldap_get_values( ld, e, attr[attrcnt] );
240 if ( ldap_charray_merge( &(et[i].et_vals), vals )
244 /* XXX risky: ldap_value_free( vals ); */
252 if ( vals != NULL ) {
253 NSLDAPI_FREE( (char *)vals );
299 char **vals,
309 if ( NULL == vals)
314 for ( nel = 0; vals[nel] != NULL; nel++ )
317 XP_QSORT( vals, ne
297 ldap_sort_values( LDAP *ld, char **vals, LDAP_VALCMP_CALLBACK *cmp ) argument
[all...]
H A Durl.c807 char **vals; local
823 if ((vals =
828 if ((url = strdup((char *)vals[0])) !=
830 ldap_value_free(vals);
H A Dtmplout.c56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label,
155 char *dn, **vals; local
205 ( vals = ldap_explode_dn( dn, 0 )) != NULL ) {
212 for ( i = 1; vals[ i ] != NULL; ++i ) {
216 strcat_escaped( buf, vals[ i ] );
218 if ( vals[ 1 ] != NULL ) {
219 untagged = strchr( vals[ 1 ], '=' );
225 ( vals[ 1 ] == NULL ) ? "??one" : "",
226 ( untagged != NULL ) ? untagged + 1 : vals[ 1 ], eol );
232 untagged = strchr( vals[
452 char *buf, **fetchattrs, **vals; local
565 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount ) argument
587 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
613 do_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
1041 char **vals, **members; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c280 * in add_tr_entry_values() in the list 'vals'.
283 remove_tr_entry_values(uu_list_t *vals) argument
287 for (rval = uu_list_first(vals); rval != NULL;
288 rval = uu_list_next(vals, rval)) {
298 * scf value for each value in 'vals'. The pointers to the scf values
306 uu_list_t *vals)
310 for (rval = uu_list_first(vals); rval != NULL;
311 rval = uu_list_next(vals, rval)) {
315 remove_tr_entry_values(vals);
322 remove_tr_entry_values(vals);
305 add_tr_entry_values(scf_handle_t *hdl, scf_transaction_entry_t *entry, uu_list_t *vals) argument
345 _store_rep_vals(uu_list_t *vals, const char *inst_fmri, const char *prop_name) argument
458 repvals_to_file(const char *fmri, const char *name, uu_list_t *vals) argument
531 store_retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop, boolean_t store) argument
615 store_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument
621 retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dldap.c457 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
[all...]
H A Dmbdb.c610 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[
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindAttrs.c446 static void merge_attrs(struct attr_node *n, char *vals) { argument
449 for (p = v = vals; p; v = p) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c248 uint32_t vals[2]; local
250 vals[0] = htonl(val1);
251 vals[1] = htonl(val2);
252 return (poe_tag_insert(poep, ttype, vals, sizeof (vals)));
H A Dpppoec.c1279 uint32_t vals[2]; local
1287 if (POET_GET_LENG(tagp) < sizeof (vals))
1289 (void) memcpy(vals, POET_DATA(tagp), sizeof (vals));
1290 return (ntohl(vals[1]));
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_parse.h86 enumval_list *vals; member in struct:enum_def
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c80 tx_check_genid(void *data_arg, int columns, char **vals, char **names) argument
84 if (atoi(vals[0]) != data->txc_oldgen)
105 tx_process_property(void *data_arg, int columns, char **vals, char **names) argument
110 const char *prop_name = vals[0];
111 const char *prop_type = vals[1];
112 const char *lnk_val_id = vals[2];
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c647 size_t vals; member in struct:__anon4307
671 if (regexec(&(types[i].re), string, (size_t)types[i].vals,
675 for (j = 0 ; j < types[i].vals; j++)
778 papi_attribute_value_t **vals = NULL; local
787 _add_attribute_value(&vals, attr->type, dtype, parts);
790 attr->values = vals;
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dauxprop.c377 * the name field of the associated vals entry will be set to NULL
380 struct propval *vals)
384 struct propval *cur = vals;
387 if(!ctx || !names || !vals) return SASL_BADPARAM;
379 prop_getnames(struct propctx *ctx, const char **names, struct propval *vals) argument
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c822 struct evalue *vals; local
867 vals = platform_payloadprop_values(np->u.expr.left->u.quote.s,
888 preval.t = vals[i].t;
889 preval.v = vals[i].v;
891 if (check_expr_args(&vals[i], &cmpval,
907 if (vals[i].v == cmpval.v) {
919 if (vals[i].t == NODEPTR) {
921 vals[i].v);
925 FREE(vals);
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c1109 struct berval **vals; local
1138 if ( (vals = ldap_get_values_len( ld, e, a ))
1142 for ( i = 0; vals[i] != NULL; i++ ) {
1146 for ( j = 0; j < vals[i]->bv_len; j++ )
1147 if ( !isascii( vals[i]->bv_val[j] ) ) {
1153 printf( "\t\t\tlength (%ld) (not ascii)\n", vals[i]->bv_len );
1155 lber_bprint( vals[i]->bv_val,
1156 vals[i]->bv_len );
1161 vals[i]->bv_len, vals[
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dsem.c350 ushort_t *vals, *vp; local
381 vsize = sp->sem_nsems * sizeof (*vals);
385 vals = kmem_alloc(vsize, KM_SLEEP);
387 if (copyin((void *)arg, vals, vsize)) {
388 kmem_free(vals, vsize);
401 kmem_free(vals, vsize);
511 vsize = sp->sem_nsems * sizeof (*vals);
512 vals = vp = kmem_alloc(vsize, KM_SLEEP);
519 if (copyout((void *)vals, (void *)arg, vsize)) {
520 kmem_free(vals, vsiz
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c936 char **vals; local
956 if ((vals = ldap_get_values(ld, e, attr)) != NULL) {
957 n = ldap_count_values(vals);
960 attr_val = vals[i];
1000 ldap_value_free(vals);
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c1044 scf_values_t vals = { 0 }; local
1065 vals.value_type = type;
1066 if (values_get(p, &vals) != SCF_SUCCESS) {
1074 switch (vals.value_type) {
1079 int n = vals.value_count;
1087 v[i] = (boolean_t)vals.values.v_boolean[i];
1103 if (vals.value_count == 1 && !array)
1105 *vals.values.v_count);
1108 vals.values.v_count, vals
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_standalone.c706 char *a, **vals; local
724 if ((vals = ldap_get_values(ld, e, a)) != NULL) {
725 for (i = 0; vals[i] != NULL; i++) {
728 strlen(vals[i]) +
731 ldap_value_free(vals);
778 if ((vals = ldap_get_values(ld, e, a)) != NULL) {
779 for (i = 0; vals[i] != NULL; i++) {
783 attr_len += strlen(vals[i]) +
790 a, vals[i],
797 vals[
[all...]

Completed in 185 milliseconds

12