/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
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.put("--pyxin", Boolean.FALSE); // input is PY [all...] |
/external/chromium/android/autofill/ |
android_url_request_context_getter.cc | 40 base::Thread::Options options; local 41 options.message_loop_type = MessageLoop::TYPE_IO; 42 if (!io_thread_->StartWithOptions(options)) {
|
/external/chromium_org/build/android/gyp/ |
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...] |
proguard.py | 14 def DoProguard(options): 15 injars = options.input_path 16 outjars = options.output_path 17 classpath = build_utils.ParseGypList(options.classpath) 22 if os.path.exists(options.output_path): 23 os.remove(options.output_path) 24 proguard_cmd = [options.proguard_path, 28 '@' + options.proguard_config] 47 options, _ = parser.parse_args() 49 DoProguard(options) [all...] |
process_resources.py | 17 """Parses command line options. 20 An options object as from optparse.OptionsParser.parse_args() 41 (options, args) = parser.parse_args() 46 # Check that required options have been provided. 49 build_utils.CheckOptions(options, parser, required=required_options) 51 return options 81 options = ParseArgs() 82 android_jar = os.path.join(options.android_sdk, 'android.jar') 83 aapt = os.path.join(options.android_sdk_tools, 'aapt') 85 build_utils.MakeDirectory(options.R_dir [all...] |
gcc_preprocess.py | 14 def DoGcc(options): 15 build_utils.MakeDirectory(os.path.dirname(options.output)) 18 if options.defines: 19 gcc_cmd.extend(sum(map(lambda w: ['-D', w], options.defines), [])) 25 '-I', options.include_path, 26 '-o', options.output, 27 options.template 44 options, _ = parser.parse_args() 46 DoGcc(options) 48 if options.stamp [all...] |
jar.py | 16 def DoJar(options): 17 class_files = build_utils.FindInDirectory(options.classes_dir, '*.class') 18 for exclude in build_utils.ParseGypList(options.excluded_classes): 22 jar_path = os.path.abspath(options.jar_path) 26 # options.classes_dir so the .class file paths in the jar are correct. 27 jar_cwd = options.classes_dir 31 record_path = '%s.md5.stamp' % options.jar_path 38 build_utils.Touch(options.jar_path) 52 options, _ = parser.parse_args() 54 DoJar(options) [all...] |
create_device_library_links.py | 10 options.target_dir). This script then creates links in an apk's lib/ folder to 38 def CreateSymlinkScript(options): 39 libraries = build_utils.ReadJson(options.libraries_json) 52 with open(options.script_host_path, 'w') as scriptfile: 56 def TriggerSymlinkScript(options): 58 options.build_device_configuration) 62 apk_package = apk_helper.GetPackageName(options.apk) 65 device_dir = os.path.dirname(options.script_device_path) 69 device.PushIfNeeded(options.script_host_path, options.script_device_path [all...] |
emma_instr.py | 36 """Adds common options to |option_parser|.""" 52 """Adds options related to instrumentation to |option_parser|.""" 66 def _RunCopyCommand(command, options, args, option_parser): 74 options: optparse options dictionary. 81 if not (options.input_path and options.output_path and 82 options.coverage_file and options.sources_file): 85 coverage_file = os.path.join(os.path.dirname(options.output_path) [all...] |
/external/chromium_org/tools/gyp/test/win/vs-macros/ |
as.py | 13 (options, args) = parser.parse_args() 15 f = open(options.output, 'w') 16 print >>f, 'options', options
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_measurement_unittest_base.py | 31 options=None): 33 if options is None: 34 options = options_for_unittests.GetCopy() 35 assert options 36 temp_parser = options.CreateParser() 40 if hasattr(options, k): 42 setattr(options, k, v) 44 measurement.CustomizeBrowserOptions(options) 45 options.output_file = None 46 options.output_format = 'none [all...] |
/art/runtime/ |
runtime_test.cc | 38 Runtime::Options options; local 39 options.push_back(std::make_pair(boot_class_path.c_str(), null)); 40 options.push_back(std::make_pair("-classpath", null)); 41 options.push_back(std::make_pair(lib_core.c_str(), null)); 42 options.push_back(std::make_pair("-cp", null)); 43 options.push_back(std::make_pair(lib_core.c_str(), null)); 44 options.push_back(std::make_pair("-Ximage:boot_image", null)); 45 options.push_back(std::make_pair("-Xcheck:jni", null)); 46 options.push_back(std::make_pair("-Xms2048", null)) [all...] |
/external/chromium_org/chrome/test/pyautolib/ |
generate_docs.py | 22 (options, args) = parser.parse_args() 24 if not os.path.isdir(options.dir): 25 os.makedirs(options.dir) 28 sys.path.append(os.path.join(options.pyautolib, 30 sys.path.append(options.pyautolib) 34 pydoc.writedocs(options.pyautolib) 37 if options.dir == os.getcwd(): 38 print 'Export complete, files are located in %s' % options.dir 47 existing_file_path = os.path.join(options.dir, file_name) 50 shutil.move(full_path, options.dir [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
gardenomatic.py | 36 super(GardenOMatic, self).__init__(options=(self.platform_options + [ 41 def execute(self, options, args, tool): 46 if options.platform: 47 # FIXME: This assumes that the port implementation (chromium-, gtk-, etc.) is the first part of options.platform. 48 args['platform'] = options.platform.split('-')[0] 49 builder = builders.builder_name_for_port_name(options.platform) 52 if options.results_directory: 55 httpd = GardeningHTTPServer(httpd_port=8127, config={'tool': tool, 'options': options})
|
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.platform [all...] |
/external/chromium_org/tools/ |
bisect-manual-test.py | 19 def _StartManualTest(options): 21 browser_to_create = browser_finder.FindBrowser(options) 22 print 'Starting browser: %s.' % options.browser_type 41 usage = ('%prog [options]\n' 45 options = browser_options.BrowserFinderOptions() 46 parser = options.CreateParser(usage) 47 options, args = parser.parse_args() 49 _StartManualTest(options)
|
run-bisect-manual-test.py | 30 def _RunBisectionScript(options): 35 options: The configuration options to pass to the bisect script. 42 options.browser_type) 46 '-g', options.good_revision, 47 '-b', options.bad_revision, 50 '--working_directory', options.working_directory, 55 if 'cros' in options.browser_type: 66 elif 'android' in options.browser_type: 82 usage = ('%prog [options]\n [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
tkColorChooser.py | 12 # options (all have default values): 36 color = self.options["initialcolor"] 39 self.options["initialcolor"] = "#%02x%02x%02x" % color 58 def askcolor(color = None, **options): 62 options = options.copy() 63 options["initialcolor"] = color 65 return Chooser(**options).show()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
tkColorChooser.py | 12 # options (all have default values): 36 color = self.options["initialcolor"] 39 self.options["initialcolor"] = "#%02x%02x%02x" % color 58 def askcolor(color = None, **options): 62 options = options.copy() 63 options["initialcolor"] = color 65 return Chooser(**options).show()
|
/external/chromium_org/build/android/ |
adb_install_apk.py | 36 def ValidateInstallAPKOption(option_parser, options): 38 if not options.apk: 40 if not os.path.exists(options.apk): 41 options.apk = os.path.join(constants.GetOutDirectory(), 'apks', 42 options.apk) 55 options, args = parser.parse_args(argv) 56 constants.SetBuildType(options.build_type) 57 ValidateInstallAPKOption(parser, options) 65 if not options.apk_package: 66 options.apk_package = apk_helper.GetPackageName(options.apk [all...] |
/external/ceres-solver/internal/ceres/ |
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...] |
/frameworks/ex/common/tests/src/com/android/common/ |
OperationSchedulerTest.java | 47 OperationScheduler.Options options = new OperationScheduler.Options(); local 48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); 54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); 58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); 60 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); 64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); 66 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); 73 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); 125 OperationScheduler.Options options = new OperationScheduler.Options(); local 160 OperationScheduler.Options options = new OperationScheduler.Options(); local 186 OperationScheduler.Options options = new OperationScheduler.Options(); local 211 OperationScheduler.Options options = new OperationScheduler.Options(); local [all...] |
/external/chromium_org/tools/telemetry/telemetry/ |
test.py | 20 options = {} variable in class:Test 32 def Run(self, options): 33 """Run this test with the given options.""" 38 for key, value in self.options.iteritems(): 39 setattr(options, key, value) 41 options.repeat_options = self._CreateRepeatOptions(options) 42 self.CustomizeBrowserOptions(options) 45 ps = self.CreatePageSet(options) 48 # Ensure the test's default options are set if needed [all...] |
/external/ceres-solver/examples/ |
bundle_adjuster.cc | 69 "Options are: levenberg_marquardt, dogleg."); 70 DEFINE_string(dogleg, "traditional_dogleg", "Options are: traditional_dogleg," 76 DEFINE_string(blocks_for_inner_iterations, "automatic", "Options are: " 79 DEFINE_string(linear_solver, "sparse_schur", "Options are: " 82 DEFINE_string(preconditioner, "jacobi", "Options are: " 86 "Options are: suite_sparse and cx_sparse."); 88 "Options are: eigen and lapack."); 89 DEFINE_string(ordering, "automatic", "Options are: automatic, user."); 123 void SetLinearSolver(Solver::Options* options) { 320 Solver::Options options; local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
BitmapHelper.java | 40 final BitmapFactory.Options options = new BitmapFactory.Options(); local 41 options.inJustDecodeBounds = true; 42 BitmapFactory.decodeResource(res, resId, options); 44 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); 46 options.inJustDecodeBounds = false; 47 return BitmapFactory.decodeResource(res, resId, options); 51 private static int calculateInSampleSize(BitmapFactory.Options options [all...] |