Lines Matching refs:ndn
98 struct berval *ndn = ndns[isthis]; in limits_get() local
103 if ( BER_BVISEMPTY( ndn ) ) { in limits_get()
108 ndn = &empty_dn; in limits_get()
115 &lm[0]->lm_pat, ndn, in limits_get()
122 if ( dn_match( &lm[0]->lm_pat, ndn ) ) { in limits_get()
134 if ( ndn->bv_len < lm[0]->lm_pat.bv_len ) { in limits_get()
137 d = ndn->bv_len - lm[0]->lm_pat.bv_len; in limits_get()
146 if ( !DN_SEPARATOR( ndn->bv_val[d - 1] ) ) { in limits_get()
152 if ( strcmp( lm[0]->lm_pat.bv_val, &ndn->bv_val[d] ) != 0 ) { in limits_get()
158 if ( dn_rdnlen( NULL, ndn ) != d - 1 ) { in limits_get()
167 if ( regexec( &lm[0]->lm_regex, ndn->bv_val, 0, NULL, 0 ) == 0 ) { in limits_get()