Home
last modified time | relevance | path

Searched refs:retname (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_name.c55 char retname[32]; in threadfunc() local
57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); in threadfunc()
58 ATF_REQUIRE_STREQ(retname, NAME_JUST_RIGHT); in threadfunc()
62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); in threadfunc()
63 ATF_REQUIRE_STREQ(retname, CONST_NAME); in threadfunc()
78 char retname[32]; in ATF_TC_BODY() local
81 PTHREAD_REQUIRE(pthread_attr_getname_np(&attr, retname, in ATF_TC_BODY()
82 sizeof(retname), NULL)); in ATF_TC_BODY()
83 ATF_REQUIRE_EQ(retname[0], '\0'); in ATF_TC_BODY()
88 (void) strcpy(retname, "foo"); in ATF_TC_BODY()
[all …]
/freebsd/sys/kern/
H A Dsubr_hints.c501 const char *retname, *retvalue; in resource_unset_value() local
507 &retname, NULL, NULL, NULL, NULL, &retvalue); in resource_unset_value()
511 retname -= strlen("hint."); in resource_unset_value()
512 len = retvalue - retname - 1; in resource_unset_value()
515 memcpy(varname, retname, len); in resource_unset_value()