/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
H A D | CommandLine.java | 33 static Hashtable options = new Hashtable(); static { field in class: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 256 getopts(Hashtable options, String[] argv) argument 283 hasOption(Hashtable options, String option) argument [all...] |
/external/chromium_org/build/android/gyp/ |
H A D | create_standalone_apk.py | 20 def CreateStandaloneApk(options): 24 shutil.copy(options.input_apk_path, intermediate_path) 28 cwd=options.libraries_top_dir) 29 shutil.copy(intermediate_path, options.output_apk_path) 31 input_paths = [options.input_apk_path, options.libraries_top_dir] 32 record_path = '%s.standalone.stamp' % options.input_apk_path 48 options, _ = parser.parse_args() 51 build_utils.CheckOptions(options, parser, required=required_options) 53 CreateStandaloneApk(options) [all...] |
H A D | write_build_config.py | 72 # android_resources options 79 # android_library/apk options 83 # apk native library options 87 options, args = parser.parse_args(argv) 93 if not options.type in [ 95 raise Exception('Unknown type: <%s>' % options.type) 102 }[options.type] 104 if options.native_libs: 107 build_utils.CheckOptions(options, parser, required_options) 110 options [all...] |
H A D | finalize_apk.py | 89 options, _ = parser.parse_args() 96 if options.load_library_from_zip_file: 101 RenameLibInApk(options.rezip_path, options.unsigned_apk_path, apk_to_sign) 103 apk_to_sign = options.unsigned_apk_path 106 SignApk(options.key_path, options.key_name, options.key_passwd, 109 if options.load_library_from_zip_file: 115 options [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | FileSystemFlags.h | 39 explicit FileSystemFlags(const Dictionary& options) argument 43 DictionaryHelper::get(options, "create", create); 44 DictionaryHelper::get(options, "exclusive", exclusive);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
H A D | layouttestsserver.py | 42 def _prepare_config(self, options, args, tool): 43 options.show_results = False 44 options.httpd_port = 9630
|
H A D | queries.py | 53 def execute(self, options, args, tool): 67 options = [ 82 AbstractDeclarativeCommand.__init__(self, options=options) 85 def execute(self, options, args, tool): 86 if not options.paths and not args and not options.all: 90 if options.platform: 91 port_names = fnmatch.filter(tool.port_factory.all_port_names(), options.platform) 93 default_port = tool.port_factory.get(options [all...] |
/external/chromium_org/tools/gyp/test/win/vs-macros/ |
H A D | as.py | 13 (options, args) = parser.parse_args() 15 f = open(options.output, 'w') 16 print >>f, 'options', options
|
/external/markdown/markdown/ |
H A D | commandline.py | 20 Python 2.3 or higher required for advanced command line options. 29 Define and parse `optparse` options for command-line usage. 45 parser = optparse.OptionParser(usage="%prog INPUTFILE [options]") 69 (options, args) = parser.parse_args() 77 if not options.extensions: 78 options.extensions = [] 81 'output': options.filename, 82 'safe_mode': options.safe, 83 'extensions': options.extensions, 84 'encoding': options [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
H A D | ThreadableLoader.h | 82 explicit CrossThreadThreadableLoaderOptionsData(const ThreadableLoaderOptions& options) argument 83 : preflightPolicy(options.preflightPolicy) 84 , crossOriginRequestPolicy(options.crossOriginRequestPolicy) 85 , initiator(options.initiator.string().isolatedCopy()) 86 , contentSecurityPolicyEnforcement(options.contentSecurityPolicyEnforcement) 87 , timeoutMilliseconds(options.timeoutMilliseconds) { } 91 ThreadableLoaderOptions options; local 92 options.preflightPolicy = preflightPolicy; 93 options.crossOriginRequestPolicy = crossOriginRequestPolicy; 94 options 109 copy(const ThreadableLoaderOptions& options) argument [all...] |
/external/chromium_org/build/util/ |
H A D | version.py | 119 options = parser.parse_args() 122 for expression in options.eval: 130 while len(options.args) and (options.input is None or \ 131 options.output is None): 132 if options.input is None: 133 options.input = options.args.pop(0) 134 elif options.output is None: 135 options [all...] |
/external/chromium_org/chrome/browser/extensions/api/browser/ |
H A D | browser_api.cc | 20 ExtensionTabUtil::OpenTabParams options; local 21 options.create_browser_if_needed = true; 22 options.url.reset(new std::string(params->options.url)); 26 ExtensionTabUtil::OpenTab(this, options, &error));
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
H A D | ResponseInit.h | 23 explicit ResponseInit(const Dictionary& options) argument 27 DictionaryHelper::get(options, "status", status); 29 DictionaryHelper::get(options, "statusText", statusText); 30 DictionaryHelper::get(options, "headers", headers); 32 DictionaryHelper::get(options, "headers", headersDictionary);
|
/external/chromium_org/third_party/libvpx/ |
H A D | copy_obj.py | 21 options, args = parser.parse_args() 22 if (not options.destination or not options.source): 26 for src in options.source: 28 shutil.copyfile(src, options.destination)
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | string.js | 48 var collator = new Intl.Collator(locale, options); 51 return a.localeCompare(b, locale, options) 58 var options = undefined; variable 62 // Specify locale, keep default options. 63 options = undefined; 67 // Specify locale and options. 68 options = {caseFirst: 'upper'};
|
/external/chromium_org/v8/tools/ |
H A D | run-tests.py | 263 def ProcessOptions(options): 268 if options.arch_and_mode: 269 options.arch_and_mode = [arch_and_mode.split(".") 270 for arch_and_mode in options.arch_and_mode.split(",")] 271 options.arch = ",".join([tokens[0] for tokens in options.arch_and_mode]) 272 options.mode = ",".join([tokens[1] for tokens in options.arch_and_mode]) 273 options.mode = options [all...] |
H A D | process-heap-prof.py | 37 # ('-c' enables color, see hp2ps manual page for more options) 45 def ProcessLogFile(filename, options): 46 if options.js_cons_profile: 77 if options.count: 79 if options.size: 99 def ProcessOptions(options): 100 if not options.size and not options.count: 101 options.size = True 107 (options, arg [all...] |
/external/chromium_org/tools/relocation_packer/test_data/ |
H A D | generate_elf_file_unittest_relocs.py | 67 options, _ = parser.parse_args() 69 for output in [options.unpacked_output, options.packed_output]: 74 PackArmLibraryRelocations(options.android_pack_relocations, 75 options.android_objcopy, 76 options.added_section, 77 options.test_file, 78 options.packed_output) 80 UnpackArmLibraryRelocations(options.android_pack_relocations, 81 options [all...] |
/external/chromium_org/base/test/ |
H A D | multiprocess_test.cc | 16 const LaunchOptions& options) { 25 LaunchProcess(command_line, options, &handle); 40 LaunchOptions options; local 42 options.start_hidden = true; 44 return SpawnChildWithOptions(procname, options); 49 const LaunchOptions& options) { 50 return SpawnMultiProcessTestChild(procname, MakeCmdLine(procname), options); 13 SpawnMultiProcessTestChild( const std::string& procname, const CommandLine& base_command_line, const LaunchOptions& options) argument 47 SpawnChildWithOptions( const std::string& procname, const LaunchOptions& options) argument
|
/external/chromium_org/components/cronet/tools/ |
H A D | extract_from_jars.py | 19 def ExtractJars(options): 22 # options.classes_dir so the .class file paths in the jar are correct. 23 jar_cwd = options.classes_dir 26 for jar in build_utils.ParseGypList(options.jars): 38 options, _ = parser.parse_args() 40 ExtractJars(options) 42 if options.stamp: 43 build_utils.Touch(options.stamp)
|
/external/chromium_org/tools/ |
H A D | bisect-manual-test.py | 19 def _StartManualTest(options): 21 browser_to_create = browser_finder.FindBrowser(options) 22 print 'Starting browser: %s.' % options.browser_type 37 usage = ('%prog [options]\n' 41 options = browser_options.BrowserFinderOptions() 42 parser = options.CreateParser(usage) 43 options, _ = parser.parse_args() 45 _StartManualTest(options)
|
/external/chromium_org/build/android/buildbot/ |
H A D | bb_device_steps.py | 85 def _GetRevision(options): 89 options: options object. 94 revision = options.build_properties.get('got_revision') 96 revision = options.build_properties.get('revision', 'testing') 100 def _RunTest(options, cmd, suite): 104 options: options object. 108 property_args = bb_utils.EncodeProperties(options) 111 if options [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | levenberg_marquardt_strategy_test.cc | 82 TrustRegionStrategy::Options options; local 83 options.initial_radius = 2.0; 84 options.max_radius = 20.0; 85 options.min_lm_diagonal = 1e-8; 86 options.max_lm_diagonal = 1e8; 91 options.linear_solver = linear_solver.get(); 93 LevenbergMarquardtStrategy lms(options); 94 EXPECT_EQ(lms.Radius(), options.initial_radius); 110 EXPECT_EQ(lms.Radius(), options.max_radius); 125 TrustRegionStrategy::Options options; local [all...] |
/external/chromium_org/extensions/browser/api/app_window/ |
H A D | app_window_api.cc | 142 app_window::CreateWindowOptions* options = params->options.get(); local 143 if (options) { 144 if (options->id.get()) { 147 if (options->id->length() > 256) { 152 create_params.window_key = *options->id; 154 if (options->singleton && *options->singleton == false) { 161 if (!options->singleton || *options 332 GetBoundsSpec( const app_window::CreateWindowOptions& options, AppWindow::CreateParams* params, std::string* error) argument 461 GetFrameOptions( const app_window::CreateWindowOptions& options, AppWindow::CreateParams* create_params) argument [all...] |
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
H A D | test_util.c | 30 * Print usage message for the command line options. 60 * Set default values for all command line options. 62 void SetDefaultOptions(struct Options* options, int real_only, argument 64 options->real_only_ = real_only; 66 options->verbose_ = 1; 69 * Test mode options, defaulting to non-test mode 71 options->test_mode_ = 1; 72 options->do_forward_tests_ = 1; 73 options->do_inverse_tests_ = 1; 74 options 90 DumpOptions(FILE* f, const struct Options* options) argument 108 ProcessCommandLine(struct Options *options, int argc, char* argv[], const char* summary) argument [all...] |