Lines Matching defs:ber
53 static char *put_complex_filter( BerElement *ber, char *str,
58 static int put_simple_filter( BerElement *ber, char *str );
59 static int put_substring_filter( BerElement *ber, char *type,
61 static int put_filter_list( BerElement *ber, char *str );
165 BerElement *ber;
219 *msgidp, &ber )) != LDAP_SUCCESS ) {
225 (char *) base, ber );
284 BerElement *ber;
313 if (( err = nsldapi_alloc_ber_with_options( ld, &ber ))
332 err = ber_printf( ber, "{ist{seeiib", msgid,
337 err = ber_printf( ber, "{it{seeiib", msgid,
346 ber_free( ber, 1 );
353 ber_free( ber, 1 );
356 err = ldap_put_filter( ber, fdup );
361 ber_free( ber, 1 );
365 if ( ber_printf( ber, "{v}}", attrs ) == -1 ) {
367 ber_free( ber, 1 );
371 if ( (err = nsldapi_put_controls( ld, serverctrls, 1, ber ))
373 ber_free( ber, 1 );
377 *berp = ber;
408 BerElement *ber,
424 if ( ber_printf( ber, "t{", tag ) == -1 )
432 if ( put_filter_list( ber, str ) == -1 )
437 if ( ber_printf( ber, "}" ) == -1 )
444 ldap_put_filter( BerElement *ber, char *str )
487 if ( (str = put_complex_filter( ber, str,
498 if ( (str = put_complex_filter( ber, str,
509 if ( (str = put_complex_filter( ber, str,
541 if ( put_simple_filter( ber, str ) == -1 ) {
554 if ( ber_printf( ber, "]" ) == -1 )
568 if ( put_simple_filter( ber, str ) == -1 ) {
585 put_filter_list( BerElement *ber, char *str )
604 if ( ldap_put_filter( ber, str ) == -1 )
667 put_simple_filter( BerElement *ber, char *str )
740 if ( (rc = ber_printf( ber, "t{", ftype )) == -1 ) {
744 if ( (rc = ber_printf( ber, "ts", LDAP_TAG_MRA_OID,
750 if ( (rc = ber_printf( ber, "ts",
756 ( rc = ber_printf( ber, "totb}", LDAP_TAG_MRA_VALUE,
769 rc = put_substring_filter( ber, str, value );
776 rc = ber_printf( ber, "ts", ftype, str );
778 rc = ber_printf( ber, "t{so}", ftype, str, value, len );
864 put_substring_filter( BerElement *ber, char *type, char *val )
873 if ( ber_printf( ber, "t{s{", LDAP_FILTER_SUBSTRINGS, type ) == -1 ) {
891 ber_printf( ber, "to", ftype, val, len ) == -1 ) {
899 if ( ber_printf( ber, "}}" ) == -1 ) {