/external/chromium_org/tools/cr/cr/actions/ |
H A D | gyp.py | 5 """A module to add gyp support to cr.""" 7 import cr namespace 12 class GypPrepareOut(cr.PrepareOut): 15 ENABLED = cr.Config.From( 23 gyp_defines = cr.context.Find('GYP_DEFINES') or '' 24 for key, value in cr.context.exported.items(): 27 cr.context['GYP_DEFINES'] = gyp_defines.strip() 28 if cr.context.verbose >= 1: 29 print cr.context.Substitute('GYP_DEFINES = {GYP_DEFINES}') 32 if cr [all...] |
H A D | installer.py | 7 import cr namespace 10 class Installer(cr.Action, cr.Plugin.Type): 22 @cr.Plugin.activemethod 28 @cr.Plugin.activemethod 33 @cr.Plugin.activemethod
|
H A D | linux.py | 7 import cr namespace 10 class LinuxRunner(cr.Runner): 11 """An implementation of cr.Runner for the linux platform. 18 return cr.LinuxPlatform.GetInstance().is_active 26 cr.Host.Execute('{CR_BINARY}', '{CR_RUN_ARGUMENTS}', *arguments) 32 class LinuxInstaller(cr.Installer): 33 """An implementation of cr.Installer for the linux platform. 41 return cr.LinuxPlatform.GetInstance().is_active
|
H A D | adb.py | 9 import cr namespace 13 """Exposes the functionality of the adb tool to the rest of cr. 15 This is intended as the only class in the cr that needs to understand the 28 output = cr.Host.Capture('{CR_ADB}', 'shell', 'ps') 40 cr.Host.Execute( 58 cr.Host.Execute('{CR_ADB}', 'shell', 'kill', *pids) 66 cr.Host.Execute( 75 cr.Host.Execute( 84 cr.Host.Execute( 94 cr [all...] |
H A D | builder.py | 9 import cr namespace 12 class Builder(cr.Action, cr.Plugin.Type): 28 @cr.Plugin.activemethod 32 @cr.Plugin.activemethod 37 @cr.Plugin.activemethod 47 @cr.Plugin.activemethod 56 @cr.Plugin.activemethod 61 @cr.Plugin.activemethod
|
H A D | debugger.py | 7 import cr namespace 10 class Debugger(cr.Action, cr.Plugin.Type): 22 cr.Runner.AddSelectorArg(command, parser) 27 return not cr.Runner.Skipping() 29 @cr.Plugin.activemethod 38 @cr.Plugin.activemethod 41 cr.Runner.Kill(targets, arguments) 43 @cr.Plugin.activemethod 48 @cr [all...] |
H A D | runner.py | 7 import cr namespace 10 class Runner(cr.Action, cr.Plugin.Type): 25 choices=cr.Target.TEST_TYPES, 34 @cr.Plugin.activemethod 39 @cr.Plugin.activemethod 44 @cr.Plugin.activemethod 49 @cr.Plugin.activemethod 61 @cr.Plugin.activemethod
|
/external/chromium_org/tools/cr/cr/base/ |
H A D | buildtype.py | 5 """A module for the basic build type support in cr.""" 7 import cr namespace 10 class BuildType(cr.Plugin, cr.Plugin.Type): 11 """Base class for implementing cr build types. 20 DEFAULT = cr.Config.From(
|
H A D | linux_chromeos.py | 9 import cr namespace 11 class LinuxChromeOSPlatform(cr.Platform): 14 ACTIVE = cr.Config.From( 22 return cr.Platform.System() == 'Linux'
|
H A D | arch.py | 5 """A module for the basic architectures supported by cr.""" 7 import cr namespace 9 DEFAULT = cr.Config.From( 14 class Arch(cr.Plugin, cr.Plugin.Type): 15 """Base class for implementing cr architecture targets.""" 31 ACTIVE = cr.Config.From( 38 ACTIVE = cr.Config.From( 44 return cr.AndroidPlatform.GetInstance().is_active 49 ACTIVE = cr [all...] |
H A D | linux.py | 9 import cr namespace 12 class LinuxHost(cr.Host): 15 ACTIVE = cr.Config.From( 23 return cr.Platform.System() == 'Linux' 26 class LinuxPlatform(cr.Platform): 29 ACTIVE = cr.Config.From( 36 return cr.Platform.System() == 'Linux'
|
H A D | platform.py | 10 import cr namespace 12 DEFAULT = cr.Config.From( 17 class Platform(cr.Plugin, cr.Plugin.Type): 18 """Base class for implementing cr platforms. 44 if _PathFixup not in cr.context.fixup_hooks: 45 cr.context.fixup_hooks.append(_PathFixup) 47 @cr.Plugin.activemethod
|
/external/chromium_org/tools/cr/cr/commands/ |
H A D | command.py | 8 import cr namespace 11 class Command(cr.Plugin, cr.Plugin.Type): 12 """Base class for implementing cr commands. 29 if cr.context.args: 30 return getattr(cr.context.args, '_command', None) 60 cr.context.AddCommonArguments(self.parser) 61 cr.base.client.AddArguments(self.parser) 86 cr.base.client.ApplyOutArgument() 88 @cr [all...] |
H A D | select.py | 7 import cr namespace 14 class SelectCommand(cr.Command): 53 cr.base.client.WriteConfig( 54 cr.context.Get('CR_CLIENT_PATH'), dict( 55 CR_OUT_FULL=cr.context.Get('CR_OUT_FULL'))) 56 cr.base.client.PrintInfo() 58 if not getattr(cr.context.args, '_no_prepare', None): 59 cr.PrepareCommand.Prepare()
|
H A D | init.py | 9 import cr namespace 14 cr.Platform.SELECTOR, cr.BuildType.SELECTOR, cr.Arch.SELECTOR, 19 class InitCommand(cr.Command): 32 If the .cr directory is not present, build it and add 40 """Overridden from cr.Command.""" 42 cr.Platform.AddArguments(parser) 43 cr.BuildType.AddArguments(parser) 44 cr [all...] |
H A D | sync.py | 9 import cr namespace 12 class SyncCommand(cr.Command): 21 DEFAULT = cr.Config.From( 26 DETECTED = cr.Config('DETECTED') 40 self.Sync(cr.context.remains) 44 cr.PrepareCommand.UpdateContext() 49 cr.Host.Execute('{GCLIENT_BINARY}', 'sync', *args) 54 gclient_binaries = cr.Host.SearchPath('gclient')
|
/external/chromium_org/tools/cr/cr/targets/ |
H A D | chrome_shell.py | 7 import cr namespace 10 class ChromeShellTarget(cr.NamedTarget): 12 CONFIG = cr.Config.From( 13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), 20 class ChromeShellTestTarget(cr.NamedTarget): 22 CONFIG = cr.Config.From(
|
H A D | content_shell.py | 7 import cr namespace 10 class ContentShellTarget(cr.NamedTarget): 12 CONFIG = cr.Config.From( 13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), 20 class ContentShellTestTarget(cr.NamedTarget): 22 CONFIG = cr.Config.From(
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
H A D | error_dialog.js | 12 cr.ui.dialogs.BaseDialog.call(this, parentNode); 16 __proto__: cr.ui.dialogs.BaseDialog.prototype 24 cr.ui.dialogs.BaseDialog.prototype.initDom_.call(this);
|
/external/chromium_org/chrome/browser/resources/sync_internals/ |
H A D | sync_node_browser.js | 5 // require: cr.js 6 // require: cr/ui.js 7 // require: cr/ui/tree.js 73 * @extends {cr.ui.TreeItem} 76 var treeItem = new cr.ui.TreeItem(); 95 __proto__: cr.ui.TreeItem.prototype, 125 * @extends {cr.ui.Tree} 127 var SyncNodeTree = cr.ui.define('tree'); 130 __proto__: cr.ui.Tree.prototype, 133 cr [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | csmatch.cpp | 27 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, argument 34 if (cr != NULL) { 36 fCharsetName = cr->getName(); 39 fLang = cr->getLanguage();
|
/external/chromium_org/tools/cr/cr/ |
H A D | loader.py | 8 recursive scan of all packages and modules below cr, with modules being 18 import cr namespace 26 """A marker for classes that should be promoted up into the cr namespace.""" 33 # Add this straight to the cr module. 34 if not hasattr(cr, name): 35 setattr(cr, name, value) 99 """Scans from the cr package down, loading modules as needed. 101 This finds all packages and modules below the cr package, by scanning the 104 finds all classes that extend AutoExport and copies them up into the cr 110 modules = _ScanPackage(cr) [all...] |
/external/harfbuzz_ng/util/ |
H A D | helper-cairo-ansi.cc | 42 cairo_t *cr = cairo_create (new_surface); local 44 cairo_set_source_rgb (cr, 0., 0., 0.); 45 cairo_paint (cr); 46 cairo_set_source_rgb (cr, 1., 1., 1.); 47 cairo_mask_surface (cr, surface, 0, 0); 49 cairo_set_source_rgb (cr, 1., 1., 1.); 50 cairo_paint (cr); 51 cairo_set_source_surface (cr, surface, 0, 0); 52 cairo_paint (cr); 54 cairo_destroy (cr); [all...] |
H A D | view-cairo.cc | 60 cairo_t *cr = helper_cairo_create_context (w, h, &view_options, &output_options); local 61 cairo_set_scaled_font (cr, scaled_font); 64 draw (cr); 66 helper_cairo_destroy_context (cr); 70 view_cairo_t::draw (cairo_t *cr) argument 72 cairo_save (cr); 78 cairo_font_extents (cr, &font_extents); 79 cairo_translate (cr, view_options.margin.l, view_options.margin.t); 85 cairo_translate (cr, v * descent, h * -descent); 91 cairo_translate (cr, [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | csmatch.cpp | 27 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, argument 34 if (cr != NULL) { 36 fCharsetName = cr->getName(); 39 fLang = cr->getLanguage();
|