Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 4 of 4) sorted by relevance

/openssl/test/
H A Dparams_conversion_test.c25 int32_t i32; member
78 pc->i32 = (int32_t)strtoimax(pp->value, &p, 10); in param_conversion_load_stanza()
137 datum_i32 = ref_i32 = pc->i32; in param_conversion_load_stanza()
186 int32_t i32; in param_conversion_test() local
193 if (!TEST_false(OSSL_PARAM_get_int32(pc->param, &i32)) in param_conversion_test()
199 if (!TEST_true(OSSL_PARAM_get_int32(pc->param, &i32)) in param_conversion_test()
200 || !TEST_true(i32 == pc->i32)) { in param_conversion_test()
205 if (!TEST_true(OSSL_PARAM_set_int32(pc->param, i32)) in param_conversion_test()
H A Dparam_build_test.c95 int32_t i32; in template_public_test() local
154 || !TEST_true(OSSL_PARAM_get_int32(p, &i32)) in template_public_test()
158 || !TEST_int_eq((int)i32, 1532) in template_public_test()
243 uint32_t i32; in template_private_test() local
311 || !TEST_true(OSSL_PARAM_get_uint32(p, &i32)) in template_private_test()
315 || !TEST_uint_eq((unsigned int)i32, 1532) in template_private_test()
448 uint32_t i32; in builder_merge_test() local
490 || !TEST_true(OSSL_PARAM_get_uint32(p, &i32)) in builder_merge_test()
494 || !TEST_uint_eq((unsigned int)i32, 99) in builder_merge_test()
H A Dparams_api_test.c119 int32_t i32; in test_param_type_extra() local
133 if ((bit32 && !TEST_true(OSSL_PARAM_get_int32(param, &i32))) in test_param_type_extra()
138 && !TEST_true(OSSL_PARAM_get_uint32(param, (uint32_t *)&i32))) in test_param_type_extra()
148 le_copy(buf, sizeof(i32), &i32, sizeof(i32)); in test_param_type_extra()
149 sz = sizeof(i32) < width ? sizeof(i32) : width; in test_param_type_extra()
606 int32_t i32; in test_param_construct() local
618 params[n++] = OSSL_PARAM_construct_int32("int32", &i32); in test_param_construct()
/openssl/crypto/
H A Dparams.c577 int32_t i32; in OSSL_PARAM_get_uint32() local
582 i32 = *(const int32_t *)p->data; in OSSL_PARAM_get_uint32()
583 if (i32 >= 0) { in OSSL_PARAM_get_uint32()
584 *val = i32; in OSSL_PARAM_get_uint32()
875 int32_t i32; in OSSL_PARAM_get_uint64() local
880 i32 = *(const int32_t *)p->data; in OSSL_PARAM_get_uint64()
881 if (i32 >= 0) { in OSSL_PARAM_get_uint64()
882 *val = (uint64_t)i32; in OSSL_PARAM_get_uint64()

Completed in 14 milliseconds