/external/okio/okio/src/commonTest/kotlin/okio/ |
D | CommonOptionsTest.kt | 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() 157 assertSelect("proxy", 1, options) in realisticOptionsTrie() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | AgentOptionsTest.java | 39 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/zstd/contrib/pzstd/test/ |
D | OptionsTest.cpp | 90 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/ |
D | optparse.h | 80 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/openssh/ |
D | ssh.c | 158 Options options; variable 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() 357 hints.ai_family = options.address_family == -1 ? in resolve_addr() 358 AF_UNSPEC : options.address_family; in resolve_addr() 405 if (*cname == '\0' || options.num_permitted_cnames == 0 || in check_follow_cname() 408 if (options.canonicalize_hostname == SSH_CANONICALISE_NO) in check_follow_cname() 415 options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS) in check_follow_cname() [all …]
|
D | readconf.c | 133 const char *host, const char *original_host, Options *options, 135 static int process_config_line_depth(Options *options, struct passwd *pw, 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() 358 if (forward_equals(newfwd, options->local_forwards + i)) in add_local_forward() 361 options->local_forwards = xreallocarray(options->local_forwards, in add_local_forward() 362 options->num_local_forwards + 1, in add_local_forward() 363 sizeof(*options->local_forwards)); in add_local_forward() 364 fwd = &options->local_forwards[options->num_local_forwards++]; in add_local_forward() 380 add_remote_forward(Options *options, const struct Forward *newfwd) in add_remote_forward() argument [all …]
|
D | servconf.c | 81 void parse_server_config_depth(ServerOptions *options, const char *filename, 92 initialize_server_options(ServerOptions *options) in initialize_server_options() argument 94 memset(options, 0, sizeof(*options)); in initialize_server_options() 97 options->use_pam = -1; 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() 103 options->num_queued_listens = 0; in initialize_server_options() 104 options->listen_addrs = NULL; in initialize_server_options() 105 options->num_listen_addrs = 0; in initialize_server_options() [all …]
|
/external/toolchain-utils/ |
D | build_chromeos.py | 118 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/ImageMagick/scripts/ |
D | xsnap | 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 \ 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/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | DumperOptionsTest.java | 33 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/libtextclassifier/native/utils/ |
D | token-feature-extractor_test.cc | 38 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/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
D | CxxStringTypes.cpp | 45 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/igt-gpu-tools/tests/i915/ |
D | gem_stress.c | 120 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/perfetto/src/perfetto_cmd/ |
D | config_unittest.cc | 34 ConfigOptions options; member in perfetto::__anone9f5443b0111::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/flac/src/metaflac/ |
D | options.c | 104 …LAC__bool parse_option(int option_index, const char *option_argument, CommandLineOptions *options); 105 static void append_new_operation(CommandLineOptions *options, Operation operation); 106 static void append_new_argument(CommandLineOptions *options, Argument argument); 107 static Operation *append_major_operation(CommandLineOptions *options, OperationType type); 108 static Operation *append_shorthand_operation(CommandLineOptions *options, OperationType type); 109 static Argument *find_argument(CommandLineOptions *options, ArgumentType type); 110 static Operation *find_shorthand_operation(CommandLineOptions *options, OperationType type); 111 static Argument *append_argument(CommandLineOptions *options, ArgumentType type); 126 void init_options(CommandLineOptions *options) in init_options() argument 128 options->preserve_modtime = false; in init_options() [all …]
|
/external/libchrome/mojo/core/ |
D | entrypoints.cc | 23 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/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | CommandLine.java | 33 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/libchrome/mojo/public/c/system/ |
D | thunks.cc | 65 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/llvm-project/clang/lib/Driver/ToolChains/ |
D | Clang.cpp | 59 Args.getLastArg(clang::driver::options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions() 60 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions() 61 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions() 71 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions() 73 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions() 195 Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ); in ParseMRecip() 291 Arg *A = Args.getLastArg(options::OPT_mprefer_vector_width_EQ); in ParseMPreferVectorWidth() 310 handleTargetFeaturesGroup(Args, Features, options::OPT_m_wasm_Features_Group); in getWebAssemblyTargetFeatures() 414 Args.ClaimAllArgs(options::OPT_fexceptions); in addExceptionArgs() 415 Args.ClaimAllArgs(options::OPT_fno_exceptions); in addExceptionArgs() [all …]
|
/external/rust/crates/regex-automata/data/tests/fowler/ |
D | basic.toml | 3 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 …]
|
D | repetition.toml | 3 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/jdiff/src/jdiff/ |
D | Options.java | 136 public static boolean validOptions(String[][] options, in validOptions() argument 154 for (int i = 0; i < options.length; i++) { in validOptions() 155 for (int j = 0; j < options[i].length; j++) { in validOptions() 156 Options.cmdOptions += " " + options[i][j]; in validOptions() 158 System.out.print(" " + options[i][j]); in validOptions() 164 for (int i = 0; i < options.length; i++) { in validOptions() 165 if (options[i][0].toLowerCase().equals("-apiname")) { in validOptions() 166 if (options[i].length < 2) { in validOptions() 171 String filename = options[i][1]; in validOptions() 180 if (options[i][0].toLowerCase().equals("-apidir")) { in validOptions() [all …]
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 121 std::string GetJSFilename(const GeneratorOptions& options, in GetJSFilename() argument 123 return StripProto(filename) + options.GetFileNameExtension(); in GetJSFilename() 168 std::string GetNamespace(const GeneratorOptions& options, in GetNamespace() argument 170 if (!options.namespace_prefix.empty()) { in GetNamespace() 171 return options.namespace_prefix; in GetNamespace() 198 std::string GetPrefix(const GeneratorOptions& options, in GetPrefix() argument 201 std::string prefix = GetNamespace(options, file_descriptor) + in GetPrefix() 211 std::string GetMessagePathPrefix(const GeneratorOptions& options, in GetMessagePathPrefix() argument 213 return GetPrefix(options, descriptor->file(), descriptor->containing_type()); in GetMessagePathPrefix() 218 std::string GetMessagePath(const GeneratorOptions& options, in GetMessagePath() argument [all …]
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 114 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions() 115 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions() 116 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions() 128 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions() 130 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions() 241 Args.AddAllArgValues(CmdArgs, options::OPT_Zlinker_input); in AddLinkerInputs() 258 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) in AddLinkerInputs() 260 else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) in AddLinkerInputs() 262 else if (A.getOption().matches(options::OPT_z)) { in AddLinkerInputs() 280 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount() [all …]
|
/external/llvm-project/lldb/source/Plugins/Language/ObjC/ |
D | NSString.cpp | 158 StringPrinter::ReadStringAndDumpToStreamOptions options(valobj); in NSStringSummaryProvider() local 159 options.SetPrefixToken(prefix); in NSStringSummaryProvider() 160 options.SetSuffixToken(suffix); in NSStringSummaryProvider() 168 options.SetLocation(location); in NSStringSummaryProvider() 169 options.SetProcessSP(process_sp); in NSStringSummaryProvider() 170 options.SetStream(&stream); in NSStringSummaryProvider() 171 options.SetQuote('"'); in NSStringSummaryProvider() 172 options.SetSourceSize(explicit_length); in NSStringSummaryProvider() 173 options.SetHasSourceSize(has_explicit_length); in NSStringSummaryProvider() 174 options.SetNeedsZeroTermination(false); in NSStringSummaryProvider() [all …]
|