Home
last modified time | relevance | path

Searched refs:num (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.6.0/library/
Doid.c978 static int oid_parse_number(unsigned int *num, const char **p, const char *bound) in oid_parse_number() argument
982 *num = 0; in oid_parse_number()
986 if (*num > (UINT_MAX / 10)) { in oid_parse_number()
989 *num *= 10; in oid_parse_number()
990 *num += **p - '0'; in oid_parse_number()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_platform.function125 void check_mbedtls_calloc_overallocation(intmax_t num, intmax_t size)
128 buf = mbedtls_calloc((size_t) num, (size_t) size);
Dtest_suite_ssl.function473 TEST_ASSERT(queue.num == 0);
492 TEST_ASSERT(queue.num == 1);
495 TEST_ASSERT(queue.num == 2);
498 TEST_ASSERT(queue.num == 3);
/mbedtls-3.6.0/tests/src/test_helpers/
Dssl_helpers.c235 queue->num = 0; in mbedtls_test_ssl_message_queue_setup()
262 if (queue->num >= queue->capacity) { in mbedtls_test_ssl_message_queue_push_info()
266 place = (queue->pos + queue->num) % queue->capacity; in mbedtls_test_ssl_message_queue_push_info()
268 queue->num++; in mbedtls_test_ssl_message_queue_push_info()
279 if (queue->num == 0) { in mbedtls_test_ssl_message_queue_pop_info()
285 queue->num--; in mbedtls_test_ssl_message_queue_pop_info()
315 if (queue->num == 0) { in test_ssl_message_queue_peek_info()
508 if (queue->num >= queue->capacity) { in mbedtls_test_mock_tcp_send_msg()
/mbedtls-3.6.0/tests/include/test/
Dssl_helpers.h136 int num; member