Lines Matching refs:num_errors
788 size_t num_errors; member
795 for (size_t i = 0; i < state->num_errors; i++) { in ERR_SAVE_STATE_free()
814 size_t num_errors = state->top >= state->bottom in ERR_save_state() local
817 assert(num_errors < ERR_NUM_ERRORS); in ERR_save_state()
818 ret->errors = OPENSSL_malloc(num_errors * sizeof(struct err_error_st)); in ERR_save_state()
823 OPENSSL_memset(ret->errors, 0, num_errors * sizeof(struct err_error_st)); in ERR_save_state()
824 ret->num_errors = num_errors; in ERR_save_state()
826 for (size_t i = 0; i < num_errors; i++) { in ERR_save_state()
834 if (state == NULL || state->num_errors == 0) { in ERR_restore_state()
844 for (size_t i = 0; i < state->num_errors; i++) { in ERR_restore_state()
847 dst->top = state->num_errors - 1; in ERR_restore_state()