Lines Matching refs:zassert_ok

46 		zassert_ok(pthread_create(&th, attrp, entry, arg));  in create_thread_common_entry()
53 zassert_ok(pthread_join(th, NULL), "failed to join joinable thread"); in create_thread_common_entry()
110 zassert_ok(pthread_attr_init(&attr1)); in ZTEST()
120 zassert_ok(pthread_attr_init(&attr)); in ZTEST()
129 zassert_ok(pthread_attr_destroy(&attr), "failed to destroy an initialized attr"); in ZTEST()
136 zassert_ok(pthread_attr_destroy(&attr)); in ZTEST()
140 zassert_ok(pthread_attr_init(&attr)); in ZTEST()
142 zassert_ok(pthread_attr_setstack(&attr, &static_thread_stack, STATIC_THREAD_STACK_SIZE)); in ZTEST()
168 zassert_ok(pthread_attr_getschedparam(&attr, &param)); in ZTEST()
189 zassert_ok(pthread_attr_setschedparam(&attr, &param)); in ZTEST()
210 zassert_ok(pthread_attr_getschedpolicy(&attr, &policy)); in ZTEST()
231 zassert_ok(pthread_attr_setschedpolicy(&attr, SCHED_OTHER)); in ZTEST()
234 zassert_ok(pthread_attr_getschedpolicy(&attr, &policy)); in ZTEST()
256 zassert_ok(pthread_attr_getscope(&attr, &contentionscope)); in ZTEST()
278 zassert_ok(pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)); in ZTEST()
279 zassert_ok(pthread_attr_getscope(&attr, &contentionscope)); in ZTEST()
299 zassert_ok(pthread_attr_getinheritsched(&attr, &inheritsched)); in ZTEST()
309 zassert_ok(pthread_attr_getinheritsched(&attr, &inheritsched)); in inheritsched_entry()
332 zassert_ok(pthread_getschedparam(pthread_self(), &act_policy, &param)); in inheritsched_entry()
336 zassert_ok(pthread_attr_getschedpolicy(&attr, &exp_policy)); in inheritsched_entry()
337 zassert_ok(pthread_attr_getschedparam(&attr, &param)); in inheritsched_entry()
368 zassert_ok(pthread_attr_setschedpolicy(&attr, policy)); in test_pthread_attr_setinheritsched_common()
369 zassert_ok(pthread_attr_setschedparam(&attr, &param)); in test_pthread_attr_setinheritsched_common()
370 zassert_ok(pthread_attr_setinheritsched(&attr, inheritsched)); in test_pthread_attr_setinheritsched_common()
408 zassert_ok(pthread_attr_getstacksize(&attr, &actual_size)); in ZTEST()
429 zassert_ok(pthread_attr_getdetachstate(&attr, &detachstate)); in ZTEST()
453 zassert_ok(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); in ZTEST()
454 zassert_ok(pthread_attr_getdetachstate(&attr, &detachstate)); in ZTEST()
516 zassert_ok(errno, "sched_get_priority_%s(%s) set errno to %s", in ZTEST()
562 zassert_ok(pthread_attr_setschedpolicy(&attr, policies[policy]), in ZTEST()
567 zassert_ok(pthread_attr_setschedparam(&attr, &param), in ZTEST()
580 zassert_ok(pthread_attr_init(&attr)); in before()
582 zassert_ok(pthread_attr_setstack(&attr, &static_thread_stack, STATIC_THREAD_STACK_SIZE)); in before()