Home
last modified time | relevance | path

Searched refs:make_optional (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/kyua/engine/
H A Datf_result_test.cpp285 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 Dscanner.cpp128 first_test_cases = utils::make_optional( in advance()
191 return utils::make_optional(_pimpl->consume()); in yield()
H A Dkyuafile.cpp303 _version = utils::make_optional(version); in callback_syntax()
366 _test_suite = utils::make_optional(name); in callback_test_suite()
H A Datf_result.cpp165 return utils::make_optional(text::to_type< int >(str)); in parse_int()
H A Dkyuafile_test.cpp348 fs::path("srcdir/config"), utils::make_optional(fs::path("builddir")), in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/utils/
H A Doptional_test.cpp217 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 Denv.cpp93 return utils::make_optional(std::string(value)); in getenv()
130 return utils::make_optional(fs::path(home.get())); in get_home()
H A Doptional.hpp85 optional< T > make_optional(const T&);
H A Dstacktrace.cpp189 return utils::make_optional(gdb); in find_gdb()
224 return utils::make_optional(*iter); in find_core()
H A Doptional.ipp246 utils::make_optional(const T& value)
/freebsd/contrib/kyua/utils/process/
H A Disolation_test.cpp161 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 Dstatus.cpp87 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 Dexecutor_test.cpp487 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 Dexecutor.cpp683 none : utils::make_optional(status), in post_wait()
/freebsd/contrib/kyua/utils/sqlite/
H A Ddatabase.cpp114 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 Dmigrate.cpp202 utils::make_optional(action_id), in chunk_database()
203 utils::make_optional(old_file)); in chunk_database()
/freebsd/contrib/kyua/drivers/
H A Dlist_tests_test.cpp232 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 Dcommon.cpp129 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 Dcheck-api-docs.awk47 /utils\/optional\.hpp.*Member make_optional\(const T &\)/ {next}
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Doptional.cppm
/freebsd/contrib/kyua/model/
H A Dtest_case.cpp159 utils::make_optional(test_result_))) in test_case()
/freebsd/contrib/kyua/utils/cmdline/
H A Dui.cpp140 width = utils::make_optional( in screen_width()
/freebsd/contrib/kyua/utils/fs/
H A Doperations.cpp416 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 DAPINotesFormat.h297 : ContextTableKey(ParentContext ? std::make_optional(ParentContext->id) in ContextTableKey()
/freebsd/contrib/llvm-project/libcxx/include/
H A Doptional91 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&&... …

12