Searched refs:nctrls (Results 1 – 5 of 5) sorted by relevance
154 int nctrls; in ldap_pvt_get_controls() local184 nctrls = 0; in ldap_pvt_get_controls()191 *ctrls[nctrls] = NULL; in ldap_pvt_get_controls()206 LDAP_REALLOC(*ctrls, (nctrls+2) * sizeof(LDAPControl *)); in ldap_pvt_get_controls()222 tctrls[nctrls++] = tctrl; in ldap_pvt_get_controls()223 tctrls[nctrls] = NULL; in ldap_pvt_get_controls()
126 int nctrls = 0; in ldap_parse_verify_credentials() local136 *ctrls[nctrls] = NULL; in ldap_parse_verify_credentials()150 tctrls = !tctrl ? NULL : LDAP_REALLOC(*ctrls, (nctrls+2) * sizeof(LDAPControl *)); in ldap_parse_verify_credentials()161 tctrls[nctrls++] = tctrl; in ldap_parse_verify_credentials()162 tctrls[nctrls] = NULL; in ldap_parse_verify_credentials()
268 static int nctrls = 0; variable302 nctrls++; in ctrl_add()303 tmpc = realloc( c, sizeof( LDAPControl ) * nctrls ); in ctrl_add()305 nctrls--; in ctrl_add()842 for ( i = 0; i < nctrls; i++ ) { in handle_private_option()855 c[ nctrls - 1 ].ldctl_oid = control; in handle_private_option()859 c[ nctrls - 1 ].ldctl_value.bv_val = NULL; in handle_private_option()860 c[ nctrls - 1 ].ldctl_value.bv_len = 0; in handle_private_option()879 c[ nctrls - 1 ].ldctl_value = value; in handle_private_option()882 ber_dupbv( &c[ nctrls - 1 ].ldctl_value, &value ); in handle_private_option()[all …]
782 int nctrls = 0; in get_ctrls2() local835 op->o_ctrls[nctrls] = NULL; in get_ctrls2()852 (nctrls+2) * sizeof(LDAPControl *), op->o_tmpmemctx ); in get_ctrls2()867 op->o_ctrls[nctrls++] = c; in get_ctrls2()868 op->o_ctrls[nctrls] = NULL; in get_ctrls2()945 nctrls, rs->sr_err, rs->sr_text ? rs->sr_text : ""); in get_ctrls2()
98 int nctrls; member170 j = gs->nctrls; in glue_op_response()221 gs->nctrls = j; in glue_op_response()727 for (i = gs.nctrls; --i >= 0; ) { in glue_op_search()