Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/mandoc/
H A Dtest-stringlist.c25 char teststr[] = "test"; in main() local
29 if (sl_add(sl, teststr)) in main()
33 if (sl->sl_str[0] != teststr) in main()
/freebsd-14.2/lib/libnv/tests/
H A Dnv_array_tests.cc494 char **teststr; in ATF_TEST_CASE_BODY() local
508 teststr = (char**)malloc(sizeof(*teststr) * count); in ATF_TEST_CASE_BODY()
509 ATF_REQUIRE(teststr != NULL); in ATF_TEST_CASE_BODY()
511 teststr[i] = (char*)malloc(sizeof(**teststr) * 2); in ATF_TEST_CASE_BODY()
512 ATF_REQUIRE(teststr[i] != NULL); in ATF_TEST_CASE_BODY()
513 teststr[i][0] = 'a' + i; in ATF_TEST_CASE_BODY()
514 teststr[i][1] = '\0'; in ATF_TEST_CASE_BODY()
517 nvlist_move_string_array(nvl, key, teststr, count); in ATF_TEST_CASE_BODY()
525 ATF_REQUIRE((intptr_t)const_result == (intptr_t)teststr); in ATF_TEST_CASE_BODY()