/freebsd/contrib/kyua/engine/ |
H A D | atf_result_test.cpp | 285 ATF_REQUIRE_EQ(in_result, in_result.apply(utils::make_optional(status))); in ATF_TEST_CASE_BODY() 306 ATF_REQUIRE_EQ(in_result, in_result.apply(utils::make_optional(status))); in ATF_TEST_CASE_BODY() 318 ATF_REQUIRE_EQ(any_code, any_code.apply(utils::make_optional(success))); in ATF_TEST_CASE_BODY() 319 ATF_REQUIRE_EQ(any_code, any_code.apply(utils::make_optional(failure))); in ATF_TEST_CASE_BODY() 322 utils::make_optional(EXIT_FAILURE), "The reason"); in ATF_TEST_CASE_BODY() 323 ATF_REQUIRE_EQ(a_code, a_code.apply(utils::make_optional(failure))); in ATF_TEST_CASE_BODY() 333 utils::make_optional(EXIT_FAILURE), "The reason"); in ATF_TEST_CASE_BODY() 338 a_code.apply(utils::make_optional(success))); in ATF_TEST_CASE_BODY() 352 any_code.apply(utils::make_optional(sig3))); in ATF_TEST_CASE_BODY() 362 ATF_REQUIRE_EQ(xfailure, xfailure.apply(utils::make_optional(status))); in ATF_TEST_CASE_BODY() [all …]
|
H A D | scanner.cpp | 128 first_test_cases = utils::make_optional( in advance() 191 return utils::make_optional(_pimpl->consume()); in yield()
|
H A D | kyuafile.cpp | 303 _version = utils::make_optional(version); in callback_syntax() 366 _test_suite = utils::make_optional(name); in callback_test_suite()
|
H A D | atf_result.cpp | 165 return utils::make_optional(text::to_type< int >(str)); in parse_int()
|
H A D | kyuafile_test.cpp | 348 fs::path("srcdir/config"), utils::make_optional(fs::path("builddir")), in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/utils/ |
H A D | optional_test.cpp | 217 ATF_TEST_CASE_WITHOUT_HEAD(make_optional); 218 ATF_TEST_CASE_BODY(make_optional) in ATF_TEST_CASE_BODY() argument 220 optional< int > opt = utils::make_optional(576); in ATF_TEST_CASE_BODY() 235 opt1 = utils::make_optional(5); opt2 = none; in ATF_TEST_CASE_BODY() 239 opt1 = none; opt2 = utils::make_optional(5); in ATF_TEST_CASE_BODY() 243 opt1 = utils::make_optional(5); opt2 = utils::make_optional(5); in ATF_TEST_CASE_BODY() 247 opt1 = utils::make_optional(6); opt2 = utils::make_optional(5); in ATF_TEST_CASE_BODY() 282 ATF_ADD_TEST_CASE(tcs, make_optional); in ATF_INIT_TEST_CASES()
|
H A D | env.cpp | 93 return utils::make_optional(std::string(value)); in getenv() 130 return utils::make_optional(fs::path(home.get())); in get_home()
|
H A D | optional.hpp | 85 optional< T > make_optional(const T&);
|
H A D | stacktrace.cpp | 189 return utils::make_optional(gdb); in find_gdb() 224 return utils::make_optional(*iter); in find_core()
|
H A D | optional.ipp | 246 utils::make_optional(const T& value)
|
/freebsd/contrib/kyua/utils/process/ |
H A D | isolation_test.cpp | 161 process::isolate_child(utils::make_optional(_unprivileged_user), in operator ()() 331 process::isolate_child(utils::make_optional(other_user), fs::path(".")); in ATF_TEST_CASE_BODY() 531 do_isolate_path_test(utils::make_optional(passwd::current_user()), in ATF_TEST_CASE_BODY() 547 do_isolate_path_test(utils::make_optional(user), none, none); in ATF_TEST_CASE_BODY() 561 do_isolate_path_test(utils::make_optional(unprivileged_user), in ATF_TEST_CASE_BODY() 562 utils::make_optional(unprivileged_user.uid), in ATF_TEST_CASE_BODY() 563 utils::make_optional(unprivileged_user.gid)); in ATF_TEST_CASE_BODY() 578 do_isolate_path_test(utils::make_optional(unprivileged_user), in ATF_TEST_CASE_BODY() 579 utils::make_optional(unprivileged_user.uid), in ATF_TEST_CASE_BODY() 595 do_isolate_path_test(utils::make_optional(unprivileged_user), in ATF_TEST_CASE_BODY() [all …]
|
H A D | status.cpp | 87 return status(utils::make_optional(exitstatus_), none); in fake_exited() 100 return status(none, utils::make_optional(std::make_pair(termsig_, in fake_signaled()
|
H A D | executor_test.cpp | 487 utils::make_optional(stdout_file), in ATF_TEST_CASE_BODY() 488 utils::make_optional(stderr_file)); in ATF_TEST_CASE_BODY() 706 infinite_timeout, utils::make_optional(unprivileged_user)); in ATF_TEST_CASE_BODY()
|
H A D | executor.cpp | 683 none : utils::make_optional(status), in post_wait()
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | database.cpp | 114 sqlite::database error_db(utils::make_optional(fs::path(file)), in safe_open() 213 return database(utils::make_optional(file), in open()
|
/freebsd/contrib/kyua/store/ |
H A D | migrate.cpp | 202 utils::make_optional(action_id), in chunk_database() 203 utils::make_optional(old_file)); in chunk_database()
|
/freebsd/contrib/kyua/drivers/ |
H A D | list_tests_test.cpp | 232 run_helpers(fs::path("source"), utils::make_optional(fs::path("build")), in ATF_TEST_CASE_BODY() 248 run_helpers(fs::path("source"), utils::make_optional(fs::path("build")), in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/cli/ |
H A D | common.cpp | 129 return utils::make_optional(old_db); in get_historical_db() 131 return utils::make_optional(old_db.to_absolute()); in get_historical_db()
|
/freebsd/contrib/kyua/admin/ |
H A D | check-api-docs.awk | 47 /utils\/optional\.hpp.*Member make_optional\(const T &\)/ {next}
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | optional.cppm |
|
/freebsd/contrib/kyua/model/ |
H A D | test_case.cpp | 159 utils::make_optional(test_result_))) in test_case()
|
/freebsd/contrib/kyua/utils/cmdline/ |
H A D | ui.cpp | 140 width = utils::make_optional( in screen_width()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | operations.cpp | 416 return utils::make_optional(candidate); in find_in_path() 418 return utils::make_optional(candidate.to_absolute()); in find_in_path()
|
/freebsd/contrib/llvm-project/clang/lib/APINotes/ |
H A D | APINotesFormat.h | 297 : ContextTableKey(ParentContext ? std::make_optional(ParentContext->id) in ContextTableKey()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | optional | 91 constexpr optional<see below > make_optional(T&&); 93 constexpr optional<T> make_optional(Args&&... args); 95 constexpr optional<T> make_optional(initializer_list<U> il, Args&&... args); 1255 _LIBCPP_HIDE_FROM_ABI constexpr optional<decay_t<_Tp>> make_optional(_Tp&& __v) { 1260 _LIBCPP_HIDE_FROM_ABI constexpr optional<_Tp> make_optional(_Args&&... __args) { 1265 _LIBCPP_HIDE_FROM_ABI constexpr optional<_Tp> make_optional(initializer_list<_Up> __il, _Args&&... …
|