Lines Matching refs:zassert_ok

28 	zassert_ok(pthread_setspecific(key, value), "pthread_setspecific failed");  in thread_top()
43 zassert_ok(pthread_setspecific(keys[i], value), "pthread_setspecific failed"); in thread_func()
53 zassert_ok(pthread_key_create(&key, NULL), "insufficient memory to create key"); in make_key()
59 zassert_ok(pthread_key_create(&keys[i], NULL), in make_keys()
82 zassert_ok(pthread_once(&key_once, make_key), "attempt to create key failed"); in ZTEST()
87 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
92 zassert_ok(pthread_join(newthread[i], &retval), "failed to join thread %d", i); in ZTEST()
95 zassert_ok(pthread_key_delete(key), "attempt to delete key failed"); in ZTEST()
102 zassert_ok(pthread_once(&keys_once, make_keys), "attempt to create keys failed"); in ZTEST()
106 zassert_ok(pthread_create(&newthread, NULL, thread_func, NULL), in ZTEST()
109 zassert_ok(pthread_join(newthread, NULL), "failed to join thread"); in ZTEST()
112 zassert_ok(pthread_key_delete(keys[i]), "attempt to delete keys[%d] failed", i); in ZTEST()
121 zassert_ok(pthread_key_create(&key, NULL), "failed to create key %zu", i); in ZTEST()
122 zassert_ok(pthread_key_delete(key), "failed to delete key %zu", i); in ZTEST()
133 zassert_ok(pthread_key_create(&keys[i], NULL), "failed to create key %zu", i); in ZTEST()
137 zassert_ok(pthread_key_delete(keys[j])); in ZTEST()
138 zassert_ok(pthread_key_create(&keys[j], NULL), "failed to create key %zu", j); in ZTEST()
143 zassert_ok(pthread_key_delete(keys[i]), "failed to delete key %zu", i); in ZTEST()
155 zassert_ok(pthread_key_create(&key, NULL), "failed to create key"); in setspecific_thread()
171 zassert_ok(pthread_create(&thread, NULL, setspecific_thread, &alloc_count_t0), in ZTEST()
173 zassert_ok(pthread_join(thread, NULL), "failed to join thread"); in ZTEST()
176 zassert_ok(pthread_create(&thread, NULL, setspecific_thread, &alloc_count_t1), in ZTEST()
178 zassert_ok(pthread_join(thread, NULL), "failed to join thread"); in ZTEST()