Home
last modified time | relevance | path

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

12345678910>>...513

/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/llvm-project/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.h79 extern llvm::cl::opt<bool> Compilands;
80 extern llvm::cl::opt<bool> Symbols;
81 extern llvm::cl::opt<bool> Globals;
82 extern llvm::cl::opt<bool> Classes;
83 extern llvm::cl::opt<bool> Enums;
84 extern llvm::cl::opt<bool> Funcsigs;
85 extern llvm::cl::opt<bool> Arrays;
86 extern llvm::cl::opt<bool> Typedefs;
87 extern llvm::cl::opt<bool> Pointers;
88 extern llvm::cl::opt<bool> VTShapes;
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_util.h40 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
49 std::unique_ptr<spvtools::opt::IRContext>* ir_context);
52 bool IsFreshId(opt::IRContext* context, uint32_t id);
56 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
60 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
69 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
77 opt::Instruction CreateUnreachableEdgeInstruction(opt::IRContext* ir_context,
91 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
98 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
103 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_util.h39 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
42 bool IsFreshId(opt::IRContext* context, uint32_t id);
46 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
50 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
59 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
71 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
78 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
83 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
88 opt::BasicBlock::iterator GetIteratorForInstruction(
89 opt::BasicBlock* block, const opt::Instruction* inst);
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_util.h39 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
42 bool IsFreshId(opt::IRContext* context, uint32_t id);
46 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
50 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
59 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
71 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
78 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
83 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
88 opt::BasicBlock::iterator GetIteratorForInstruction(
89 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/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp89 optional<T> opt; in test_with_test_type() local
90 opt = 3; in test_with_test_type()
96 assert(static_cast<bool>(opt) == true); in test_with_test_type()
97 assert(*opt == T(3)); in test_with_test_type()
100 optional<T> opt(42); in test_with_test_type() local
102 opt = 3; in test_with_test_type()
108 assert(static_cast<bool>(opt) == true); in test_with_test_type()
109 assert(*opt == T(3)); in test_with_test_type()
112 optional<T> opt; in test_with_test_type() local
114 opt = {1, 2}; in test_with_test_type()
[all …]
Demplace.pass.cpp52 Opt opt; in test_one_arg() local
53 auto & v = opt.emplace(); in test_one_arg()
55 assert(static_cast<bool>(opt) == true); in test_one_arg()
56 assert(*opt == T(0)); in test_one_arg()
57 assert(&v == &*opt); in test_one_arg()
60 Opt opt; in test_one_arg() local
61 auto & v = opt.emplace(1); in test_one_arg()
63 assert(static_cast<bool>(opt) == true); in test_one_arg()
64 assert(*opt == T(1)); in test_one_arg()
65 assert(&v == &*opt); in test_one_arg()
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer_test.py84 def _run_fn_with_grad_check(self, strategy, var, opt, expected_grad): argument
88 return lambda: opt.minimize(loss, var_list=[var])
94 opt = gradient_descent.SGD(2.0)
96 opt = loss_scale_optimizer.LossScaleOptimizer(opt, dynamic=False,
98 self.assertEqual(self.evaluate(opt.loss_scale), loss_scale)
99 self.assertIsInstance(opt.loss_scale, ops.Tensor)
105 strategy, var, opt, loss_scale / strategy.num_replicas_in_sync)
116 opt = gradient_descent.SGD(1.0)
118 opt = loss_scale_optimizer.LossScaleOptimizer(opt, dynamic=False,
123 run_op = opt.get_gradients(loss, [var])
[all …]
/external/llvm-project/clang/lib/Driver/ToolChains/
DCommonArgs.h27 const llvm::opt::ArgList &Args,
28 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
31 const llvm::opt::ArgList &Args,
32 llvm::opt::ArgStringList &CmdArgs);
34 void claimNoWarnArgs(const llvm::opt::ArgList &Args);
36 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args,
37 llvm::opt::ArgStringList &CmdArgs);
40 llvm::opt::ArgStringList &CmdArgs);
42 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args,
43 llvm::opt::ArgStringList &CmdArgs);
[all …]
DClang.h30 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
32 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
34 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
39 const Driver &D, const llvm::opt::ArgList &Args,
40 llvm::opt::ArgStringList &CmdArgs,
45 const llvm::opt::ArgList &Args, bool KernelOrKext,
46 llvm::opt::ArgStringList &CmdArgs) const;
48 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
49 llvm::opt::ArgStringList &CmdArgs) const;
51 const llvm::opt::ArgList &Args,
[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/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/deqp-deps/SPIRV-Tools/
DBUILD.gn502 "source/opt/aggressive_dead_code_elim_pass.cpp",
503 "source/opt/aggressive_dead_code_elim_pass.h",
504 "source/opt/amd_ext_to_khr.cpp",
505 "source/opt/amd_ext_to_khr.h",
506 "source/opt/basic_block.cpp",
507 "source/opt/basic_block.h",
508 "source/opt/block_merge_pass.cpp",
509 "source/opt/block_merge_pass.h",
510 "source/opt/block_merge_util.cpp",
511 "source/opt/block_merge_util.h",
[all …]
/external/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn502 "source/opt/aggressive_dead_code_elim_pass.cpp",
503 "source/opt/aggressive_dead_code_elim_pass.h",
504 "source/opt/amd_ext_to_khr.cpp",
505 "source/opt/amd_ext_to_khr.h",
506 "source/opt/basic_block.cpp",
507 "source/opt/basic_block.h",
508 "source/opt/block_merge_pass.cpp",
509 "source/opt/block_merge_pass.h",
510 "source/opt/block_merge_util.cpp",
511 "source/opt/block_merge_util.h",
[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/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/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/angle/third_party/vulkan-deps/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/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/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>>...513