/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 | 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
|
H A D | url.c | 794 char **vals; local 810 if ((vals = 815 if ((url = strdup((char *)vals[0])) != 817 ldap_value_free(vals);
|
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...] |
/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 | 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...] |
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 | nsdb_primitives.c | 354 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/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);
|
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 330 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/libkmf/ber_der/common/ |
H A D | decode.c | 47 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/lib/libldap5/sources/ldap/common/ |
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...] |
H A D | url.c | 807 char **vals; local 823 if ((vals = 828 if ((url = strdup((char *)vals[0])) != 830 ldap_value_free(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...] |
/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/cmd/sendmail/libsm/ |
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 [all...] |
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/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...] |
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPFindAttrs.c | 446 static void merge_attrs(struct attr_node *n, char *vals) { argument 449 for (p = v = vals; p; v = p) {
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 377 * 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
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 1044 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/libnisdb/ |
H A D | nis_parse_ldap_conf.c | 657 char **vals; local 677 if ((vals = ldap_get_values(ld, e, attr)) != NULL) { 678 n = ldap_count_values(vals); 681 attr_val = vals[i]; 721 ldap_value_free(vals);
|
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 1109 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/libnetcfg/common/ |
H A D | libnetcfg_files.c | 206 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...] |