Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/platform/aos/library/
A Dthreading_alt.c23 mutex->is_valid = ( aos_mutex_new( &mutex->mutex ) == 0 ); in threading_mutex_init()
28 if( mutex == NULL || !mutex->is_valid ) in threading_mutex_free()
32 mutex->is_valid = 0; in threading_mutex_free()
37 if( mutex == NULL || !mutex->is_valid ) in threading_mutex_lock()
48 if( mutex == NULL || ! mutex->is_valid ) in threading_mutex_unlock()
/AliOS-Things-master/components/mbedtls/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_tls.c4442 if( hs_buf->is_valid == 1 ) in ssl_load_buffered_message()
4455 if( ( hs_buf->is_valid == 1 ) && ( hs_buf->is_complete == 1 ) ) in ssl_load_buffered_message()
4590 if( !hs_buf->is_valid ) in ssl_buffer_message()
4667 hs_buf->is_valid = 1; in ssl_buffer_message()
8868 if( hs_buf->is_valid == 1 ) in ssl_buffering_free_slot()
/AliOS-Things-master/components/mbedtls/platform/aos/include/
A Dthreading_alt.h18 char is_valid; member
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dthreading.h51 char is_valid; member
A Dssl_internal.h341 unsigned is_valid : 1; member

Completed in 21 milliseconds