Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 6719) sorted by relevance

12345678910>>...269

/external/okio/okio/src/commonTest/kotlin/okio/
DCommonOptionsTest.kt46 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()
157 assertSelect("proxy", 1, options) in realisticOptionsTrie()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DAgentOptionsTest.java40 AgentOptions options = new AgentOptions(); in testDefaults() local
41 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); in testDefaults()
42 assertTrue(options.getAppend()); in testDefaults()
43 assertEquals("*", options.getIncludes()); in testDefaults()
44 assertEquals("", options.getExcludes()); in testDefaults()
46 options.getExclClassloader()); in testDefaults()
47 assertFalse(options.getInclBootstrapClasses()); in testDefaults()
48 assertFalse(options.getInclNoLocationClasses()); in testDefaults()
49 assertNull(options.getSessionId()); in testDefaults()
50 assertTrue(options.getDumpOnExit()); in testDefaults()
[all …]
/external/zstd/contrib/pzstd/test/
DOptionsTest.cpp90 Options options; in TEST() local
92 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
95 EXPECT_EQ(expected, options); in TEST()
98 Options options; in TEST() local
100 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
103 EXPECT_EQ(expected, options); in TEST()
106 Options options; in TEST() local
109 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
112 EXPECT_EQ(expected, options); in TEST()
115 Options options; in TEST() local
[all …]
/external/tinyalsa_new/utils/
Doptparse.h80 void optparse_init(struct optparse *options, char **argv);
92 int optparse(struct optparse *options, const char *optstring);
101 int optparse_long(struct optparse *options,
115 char *optparse_arg(struct optparse *options);
125 optparse_error(struct optparse *options, const char *msg, const char *data) in optparse_error() argument
130 options->errmsg[p++] = *msg++; in optparse_error()
132 options->errmsg[p++] = *sep++; in optparse_error()
133 while (p < sizeof(options->errmsg) - 2 && *data) in optparse_error()
134 options->errmsg[p++] = *data++; in optparse_error()
135 options->errmsg[p++] = '\''; in optparse_error()
[all …]
/external/android-nn-driver/test/1.2/
DDilation.cpp15 DilationTestOptions options; variable
16 options.m_IsDepthwiseConvolution = false;
17 options.m_IsPaddingExplicit = true;
18 options.m_HasDilation = false;
20 DilationTestImpl<hal_1_2::HalPolicy>(options);
25 DilationTestOptions options; variable
26 options.m_IsDepthwiseConvolution = false;
27 options.m_IsPaddingExplicit = true;
28 options.m_HasDilation = true;
30 DilationTestImpl<hal_1_2::HalPolicy>(options);
[all …]
/external/ImageMagick/scripts/
Dxsnap116 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 \
126 frame .options.input_title
127 label .options.input_title.label -text "Input"
128 pack .options.input_title.label
129 pack .options.input_title
[all …]
/external/toolchain-utils/
Dbuild_chromeos.py140 options = parser.parse_args(argv[1:])
142 if options.chromeos_root is None:
144 options.chromeos_root = os.path.expanduser(options.chromeos_root)
145 scripts_dir = os.path.join(options.chromeos_root, "src", "scripts")
152 if options.board is None:
155 if options.debug:
156 options.dev = True
158 build_packages_env = options.env
168 if options.rebuild:
173 options.chromeos_root, options.board
[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/cronet/build/android/gyp/
Ddex.py144 options = parser.parse_args(args)
146 if options.main_dex_rules_path and not options.multi_dex:
149 if options.force_enable_assertions and options.assertion_handler:
153 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs)
154 options.class_inputs_filearg = action_helpers.parse_gn_list(
155 options.class_inputs_filearg)
156 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath)
157 options.classpath = action_helpers.parse_gn_list(options.classpath)
158 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs)
159 options.dex_inputs_filearg = action_helpers.parse_gn_list(
[all …]
Dproguard.py134 options = parser.parse_args(args)
136 if options.feature_names:
137 if options.output_path:
139 if not options.actual_file and not options.stamp:
141 elif not options.output_path:
144 if bool(options.keep_rules_targets_regex) != bool(
145 options.keep_rules_output_path):
149 if options.force_enable_assertions and options.assertion_handler:
153 options.classpath = action_helpers.parse_gn_list(options.classpath)
154 options.proguard_configs = action_helpers.parse_gn_list(
[all …]
Dwrite_build_config.py1258 options, args = parser.parse_args(argv)
1263 if options.generate_markdown_format_doc:
1269 if options.fail:
1270 parser.error('\n'.join(action_helpers.parse_gn_list(options.fail)))
1290 required_options = required_options_map.get(options.type)
1292 raise Exception('Unknown type: <%s>' % options.type)
1294 build_utils.CheckOptions(options, parser, required_options)
1296 if options.type != 'android_app_bundle_module':
1297 if options.apk_proto_resources:
1300 if options.module_pathmap_path:
[all …]
/external/angle/build/android/gyp/
Ddex.py117 options = parser.parse_args(args)
119 if options.main_dex_rules_path and not options.multi_dex:
122 if options.force_enable_assertions and options.assertion_handler:
126 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs)
127 options.class_inputs_filearg = action_helpers.parse_gn_list(
128 options.class_inputs_filearg)
129 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath)
130 options.classpath = action_helpers.parse_gn_list(options.classpath)
131 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs)
132 options.dex_inputs_filearg = action_helpers.parse_gn_list(
[all …]
Dproguard.py183 options = parser.parse_args(args)
185 if options.feature_names:
186 if options.output_path:
188 if not options.actual_file and not options.stamp:
190 elif not options.output_path:
193 if bool(options.keep_rules_targets_regex) != bool(
194 options.keep_rules_output_path):
198 if options.output_art_profile and not options.input_art_profile:
200 if options.apply_startup_profile and not options.input_art_profile:
203 if options.force_enable_assertions and options.assertion_handler:
[all …]
Dwrite_build_config.py1252 options, args = parser.parse_args(argv)
1257 if options.generate_markdown_format_doc:
1263 if options.fail:
1264 parser.error('\n'.join(action_helpers.parse_gn_list(options.fail)))
1284 required_options = required_options_map.get(options.type)
1286 raise Exception('Unknown type: <%s>' % options.type)
1288 build_utils.CheckOptions(options, parser, required_options)
1290 if options.type != 'android_app_bundle_module':
1291 if options.apk_proto_resources:
1294 if options.module_pathmap_path:
[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/cronet/components/cronet/android/api/src/android/net/http/
DExperimentalOptionsTranslatingHttpEngineBuilder.java47 public IHttpEngineBuilder setQuicOptions(QuicOptions options) { in setQuicOptions() argument
50 mDelegate.setQuicOptions(options); in setQuicOptions()
60 if (!options.getAllowedQuicHosts().isEmpty()) { in setQuicOptions()
61 quicOptions.put("host_whitelist", String.join(",", options.getAllowedQuicHosts())); in setQuicOptions()
63 if (!options.getEnabledQuicVersions().isEmpty()) { in setQuicOptions()
64 quicOptions.put("quic_version", String.join(",", options.getEnabledQuicVersions())); in setQuicOptions()
66 if (!options.getConnectionOptions().isEmpty()) { in setQuicOptions()
68 "connection_options", String.join(",", options.getConnectionOptions())); in setQuicOptions()
70 if (!options.getClientConnectionOptions().isEmpty()) { in setQuicOptions()
72 String.join(",", options.getClientConnectionOptions())); in setQuicOptions()
[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/flac/src/metaflac/
Doptions.c106 …LAC__bool parse_option(int option_index, const char *option_argument, CommandLineOptions *options);
107 static void append_new_operation(CommandLineOptions *options, Operation operation);
108 static void append_new_argument(CommandLineOptions *options, Argument argument);
109 static Operation *append_major_operation(CommandLineOptions *options, OperationType type);
110 static Operation *append_shorthand_operation(CommandLineOptions *options, OperationType type);
111 static Argument *find_argument(CommandLineOptions *options, ArgumentType type);
112 static Operation *find_shorthand_operation(CommandLineOptions *options, OperationType type);
113 static Argument *append_argument(CommandLineOptions *options, ArgumentType type);
129 void init_options(CommandLineOptions *options) in init_options() argument
131 options->preserve_modtime = false; in init_options()
[all …]
/external/rust/crates/textwrap/src/
Dlib.rs263 fn from(options: &'a Options<'a>) -> Self { in from()
265 width: options.width, in from()
266 line_ending: options.line_ending, in from()
267 initial_indent: options.initial_indent, in from()
268 subsequent_indent: options.subsequent_indent, in from()
269 break_words: options.break_words, in from()
270 word_separator: options.word_separator, in from()
271 wrap_algorithm: options.wrap_algorithm, in from()
272 word_splitter: options.word_splitter.clone(), in from()
607 let options = width_or_options.into(); in fill() localVariable
[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/perfetto/src/perfetto_cmd/
Dconfig_unittest.cc34 ConfigOptions options; member in perfetto::__anon789e88990111::CreateConfigFromOptionsTest
38 ASSERT_TRUE(CreateConfigFromOptions(options, &config)); in TEST_F()
43 options.time = "2ms"; in TEST_F()
44 ASSERT_TRUE(CreateConfigFromOptions(options, &config)); in TEST_F()
49 options.time = "0"; in TEST_F()
50 ASSERT_TRUE(CreateConfigFromOptions(options, &config)); in TEST_F()
55 options.time = "100s"; in TEST_F()
56 ASSERT_TRUE(CreateConfigFromOptions(options, &config)); in TEST_F()
61 options.time = "2m"; in TEST_F()
62 ASSERT_TRUE(CreateConfigFromOptions(options, &config)); in TEST_F()
[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/tagsoup/src/org/ccil/cowan/tagsoup/
DCommandLine.java33 static Hashtable options = new Hashtable(); static { field in CommandLine
34 options.put("--nocdata", Boolean.FALSE); // CDATA elements are normal
35 options.put("--files", Boolean.FALSE); // process arguments as separate files
36 options.put("--reuse", Boolean.FALSE); // reuse a single Parser
37 options.put("--nons", Boolean.FALSE); // no namespaces
38 options.put("--nobogons", Boolean.FALSE); // suppress unknown elements
39 options.put("--any", Boolean.FALSE); // unknowns have ANY content model
40 options.put("--emptybogons", Boolean.FALSE); // unknowns have EMPTY content model
41 options.put("--norootbogons", Boolean.FALSE); // unknowns can't be the root
42 options.put("--pyxin", Boolean.FALSE); // input is PYX
[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/cronet/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc105 std::string GetJSFilename(const GeneratorOptions& options, in GetJSFilename() argument
107 return StripProto(filename) + options.GetFileNameExtension(); in GetJSFilename()
152 std::string GetNamespace(const GeneratorOptions& options, in GetNamespace() argument
154 if (!options.namespace_prefix.empty()) { in GetNamespace()
155 return options.namespace_prefix; in GetNamespace()
182 std::string GetPrefix(const GeneratorOptions& options, in GetPrefix() argument
185 std::string prefix = GetNamespace(options, file_descriptor) + in GetPrefix()
195 std::string GetMessagePathPrefix(const GeneratorOptions& options, in GetMessagePathPrefix() argument
197 return GetPrefix(options, descriptor->file(), descriptor->containing_type()); in GetMessagePathPrefix()
202 std::string GetMessagePath(const GeneratorOptions& options, in GetMessagePath() argument
[all …]

12345678910>>...269