/external/ceres-solver/internal/ceres/ |
D | schur_eliminator.cc | 49 SchurEliminatorBase::Create(const LinearSolver::Options& options) { in Create() argument 51 if ((options.row_block_size == 2) && in Create() 52 (options.e_block_size == 2) && in Create() 53 (options.f_block_size == 2)) { in Create() 54 return new SchurEliminator<2, 2, 2>(options); in Create() 56 if ((options.row_block_size == 2) && in Create() 57 (options.e_block_size == 2) && in Create() 58 (options.f_block_size == 3)) { in Create() 59 return new SchurEliminator<2, 2, 3>(options); in Create() 61 if ((options.row_block_size == 2) && in Create() [all …]
|
D | solver_impl.cc | 145 void SolverImpl::Minimize(const Solver::Options& options, in Minimize() argument 152 Minimizer::Options minimizer_options(options); in Minimize() 157 if (!options.solver_log.empty()) { in Minimize() 158 file_logging_callback.reset(new FileLoggingCallback(options.solver_log)); in Minimize() 163 LoggingCallback logging_callback(options.minimizer_progress_to_stdout); in Minimize() 164 if (options.logging_type != SILENT) { in Minimize() 170 if (options.update_state_every_iteration) { in Minimize() 185 options.initial_trust_region_radius; in Minimize() 186 trust_region_strategy_options.max_radius = options.max_trust_region_radius; in Minimize() 187 trust_region_strategy_options.lm_min_diagonal = options.lm_min_diagonal; in Minimize() [all …]
|
D | minimizer.h | 57 explicit Options(const Solver::Options& options) { in Options() 58 Init(options); in Options() 61 void Init(const Solver::Options& options) { in Init() 62 num_threads = options.num_threads; in Init() 63 max_num_iterations = options.max_num_iterations; in Init() 64 max_solver_time_in_seconds = options.max_solver_time_in_seconds; in Init() 66 gradient_tolerance = options.gradient_tolerance; in Init() 67 parameter_tolerance = options.parameter_tolerance; in Init() 68 function_tolerance = options.function_tolerance; in Init() 69 min_relative_decrease = options.min_relative_decrease; in Init() [all …]
|
D | solver_impl_test.cc | 281 Solver::Options options; in TEST() local 282 options.linear_solver_type = DENSE_SCHUR; in TEST() 283 options.linear_solver_ordering = ordering; in TEST() 343 Solver::Options options; in TEST() local 344 options.linear_solver_type = DENSE_SCHUR; in TEST() 345 options.linear_solver_ordering = ordering; in TEST() 351 SolverImpl::CreateReducedProgram(&options, &problem, NULL, &error)); in TEST() 417 Solver::Options options; in TEST() local 418 options.linear_solver_type = DENSE_SCHUR; in TEST() 419 options.linear_solver_ordering = ordering; in TEST() [all …]
|
/external/openssh/ |
D | readconf.c | 259 add_local_forward(Options *options, const Forward *newfwd) in add_local_forward() argument 267 options->local_forwards = xrealloc(options->local_forwards, in add_local_forward() 268 options->num_local_forwards + 1, in add_local_forward() 269 sizeof(*options->local_forwards)); in add_local_forward() 270 fwd = &options->local_forwards[options->num_local_forwards++]; in add_local_forward() 284 add_remote_forward(Options *options, const Forward *newfwd) in add_remote_forward() argument 288 options->remote_forwards = xrealloc(options->remote_forwards, in add_remote_forward() 289 options->num_remote_forwards + 1, in add_remote_forward() 290 sizeof(*options->remote_forwards)); in add_remote_forward() 291 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward() [all …]
|
D | servconf.c | 63 initialize_server_options(ServerOptions *options) in initialize_server_options() argument 65 memset(options, 0, sizeof(*options)); in initialize_server_options() 68 options->use_pam = -1; in initialize_server_options() 71 options->num_ports = 0; in initialize_server_options() 72 options->ports_from_cmdline = 0; in initialize_server_options() 73 options->listen_addrs = NULL; in initialize_server_options() 74 options->address_family = -1; in initialize_server_options() 75 options->num_host_key_files = 0; in initialize_server_options() 76 options->num_host_cert_files = 0; in initialize_server_options() 77 options->pid_file = NULL; in initialize_server_options() [all …]
|
D | ssh.c | 158 Options options; variable 320 initialize_options(&options); in main() 332 options.protocol = SSH_PROTO_1; in main() 335 options.protocol = SSH_PROTO_2; in main() 338 options.address_family = AF_INET; in main() 341 options.address_family = AF_INET6; in main() 351 options.forward_x11 = 0; in main() 354 options.forward_x11 = 1; in main() 360 options.forward_x11 = 1; in main() 361 options.forward_x11_trusted = 1; in main() [all …]
|
/external/v8/tools/ |
D | test-wrapper-gypbuild.py | 135 def ProcessOptions(options): argument 136 if options.arch_and_mode == ".": 137 options.arch = [] 138 options.mode = [] 140 if options.arch_and_mode != None and options.arch_and_mode != "": 141 tokens = options.arch_and_mode.split(".") 142 options.arch = tokens[0] 143 options.mode = tokens[1] 144 options.mode = options.mode.split(',') 145 options.arch = options.arch.split(',') [all …]
|
/external/libvpx/libvpx/examples/includes/HTML-Toc-0.91/ |
D | Toc.pm | 74 $self->{options} = {}; 122 ($self->{options}{'doNestGroup'} == 0) && 167 $levelIndent = $self->{options}{'levelIndent'}; #=~ s/[0-9]+/&/; 239 $self->{options}{'doSingleStepLevel'} && 296 $numberingStyle = defined($self->{options}{'numberingStyle'}) ? 297 $self->{options}{'numberingStyle'} : NUMBERING_STYLE_DECIMAL; 300 foreach $group (@{$self->{options}{'tokenToToc'}}) { 409 $toc = $self->{options}{'header'} . $toc . $self->{options}{'footer'}; 422 my $options = $self->{options}; 428 if ($self->{options}{'doLinkToToken'}) { [all …]
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
D | upload_unittest.py | 54 options = MockOptions() 55 options.cc = None 56 options.check_style = True 57 options.comment = None 58 options.description = "MOCK description" 59 options.request_commit = False 60 options.review = True 61 options.suggest_reviewers = False 68 self.assert_execute_outputs(Post(), [42], options=options, expected_stderr=expected_stderr) 71 options = MockOptions() [all …]
|
D | download_unittest.py | 65 …self.assertRaises(ScriptError, command._prepare_state, options=None, args=["125 r122 123", "Reaso… 66 …self.assertRaises(ScriptError, command._prepare_state, options=None, args=["125 foo 123", "Reason"… 71 options = MockOptions() 72 options.build = True 73 options.build_style = True 74 options.check_builders = True 75 options.check_style = True 76 options.clean = True 77 options.close_bug = True 78 options.force_clean = False [all …]
|
D | upload.py | 55 options = [ 58 AbstractDeclarativeCommand.__init__(self, options=options) 60 def execute(self, options, args, tool): argument 63 print "%s" % tool.checkout().commit_message_for_this_commit(options.git_commit).message() 82 def execute(self, options, args, tool): argument 100 def execute(self, options, args, tool): argument 159 def execute(self, options, args, tool): argument 172 def _prepare_state(self, options, args, tool): argument 184 def _prepare_state(self, options, args, tool): argument 192 def _bug_id(self, options, args, tool, state): 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/clang/lib/Driver/ |
D | Tools.cpp | 44 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) in CheckPreprocessingOptions() 45 if (!Args.hasArg(options::OPT_E) && !D.CCCIsCPP) in CheckPreprocessingOptions() 54 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions() 55 if (const Arg *A = Args.getLastArg(options::OPT_dynamic, in CheckCodeGenerationOptions() 56 options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions() 152 Args.AddAllArgValues(CmdArgs, options::OPT_Zlinker_input); in AddLinkerInputs() 178 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) { in AddLinkerInputs() 180 } else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) { in AddLinkerInputs() 193 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount() 199 Args.ClaimAllArgs(options::OPT_fobjc_link_runtime); in isObjCRuntimeLinked() [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/webkit/Tools/Scripts/webkitpy/style/ |
D | optparser_unittest.py | 51 options = self._create_options('vs7', 5, ['+foo', '-bar'], 'git') 54 self._printer.to_flag_string(options)) 58 options = self._create_options() 60 self._printer.to_flag_string(options)) 143 (files, options) = parse([]) 147 self.assertEquals(options.filter_rules, []) 148 self.assertEquals(options.git_commit, None) 149 self.assertEquals(options.diff_files, False) 150 self.assertEquals(options.is_verbose, False) 151 self.assertEquals(options.min_confidence, 3) [all …]
|
/external/icu4c/tools/gencmn/ |
D | gencmn.c | 34 static UOption options[]={ variable 56 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main() 67 if(argc<0 || options[0].doesOccur || options[1].doesOccur) { in main() 76 if (options[0].doesOccur || options[1].doesOccur) { in main() 100 sourceTOC=options[8].doesOccur; in main() 102 verbose = options[2].doesOccur; in main() 106 createCommonDataFile(options[4].doesOccur ? options[4].value : NULL, in main() 107 options[6].doesOccur ? options[6].value : NULL, in main() 108 … options[9].doesOccur ? options[9].value : options[6].doesOccur ? options[6].value : NULL, in main() 109 options[7].doesOccur ? options[7].value : NULL, in main() [all …]
|
/external/icu4c/tools/genccode/ |
D | genccode.c | 74 static UOption options[]={ variable 98 options[kOptDestDir].value = "."; in main() 101 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main() 109 if(argc<0 || options[kOptHelpH].doesOccur || options[kOptHelpQuestionMark].doesOccur) { in main() 136 if(options[kOptAssembly].doesOccur) { in main() 141 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main() 143 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main() 148 else if(options[kOptObject].doesOccur) { in main() 168 writeCCode(filename, options[kOptDestDir].value, in main() 169 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main() [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | main.py | 104 options, args = self.parseOptions(argv) 106 self.setUp(options) 108 if options.interactive: 117 self.parseStream(options, inStream) 120 if options.input is not None: 121 inStream = antlr3.ANTLRStringStream(options.input) 125 args[0], encoding=options.encoding 130 self.stdin, encoding=options.encoding 133 if options.profile: 152 elif options.hotshot: [all …]
|
/external/ceres-solver/examples/ |
D | bundle_adjuster.cc | 123 void SetLinearSolver(Solver::Options* options) { in SetLinearSolver() argument 125 &options->linear_solver_type)); in SetLinearSolver() 127 &options->preconditioner_type)); in SetLinearSolver() 130 &options->sparse_linear_algebra_library)); in SetLinearSolver() 131 options->num_linear_solver_threads = FLAGS_num_threads; in SetLinearSolver() 134 void SetOrdering(BALProblem* bal_problem, Solver::Options* options) { in SetOrdering() argument 143 options->use_block_amd = FLAGS_use_block_amd; in SetOrdering() 145 if (options->use_inner_iterations) { in SetOrdering() 148 options->inner_iteration_ordering = new ParameterBlockOrdering; in SetOrdering() 150 options->inner_iteration_ordering->AddElementToGroup(cameras + camera_block_size * i, 0); in SetOrdering() [all …]
|
/external/icu4c/test/perf/normperf/ |
D | normperf.cpp | 74 …malizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ in normalizeInput() argument 79 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); in normalizeInput() 83 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); in normalizeInput() 91 …lizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ in normalizeInput() argument 97 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); in normalizeInput() 101 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); in normalizeInput() 117 : UPerfTest(argc,argv,status), options(0) { in NormalizerPerformanceTest() 137 options=(int32_t)strtol(cmdLineOptions[0].value, NULL, 16); in NormalizerPerformanceTest() 150 normalizeInput(&NFDFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFD, options); in NormalizerPerformanceTest() 151 normalizeInput(&NFCFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFC, options); in NormalizerPerformanceTest() [all …]
|
/external/webkit/Tools/Scripts/ |
D | new-run-webkit-websocketserver | 71 options, args = option_parser.parse_args() 73 if not options.port: 74 if options.use_tls: 76 options.port = websocket_server._DEFAULT_WSS_PORT 79 options.port = websocket_server._DEFAULT_WS_PORT 81 if not options.output_dir: 82 options.output_dir = tempfile.gettempdir() 84 kwds = {'port': options.port, 'use_tls': options.use_tls} 85 if options.root: 86 kwds['root'] = options.root [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/ |
D | Options.java | 10 package com.adobe.xmp.options; 27 private int options = 0; field in Options 47 public Options(int options) throws XMPException in Options() argument 49 assertOptionsValid(options); in Options() 50 setOptions(options); in Options() 59 options = 0; in clear() 99 return (options & optionBit) != 0; in getOption() 109 options = value ? options | optionBits : options & ~optionBits; in setOption() 119 return options; in getOptions() 127 public void setOptions(int options) throws XMPException in setOptions() argument [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPSerializerHelper.java | 17 import com.adobe.xmp.options.SerializeOptions; 39 SerializeOptions options) in serialize() argument 42 options = options != null ? options : new SerializeOptions(); in serialize() 45 if (options.getSort()) in serialize() 49 new XMPSerializerRDF().serialize(xmp, out, options); in serialize() 64 public static String serializeToString(XMPMetaImpl xmp, SerializeOptions options) in serializeToString() argument 68 options = options != null ? options : new SerializeOptions(); in serializeToString() 69 options.setEncodeUTF16BE(true); in serializeToString() 72 serialize(xmp, out, options); in serializeToString() 76 return out.toString(options.getEncoding()); in serializeToString() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_generator.cc | 52 if (file->options().has_java_outer_classname()) { in UpdateParamsRecursively() 54 file->name(), file->options().java_outer_classname()); in UpdateParamsRecursively() 56 if (file->options().has_java_package()) { in UpdateParamsRecursively() 58 file->name(), file->options().java_package()); in UpdateParamsRecursively() 75 vector<pair<string, string> > options; in Generate() local 82 ParseGeneratorParameter(parameter, &options); in Generate() 93 if (file->options().has_java_multiple_files()) { in Generate() 94 params.set_java_multiple_files(file->options().java_multiple_files()); in Generate() 101 for (int i = 0; i < options.size(); i++) { in Generate() 104 if (options[i].first == "output_list_file") { in Generate() [all …]
|