Searched defs:cr (Results 26 - 50 of 202) sorted by relevance

123456789

/external/chromium_org/tools/cr/cr/actions/
H A Dgyp.py5 """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 Dinstaller.py7 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 Dlinux.py7 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 Dadb.py9 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 Dbuilder.py9 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 Ddebugger.py7 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 Drunner.py7 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 Dbuildtype.py5 """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 Dlinux_chromeos.py9 import cr namespace
11 class LinuxChromeOSPlatform(cr.Platform):
14 ACTIVE = cr.Config.From(
22 return cr.Platform.System() == 'Linux'
H A Darch.py5 """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 Dlinux.py9 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 Dplatform.py10 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 Dcommand.py8 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 Dselect.py7 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 Dinit.py9 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 Dsync.py9 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 Dchrome_shell.py7 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 Dcontent_shell.py7 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 Derror_dialog.js12 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 Dsync_node_browser.js5 // 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 Dcsmatch.cpp27 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 Dloader.py8 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 Dhelper-cairo-ansi.cc42 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 Dview-cairo.cc60 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 Dcsmatch.cpp27 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, argument
34 if (cr != NULL) {
36 fCharsetName = cr->getName();
39 fLang = cr->getLanguage();

Completed in 4065 milliseconds

123456789