/external/dhcpcd/ |
D | dhcpcd.c | 171 add_environ(struct options *options, const char *value, int uniq) in add_environ() argument 174 char **lst = options->environ; in add_environ() 207 options->environ = newlist; in add_environ() 311 parse_option(int opt, char *oarg, struct options *options) in parse_option() argument 320 options->options |= DHCPCD_BACKGROUND; in parse_option() 323 strlcpy(options->script, oarg, sizeof(options->script)); in parse_option() 327 s = parse_string(options->hostname, in parse_option() 335 if (s != 0 && options->hostname[0] == '.') { in parse_option() 339 options->hostname[s] = '\0'; in parse_option() 343 s = parse_string((char *)options->vendorclassid + 1, in parse_option() [all …]
|
D | client.c | 129 int options; member 189 daemonise(struct if_state *state, const struct options *options) in daemonise() argument 197 if (state->options & DHCPCD_DAEMONISED || in daemonise() 198 !(options->options & DHCPCD_DAEMONISE)) in daemonise() 245 state->options |= DHCPCD_DAEMONISED; in daemonise() 249 state->options |= DHCPCD_PERSISTENT | DHCPCD_FORKED; in daemonise() 332 p = dhcp->options; in ipv4ll_get_dhcp() 421 if (!(state->options & DHCPCD_LASTLEASE)) in get_old_lease() 439 if (state->options & DHCPCD_PERSISTENT) in get_old_lease() 462 client_setup(struct if_state *state, const struct options *options) in client_setup() argument [all …]
|
/external/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/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/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/WebKitTools/Scripts/webkitpy/commands/ |
D | download_unittest.py | 35 options = Mock() 36 options.force_clean = False 37 options.clean = True 38 options.check_builders = True 39 options.quiet = False 40 options.non_interactive = False 41 options.update = True 42 options.build = True 43 options.test = True 44 options.close_bug = True [all …]
|
D | upload.py | 54 def execute(self, options, args, tool): argument 74 def execute(self, options, args, tool): argument 125 def execute(self, options, args, tool): argument 138 def _prepare_state(self, options, args, tool): argument 151 def _prepare_state(self, options, args, tool): argument 194 def _prepare_state(self, options, args, tool): argument 222 def _prepare_state(self, options, args, tool): argument 243 options = [ 251 AbstractDeclarativeCommand.__init__(self, options=options, requires_local_commits=True) 253 def _comment_text_for_commit(self, options, commit_message, tool, commit_id): argument [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/chromium/third_party/icu/source/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/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 …]
|
D | normperf.h | 28 …Fn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* stat… 29 …eckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* stat… 42 int32_t options; variable 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); in call() 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); in call() 59 retVal = (*fn)(src,srcLen,mode, options, status); in call() 61 retVal = (*fn)(src,-1,mode, options, status); in call() 77 …Lines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { in QuickCheckPerfFunction() 87 … source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { in QuickCheckPerfFunction() 113 int32_t options; variable [all …]
|
/external/chromium/third_party/icu/source/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 …]
|
D | normperf.h | 28 …Fn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* stat… 29 …eckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* stat… 42 int32_t options; variable 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); in call() 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); in call() 59 retVal = (*fn)(src,srcLen,mode, options, status); in call() 61 retVal = (*fn)(src,-1,mode, options, status); in call() 77 …Lines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { in QuickCheckPerfFunction() 87 … source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { in QuickCheckPerfFunction() 113 int32_t options; variable [all …]
|
/external/icu4c/tools/genccode/ |
D | genccode.c | 78 static UOption options[]={ variable 102 options[kOptDestDir].value = "."; in main() 105 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main() 113 if(argc<0 || options[kOptHelpH].doesOccur || options[kOptHelpQuestionMark].doesOccur) { in main() 140 if(options[kOptAssembly].doesOccur) { in main() 145 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main() 147 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main() 152 else if(options[kOptObject].doesOccur) { in main() 172 writeCCode(filename, options[kOptDestDir].value, in main() 173 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main() [all …]
|
/external/chromium/third_party/icu/source/tools/genccode/ |
D | genccode.c | 78 static UOption options[]={ variable 102 options[kOptDestDir].value = "."; in main() 105 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main() 113 if(argc<0 || options[kOptHelpH].doesOccur || options[kOptHelpQuestionMark].doesOccur) { in main() 140 if(options[kOptAssembly].doesOccur) { in main() 145 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main() 147 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main() 152 else if(options[kOptObject].doesOccur) { in main() 172 writeCCode(filename, options[kOptDestDir].value, in main() 173 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main() [all …]
|
/external/webkit/WebKitTools/Scripts/webkitpy/style/ |
D | checker_unittest.py | 58 options = ProcessorOptions() 59 self.assertEquals(options.extra_flag_values, {}) 60 self.assertEquals(options.filter_configuration, FilterConfiguration()) 61 self.assertEquals(options.git_commit, None) 62 self.assertEquals(options.max_reports_per_category, {}) 63 self.assertEquals(options.output_format, "emacs") 64 self.assertEquals(options.verbosity, 1) 77 options = ProcessorOptions(extra_flag_values={"extra_value" : 2}, 83 self.assertEquals(options.extra_flag_values, {"extra_value" : 2}) 84 self.assertEquals(options.filter_configuration, filter_configuration) [all …]
|
D | error_handlers_unittest.py | 55 def _error_handler(self, options): argument 57 options, 66 def _call(self, handle_error, options, confidence): argument 73 def _call_error_handler(self, options, confidence): argument 75 handle_error = self._error_handler(options) 76 self._call(handle_error, options, confidence) 81 options = ProcessorOptions(verbosity=3) 85 self.assertFalse(options.is_reportable(self._category, 89 self._call_error_handler(options, confidence) 97 options = ProcessorOptions(verbosity=3, output_format="emacs") [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 …]
|
/external/icu4c/tools/icupkg/ |
D | icupkg.cpp | 158 static UOption options[]={ variable 235 argc=u_parseArgs(argc, argv, LENGTHOF(options), options); in main() 236 isHelp=options[OPT_HELP_H].doesOccur || options[OPT_HELP_QUESTION_MARK].doesOccur; in main() 253 if(options[OPT_SOURCEDIR].doesOccur) { in main() 254 sourcePath=options[OPT_SOURCEDIR].value; in main() 259 if(options[OPT_DESTDIR].doesOccur) { in main() 260 destPath=options[OPT_DESTDIR].value; in main() 294 if(options[OPT_OUT_TYPE].doesOccur) { in main() 295 const char *type=options[OPT_OUT_TYPE].value; in main() 325 if(options[OPT_WRITEPKG].doesOccur) { in main() [all …]
|
/external/chromium/third_party/icu/source/tools/icupkg/ |
D | icupkg.cpp | 158 static UOption options[]={ variable 235 argc=u_parseArgs(argc, argv, LENGTHOF(options), options); in main() 236 isHelp=options[OPT_HELP_H].doesOccur || options[OPT_HELP_QUESTION_MARK].doesOccur; in main() 253 if(options[OPT_SOURCEDIR].doesOccur) { in main() 254 sourcePath=options[OPT_SOURCEDIR].value; in main() 259 if(options[OPT_DESTDIR].doesOccur) { in main() 260 destPath=options[OPT_DESTDIR].value; in main() 294 if(options[OPT_OUT_TYPE].doesOccur) { in main() 295 const char *type=options[OPT_OUT_TYPE].value; in main() 325 if(options[OPT_WRITEPKG].doesOccur) { in main() [all …]
|
/external/icu4c/common/ |
D | ushape.c | 383 invertBuffer(UChar *buffer,int32_t size,uint64_t options,int32_t lowlimit,int32_t highlimit) { in invertBuffer() argument 445 countSpaces(UChar *dest,int32_t size,uint64_t options,int32_t *spacesCountl,int32_t *spacesCountr) { in countSpaces() argument 614 int32_t destSize,uint64_t options) { in calculateSize() argument 622 if (((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE || in calculateSize() 623 ((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED )) && in calculateSize() 624 ((options&U_SHAPE_LAMALEF_MASK) == U_SHAPE_LAMALEF_RESIZE )){ in calculateSize() 627 if((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE && in calculateSize() 628 ((options&U_SHAPE_TASHKEEL_MASK) == U_SHAPE_TASHKEEL_RESIZE ) ){ in calculateSize() 633 if((options&U_SHAPE_TEXT_DIRECTION_MASK)==U_SHAPE_TEXT_DIRECTION_VISUAL_LTR) { in calculateSize() 639 }else if((options&U_SHAPE_TEXT_DIRECTION_MASK)==U_SHAPE_TEXT_DIRECTION_LOGICAL) { in calculateSize() [all …]
|
/external/chromium/third_party/icu/source/common/ |
D | ushape.c | 383 invertBuffer(UChar *buffer,int32_t size,uint32_t options,int32_t lowlimit,int32_t highlimit) { in invertBuffer() argument 445 countSpaces(UChar *dest,int32_t size,uint32_t options,int32_t *spacesCountl,int32_t *spacesCountr) { in countSpaces() argument 614 int32_t destSize,uint32_t options) { in calculateSize() argument 622 if (((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE || in calculateSize() 623 ((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED )) && in calculateSize() 624 ((options&U_SHAPE_LAMALEF_MASK) == U_SHAPE_LAMALEF_RESIZE )){ in calculateSize() 627 if((options&U_SHAPE_LETTERS_MASK) == U_SHAPE_LETTERS_SHAPE && in calculateSize() 628 ((options&U_SHAPE_TASHKEEL_MASK) == U_SHAPE_TASHKEEL_RESIZE ) ){ in calculateSize() 633 if((options&U_SHAPE_TEXT_DIRECTION_MASK)==U_SHAPE_TEXT_DIRECTION_VISUAL_LTR) { in calculateSize() 639 }else if((options&U_SHAPE_TEXT_DIRECTION_MASK)==U_SHAPE_TEXT_DIRECTION_LOGICAL) { in calculateSize() [all …]
|
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
D | standalone.py | 189 if WebSocketServer.options.use_tls: 191 ctx.use_privatekey_file(WebSocketServer.options.private_key) 192 ctx.use_certificate_file(WebSocketServer.options.certificate) 220 self, WebSocketRequestHandler.options.use_tls) 221 self._dispatcher = WebSocketRequestHandler.options.dispatcher 225 WebSocketRequestHandler.options.strict) 283 def _configure_logging(options): argument 285 logger.setLevel(_LOG_LEVELS[options.log_level]) 286 if options.log_file: 288 options.log_file, 'a', options.log_max, options.log_count) [all …]
|
/external/icu4c/tools/genrb/ |
D | genrb.c | 65 UOption options[]={ variable 124 argc = u_parseArgs(argc, argv, (int32_t)(sizeof(options)/sizeof(options[0])), options); in main() 132 if(options[WRITE_POOL_BUNDLE].doesOccur && options[USE_POOL_BUNDLE].doesOccur) { in main() 136 if(options[FORMAT_VERSION].doesOccur) { in main() 137 const char *s = options[FORMAT_VERSION].value; in main() 142 (options[WRITE_POOL_BUNDLE].doesOccur || options[USE_POOL_BUNDLE].doesOccur) in main() 151 if(options[VERSION].doesOccur) { in main() 159 if(argc<0 || options[HELP1].doesOccur || options[HELP2].doesOccur) { in main() 216 if(options[VERBOSE].doesOccur) { in main() 220 if(options[QUIET].doesOccur) { in main() [all …]
|
/external/chromium/third_party/icu/source/tools/genrb/ |
D | genrb.c | 60 UOption options[]={ variable 102 argc = u_parseArgs(argc, argv, (int32_t)(sizeof(options)/sizeof(options[0])), options); in main() 111 if(options[VERSION].doesOccur) { in main() 119 if(argc<0 || options[HELP1].doesOccur || options[HELP2].doesOccur) { in main() 168 if(options[VERBOSE].doesOccur) { in main() 172 if(options[QUIET].doesOccur) { in main() 175 if(options[STRICT].doesOccur) { in main() 178 if(options[COPYRIGHT].doesOccur){ in main() 182 if(options[SOURCEDIR].doesOccur) { in main() 183 inputDir = options[SOURCEDIR].value; in main() [all …]
|