Home
last modified time | relevance | path

Searched refs:es (Results 1 – 9 of 9) sorted by relevance

/openssl/crypto/err/
H A Derr_mark.c23 if (es->bottom == es->top) in ERR_set_mark()
25 es->err_marks[es->top]++; in ERR_set_mark()
34 if (es == NULL || es->bottom == es->top) in ERR_pop()
37 err_clear(es, es->top, 0); in ERR_pop()
38 es->top = es->top > 0 ? es->top - 1 : ERR_NUM_ERRORS - 1; in ERR_pop()
50 while (es->bottom != es->top in ERR_pop_to_mark()
51 && es->err_marks[es->top] == 0) { in ERR_pop_to_mark()
52 err_clear(es, es->top, 0); in ERR_pop_to_mark()
53 es->top = es->top > 0 ? es->top - 1 : ERR_NUM_ERRORS - 1; in ERR_pop_to_mark()
56 if (es->bottom == es->top) in ERR_pop_to_mark()
[all …]
H A Derr_local.h16 es->top = (es->top + 1) % ERR_NUM_ERRORS; in err_get_slot()
17 if (es->top == es->bottom) in err_get_slot()
18 es->bottom = (es->bottom + 1) % ERR_NUM_ERRORS; in err_get_slot()
43 es->err_buffer[i] = in err_set_error()
65 es->err_line[i] = line; in err_set_debug()
79 es->err_data[i] = data; in err_set_data()
87 es->err_marks[i] = 0; in err_clear()
88 es->err_flags[i] = 0; in err_clear()
89 es->err_buffer[i] = 0; in err_clear()
90 es->err_line[i] = -1; in err_clear()
[all …]
H A Derr_save.c31 if (es == NULL) in OSSL_ERR_STATE_save()
35 err_clear(es, i, 1); in OSSL_ERR_STATE_save()
41 memcpy(es, thread_es, sizeof(*es)); in OSSL_ERR_STATE_save()
52 if (es == NULL) in OSSL_ERR_STATE_save_to_mark()
60 es->top = es->bottom = 0; in OSSL_ERR_STATE_save_to_mark()
75 err_clear(es, i, 1); in OSSL_ERR_STATE_save_to_mark()
105 es->top = es->bottom = 0; in OSSL_ERR_STATE_save_to_mark()
118 if (es == NULL || es->bottom == es->top) in OSSL_ERR_STATE_restore()
125 for (i = (size_t)es->bottom; i != (size_t)es->top;) { in OSSL_ERR_STATE_restore()
139 err_set_debug(thread_es, top, es->err_file[i], es->err_line[i], in OSSL_ERR_STATE_restore()
[all …]
H A Derr_blocks.c18 ERR_STATE *es; in ERR_new() local
21 if (es == NULL) in ERR_new()
26 err_clear(es, es->top, 0); in ERR_new()
31 ERR_STATE *es; in ERR_set_debug() local
34 if (es == NULL) in ERR_set_debug()
37 err_set_debug(es, es->top, file, line, func); in ERR_set_debug()
51 ERR_STATE *es; in ERR_vset_error() local
60 i = es->top; in ERR_vset_error()
113 err_clear_data(es, es->top, 0); in ERR_vset_error()
114 err_set_error(es, es->top, lib, reason); in ERR_vset_error()
[all …]
H A Derr.c337 ERR_STATE *es; in ERR_clear_error() local
346 es->top = es->bottom = 0; in ERR_clear_error()
461 while (es->bottom != es->top) { in get_error_values()
462 if (es->err_flags[es->top] & ERR_FLAG_CLEAR) { in get_error_values()
463 err_clear(es, es->top, 0); in get_error_values()
464 es->top = es->top > 0 ? es->top - 1 : ERR_NUM_ERRORS - 1; in get_error_values()
470 err_clear(es, es->bottom, 0); in get_error_values()
477 if (es->bottom == es->top) in get_error_values()
787 err_clear_data(es, es->top, deallocate); in err_set_error_data_int()
788 err_set_data(es, es->top, data, size, flags); in err_set_error_data_int()
[all …]
/openssl/doc/man3/
H A DOSSL_ERR_STATE_save.pod13 void OSSL_ERR_STATE_save(ERR_STATE *es);
14 void OSSL_ERR_STATE_save_to_mark(ERR_STATE *es);
15 void OSSL_ERR_STATE_restore(const ERR_STATE *es);
16 void OSSL_ERR_STATE_free(ERR_STATE *es);
26 OSSL_ERR_STATE_save() saves the thread error state to I<es>. It
28 state in I<es> is cleared prior to saving the new state.
32 to I<es> and removed from the thread error state. However, the most recent
43 saved state I<es> to the thread error state. Existing entries in
48 OSSL_ERR_STATE_free() frees the saved error state I<es>.
/openssl/test/
H A Derrtest.c344 ERR_STATE *es; in test_save_restore() local
350 if (!TEST_ptr(es = OSSL_ERR_STATE_new())) in test_save_restore()
367 OSSL_ERR_STATE_save(es); in test_save_restore()
372 OSSL_ERR_STATE_save_to_mark(es); in test_save_restore()
379 OSSL_ERR_STATE_restore(es); in test_save_restore()
389 OSSL_ERR_STATE_restore(es); in test_save_restore()
424 OSSL_ERR_STATE_free(es); in test_save_restore()
/openssl/include/openssl/
H A Derr.h.in492 void OSSL_ERR_STATE_save(ERR_STATE *es);
493 void OSSL_ERR_STATE_save_to_mark(ERR_STATE *es);
494 void OSSL_ERR_STATE_restore(const ERR_STATE *es);
495 void OSSL_ERR_STATE_free(ERR_STATE *es);
/openssl/doc/man1/
H A Dopenssl-x509.pod.in284 Prints the email address(es) if any.
324 Prints the OCSP responder address(es) if any.

Completed in 33 milliseconds