Home
last modified time | relevance | path

Searched full:options (Results 1 – 25 of 11924) sorted by relevance

12345678910>>...477

/external/zstd/contrib/pzstd/test/
DOptionsTest.cpp9 #include "Options.h"
17 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() local
92 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
[all …]
/external/okio/okio/src/commonTest/kotlin/okio/
DCommonOptionsTest.kt25 /** Confirm that options prefers the first-listed option, not the longest or shortest one. */
46 val options = utf8Options( in realisticOptionsTrie() constant
76 options.trieString(), in realisticOptionsTrie()
149 assertSelect("", -1, options) in realisticOptionsTrie()
150 assertSelect("a", -1, options) in realisticOptionsTrie()
151 assertSelect("eventListenerFactor", -1, options) in realisticOptionsTrie()
152 assertSelect("dnst", 19, options) in realisticOptionsTrie()
153 assertSelect("proxyproxy", 1, options) in realisticOptionsTrie()
154 assertSelect("prox", -1, options) in realisticOptionsTrie()
156 assertSelect("dispatcher", 0, options) in realisticOptionsTrie()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DAgentOptionsTest.java39 AgentOptions options = new AgentOptions(); in testDefaults() local
40 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); in testDefaults()
41 assertTrue(options.getAppend()); in testDefaults()
42 assertEquals("*", options.getIncludes()); in testDefaults()
43 assertEquals("", options.getExcludes()); in testDefaults()
45 options.getExclClassloader()); in testDefaults()
46 assertFalse(options.getInclBootstrapClasses()); in testDefaults()
47 assertFalse(options.getInclNoLocationClasses()); in testDefaults()
48 assertNull(options.getSessionId()); in testDefaults()
49 assertTrue(options.getDumpOnExit()); in testDefaults()
[all …]
/external/libxml2/os400/libxmlrpg/
Dxmlwriter.rpgle34 d uri * value options(*string) const char *
74 d version * value options(*string) const char *
75 d encoding * value options(*string) const char *
76 d standalone * value options(*string) const char *
100 d format * value options(*string: *nopass) const char *
101 d #vararg1 * value options(*string: *nopass) void *
102 d #vararg2 * value options(*string: *nopass) void *
103 d #vararg3 * value options(*string: *nopass) void *
104 d #vararg4 * value options(*string: *nopass) void *
105 d #vararg5 * value options(*string: *nopass) void *
[all …]
Dxmlstring.rpgle28 d cur * value options(*string) const xmlChar *
31 d cur * value options(*string) const xmlChar *
35 d cur * value options(*string) const char *
39 d cur * value options(*string) const char *
42 d str * value options(*string) const xmlChar *
47 d str * value options(*string) const xmlChar *
51 d str * value options(*string) const xmlChar *
52 d val * value options(*string) const xmlChar *
55 d str * value options(*string) const xmlChar *
56 d val * value options(*string) const xmlChar *
[all …]
Dhash.rpgle91 d name * value options(*string) const xmlChar *
92 d userdata * value options(*string) void *
98 d name * value options(*string) const xmlChar *
99 d userdata * value options(*string) void *
106 d name * value options(*string) const xmlChar *
107 d name2 * value options(*string) const xmlChar *
108 d userdata * value options(*string) void *
114 d name * value options(*string) const xmlChar *
115 d name2 * value options(*string) const xmlChar *
116 d userdata * value options(*string) void *
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Doptions_test.py15 """Tests for `tf.data.Options`."""
42 self.assertEqual(dataset_ops.Options(), ds.options())
46 options = dataset_ops.Options()
47 ds = dataset_ops.Dataset.range(0).with_options(options).cache()
48 self.assertEqual(options, ds.options())
52 options = dataset_ops.Options()
53 options.experimental_optimization.autotune = True
54 ds = dataset_ops.Dataset.range(0).with_options(options).with_options(
55 options)
56 self.assertEqual(options, ds.options())
[all …]
/external/libchrome/mojo/core/
Dentrypoints.cc23 MojoResult MojoInitializeImpl(const struct MojoInitializeOptions* options) { in MojoInitializeImpl() argument
43 const MojoCreateMessagePipeOptions* options, in MojoCreateMessagePipeImpl() argument
46 return g_core->CreateMessagePipe(options, message_pipe_handle0, in MojoCreateMessagePipeImpl()
52 const MojoWriteMessageOptions* options) { in MojoWriteMessageImpl() argument
53 return g_core->WriteMessage(message_pipe_handle, message, options); in MojoWriteMessageImpl()
57 const MojoReadMessageOptions* options, in MojoReadMessageImpl() argument
59 return g_core->ReadMessage(message_pipe_handle, options, message); in MojoReadMessageImpl()
65 const MojoFuseMessagePipesOptions* options) { in MojoFuseMessagePipesImpl() argument
66 return g_core->FuseMessagePipes(handle0, handle1, options); in MojoFuseMessagePipesImpl()
69 MojoResult MojoCreateMessageImpl(const MojoCreateMessageOptions* options, in MojoCreateMessageImpl() argument
[all …]
/external/openssh/
Dreadconf.c74 # 1. command line options
119 # Defaults for various options
133 const char *host, const char *original_host, Options *options,
135 static int process_config_line_depth(Options *options, struct passwd *pw,
185 /* Deprecated options */
196 /* Unsupported options */
204 /* Sometimes-unsupported options */
346 * Adds a local TCP/IP port forward to options. Never returns if there is an
351 add_local_forward(Options *options, const struct Forward *newfwd) in add_local_forward() argument
357 for (i = 0; i < options->num_local_forwards; i++) { in add_local_forward()
[all …]
Dservconf.c81 void parse_server_config_depth(ServerOptions *options, const char *filename,
89 /* Initializes the server options to their default values. */
92 initialize_server_options(ServerOptions *options) in initialize_server_options() argument
94 memset(options, 0, sizeof(*options)); in initialize_server_options()
96 /* Portable-specific options */ in initialize_server_options()
97 options->use_pam = -1; in initialize_server_options()
99 /* Standard Options */ in initialize_server_options()
100 options->num_ports = 0; in initialize_server_options()
101 options->ports_from_cmdline = 0; in initialize_server_options()
102 options->queued_listen_addrs = NULL; in initialize_server_options()
[all …]
Dssh.c155 * General data structure for command line options and options configurable
158 Options options; variable
243 * Expands the set of percent_expand options used by the majority of keywords
266 * NB. this function must operate with a options having undefined members.
283 hints.ai_family = options.address_family == -1 ? in resolve_host()
284 AF_UNSPEC : options.address_family; in resolve_host()
326 hints.ai_family = options.address_family == -1 ? in is_addr()
327 AF_UNSPEC : options.address_family; in is_addr()
344 * NB. this function must operate with a options having undefined members.
357 hints.ai_family = options.address_family == -1 ? in resolve_addr()
[all …]
/external/tinyalsa_new/utils/
Doptparse.h21 * options cannot be processed with getopt(). Most implementations
24 * subcommands and continuing parsing of options with another option
40 * Optparse also supports GNU-style long options with optparse_long().
80 void optparse_init(struct optparse *options, char **argv);
92 int optparse(struct optparse *options, const char *optstring);
95 * Handles GNU-style long options in addition to getopt() options.
101 int optparse_long(struct optparse *options,
110 * function. That would be used to parse the options for the
115 char *optparse_arg(struct optparse *options);
125 optparse_error(struct optparse *options, const char *msg, const char *data) in optparse_error() argument
[all …]
/external/ImageMagick/scripts/
Dxsnap110 # Proc Options creates the options window.
112 proc Options {} {
116 catch {destroy .options}
117 toplevel .options -class Options
118 wm title .options "Set Image Options"
119 wm group .options .
120 wm transient .options .
121 wm geometry .options \
124 # Create options window frame.
126 frame .options.input_title
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DDumperOptionsTest.java33 DumperOptions options = new DumperOptions(); in testDefaultStyle() local
34 Yaml yaml = new Yaml(options); in testDefaultStyle()
39 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDefaultStyle()
40 yaml = new Yaml(options); in testDefaultStyle()
43 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testDefaultStyle()
44 yaml = new Yaml(options); in testDefaultStyle()
47 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); in testDefaultStyle()
48 yaml = new Yaml(options); in testDefaultStyle()
53 options.setDefaultScalarStyle(null); in testDefaultStyle()
68 DumperOptions options = new DumperOptions(); in testDefaultFlowStyle() local
[all …]
/external/libchrome/mojo/public/c/system/
Dthunks.cc65 CoreLibraryInitializer(const MojoInitializeOptions* options) { in CoreLibraryInitializer() argument
69 if (options && options->struct_size >= sizeof(*options) && in CoreLibraryInitializer()
70 options->mojo_core_path) { in CoreLibraryInitializer()
71 base::StringPiece utf8_path(options->mojo_core_path, in CoreLibraryInitializer()
72 options->mojo_core_path_length); in CoreLibraryInitializer()
146 MojoResult MojoInitialize(const struct MojoInitializeOptions* options) { in MojoInitialize() argument
147 static base::NoDestructor<mojo::CoreLibraryInitializer> initializer(options); in MojoInitialize()
151 return INVOKE_THUNK(Initialize, options); in MojoInitialize()
168 MojoResult MojoCreateMessagePipe(const MojoCreateMessagePipeOptions* options, in MojoCreateMessagePipe() argument
171 return INVOKE_THUNK(CreateMessagePipe, options, message_pipe_handle0, in MojoCreateMessagePipe()
[all …]
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor_test.cc38 TokenFeatureExtractorOptions options; in TEST_F() local
39 options.num_buckets = 1000; in TEST_F()
40 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST_F()
41 options.extract_case_feature = true; in TEST_F()
42 options.unicode_aware_features = false; in TEST_F()
43 options.extract_selection_mask_feature = true; in TEST_F()
44 TestingTokenFeatureExtractor extractor(options, &unilib_); in TEST_F()
108 TokenFeatureExtractorOptions options; in TEST_F() local
109 options.num_buckets = 1000; in TEST_F()
110 options.chargram_orders = std::vector<int>{}; in TEST_F()
[all …]
/external/toolchain-utils/
Dbuild_chromeos.py118 options = parser.parse_args(argv[1:])
120 if options.chromeos_root is None:
122 options.chromeos_root = os.path.expanduser(options.chromeos_root)
123 scripts_dir = os.path.join(options.chromeos_root, 'src', 'scripts')
127 if options.board is None:
130 if options.debug:
131 options.dev = True
133 build_packages_env = options.env
140 if options.rebuild:
144 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
[all …]
/external/rust/crates/regex-automata/data/tests/fowler/
Dbasic.toml3 options = ['escaped']
10 options = ['escaped']
17 options = ['escaped']
24 options = ['escaped']
31 options = ['escaped']
38 options = ['escaped']
45 options = ['escaped']
52 options = ['escaped']
59 options = ['escaped']
66 options = ['escaped']
[all …]
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCxxStringTypes.cpp45 StringPrinter::ReadStringAndDumpToStreamOptions options(valobj); in Char8StringSummaryProvider() local
46 options.SetLocation(valobj_addr); in Char8StringSummaryProvider()
47 options.SetProcessSP(process_sp); in Char8StringSummaryProvider()
48 options.SetStream(&stream); in Char8StringSummaryProvider()
49 options.SetPrefixToken("u8"); in Char8StringSummaryProvider()
52 StringPrinter::StringElementType::UTF8>(options)) { in Char8StringSummaryProvider()
70 StringPrinter::ReadStringAndDumpToStreamOptions options(valobj); in Char16StringSummaryProvider() local
71 options.SetLocation(valobj_addr); in Char16StringSummaryProvider()
72 options.SetProcessSP(process_sp); in Char16StringSummaryProvider()
73 options.SetStream(&stream); in Char16StringSummaryProvider()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h60 inline std::string ProtobufNamespace(const Options& options) { in ProtobufNamespace() argument
64 inline std::string MacroPrefix(const Options& options) { in MacroPrefix() argument
65 return options.opensource_runtime ? "GOOGLE_PROTOBUF" : "GOOGLE_PROTOBUF"; in MacroPrefix()
68 inline std::string DeprecatedAttribute(const Options& options, in DeprecatedAttribute() argument
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);
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Doptimize_dataset_test.py135 options = dataset_ops.Options()
136 options.experimental_optimization.apply_default_optimizations = False
137 dataset = dataset.with_options(options)
146 options = dataset_ops.Options()
147 options.experimental_optimization.apply_default_optimizations = False
148 dataset = dataset.with_options(options)
162 options = dataset_ops.Options()
163 options.experimental_optimization.apply_default_optimizations = False
164 dataset = dataset.with_options(options)
185 options = dataset_ops.Options()
[all …]
/external/tcpdump/tests/
Dresp_3.out1 IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [F.], seq 2169831382, ack 489972337, win 342, options [n…
2 IP 127.0.0.1.6379 > 127.0.0.1.52759: Flags [F.], seq 1, ack 1, win 342, options [nop,nop,TS val 113…
3 IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132418034 …
4 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [S], seq 264055152, win 43690, options [mss 65495,sackOK…
5 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [S.], seq 4227148888, ack 264055153, win 43690, options
6 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132418037 …
7 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1…
8 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132418037 …
9 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [P.], seq 1:28, ack 7, win 342, options [nop,nop,TS val …
10 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 1132418037…
[all …]
/external/ImageMagick/Magick++/lib/
DOptions.cpp6 // Implementation of Options
20 #include "Magick++/Options.h"
27 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()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_stress.c120 struct option_struct options = { variable
158 *x = (tile*options.tile_size) % (buf->stride/sizeof(uint32_t)); in tile2xy()
159 *y = ((tile*options.tile_size) / (buf->stride/sizeof(uint32_t))) * options.tile_size; in tile2xy()
233 for (i = 0; i < options.tile_size; i++) { in cpucpy2d()
234 for (j = 0; j < options.tile_size; j++) { in cpucpy2d()
237 unsigned expect = logical_tile_no*options.tile_size*options.tile_size in cpucpy2d()
238 + i*options.tile_size + j; in cpucpy2d()
241 …t tile %i pos %i, read %i, expected %i, diff %i\n", logical_tile_no, i * options.tile_size + j, tm… in cpucpy2d()
242 igt_fail_on(options.trace_tile >= 0 && options.fail); in cpucpy2d()
249 igt_fail_on(failed && options.fail); in cpucpy2d()
[all …]
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/
Dlinker-options.yaml4 ## Check we can use "Options", "Size" and "Content" alone to describe the data.
8 # RUN: | FileCheck %s --check-prefix=OPTIONS
10 # OPTIONS: Name: .linker-options1
11 # OPTIONS-NEXT: Type: SHT_LLVM_LINKER_OPTIONS
12 # OPTIONS-NEXT: Flags [
13 # OPTIONS-NEXT: ]
14 # OPTIONS-NEXT: Address: 0x0
15 # OPTIONS-NEXT: Offset: 0x40
16 # OPTIONS-NEXT: Size: 34
17 # OPTIONS-NEXT: Link: 0
[all …]

12345678910>>...477