Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 6675) sorted by relevance

12345678910>>...267

/external/toybox/tests/
Ddd.test9 opt="2>/dev/null"
14 testing "count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" ""
15 testing "count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" ""
16 toyonly testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \
20 testing "if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" ""
21 testing "of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n"
22 testing "if=file of=file" "dd if=input of=foo $opt && cat foo && rm -f foo" \
24 testing "if=file | dd of=file" "dd if=input $opt | dd of=foo $opt &&
26 testing "(stdout)" "dd $opt" "I WANT\n" "" "I WANT\n"
28 "dd if=input of=outFile seek=8860 bs=1M conv=sync,noerror $opt &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.h80 extern llvm::cl::opt<bool> Compilands;
81 extern llvm::cl::opt<bool> Symbols;
82 extern llvm::cl::opt<bool> Globals;
83 extern llvm::cl::opt<bool> Classes;
84 extern llvm::cl::opt<bool> Enums;
85 extern llvm::cl::opt<bool> Typedefs;
86 extern llvm::cl::opt<bool> All;
87 extern llvm::cl::opt<bool> ExcludeCompilerGenerated;
89 extern llvm::cl::opt<bool> NoEnumDefs;
96 extern llvm::cl::opt<SymbolSortMode> SymbolOrder;
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_util.h32 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
35 bool IsFreshId(opt::IRContext* context, uint32_t id);
39 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
43 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
52 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
57 uint32_t MaybeGetBoolConstantId(opt::IRContext* context, bool value);
66 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
72 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
77 opt::BasicBlock::iterator GetIteratorForInstruction(
78 opt::BasicBlock* block, const opt::Instruction* inst);
[all …]
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dfuzzer_util.h32 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
35 bool IsFreshId(opt::IRContext* context, uint32_t id);
39 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
43 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
52 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
57 uint32_t MaybeGetBoolConstantId(opt::IRContext* context, bool value);
66 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
72 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
77 opt::BasicBlock::iterator GetIteratorForInstruction(
78 opt::BasicBlock* block, const opt::Instruction* inst);
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp90 optional<T> opt; in test_with_test_type() local
91 opt = 3; in test_with_test_type()
97 assert(static_cast<bool>(opt) == true); in test_with_test_type()
98 assert(*opt == T(3)); in test_with_test_type()
101 optional<T> opt(42); in test_with_test_type() local
103 opt = 3; in test_with_test_type()
109 assert(static_cast<bool>(opt) == true); in test_with_test_type()
110 assert(*opt == T(3)); in test_with_test_type()
113 optional<T> opt; in test_with_test_type() local
115 opt = {1, 2}; in test_with_test_type()
[all …]
Demplace.pass.cpp53 Opt opt; in test_one_arg() local
54 auto & v = opt.emplace(); in test_one_arg()
56 assert(static_cast<bool>(opt) == true); in test_one_arg()
57 assert(*opt == T(0)); in test_one_arg()
58 assert(&v == &*opt); in test_one_arg()
61 Opt opt; in test_one_arg() local
62 auto & v = opt.emplace(1); in test_one_arg()
64 assert(static_cast<bool>(opt) == true); in test_one_arg()
65 assert(*opt == T(1)); in test_one_arg()
66 assert(&v == &*opt); in test_one_arg()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_util.h32 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
35 bool IsFreshId(opt::IRContext* context, uint32_t id);
39 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
43 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
52 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
57 uint32_t MaybeGetBoolConstantId(opt::IRContext* context, bool value);
66 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
72 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
77 opt::BasicBlock::iterator GetIteratorForInstruction(
78 opt::BasicBlock* block, const opt::Instruction* inst);
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dloss_scale_optimizer_test.py77 def _run_fn_with_grad_check(self, strategy, var, opt, expected_grad): argument
81 return lambda: opt.minimize(loss, var_list=[var])
88 opt = gradient_descent.SGD(2.0)
90 opt = loss_scale_optimizer.LossScaleOptimizer(opt, loss_scale)
96 strategy, var, opt, loss_scale / strategy.num_replicas_in_sync)
107 opt = gradient_descent.SGD(1.0)
109 opt = loss_scale_optimizer.LossScaleOptimizer(opt, loss_scale)
112 run_op = opt.get_gradients(loss, [var])
120 opt = gradient_descent.SGD(2.0)
121 opt = loss_scale_optimizer.LossScaleOptimizer(opt, loss_scale=2.)
[all …]
/external/angle/third_party/spirv-tools/src/
DAndroid.mk76 source/opt/aggressive_dead_code_elim_pass.cpp \
77 source/opt/amd_ext_to_khr.cpp \
78 source/opt/basic_block.cpp \
79 source/opt/block_merge_pass.cpp \
80 source/opt/block_merge_util.cpp \
81 source/opt/build_module.cpp \
82 source/opt/cfg.cpp \
83 source/opt/cfg_cleanup_pass.cpp \
84 source/opt/ccp_pass.cpp \
85 source/opt/code_sink.cpp \
[all …]
DBUILD.gn501 "source/opt/aggressive_dead_code_elim_pass.cpp",
502 "source/opt/aggressive_dead_code_elim_pass.h",
503 "source/opt/amd_ext_to_khr.cpp",
504 "source/opt/amd_ext_to_khr.h",
505 "source/opt/basic_block.cpp",
506 "source/opt/basic_block.h",
507 "source/opt/block_merge_pass.cpp",
508 "source/opt/block_merge_pass.h",
509 "source/opt/block_merge_util.cpp",
510 "source/opt/block_merge_util.h",
[all …]
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.h19 extern llvm::cl::opt<bool> Compilands;
20 extern llvm::cl::opt<bool> Symbols;
21 extern llvm::cl::opt<bool> Globals;
22 extern llvm::cl::opt<bool> Types;
23 extern llvm::cl::opt<bool> All;
24 extern llvm::cl::opt<bool> ExcludeCompilerGenerated;
26 extern llvm::cl::opt<bool> NoClassDefs;
27 extern llvm::cl::opt<bool> NoEnumDefs;
37 extern llvm::cl::opt<bool> DumpHeaders;
38 extern llvm::cl::opt<bool> DumpStreamBlocks;
[all …]
/external/ppp/pppd/
Doptions.c376 option_t *opt; local
385 opt = find_option(arg);
386 if (opt == NULL) {
391 n = n_arguments(opt);
396 if (!process_option(opt, arg, argv))
417 option_t *opt; local
453 opt = find_option(cmd);
454 if (opt == NULL) {
459 n = n_arguments(opt);
469 if (!process_option(opt, cmd, argv))
[all …]
/external/deqp-deps/SPIRV-Tools/
DBUILD.gn501 "source/opt/aggressive_dead_code_elim_pass.cpp",
502 "source/opt/aggressive_dead_code_elim_pass.h",
503 "source/opt/amd_ext_to_khr.cpp",
504 "source/opt/amd_ext_to_khr.h",
505 "source/opt/basic_block.cpp",
506 "source/opt/basic_block.h",
507 "source/opt/block_merge_pass.cpp",
508 "source/opt/block_merge_pass.h",
509 "source/opt/block_merge_util.cpp",
510 "source/opt/block_merge_util.h",
[all …]
/external/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn503 "source/opt/aggressive_dead_code_elim_pass.cpp",
504 "source/opt/aggressive_dead_code_elim_pass.h",
505 "source/opt/amd_ext_to_khr.cpp",
506 "source/opt/amd_ext_to_khr.h",
507 "source/opt/basic_block.cpp",
508 "source/opt/basic_block.h",
509 "source/opt/block_merge_pass.cpp",
510 "source/opt/block_merge_pass.h",
511 "source/opt/block_merge_util.cpp",
512 "source/opt/block_merge_util.h",
[all …]
/external/python/cpython2/Lib/
Dgetopt.py39 opt = '' variable in GetoptError
41 def __init__(self, msg, opt=''): argument
43 self.opt = opt
44 Exception.__init__(self, msg, opt)
144 def do_longs(opts, opt, longopts, args): argument
146 i = opt.index('=')
150 opt, optarg = opt[:i], opt[i+1:]
152 has_arg, opt = long_has_args(opt, longopts)
156 raise GetoptError('option --%s requires argument' % opt, opt)
159 raise GetoptError('option --%s must not have an argument' % opt, opt)
[all …]
/external/python/cpython3/Lib/
Dgetopt.py44 opt = '' variable in GetoptError
46 def __init__(self, msg, opt=''): argument
48 self.opt = opt
49 Exception.__init__(self, msg, opt)
149 def do_longs(opts, opt, longopts, args): argument
151 i = opt.index('=')
155 opt, optarg = opt[:i], opt[i+1:]
157 has_arg, opt = long_has_args(opt, longopts)
161 raise GetoptError(_('option --%s requires argument') % opt, opt)
164 raise GetoptError(_('option --%s must not have an argument') % opt, opt)
[all …]
/external/u-boot/include/
Dhwconfig.h19 extern int hwconfig_f(const char *opt, char *buf);
20 extern const char *hwconfig_arg_f(const char *opt, size_t *arglen, char *buf);
21 extern int hwconfig_arg_cmp_f(const char *opt, const char *arg, char *buf);
22 extern int hwconfig_sub_f(const char *opt, const char *subopt, char *buf);
23 extern const char *hwconfig_subarg_f(const char *opt, const char *subopt,
25 extern int hwconfig_subarg_cmp_f(const char *opt, const char *subopt,
29 static inline int hwconfig_f(const char *opt, char *buf) in hwconfig_f() argument
34 static inline const char *hwconfig_arg_f(const char *opt, size_t *arglen, in hwconfig_arg_f() argument
41 static inline int hwconfig_arg_cmp_f(const char *opt, const char *arg, in hwconfig_arg_cmp_f() argument
47 static inline int hwconfig_sub_f(const char *opt, const char *subopt, char *buf) in hwconfig_sub_f() argument
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dupgrade_memory_model_test.cpp24 using UpgradeMemoryModelTest = opt::PassTest<::testing::Test>;
34 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
47 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
60 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
76 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
100 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
124 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
151 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
178 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
204 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
[all …]
/external/angle/third_party/spirv-tools/src/test/opt/
Dupgrade_memory_model_test.cpp24 using UpgradeMemoryModelTest = opt::PassTest<::testing::Test>;
34 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
47 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
60 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
76 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
100 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
124 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
151 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
178 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
204 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dupgrade_memory_model_test.cpp24 using UpgradeMemoryModelTest = opt::PassTest<::testing::Test>;
34 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
47 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
60 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
76 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
100 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
124 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
151 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
178 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
204 SinglePassRunAndMatch<opt::UpgradeMemoryModel>(text, true); in TEST_F()
[all …]
/external/clang/lib/Driver/
DToolChains.h106 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args,
147 const llvm::opt::ArgList &Args,
153 const llvm::opt::ArgList &Args,
181 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args);
216 const llvm::opt::ArgList &Args);
245 const llvm::opt::ArgList &DriverArgs,
246 llvm::opt::ArgStringList &CC1Args) const;
268 const llvm::opt::ArgList &Args);
276 StringRef getMachOArchName(const llvm::opt::ArgList &Args) const;
279 virtual void AddLinkARCArgs(const llvm::opt::ArgList &Args, in AddLinkARCArgs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
Dllvm-objdump.h30 extern cl::opt<std::string> TripleName;
31 extern cl::opt<std::string> ArchName;
32 extern cl::opt<std::string> MCPU;
33 extern cl::opt<std::string> Demangle;
36 extern cl::opt<bool> AllHeaders;
37 extern cl::opt<bool> Disassemble;
38 extern cl::opt<bool> DisassembleAll;
39 extern cl::opt<bool> NoShowRawInsn;
40 extern cl::opt<bool> NoLeadingAddr;
41 extern cl::opt<bool> PrivateHeaders;
[all …]
/external/iproute2/ip/
Dip.c184 char *opt = argv[1]; in main() local
186 if (strcmp(opt, "--") == 0) { in main()
190 if (opt[0] != '-') in main()
192 if (opt[1] == '-') in main()
193 opt++; in main()
194 if (matches(opt, "-loops") == 0) { in main()
200 } else if (matches(opt, "-family") == 0) { in main()
211 } else if (strcmp(opt, "-4") == 0) { in main()
213 } else if (strcmp(opt, "-6") == 0) { in main()
215 } else if (strcmp(opt, "-0") == 0) { in main()
[all …]
/external/iproute2/tc/
Dq_sfq.c41 struct tc_sfq_qopt_v1 opt = {}; in sfq_parse_opt() local
50 if (get_size(&opt.v0.quantum, *argv)) { in sfq_parse_opt()
57 if (get_integer(&opt.v0.perturb_period, *argv, 0)) { in sfq_parse_opt()
64 if (get_u32(&opt.v0.limit, *argv, 0)) { in sfq_parse_opt()
68 if (opt.v0.limit < 2) { in sfq_parse_opt()
75 if (get_u32(&opt.v0.divisor, *argv, 0)) { in sfq_parse_opt()
82 if (get_u32(&opt.v0.flows, *argv, 0)) { in sfq_parse_opt()
89 if (get_u32(&opt.depth, *argv, 0)) { in sfq_parse_opt()
95 opt.headdrop = 1; in sfq_parse_opt()
99 if (get_u32(&opt.limit, *argv, 0)) { in sfq_parse_opt()
[all …]
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.h29 extern cl::opt<std::string> TripleName;
30 extern cl::opt<std::string> ArchName;
31 extern cl::opt<std::string> MCPU;
34 extern cl::opt<bool> Disassemble;
35 extern cl::opt<bool> DisassembleAll;
36 extern cl::opt<bool> NoShowRawInsn;
37 extern cl::opt<bool> PrivateHeaders;
38 extern cl::opt<bool> FirstPrivateHeader;
39 extern cl::opt<bool> ExportsTrie;
40 extern cl::opt<bool> Rebase;
[all …]

12345678910>>...267