Searched refs:vals (Results 26 - 50 of 61) sorted by relevance

123

/osnet-11/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...]
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/Catalog/
H A DCatalog.pm109 my ($class, @vals) = @_;
113 if (@vals == 1) {
114 $value = _catalog_value($vals[0]);
117 } elsif (@vals == 3) {
118 my ($t, $c, $d) = @vals;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Duniversal.t107 my @vals = ( \$b, \3.14, \substr($b,1,1), \*b, [], {}, sub {} );
109 for ($q=0; $q < @vals; $q++) {
110 test UNIVERSAL::isa($vals[$p], $refs[$q]) eq ($p==$q or $p+$q==1);
/osnet-11/usr/src/lib/liblldp/common/
H A Dliblldp_lldpd.h148 #define LLDP_VALCNT(vals) (sizeof ((vals)) / sizeof (lldp_val_desc_t))
/osnet-11/usr/src/lib/libscf/common/
H A Dscf_tmpl.c510 * appends to an existing scf_values_t *vals. vals may be empty, but
531 scf_values_t *vals)
540 assert(vals != NULL);
541 assert(vals->value_type == SCF_TYPE_ASTRING);
542 assert(vals->reserved == NULL);
543 count = vals->value_count;
546 vals->values.v_astring = calloc(cursz, sizeof (char *));
547 if (vals->values.v_astring == NULL) {
596 (void) memcpy(aux, vals
530 _append_astrings_values(scf_propertygroup_t *pg, const char *prop_name, scf_values_t *vals) argument
681 _read_astrings_values(scf_propertygroup_t *pg, const char *prop_name, scf_values_t *vals) argument
3637 scf_tmpl_prop_internal_seps(const scf_prop_tmpl_t *t, scf_values_t *vals) argument
3684 scf_tmpl_value_name_constraints(const scf_prop_tmpl_t *t, scf_values_t *vals) argument
3788 scf_values_t vals; local
3866 scf_values_t vals; local
3965 scf_values_t vals; local
4110 scf_tmpl_value_name_choices(const scf_prop_tmpl_t *t, scf_values_t *vals) argument
4190 scf_values_destroy(scf_values_t *vals) argument
5804 scf_values_t vals; local
[all...]
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...]
/osnet-11/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);
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceStoreFactory.java488 Vector vals = attr.getValues();
495 if (vals != null) {
499 int j, m = vals.size();
502 Object v = vals.elementAt(j);
H A DAttributeVerifier.java342 Vector vals = attribute.getValues();
348 if (vals != null) {
362 if (vals == null) {
371 n = vals.size();
413 Object val = vals.elementAt(i);
1748 Vector vals = parseValueList(tk, attDesc, baseLineno);
1753 if (!attDesc.getIsMultivalued() && vals.size() > 1) {
1762 attDesc.setDefaultValues(vals);
1775 Vector vals = parseValueList(tk, attDesc, baseLineno);
1779 attDesc.setAllowedValues(vals);
[all...]
H A DSunDATable.java403 Vector vals = attr.getValues();
406 daScopes = vals;
/osnet-11/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...]
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_primitives.c354 char **vals; local
358 vals = calloc(4, sizeof (char *));
359 if (vals == NULL)
361 vals[0] = strdup(val0);
363 vals[1] = strdup(val1);
365 vals[2] = strdup(val2);
366 return (vals);
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dllib-lldap174 int ldap_count_values( char **vals );
175 int ldap_count_values_len( struct berval **vals );
176 void ldap_value_free( char **vals );
177 void ldap_value_free_len( struct berval **vals );
293 int ldap_sort_values( LDAP *ld, char **vals, int (*cmp)() );
390 int 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);
392 int ldap_vals2text(LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount);
H A Durl.c807 char **vals; local
823 if ((vals =
828 if ((url = strdup((char *)vals[0])) !=
830 ldap_value_free(vals);
/osnet-11/usr/src/lib/libldap4/common/
H A Dllib-lldap173 int ldap_count_values( char **vals );
174 int ldap_count_values_len( struct berval **vals );
175 void ldap_value_free( char **vals );
176 void ldap_value_free_len( struct berval **vals );
269 int ldap_sort_values( LDAP *ld, char **vals, int (*cmp)() );
H A Durl.c794 char **vals; local
810 if ((vals =
815 if ((url = strdup((char *)vals[0])) !=
817 ldap_value_free(vals);
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c43 LDAP_API(void) LDAP_CALL ber_svecfree( char **vals );
747 ber_svecfree( char **vals )
751 if ( vals == NULL )
753 for ( i = 0; vals[i] != NULL; i++ )
754 NSLBERI_FREE( vals[i] );
755 NSLBERI_FREE( (char *) vals );
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_files.c206 netcfg_parse_boolean_array(char *str, boolean_t **vals, int *nelemp) argument
237 *vals = rbuf;
247 netcfg_parse_int32_array(char *str, int32_t **vals, int *nelemp) argument
271 *vals = rbuf;
281 netcfg_parse_uint32_array(char *str, uint32_t **vals, int *nelemp) argument
305 *vals = rbuf;
315 netcfg_parse_int64_array(char *str, int64_t **vals, int *nelemp) argument
339 *vals = rbuf;
349 netcfg_parse_uint64_array(char *str, uint64_t **vals, int *nelemp) argument
373 *vals
383 netcfg_parse_string_array(char *str, char ***vals, int *nelemp) argument
[all...]
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Ddisptmpl.h336 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
356 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
/osnet-11/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);
/osnet-11/usr/src/grub/grub2/grub-core/loader/ia64/efi/
H A Dlinux.c748 static const char * const vals[] = { "off", "on", "force"}; local
753 grub_printf ("relocate is %s\n", vals[relocate]);
760 for (i = 0; i < sizeof (vals)/sizeof(vals[0]); i++)
761 if (grub_strcmp (argv[0], vals[i]) == 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DBenchmark.pm884 my @vals = map{ [ $_, @{$results->{$_}} ] } keys %$results;
886 for (@vals) {
895 @vals = sort { $a->[7] <=> $b->[7] } @vals;
898 my $display_as_rate = @vals ? ($vals[$#vals>>1]->[7] > 1) : 0;
906 map { $_->[0] } @vals
916 for my $row_val ( @vals ) {
953 for ( my $col_num = 0 ; $col_num < @vals ;
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dldap.h1091 int ldap_count_values(char **vals);
1092 int ldap_count_values_len(struct berval **vals);
1093 void ldap_value_free(char **vals);
1094 void ldap_value_free_len(struct berval **vals);
1199 int ldap_sort_values(LDAP *ld, char **vals, int (*cmp)());
1285 int ldap_vals2text(LDAP *ld, char *buf, char **vals, char *label,
1299 int ldap_vals2html(LDAP *ld, char *buf, char **vals, char *label,
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_standalone.c708 char *a, **vals; local
726 if ((vals = ldap_get_values(ld, e, a)) != NULL) {
727 for (i = 0; vals[i] != NULL; i++) {
730 strlen(vals[i]) +
733 ldap_value_free(vals);
780 if ((vals = ldap_get_values(ld, e, a)) != NULL) {
781 for (i = 0; vals[i] != NULL; i++) {
785 attr_len += strlen(vals[i]) +
792 a, vals[i],
799 vals[
[all...]
/osnet-11/usr/src/head/
H A Dldap.h556 int LDAP_CALL ldap_count_values(char **vals);
557 int LDAP_CALL ldap_count_values_len(struct berval **vals);
558 LDAP_API(void) LDAP_CALL ldap_value_free(char **vals);
559 LDAP_API(void) LDAP_CALL ldap_value_free_len(struct berval **vals);
1001 ldap_vals2text(LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
1021 ldap_vals2html(LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
1266 int LDAP_CALL ldap_sort_values(LDAP *ld, char **vals,

Completed in 188 milliseconds

123