Home
last modified time | relevance | path

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

/freebsd/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/lib/libnv/tests/
H A Dnv_array_tests.cc493 char **teststr; in ATF_TEST_CASE_BODY() local
507 teststr = (char**)malloc(sizeof(*teststr) * count); in ATF_TEST_CASE_BODY()
508 ATF_REQUIRE(teststr != NULL); in ATF_TEST_CASE_BODY()
510 teststr[i] = (char*)malloc(sizeof(**teststr) * 2); in ATF_TEST_CASE_BODY()
511 ATF_REQUIRE(teststr[i] != NULL); in ATF_TEST_CASE_BODY()
512 teststr[i][0] = 'a' + i; in ATF_TEST_CASE_BODY()
513 teststr[i][1] = '\0'; in ATF_TEST_CASE_BODY()
516 nvlist_move_string_array(nvl, key, teststr, count); in ATF_TEST_CASE_BODY()
524 ATF_REQUIRE((intptr_t)const_result == (intptr_t)teststr); in ATF_TEST_CASE_BODY()