Lines Matching defs:retname
55 char retname[32];
57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
58 ATF_REQUIRE_STREQ(retname, NAME_JUST_RIGHT);
62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
63 ATF_REQUIRE_STREQ(retname, CONST_NAME);
78 char retname[32];
81 PTHREAD_REQUIRE(pthread_attr_getname_np(&attr, retname,
82 sizeof(retname), NULL));
83 ATF_REQUIRE_EQ(retname[0], '\0');
88 (void) strcpy(retname, "foo");
89 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
90 ATF_REQUIRE_EQ(retname[0], '\0');
95 ATF_REQUIRE_EQ(pthread_getname_np(thr, retname, sizeof(retname)), ESRCH);