Lines Matching defs:tmpber
326 BerElement tmpber, *ber;
333 tmpber = *origber;
342 if ( ber_scanf( &tmpber, "{i", &along ) != LDAP_TAG_MSGID ||
343 ( tag = ber_peek_tag( &tmpber, &along )) == LBER_DEFAULT ) {
360 if ( ber_get_stringa( &tmpber, &dn ) == LBER_DEFAULT ) {
369 if (ber_peek_tag(&tmpber, &len) == LDAP_TAG_CONTROL_LIST){
384 if (hasCtrls && ber_write( ber, tmpber.ber_ptr, len, 0 ) != len ) {
405 if (( tag = ber_skip_tag( &tmpber, &along )) == LBER_DEFAULT ) {
410 seqstart = tmpber.ber_ptr;
413 if ( tag == LDAP_REQ_BIND && ber_get_int( &tmpber, &ver ) ==
421 if ( ber_get_stringa( &tmpber, &dn ) == LBER_DEFAULT ) {
445 if (ber_scanf(&tmpber, "iiiib", &scope, &deref, &sizelimit, &timelimit, &attrsonly) == LBER_DEFAULT){
462 /* Copy Buffer from tmpber.ber_ptr for along - (tmpber.ber_ptr - seqstart) */
464 len = along - ( tmpber.ber_ptr - seqstart);
465 if ( ber_write( ber, tmpber.ber_ptr, len, 0) != len ||
472 if (seqstart + along < tmpber.ber_end){ /* there's probably some controls, copy them also */
473 len = tmpber.ber_end - seqstart - along;