Searched refs:ASSERT_SUCCESS (Results 1 – 4 of 4) sorted by relevance
97 #define ASSERT_SUCCESS(r) { int __ret = (r); assert(__ret == 0); } macro161 ASSERT_SUCCESS(pthread_mutex_unlock(&self->mutex)); in poll_func()163 ASSERT_SUCCESS(pthread_mutex_lock(&self->mutex)); in poll_func()191 ASSERT_SUCCESS(pthread_mutex_lock(&self->mutex)); in thread_func()207 ASSERT_SUCCESS(pthread_mutex_unlock(&self->mutex)); in thread_func()371 ASSERT_SUCCESS(pthread_mutexattr_init(&mutex_attr)); in sw_discovery_init()373 ASSERT_SUCCESS(pthread_mutex_init(&(*self)->mutex, &mutex_attr)); in sw_discovery_init()374 ASSERT_SUCCESS(pthread_mutex_init(&(*self)->salt_mutex, &mutex_attr)); in sw_discovery_init()420 ASSERT_SUCCESS(pthread_join(self->thread, NULL)); in stop_thread()455 ASSERT_SUCCESS(pthread_mutex_destroy(&self->mutex)); in discovery_unref()[all …]
97 #define ASSERT_SUCCESS(r) { int __ret = (r); assert(__ret == 0); } macro294 ASSERT_SUCCESS(pthread_mutex_unlock(&sdref->mutex)); in poll_func()300 ASSERT_SUCCESS(pthread_mutex_lock(&sdref->mutex)); in poll_func()328 ASSERT_SUCCESS(pthread_mutex_lock(&sdref->mutex)); in thread_func()344 ASSERT_SUCCESS(pthread_mutex_unlock(&sdref->mutex)); in thread_func()387 ASSERT_SUCCESS(pthread_mutexattr_init(&mutex_attr)); in sdref_new()389 ASSERT_SUCCESS(pthread_mutex_init(&sdref->mutex, &mutex_attr)); in sdref_new()425 ASSERT_SUCCESS(write_command(sdref->main_fd, COMMAND_QUIT)); in sdref_free()427 ASSERT_SUCCESS(pthread_join(sdref->thread, NULL)); in sdref_free()442 ASSERT_SUCCESS(pthread_mutex_destroy(&sdref->mutex)); in sdref_free()[all …]
1033 #define ASSERT_SUCCESS(status) {if (U_FAILURE(status)) { \ macro1058 ASSERT_SUCCESS(status); in TestHan()1074 ASSERT_SUCCESS(status); in TestHan()1079 ASSERT_SUCCESS(status); in TestHan()1087 ASSERT_SUCCESS(status); in TestHan()1093 ASSERT_SUCCESS(status); in TestHan()1098 ASSERT_SUCCESS(status); in TestHan()1103 ASSERT_SUCCESS(status); in TestHan()
6821 #define ASSERT_SUCCESS(status) {if (U_FAILURE(status)) errln("file %s, line %d: status: %s", \ macro6836 ASSERT_SUCCESS(status); in TestDecimal()6838 ASSERT_SUCCESS(status); in TestDecimal()6853 ASSERT_SUCCESS(status); in TestDecimal()6857 ASSERT_SUCCESS(status); in TestDecimal()6859 ASSERT_SUCCESS(status); in TestDecimal()6868 ASSERT_SUCCESS(status); in TestDecimal()6872 ASSERT_SUCCESS(status); in TestDecimal()6874 ASSERT_SUCCESS(status); in TestDecimal()6878 ASSERT_SUCCESS(status); in TestDecimal()[all …]