Searched refs:atf_dynstr_cstring (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/contrib/atf/atf-c/detail/
H A Ddynstr_test.c57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
87 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
91 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
96 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
113 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
117 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
121 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
127 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
145 ATF_REQUIRE(strcmp(atf_dynstr_cstring(
[all...]
H A Ddynstr.h62 const char *atf_dynstr_cstring(const atf_dynstr_t *);
H A Dtest_helpers.c53 optargs[0] = atf_dynstr_cstring(&iflag);
H A Dfs.c184 strcpy(str, atf_dynstr_cstring(&p->m_data));
404 dirname(atf_dynstr_cstring(&p->m_data))));
413 return atf_dynstr_cstring(&p->m_data);
431 basename(atf_dynstr_cstring(&p->m_data))));
440 return atf_dynstr_cstring(&p->m_data)[0] == '/';
464 const char *auxstr = atf_dynstr_cstring(&aux);
492 return atf_fs_path_append_fmt(p, "%s", atf_dynstr_cstring(&p2->m_data));
H A Ddynstr.c295 atf_dynstr_cstring(const atf_dynstr_t *ad) function
H A Dfs_test.c312 printf("Output : %s\n", atf_dynstr_cstring(&ln));
/freebsd-13-stable/contrib/atf/atf-c/
H A Dutils.c221 ATF_REQUIRE(write(fd, atf_dynstr_cstring(&formatted),
268 atf_utils_redirect(STDOUT_FILENO, atf_dynstr_cstring(&out_name));
269 atf_utils_redirect(STDERR_FILENO, atf_dynstr_cstring(&err_name));
323 found = grep_string(atf_dynstr_cstring(&formatted), line);
353 res = grep_string(atf_dynstr_cstring(&formatted), str);
437 atf_utils_cat_file(atf_dynstr_cstring(&out_name), "subprocess stdout: ");
438 atf_utils_cat_file(atf_dynstr_cstring(&err_name), "subprocess stderr: ");
448 atf_utils_copy_file(atf_dynstr_cstring(&out_name),
451 ATF_REQUIRE(atf_utils_compare_file(atf_dynstr_cstring(&out_name),
457 atf_utils_copy_file(atf_dynstr_cstring(
[all...]
H A Dtc.c222 r = atf_dynstr_cstring(reason);
238 reason == NULL ? "null" : atf_dynstr_cstring(reason));
323 atf_dynstr_cstring(&ctx->expect_reason)));
340 "expecting one; reason was %s", atf_dynstr_cstring(reason));
350 atf_dynstr_cstring(&ctx->expect_reason),
351 atf_dynstr_cstring(reason));
354 fprintf(stderr, "*** Check failed: %s\n", atf_dynstr_cstring(reason));
358 "expecting one; reason was %s", atf_dynstr_cstring(reason));
H A Dutils_test.c252 read_file(atf_dynstr_cstring(&out_name), buffer, sizeof(buffer));
254 read_file(atf_dynstr_cstring(&err_name), buffer, sizeof(buffer));
/freebsd-13-stable/contrib/atf/atf-c++/detail/
H A Dfs.cpp196 std::string s(atf_dynstr_cstring(&ln));

Completed in 189 milliseconds