Lines Matching refs:target

42 internal_ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target,
55 if ( target == NULL ||
69 rc = strcasecmp( (char *)target, attr );
79 rc = strcasecmp( (char *)target, attr );
134 If not in the target, they are ignored. If they are in the target,
146 parse_subtypes( const char *target, int *baseLenp, char **langp,
162 targetLen = strlen( target );
165 nextToken = strchr( target, ';' );
167 subtypeStart = nextToken - target + 1;
177 nextToken = (char *)target + subtypeStart;
212 nextToken = (char *)target + subtypeStart;
222 nextToken = (char *)target + targetLen;
234 (*langp)[i] = toupper( target[ind+i] );
238 result[nSubtypes].start = thisToken - target;
250 check_lang_match( const char *target, const char *baseTarget,
269 char *t = (char *)target+targetTypes[i].start;
319 static int check_base_match( const char *target, char *attr )
323 while( target[i] && attr[i] && (toupper(target[i]) == toupper(attr[i])) )
325 rc = ( !target[i] && (!attr[i] || (';' == attr[i])) );
331 const char *target, char **type, int lencall )
352 if ( (target == NULL) ||
360 langIndex = parse_subtypes( target, &len, &lang,
367 vals = internal_ldap_get_values( ld, entry, target, lencall );
369 *type = nsldapi_strdup( target );
377 memcpy( baseTarget, target, len );
401 int thisMatch = check_lang_match( target, baseTarget,
448 ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target )
450 return( (char **) internal_ldap_get_values( ld, entry, target, 0 ) );
455 ldap_get_values_len( LDAP *ld, LDAPMessage *entry, const char *target )
457 return( (struct berval **) internal_ldap_get_values( ld, entry, target,
463 ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, const char *target,
467 target, type, 0 ) );
472 ldap_get_lang_values_len( LDAP *ld, LDAPMessage *entry, const char *target,
476 target, type, 1 ) );