Home
last modified time | relevance | path

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

/external/avahi/avahi-compat-howl/
Dcompat.c97 #define ASSERT_SUCCESS(r) { int __ret = (r); assert(__ret == 0); } macro
161 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 …]
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c97 #define ASSERT_SUCCESS(r) { int __ret = (r); assert(__ret == 0); } macro
294 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 …]
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp1033 #define ASSERT_SUCCESS(status) {if (U_FAILURE(status)) { \ macro
1058 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()
Dnumfmtst.cpp6821 #define ASSERT_SUCCESS(status) {if (U_FAILURE(status)) errln("file %s, line %d: status: %s", \ macro
6836 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 …]