Lines Matching refs:j2
2782 int n = 0, i, j1 = 0, j2 = 0;
2829 switch ( slap_ctrl_session_tracking_request_add( op, rs, &c[ j1 + j2 ] ) ) {
2834 j2++;
2848 if ( j1 == 0 && j2 == 0 ) {
2852 assert( j1 + j2 <= (int) (sizeof( c )/sizeof( c[0] )) );
2859 ctrls = op->o_tmpalloc( (n + j1 + j2 + 1) * sizeof( LDAPControl * ) + ( j1 + j2 ) * sizeof( LDAPControl ),
2862 ctrls[ 0 ] = (LDAPControl *)&ctrls[ n + j1 + j2 + 1 ];
2878 if ( j2 ) {
2879 ctrls[ n ] = (LDAPControl *)&ctrls[ n + j2 + 1 ] + j1;
2881 for ( i = 1; i < j2; i++ ) {
2887 ctrls[ n + j2 ] = NULL;