Searched refs:atf_dynstr_cstring (Results 1 – 10 of 10) sorted by relevance
| /src/contrib/atf/atf-c/detail/ |
| H A D | dynstr_test.c | 57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); in ATF_TC_BODY() 83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0); in ATF_TC_BODY() 87 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0); in ATF_TC_BODY() 91 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0); in ATF_TC_BODY() 96 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), in ATF_TC_BODY() 113 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0); in ATF_TC_BODY() 117 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0); in ATF_TC_BODY() 121 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0); in ATF_TC_BODY() 127 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), in ATF_TC_BODY() 145 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); in ATF_TC_BODY() [all …]
|
| H A D | fs.c | 118 strcpy(str, atf_dynstr_cstring(&p->m_data)); in copy_contents() 329 dirname(atf_dynstr_cstring(&p->m_data)))); in atf_fs_path_branch_path() 338 return atf_dynstr_cstring(&p->m_data); in atf_fs_path_cstring() 356 basename(atf_dynstr_cstring(&p->m_data)))); in atf_fs_path_leaf_name() 365 return atf_dynstr_cstring(&p->m_data)[0] == '/'; in atf_fs_path_is_absolute() 389 const char *auxstr = atf_dynstr_cstring(&aux); in atf_fs_path_append_ap() 417 return atf_fs_path_append_fmt(p, "%s", atf_dynstr_cstring(&p2->m_data)); in atf_fs_path_append_path()
|
| H A D | dynstr.h | 62 const char *atf_dynstr_cstring(const atf_dynstr_t *);
|
| H A D | test_helpers.c | 53 optargs[0] = atf_dynstr_cstring(&iflag); in build_check_c_o()
|
| H A D | dynstr.c | 295 atf_dynstr_cstring(const atf_dynstr_t *ad) in atf_dynstr_cstring() function
|
| H A D | fs_test.c | 312 printf("Output : %s\n", atf_dynstr_cstring(&ln)); in ATF_TC_BODY()
|
| /src/contrib/atf/atf-c/ |
| H A D | utils.c | 221 ATF_REQUIRE(write(fd, atf_dynstr_cstring(&formatted), in atf_utils_create_file() 268 atf_utils_redirect(STDOUT_FILENO, atf_dynstr_cstring(&out_name)); in atf_utils_fork() 269 atf_utils_redirect(STDERR_FILENO, atf_dynstr_cstring(&err_name)); in atf_utils_fork() 323 found = grep_string(atf_dynstr_cstring(&formatted), line); in atf_utils_grep_file() 353 res = grep_string(atf_dynstr_cstring(&formatted), str); in atf_utils_grep_string() 437 atf_utils_cat_file(atf_dynstr_cstring(&out_name), "subprocess stdout: "); in atf_utils_wait() 438 atf_utils_cat_file(atf_dynstr_cstring(&err_name), "subprocess stderr: "); in atf_utils_wait() 448 atf_utils_copy_file(atf_dynstr_cstring(&out_name), in atf_utils_wait() 451 ATF_REQUIRE(atf_utils_compare_file(atf_dynstr_cstring(&out_name), in atf_utils_wait() 457 atf_utils_copy_file(atf_dynstr_cstring(&err_name), in atf_utils_wait() [all …]
|
| H A D | tc.c | 229 r = atf_dynstr_cstring(reason); in write_resfile() 245 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile() 330 atf_dynstr_cstring(&ctx->expect_reason))); in expected_failure() 347 "expecting one; reason was %s", atf_dynstr_cstring(reason)); in fail_requirement() 357 atf_dynstr_cstring(&ctx->expect_reason), in fail_check() 358 atf_dynstr_cstring(reason)); in fail_check() 361 fprintf(stderr, "*** Check failed: %s\n", atf_dynstr_cstring(reason)); in fail_check() 365 "expecting one; reason was %s", atf_dynstr_cstring(reason)); in fail_check()
|
| H A D | utils_test.c | 252 read_file(atf_dynstr_cstring(&out_name), buffer, sizeof(buffer)); in ATF_TC_BODY() 254 read_file(atf_dynstr_cstring(&err_name), buffer, sizeof(buffer)); in ATF_TC_BODY()
|
| /src/contrib/atf/atf-c++/detail/ |
| H A D | fs.cpp | 196 std::string s(atf_dynstr_cstring(&ln)); in leaf_name()
|