Lines Matching refs:ber1
1098 find_and_remove(struct berval* ber1, struct berval* ber2, int position) in find_and_remove() argument
1104 if ( !ber1->bv_val ) in find_and_remove()
1109 if ( ber1->bv_len >= ber2->bv_len && !memcmp( ber1->bv_val, in find_and_remove()
1112 ber1->bv_val += ber2->bv_len; in find_and_remove()
1113 ber1->bv_len -= ber2->bv_len; in find_and_remove()
1118 ber1->bv_val[ber1->bv_len] = '\0'; in find_and_remove()
1119 temp = strstr( ber1->bv_val, ber2->bv_val ); in find_and_remove()
1122 ber1->bv_len -= ber2->bv_len; in find_and_remove()
1128 if ( ber1->bv_len >= ber2->bv_len && in find_and_remove()
1129 !memcmp( ber1->bv_val+ber1->bv_len-ber2->bv_len, ber2->bv_val, in find_and_remove()
1132 ber1->bv_len -= ber2->bv_len; in find_and_remove()