Home
last modified time | relevance | path

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

/mbedtls-development/tests/src/
A Dthreading_helpers.c117 if( mutex->is_valid ) in mbedtls_test_wrap_mutex_init()
123 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_free()
139 if( mutex->is_valid ) in mbedtls_test_wrap_mutex_free()
147 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_lock()
154 mutex->is_valid = 2; in mbedtls_test_wrap_mutex_lock()
169 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_unlock()
179 mutex->is_valid = MUTEX_IDLE; in mbedtls_test_wrap_mutex_unlock()
/mbedtls-development/library/
A Dthreading.c76 mutex->is_valid = pthread_mutex_init( &mutex->mutex, NULL ) == 0; in threading_mutex_init_pthread()
81 if( mutex == NULL || !mutex->is_valid ) in threading_mutex_free_pthread()
85 mutex->is_valid = 0; in threading_mutex_free_pthread()
90 if( mutex == NULL || ! mutex->is_valid ) in threading_mutex_lock_pthread()
101 if( mutex == NULL || ! mutex->is_valid ) in threading_mutex_unlock_pthread()
A Dssl_msg.c3844 if( hs_buf->is_valid == 1 ) in ssl_load_buffered_message()
3857 if( ( hs_buf->is_valid == 1 ) && ( hs_buf->is_complete == 1 ) ) in ssl_load_buffered_message()
3992 if( !hs_buf->is_valid ) in ssl_buffer_message()
4079 hs_buf->is_valid = 1; in ssl_buffer_message()
5606 if( hs_buf->is_valid == 1 ) in ssl_buffering_free_slot()
A Dssl_misc.h651 unsigned is_valid : 1; member
/mbedtls-development/include/mbedtls/
A Dthreading.h47 char MBEDTLS_PRIVATE(is_valid);

Completed in 15 milliseconds