Home
last modified time | relevance | path

Searched refs:Options (Results 1 – 25 of 2981) sorted by relevance

12345678910>>...120

/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyOptionsTest.cpp26 ClangTidyGlobalOptions Options; in TEST() local
27 EXPECT_FALSE(parseLineFilter("", Options)); in TEST()
28 EXPECT_TRUE(Options.LineFilter.empty()); in TEST()
29 EXPECT_FALSE(parseLineFilter("[]", Options)); in TEST()
30 EXPECT_TRUE(Options.LineFilter.empty()); in TEST()
34 ClangTidyGlobalOptions Options; in TEST() local
35 EXPECT_TRUE(!!parseLineFilter("asdf", Options)); in TEST()
36 EXPECT_TRUE(Options.LineFilter.empty()); in TEST()
38 EXPECT_TRUE(!!parseLineFilter("[{}]", Options)); in TEST()
39 EXPECT_TRUE(!!parseLineFilter("[{\"name\":\"\"}]", Options)); in TEST()
[all …]
/external/zstd/contrib/pzstd/test/
DOptionsTest.cpp17 bool operator==(const Options &lhs, const Options &rhs) { in operator ==()
27 std::ostream &operator<<(std::ostream &out, const Options &opt) { in operator <<()
76 constexpr auto autoMode = Options::WriteMode::Auto;
79 #define EXPECT_SUCCESS(...) EXPECT_EQ(Options::Status::Success, __VA_ARGS__)
80 #define EXPECT_FAILURE(...) EXPECT_EQ(Options::Status::Failure, __VA_ARGS__)
81 #define EXPECT_MESSAGE(...) EXPECT_EQ(Options::Status::Message, __VA_ARGS__)
88 TEST(Options, ValidInputs) { in TEST() argument
90 Options options; in TEST()
93 Options expected = {5, 23, 3, false, {"y"}, "x", in TEST()
98 Options options; in TEST()
[all …]
/external/llvm-project/llvm/tools/dsymutil/
Ddsymutil.cpp155 static Error verifyOptions(const DsymutilOptions &Options) { in verifyOptions() argument
156 if (Options.InputFiles.empty()) { in verifyOptions()
161 if (Options.LinkOpts.Update && llvm::is_contained(Options.InputFiles, "-")) { in verifyOptions()
172 if (!Options.Flat && Options.OutputFile == "-") in verifyOptions()
177 if (Options.InputFiles.size() > 1 && Options.Flat && in verifyOptions()
178 !Options.OutputFile.empty()) in verifyOptions()
183 if (Options.PaperTrailWarnings && Options.InputIsYAMLDebugMap) in verifyOptions()
188 if (!Options.ReproducerPath.empty() && in verifyOptions()
189 Options.ReproMode != ReproducerMode::Use) in verifyOptions()
217 DsymutilOptions Options; in getOptions() local
[all …]
/external/ImageMagick/Magick++/lib/
DOptions.cpp27 Magick::Options::Options(void) in Options() function in Magick::Options
45 Magick::Options::Options(const Options& options_) in Options() function in Magick::Options
53 Magick::Options::~Options() in ~Options()
65 void Magick::Options::adjoin(const bool flag_) in adjoin()
71 bool Magick::Options::adjoin(void) const in adjoin()
76 void Magick::Options::matteColor(const Color &matteColor_) in matteColor()
81 Magick::Color Magick::Options::matteColor(void) const in matteColor()
86 void Magick::Options::backgroundColor(const Color &color_) in backgroundColor()
91 Magick::Color Magick::Options::backgroundColor(void) const in backgroundColor()
96 void Magick::Options::backgroundTexture(const std::string &backgroundTexture_) in backgroundTexture()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dgraph_def_builder.cc25 GraphDefBuilder::Options::Options(Graph* graph, Status* status) in Options() function in tensorflow::GraphDefBuilder::Options
27 GraphDefBuilder::Options::~Options() {} in ~Options()
29 GraphDefBuilder::Options GraphDefBuilder::Options::WithName( in WithName()
31 return Options(*this).WithNameImpl(name); in WithName()
33 GraphDefBuilder::Options GraphDefBuilder::Options::WithDevice( in WithDevice()
35 return Options(*this).WithDeviceImpl(device); in WithDevice()
37 GraphDefBuilder::Options GraphDefBuilder::Options::WithControlInput( in WithControlInput()
39 return Options(*this).WithControlInputImpl(control_input); in WithControlInput()
41 GraphDefBuilder::Options GraphDefBuilder::Options::WithControlInputs( in WithControlInputs()
43 return Options(*this).WithControlInputsImpl(control_inputs); in WithControlInputs()
[all …]
Dgraph_def_builder.h69 class Options {
74 Options(Graph* graph, Status* status);
75 ~Options();
79 Options WithName(StringPiece name) const;
80 Options WithDevice(StringPiece device) const;
81 Options WithControlInput(Node* control_input) const;
82 Options WithControlInputs(gtl::ArraySlice<Node*> control_inputs) const;
86 Options WithAttr(StringPiece attr_name, T&& value) const { in WithAttr()
87 return Options(*this).WithAttrImpl(attr_name, std::forward<T>(value)); in WithAttr()
91 Options WithAttr(StringPiece attr_name, in WithAttr()
[all …]
/external/llvm-project/clang/tools/scan-build/bin/
Dscan-build47 my %Options = (
79 lock_keys(%Options);
264 if ($Options{Verbose}) {
429 if (grep { $p =~ m/$_/ } @{$Options{Excludes}}) {
430 if ($Options{Verbose}) {
475 if ($Options{ShowDescription}) {
775 if ($Options{ShowDescription}) {
957 if (defined $Options{OutputFormat}) {
958 if ($Options{OutputFormat} =~ /plist/ ||
959 $Options{OutputFormat} =~ /sarif/) {
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorTraits.h17 template<typename Scalar, int Options>
25 ((Options&DontAlign)==0) && (
56 Options = Options_,
74 Options = Options_,
94 Options = Options_,
115 Options = BaseTraits::Options,
121 template<typename _Scalar, int NumIndices_, int Options, typename IndexType_>
122 struct eval<Tensor<_Scalar, NumIndices_, Options, IndexType_>, Eigen::Dense>
124 typedef const Tensor<_Scalar, NumIndices_, Options, IndexType_>& type;
127 template<typename _Scalar, int NumIndices_, int Options, typename IndexType_>
[all …]
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerLoop.cpp126 if (!Options.MallocLimitMb || (Size >> 20) < (size_t)Options.MallocLimitMb) in HandleMalloc()
135 _Exit(Options.OOMExitCode); // Stop right now. in HandleMalloc()
139 FuzzingOptions Options) in Fuzzer() argument
140 : CB(CB), Corpus(Corpus), MD(MD), Options(Options) { in Fuzzer()
147 if (Options.DetectLeaks && EF->__sanitizer_install_malloc_and_free_hooks) in Fuzzer()
149 TPC.SetUseCounters(Options.UseCounters); in Fuzzer()
150 TPC.SetUseValueProfileMask(Options.UseValueProfile); in Fuzzer()
152 if (Options.Verbosity) in Fuzzer()
154 if (!Options.OutputCorpus.empty() && Options.ReloadIntervalSec) in Fuzzer()
155 EpochOfLastReadOfOutputCorpus = GetEpoch(Options.OutputCorpus); in Fuzzer()
[all …]
DFuzzerDriver.cpp352 const FuzzingOptions &Options) { in CleanseCrashInput() argument
407 const FuzzingOptions &Options) { in MinimizeCrashInput() argument
453 : Options.ArtifactPrefix + "minimized-from-" + Hash(U); in MinimizeCrashInput()
506 void Merge(Fuzzer *F, FuzzingOptions &Options, const Vector<std::string> &Args, in Merge() argument
526 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge()
675 FuzzingOptions Options; in FuzzerDriver() local
676 Options.Verbosity = Flags.verbosity; in FuzzerDriver()
677 Options.MaxLen = Flags.max_len; in FuzzerDriver()
678 Options.LenControl = Flags.len_control; in FuzzerDriver()
679 Options.KeepSeed = Flags.keep_seed; in FuzzerDriver()
[all …]
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerLoop.cpp126 if (!Options.MallocLimitMb || (Size >> 20) < (size_t)Options.MallocLimitMb) in HandleMalloc()
135 _Exit(Options.OOMExitCode); // Stop right now. in HandleMalloc()
139 FuzzingOptions Options) in Fuzzer() argument
140 : CB(CB), Corpus(Corpus), MD(MD), Options(Options) { in Fuzzer()
147 if (Options.DetectLeaks && EF->__sanitizer_install_malloc_and_free_hooks) in Fuzzer()
149 TPC.SetUseCounters(Options.UseCounters); in Fuzzer()
150 TPC.SetUseValueProfileMask(Options.UseValueProfile); in Fuzzer()
152 if (Options.Verbosity) in Fuzzer()
154 if (!Options.OutputCorpus.empty() && Options.ReloadIntervalSec) in Fuzzer()
155 EpochOfLastReadOfOutputCorpus = GetEpoch(Options.OutputCorpus); in Fuzzer()
[all …]
DFuzzerDriver.cpp352 const FuzzingOptions &Options) { in CleanseCrashInput() argument
407 const FuzzingOptions &Options) { in MinimizeCrashInput() argument
453 : Options.ArtifactPrefix + "minimized-from-" + Hash(U); in MinimizeCrashInput()
506 void Merge(Fuzzer *F, FuzzingOptions &Options, const Vector<std::string> &Args, in Merge() argument
526 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge()
675 FuzzingOptions Options; in FuzzerDriver() local
676 Options.Verbosity = Flags.verbosity; in FuzzerDriver()
677 Options.MaxLen = Flags.max_len; in FuzzerDriver()
678 Options.LenControl = Flags.len_control; in FuzzerDriver()
679 Options.KeepSeed = Flags.keep_seed; in FuzzerDriver()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp62 static void ResetCounters(const FuzzingOptions &Options) { in ResetCounters()
63 if (Options.UseCounters) { in ResetCounters()
68 static void Prepare(const FuzzingOptions &Options, Fuzzer::Coverage *C) { in Prepare()
69 if (Options.UseCounters) { in Prepare()
77 static bool RecordMax(const FuzzingOptions &Options, Fuzzer::Coverage *C) { in RecordMax()
86 if (Options.UseIndirCalls && in RecordMax()
96 if (Options.UseCounters) { in RecordMax()
146 Fuzzer::Fuzzer(UserCallback CB, MutationDispatcher &MD, FuzzingOptions Options) in Fuzzer() argument
147 : CB(CB), MD(MD), Options(Options) { in Fuzzer()
154 if (Options.DetectLeaks && EF->__sanitizer_install_malloc_and_free_hooks) in Fuzzer()
[all …]
/external/deqp-deps/glslang/StandAlone/
DStandAlone.cpp164 int Options = 0; variable
444 Options |= EOptionSpv; in ProcessArguments()
445 Options |= EOptionVulkanRules; in ProcessArguments()
446 Options |= EOptionLinkProgram; in ProcessArguments()
454 Options |= EOptionSpv; in ProcessArguments()
455 Options |= EOptionLinkProgram; in ProcessArguments()
457 Options &= ~EOptionVulkanRules; in ProcessArguments()
488 Options |= EOptionAutoMapBindings; in ProcessArguments()
491 Options |= EOptionAutoMapLocations; in ProcessArguments()
526 Options |= EOptionFlattenUniformArrays; in ProcessArguments()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_node_options.h62 template <class... Options> struct extract_sentinel_tracking;
63 template <bool EnableSentinelTracking, class... Options>
65 ilist_sentinel_tracking<EnableSentinelTracking>, Options...>
67 template <class Option1, class... Options>
68 struct extract_sentinel_tracking<Option1, Options...>
69 : extract_sentinel_tracking<Options...> {};
84 template <class... Options> struct extract_tag;
85 template <class Tag, class... Options>
86 struct extract_tag<ilist_tag<Tag>, Options...> {
89 template <class Option1, class... Options>
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
Dilist_node_options.h60 template <class... Options> struct extract_sentinel_tracking;
61 template <bool EnableSentinelTracking, class... Options>
63 ilist_sentinel_tracking<EnableSentinelTracking>, Options...>
65 template <class Option1, class... Options>
66 struct extract_sentinel_tracking<Option1, Options...>
67 : extract_sentinel_tracking<Options...> {};
82 template <class... Options> struct extract_tag;
83 template <class Tag, class... Options>
84 struct extract_tag<ilist_tag<Tag>, Options...> {
87 template <class Option1, class... Options>
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dilist_node_options.h60 template <class... Options> struct extract_sentinel_tracking;
61 template <bool EnableSentinelTracking, class... Options>
63 ilist_sentinel_tracking<EnableSentinelTracking>, Options...>
65 template <class Option1, class... Options>
66 struct extract_sentinel_tracking<Option1, Options...>
67 : extract_sentinel_tracking<Options...> {};
82 template <class... Options> struct extract_tag;
83 template <class Tag, class... Options>
84 struct extract_tag<ilist_tag<Tag>, Options...> {
87 template <class Option1, class... Options>
[all …]
/external/clang/tools/scan-build/bin/
Dscan-build48 my %Options = (
75 lock_keys(%Options);
260 if ($Options{Verbose}) {
1003 if ($Options{OverrideCompiler}) {
1275 foreach my $param ( @{$Options{PluginsToLoad}} ) {
1298 foreach my $param ( @{$Options{PluginsToLoad}} ) {
1414 if (!defined $Options{AnalyzerDiscoveryMethod}) {
1426 if ($Options{AnalyzerDiscoveryMethod} =~ /^[Xx]code$/) {
1439 $Clang = $Options{AnalyzerDiscoveryMethod};
1441 return "Cannot find an executable clang at '$Options{AnalyzerDiscoveryMethod}'\n";
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/
DStandAlone.cpp167 int Options = 0; variable
568 Options |= EOptionSpv; in ProcessArguments()
569 Options |= EOptionVulkanRules; in ProcessArguments()
570 Options |= EOptionLinkProgram; in ProcessArguments()
578 Options |= EOptionSpv; in ProcessArguments()
579 Options |= EOptionLinkProgram; in ProcessArguments()
581 Options &= ~EOptionVulkanRules; in ProcessArguments()
612 Options |= EOptionAutoMapBindings; in ProcessArguments()
615 Options |= EOptionAutoMapLocations; in ProcessArguments()
650 Options |= EOptionFlattenUniformArrays; in ProcessArguments()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass_test_helper.h24 struct Options { struct
29 Options() in Options() argument
34 Options WithNoGlobalJit() { in WithNoGlobalJit() argument
35 Options copy = *this; in WithNoGlobalJit()
40 Options WithDeadnessAnalysis() { in WithDeadnessAnalysis() argument
41 Options copy = *this; in WithDeadnessAnalysis()
46 Options WithNoClusterScoping() { in WithNoClusterScoping() argument
47 Options copy = *this; in WithNoClusterScoping()
58 Options options = Options());
62 Options options = Options());
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DAnalysisManager.cpp21 AnalyzerOptions &Options, in AnalysisManager() argument
24 ASTCtx, Options.UnoptimizedCFG, in AnalysisManager()
25 Options.ShouldIncludeImplicitDtorsInCFG, in AnalysisManager()
27 Options.ShouldIncludeTemporaryDtorsInCFG, in AnalysisManager()
28 Options.ShouldIncludeLifetimeInCFG, in AnalysisManager()
31 Options.ShouldIncludeLoopExitInCFG || in AnalysisManager()
32 Options.ShouldUnrollLoops, in AnalysisManager()
33 Options.ShouldIncludeScopesInCFG, in AnalysisManager()
34 Options.ShouldSynthesizeBodies, in AnalysisManager()
35 Options.ShouldConditionalizeStaticInitializers, in AnalysisManager()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp169 const SimplifyCFGOptions &Options) { in iterativelySimplifyCFG() argument
184 if (simplifyCFG(&*BBIt++, TTI, Options, &LoopHeaders)) { in iterativelySimplifyCFG()
195 const SimplifyCFGOptions &Options) { in simplifyFunctionCFG() argument
198 EverChanged |= iterativelySimplifyCFG(F, TTI, Options); in simplifyFunctionCFG()
212 EverChanged = iterativelySimplifyCFG(F, TTI, Options); in simplifyFunctionCFG()
220 static void applyCommandLineOverridesToOptions(SimplifyCFGOptions &Options) { in applyCommandLineOverridesToOptions() argument
222 Options.BonusInstThreshold = UserBonusInstThreshold; in applyCommandLineOverridesToOptions()
224 Options.ForwardSwitchCondToPhi = UserForwardSwitchCond; in applyCommandLineOverridesToOptions()
226 Options.ConvertSwitchToLookupTable = UserSwitchToLookup; in applyCommandLineOverridesToOptions()
228 Options.NeedCanonicalLoop = UserKeepLoops; in applyCommandLineOverridesToOptions()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h60 inline std::string ProtobufNamespace(const Options& options) { in ProtobufNamespace()
64 inline std::string MacroPrefix(const Options& options) { in MacroPrefix()
68 inline std::string DeprecatedAttribute(const Options& options, in DeprecatedAttribute()
78 void SetCommonVars(const Options& options,
81 bool GetBootstrapBasename(const Options& options, const std::string& basename,
83 bool MaybeBootstrap(const Options& options, GeneratorContext* generator_context,
85 bool IsBootstrapProto(const Options& options, const FileDescriptor* file);
91 std::string Namespace(const FileDescriptor* d, const Options& options);
92 std::string Namespace(const Descriptor* d, const Options& options);
93 std::string Namespace(const FieldDescriptor* d, const Options& options);
[all …]
/external/webrtc/modules/desktop_capture/
Dwindow_finder.cc15 WindowFinder::Options::Options() = default;
16 WindowFinder::Options::~Options() = default;
17 WindowFinder::Options::Options(const WindowFinder::Options& other) = default;
18 WindowFinder::Options::Options(WindowFinder::Options&& other) = default;
/external/rust/crates/textwrap/src/
Dlib.rs187 pub struct Options<'a, S: ?Sized = Box<dyn WordSplitter>> { struct
210 impl<'a, S: ?Sized> From<&'a Options<'a, S>> for Options<'a, &'a S> { argument
211 fn from(options: &'a Options<'a, S>) -> Self { in from()
223 impl<'a> From<usize> for Options<'a, HyphenSplitter> { implementation
225 Options::new(width) in from()
230 impl<'a> Options<'a, HyphenSplitter> { implementation
312 Options::with_splitter(width, HyphenSplitter) in new()
338 impl<'a, S> Options<'a, S> { impl
407 Options { in with_splitter()
421 impl<'a, S: WordSplitter> Options<'a, S> { implementation
[all …]

12345678910>>...120