/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | freevalues.c | 36 ldap_value_free( char **vals ) 40 if ( vals == NULL ) 42 for ( i = 0; vals[i] != NULL; i++ ) 43 NSLDAPI_FREE( vals[i] ); 44 NSLDAPI_FREE( (char *) vals ); 49 ldap_value_free_len( struct berval **vals ) 53 if ( vals == NULL ) 55 for ( i = 0; vals[i] != NULL; i++ ) { 56 NSLDAPI_FREE( vals[i]->bv_val ); 57 NSLDAPI_FREE( vals[ [all...] |
H A D | countvalues.c | 36 ldap_count_values( char **vals ) 40 if ( vals == NULL ) 43 for ( i = 0; vals[i] != NULL; i++ ) 51 ldap_count_values_len( struct berval **vals ) 53 return( ldap_count_values( (char **) vals ) );
|
H A D | tmplout.c | 56 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...] |
H A D | getvalues.c | 48 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 D | sort.c | 236 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...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getvalues.c | 50 char **vals; local 83 if ( ber_scanf( &ber, "[v]", &vals ) == LBER_ERROR ) { 88 return( vals ); 98 struct berval **vals; local 131 if ( ber_scanf( &ber, "[V]", &vals ) == LBER_ERROR ) { 136 return( vals ); 140 ldap_count_values( char **vals ) 144 if ( vals == NULL ) 147 for ( i = 0; vals[i] != NULL; i++ ) 154 ldap_count_values_len( struct berval **vals ) [all...] |
H A D | tmplout.c | 56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label, 188 char *dn, **vals; local 226 ( vals = ldap_explode_dn( dn, 0 )) != NULL ) { 233 for ( i = 1; vals[ i ] != NULL; ++i ) { 237 strcat_escaped( buf, vals[ i ] ); 239 if ( vals[ 1 ] != NULL ) { 240 untagged = strchr( vals[ 1 ], '=' ); 246 ( vals[ 1 ] == NULL ) ? "??one" : "", 247 ( untagged != NULL ) ? untagged + 1 : vals[ 1 ], eol, eol ); 253 untagged = strchr( vals[ 487 char *buf, **fetchattrs, **vals; local 612 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount ) argument 645 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument 683 do_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument 1077 char **vals, **members; local [all...] |
H A D | sort.c | 168 char **vals, 174 for ( nel = 0; vals[nel] != NULL; nel++ ) 177 qsort( vals, nel, sizeof(char *), cmp ); 166 ldap_sort_values( LDAP *ld, char **vals, int (*cmp)() ) argument
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | list_fsns.c | 50 struct berval **vals; local 107 vals = ldap_get_values_len(ld, e, a); 108 if (vals == NULL) 112 for (i = 0; vals[i] != NULL; i++) 114 vals[i]->bv_val, vals[i]->bv_len); 119 vals[0]->bv_val); 122 vals[0]->bv_val) == 0) 125 strdup(vals[0]->bv_val); 134 ldap_value_free_len(vals); [all...] |
H A D | nsdb_lookup.c | 266 struct berval **vals; local 398 vals = ldap_get_values_len(ld, e, a); 399 if (vals == NULL) 403 for (j = 0; vals[j] != NULL; j++) 405 vals[j]->bv_val, vals[j]->bv_len); 410 vals[0]->bv_val); 413 strdup(vals[0]->bv_val); 419 vals[0]->bv_len); 420 for (j = 0; j < vals[ [all...] |
H A D | list_nces.c | 221 struct berval **vals; local 287 vals = ldap_get_values_len(ld, e, a); 288 if (vals == NULL) 291 for (j = 0; vals[j] != NULL; j++) { 294 a, j, vals[j]->bv_val, vals[j]->bv_len); 298 nclist[numnc] = strdup(vals[j]->bv_val); 302 ldap_value_free_len(vals); 354 vals = ldap_get_values_len(ld, e, a); 355 if (vals [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Term/ |
H A D | Cap.t | 100 my $vals = {}; 101 eval { local $^W = 1; $t = Term::Cap->Tgetent($vals) }; 105 is( $vals->{PADDING}, 10000/9600, 'Default OSPEED implies default PADDING' ); 108 eval { local $^W = 0; $t = Term::Cap->Tgetent($vals) }; 112 $vals->{OSPEED} = 1; 114 eval { $t = Term::Cap->Tgetent($vals) }; 116 is( $vals->{PADDING}, 200, 'Tgetent() should set slow PADDING when needed' ); 126 eval { $t = Term::Cap->Tgetent($vals) }; 134 $vals->{TERM} = 'quux'; 136 eval { $t = Term::Cap->Tgetent($vals) }; [all...] |
/osnet-11/usr/src/lib/libldap4/include/ |
H A D | entry.h | 172 struct berval **vals, 181 struct berval **vals 211 int attr_single_valued_check(char *type, struct berval **vals); 217 struct berval ***vals, 224 struct berval ***vals, 230 struct berval ***vals, 237 struct berval ***vals, 258 struct berval **vals, 263 int value_cnt(struct berval **vals);
|
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | dns.py | 186 vals = l.split() 187 if len(vals) < 2: 190 self.traceit(' trying: ', vals) 191 key = vals[0] # verify key and values 194 v = ' '.join(vals[1:]) 195 vals = [ key, v ] 196 if not tarray[1] and len(vals) > 2: 197 vals = vals[0:2] 198 vals variable in class:DnsClient [all...] |
H A D | nsswitch.py | 171 vals = l.split(None, 1) 172 if len(vals) != 2: 175 self.traceit(' trying: ', vals) 176 key = vals[0] # verify key and values 182 if key == 'passwd' and vals[1] == 'compat': 187 if key == 'group' and vals[1] == 'compat': 203 pwd_val = vals[1] 205 grp_val = vals[1] 206 db.append((map, self.ALLPROPS[map], vals[1]))
|
H A D | ldap.py | 270 vals = l.split(None, 1) 271 if len(vals) != 2: 274 self.traceit(' Trying: ', vals) 275 key = vals[0] # verify key and values 297 vals[1] = vals[1].lower() 298 if not self.typecheck(mtype, vals[1]): 300 % (mtype, vals[1]) 305 not vals[1] in self.VALID_SCOPE: 306 emsg = 'Illegal scope value: %s' % vals[ [all...] |
H A D | nscd.py | 342 vals = l.split(None) 343 vlen = len(vals) 346 pname = vals[0].replace('-','_') # If old style format 349 pval = vals[1] 378 if vals[1] == 'ipnodes': 380 pval = vals[2] 382 if vals[1] in self.DBMAP.keys(): 383 map = self.DBMAP[vals[1]] 384 elif vals[1] in self.ALLPGS: 385 map = vals[ [all...] |
/osnet-11/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[ [all...] |
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SunServerDATable.java | 135 Vector vals = new Vector(); 136 vals.addElement(Long.toString(timestamp)); 138 new ServiceLocationAttribute(SunServerDATable.TIMESTAMP_ID, vals); 141 vals = new Vector(); 142 vals.addElement(new Integer(version)); 143 attr = new ServiceLocationAttribute(SunDATable.VERSION_ID, vals); 146 vals = new Vector(); 147 vals.addElement(url.getHost()); 148 attr = new ServiceLocationAttribute(SunServerDATable.ADDRESS_ID, vals); 185 vals [all...] |
H A D | SLPV1SSrvReg.java | 97 Vector vals = attr.getValues(); 98 int j, m = vals.size(); 101 Object o = vals.elementAt(j); 110 new Object[] {vals});
|
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 1016 nwam_value_t vals = NULL; local 1032 &vals)) != NWAM_SUCCESS) 1051 if ((err = nwam_value_get_string_array(vals, &strvals, &num)) 1061 nwam_value_free(vals); 1062 vals = NULL; 1063 if ((err = nwam_value_create_uint64_array(uintvals, num, &vals)) 1066 vals)) != NWAM_SUCCESS || 1073 nwam_value_free(vals); 1074 vals = NULL; 1077 if (nwam_get_prop_value(ncuh->nwh_data, NWAM_NCU_PROP_TYPE, &vals) 2094 nwam_value_t vals = NULL; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | walk_rtree.c | 56 char **vals, 63 char ***vals); 216 char **vals, 226 for (nvals = 0; vals[nvals] != NULL; nvals++) 228 if (vals[0] != NULL && *vals[0] == '.') { 248 dstrealm.data = vals[i]; 249 dstrealm.length = strcspn(vals[i], "\t "); 259 profile_free_list(vals); 280 char ***vals) 213 rtree_capath_tree(krb5_context context, const krb5_data *client, const krb5_data *server, char **vals, krb5_principal **rettree) argument 277 rtree_capath_vals(krb5_context context, const krb5_data *client, const krb5_data *server, char ***vals) argument [all...] |
/osnet-11/usr/src/lib/libsasl/include/ |
H A D | prop.h | 102 * the name field of the associated vals entry will be set to NULL 104 * The vals array MUST be atleast as long as the names array. 110 struct propval *vals);
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdladm_impl.h | 150 #define VALCNT(vals) (sizeof ((vals)) / sizeof (val_desc_t))
|
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_kernel.c | 55 char **vals; local 174 vals = calloc(1, sizeof (char *)); 175 errno = nvpair_value_string(el, &(vals[0])); 177 propval = (void *)vals; 181 if (vals != NULL) { 182 free(vals);
|