Searched refs:opt (Results 1 - 25 of 985) sorted by relevance

1234567891011>>

/external/libcxx/test/utilities/optional/optional.object/optional.object.assign/
H A Demplace.pass.cpp63 optional<int> opt; local
64 opt.emplace();
65 assert(static_cast<bool>(opt) == true);
66 assert(*opt == 0);
69 optional<int> opt; local
70 opt.emplace(1);
71 assert(static_cast<bool>(opt) == true);
72 assert(*opt == 1);
75 optional<int> opt(2);
76 opt
87 optional<X> opt; local
93 optional<X> opt; local
99 optional<X> opt; local
[all...]
H A Dnullopt_t.pass.cpp38 optional<int> opt; local
39 static_assert(noexcept(opt = nullopt) == true, "");
40 opt = nullopt;
41 assert(static_cast<bool>(opt) == false);
44 optional<int> opt(3);
45 opt = nullopt;
46 assert(static_cast<bool>(opt) == false);
49 optional<X> opt; local
50 static_assert(noexcept(opt = nullopt) == true, "");
52 opt
[all...]
H A Dassign_value.pass.cpp40 optional<int> opt; local
41 opt = 1;
42 assert(static_cast<bool>(opt) == true);
43 assert(*opt == 1);
46 optional<int> opt; local
48 opt = i;
49 assert(static_cast<bool>(opt) == true);
50 assert(*opt == i);
53 optional<int> opt(3);
55 opt
60 optional<std::unique_ptr<int>> opt; local
[all...]
H A Dcopy.pass.cpp42 optional<int> opt; local
44 opt = opt2;
46 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
49 optional<int> opt; local
51 opt = opt2;
54 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
55 assert(*opt == *opt2);
58 optional<int> opt(3);
60 opt = opt2;
62 assert(static_cast<bool>(opt)
74 optional<X> opt; local
[all...]
H A Dmove.pass.cpp51 optional<int> opt; local
53 opt = std::move(opt2);
55 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
58 optional<int> opt; local
60 opt = std::move(opt2);
63 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
64 assert(*opt == *opt2);
67 optional<int> opt(3);
69 opt = std::move(opt2);
71 assert(static_cast<bool>(opt)
84 optional<X> opt; local
[all...]
/external/libcxx/test/utilities/optional/optional.object/optional.object.observe/
H A Dbool.pass.cpp24 constexpr optional<int> opt; local
25 static_assert(!opt, "");
28 constexpr optional<int> opt(0);
29 static_assert(opt, "");
H A Dvalue_or_const.pass.cpp46 constexpr optional<X> opt(2);
48 static_assert(opt.value_or(y) == 2, "");
51 constexpr optional<X> opt(2);
52 static_assert(opt.value_or(Y(3)) == 2, "");
55 constexpr optional<X> opt; local
57 static_assert(opt.value_or(y) == 3, "");
60 constexpr optional<X> opt; local
61 static_assert(opt.value_or(Y(3)) == 4, "");
64 const optional<X> opt(2);
66 assert(opt
73 const optional<X> opt; local
78 const optional<X> opt; local
[all...]
H A Dvalue.pass.cpp37 optional<X> opt; local
38 opt.emplace();
39 assert(opt.value().test() == 4);
42 optional<X> opt; local
45 opt.value();
H A Ddereference_const.pass.cpp42 constexpr optional<X> opt(X{});
43 static_assert((*opt).test() == 3, "");
46 constexpr optional<Y> opt(Y{});
47 assert((*opt).test() == 2);
51 const optional<X> opt; local
52 assert((*opt).test() == 3);
H A Dvalue_const.pass.cpp39 constexpr optional<X> opt(in_place);
40 static_assert(opt.value().test() == 3, "");
43 const optional<X> opt(in_place);
44 assert(opt.value().test() == 3);
47 const optional<X> opt; local
50 opt.value();
H A Dop_arrow_const.pass.cpp48 constexpr optional<X> opt(X{});
49 static_assert(opt->test() == 3, "");
52 constexpr optional<Y> opt(Y{});
53 assert(opt->test() == 2);
56 constexpr optional<Z> opt(Z{});
57 assert(opt->test() == 1);
61 const optional<X> opt; local
62 assert(opt->test() == 3);
H A Ddereference.pass.cpp38 optional<X> opt(X{});
39 assert((*opt).test() == 4);
43 optional<X> opt; local
44 assert((*opt).test() == 3);
/external/libcxx/test/utilities/optional/optional.hash/
H A Dhash.pass.cpp27 optional<T> opt; local
28 assert(std::hash<optional<T>>{}(opt) == 0);
29 opt = 2;
30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
34 optional<T> opt; local
35 assert(std::hash<optional<T>>{}(opt) == 0);
36 opt = std::string("123");
37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
41 optional<T> opt; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_bugzilla/
H A DbuildBugToolsJar.sh3 export JAVA_HOME=/opt/sun-java2-5.0;
4 export ANT_HOME=/opt/apache-ant-1.6;
H A DbuildBugToolsZip.sh3 export JAVA_HOME=/opt/sun-java2-5.0;
4 export ANT_HOME=/opt/apache-ant-1.6;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_rss/
H A DbuildFeedToolsJar.sh13 export JAVA_HOME=/opt/sun-java2-5.0;
14 export ANT_HOME=/opt/apache-ant-1.6;
H A DbuildFeedToolsZip.sh13 export JAVA_HOME=/opt/sun-java2-5.0;
14 export ANT_HOME=/opt/apache-ant-1.6;
H A DfeedWatch.sh13 export JAVA_HOME=/opt/sun-java2-5.0;
14 export ANT_HOME=/opt/apache-ant-1.6;
/external/mksh/
H A DMakefrag.inc8 INDSRCS= emacsfn.h rlimits.opt sh.h sh_flags.opt var_spec.h
18 rlimits.gen: ../src/Build.sh ../src/rlimits.opt
19 srcfile=../src/rlimits.opt; BUILDSH_RUN_GENOPT=1; . ../src/Build.sh
20 sh_flags.gen: ../src/Build.sh ../src/sh_flags.opt
21 srcfile=../src/sh_flags.opt; BUILDSH_RUN_GENOPT=1; . ../src/Build.sh
/external/oprofile/libpopt/
H A Dpopthelp.c95 const struct poptOption *opt; local
98 for (opt = table; opt->longName || opt->shortName || opt->arg; opt++) {
99 if (opt->argInfo == POPT_ARG_INTL_DOMAIN)
100 return opt->arg;
106 * @param opt option(s)
110 getArgDescrip(const struct poptOption * opt, argument
147 singleOptionDefaultValue(size_t lineLength, const struct poptOption * opt, const char * translation_domain) argument
218 singleOptionHelp(FILE * fp, size_t maxLeftCol, const struct poptOption * opt, const char * translation_domain) argument
410 maxArgWidth(const struct poptOption * opt, const char * translation_domain) argument
484 const struct poptOption * opt; local
506 const struct poptOption * opt; local
585 singleOptionUsage(FILE * fp, size_t cursor, const struct poptOption * opt, const char *translation_domain) argument
672 const struct poptOption * opt; local
705 singleTableUsage(poptContext con, FILE * fp, size_t cursor, const struct poptOption * opt, const char * translation_domain, poptDone done) argument
756 showShortOptions(const struct poptOption * opt, FILE * fp, char * str) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dparse-options.c9 static int opterror(const struct option *opt, const char *reason, int flags) argument
12 return error("switch `%c' %s", opt->short_name, reason);
14 return error("option `no-%s' %s", opt->long_name, reason);
15 return error("option `%s' %s", opt->long_name, reason);
18 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, argument
21 if (p->opt) {
22 *arg = p->opt;
23 p->opt = NULL;
24 } else if ((opt->flags & PARSE_OPT_LASTARG_DEFAULT) && (p->argc == 1 ||
26 *arg = (const char *)opt
35 get_value(struct parse_opt_ctx_t *p, const struct option *opt, int flags) argument
568 parse_opt_verbosity_cb(const struct option *opt, const char *arg __maybe_unused, int unset) argument
[all...]
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.h29 extern llvm::cl::opt<bool> FileHeaders;
30 extern llvm::cl::opt<bool> Sections;
31 extern llvm::cl::opt<bool> SectionRelocations;
32 extern llvm::cl::opt<bool> SectionSymbols;
33 extern llvm::cl::opt<bool> SectionData;
34 extern llvm::cl::opt<bool> Relocations;
35 extern llvm::cl::opt<bool> Symbols;
36 extern llvm::cl::opt<bool> DynamicSymbols;
37 extern llvm::cl::opt<bool> UnwindInfo;
38 extern llvm::cl::opt<boo
[all...]
/external/libcxx/test/utilities/optional/optional.specalg/
H A Dmake_optional.pass.cpp29 optional<int> opt = make_optional(2); local
30 assert(*opt == 2);
34 optional<std::string> opt = make_optional(s); local
35 assert(*opt == s);
39 optional<std::string> opt = make_optional(std::move(s)); local
40 assert(*opt == "123");
45 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); local
46 assert(**opt == 3);
/external/bzip2/
H A Dbzgrep20 -e | -f) opt="$opt $1"; shift; pat="$1"
24 -A | -B) opt="$opt $1 $2"; shift;;
25 -*) opt="$opt $1";;
43 op=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'`
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "
[all...]
/external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
H A Din_place_t.pass.cpp67 constexpr optional<int> opt(in_place, 5);
68 static_assert(static_cast<bool>(opt) == true, "");
69 static_assert(*opt == 5, "");
80 const optional<X> opt(in_place);
81 assert(static_cast<bool>(opt) == true);
82 assert(*opt == X());
85 const optional<X> opt(in_place, 5);
86 assert(static_cast<bool>(opt) == true);
87 assert(*opt == X(5));
90 const optional<X> opt(in_plac
[all...]

Completed in 375 milliseconds

1234567891011>>