/external/chromium_org/tools/cr/cr/actions/ |
__init__.py | 5 """A package to hold all the actions for the cr tool. 7 This package holds the standard actions used by the commands in the cr tool. 12 import cr namespace 14 cr.Import(__name__, 'action') 15 cr.Import(__name__, 'runner') 16 cr.Import(__name__, 'builder') 17 cr.Import(__name__, 'installer')
|
action.py | 7 import cr namespace 10 class Action(cr.Plugin): 11 """Base class for cr actions. 31 @cr.Plugin.activemethod
|
/external/chromium_org/tools/cr/cr/base/ |
__init__.py | 5 """A package for the base supporting classes of the cr tool.""" 7 import cr namespace 9 cr.Import(__name__, 'platform') 10 cr.Import(__name__, 'buildtype') 11 cr.Import(__name__, 'client')
|
/external/chromium_org/tools/cr/cr/commands/ |
__init__.py | 7 This package has all the standard commands built in to the cr tool. 11 import cr namespace 13 cr.Import(__name__, 'command') 14 cr.Import(__name__, 'prepare') 15 cr.Import(__name__, 'init')
|
debug.py | 7 import cr namespace 10 class DebugCommand(cr.Command): 23 cr.Builder.AddArguments(self, parser) 24 cr.Installer.AddArguments(self, parser) 25 cr.Debugger.AddArguments(self, parser) 26 cr.Target.AddArguments(self, parser) 31 targets = cr.Target.GetTargets() 32 if not cr.Debugger.ShouldInvoke(): 33 cr.Debugger.Attach(targets, cr.context.remains [all...] |
install.py | 7 import cr namespace 10 class InstallCommand(cr.Command): 26 cr.Builder.AddArguments(self, parser) 27 cr.Installer.AddArguments(self, parser) 28 cr.Target.AddArguments(self, parser, allow_multiple=True) 33 targets = cr.Target.GetTargets() 34 if not cr.Installer.Skipping(): 35 cr.Builder.Build(targets, []) 36 cr.Installer.Reinstall(targets, cr.context.remains [all...] |
run.py | 7 import cr namespace 10 class RunCommand(cr.Command): 25 cr.Builder.AddArguments(self, parser) 26 cr.Installer.AddArguments(self, parser) 27 cr.Runner.AddArguments(self, parser) 28 cr.Target.AddArguments(self, parser, allow_multiple=True) 33 targets = cr.Target.GetTargets() 36 if cr.Installer.Skipping(): 42 cr.Builder.Build(build_targets, []) 44 if cr.Installer.Skipping() [all...] |
build.py | 7 import cr namespace 10 class BuildCommand(cr.Command): 26 cr.Builder.AddArguments(self, parser) 27 cr.Target.AddArguments(self, parser, allow_multiple=True) 32 return cr.Builder.Build( 33 cr.Target.GetTargets(), cr.context.remains) 36 class CleanCommand(cr.Command): 50 cr.Builder.AddArguments(self, parser) 51 cr.Target.AddArguments(self, parser, allow_multiple=True [all...] |
info.py | 7 import cr namespace 10 class InfoCommand(cr.Command): 11 """The cr info command implementation.""" 15 self.help = 'Print information about the cr environment' 28 if getattr(cr.context.args, '_short', False): 32 if cr.context.remains: 33 for var in cr.context.remains: 34 if getattr(cr.context.args, '_short', False): 35 val = cr.context.Find(var) 40 print var, '=', cr.context.Find(var [all...] |
prepare.py | 7 import cr namespace 10 class PrepareCommand(cr.Command): 18 (mostly) be in the cr.actions package. 44 class PrepareOut(cr.Plugin, cr.Plugin.Type):
|
shell.py | 10 import cr namespace 13 class ShellCommand(cr.Command): 17 same environment that cr would use if it were running it. 30 in cr. 39 if cr.context.remains: 40 cr.Host.Shell(*cr.context.remains) 47 ps1 = '[CR] ' + os.environ.get('PS1', '') 51 cr.Host.Execute(shell, '--rcfile', rcfile.name) 53 cr.Host.Execute(shell [all...] |
/external/chromium_org/tools/cr/cr/targets/ |
__init__.py | 7 This package has all the standard commands built in to the cr tool. 11 import cr namespace 13 cr.Import(__name__, 'target')
|
chrome.py | 7 import cr namespace 10 class ChromeTarget(cr.NamedTarget): 12 CONFIG = cr.Config.From( 13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), 18 class ChromeTestTarget(cr.NamedTarget): 20 CONFIG = cr.Config.From(
|
/external/chromium_org/tools/cr/cr/ |
autocomplete.py | 11 import cr namespace 23 print ' '.join(command.name for command in cr.Command.Plugins())
|
__init__.py | 5 """Chromium cr tool module. 7 This is the root module of all the cr code. 12 import cr.loader namespace 13 from cr.loader import Import
|
/external/chromium_org/ui/gfx/range/ |
range_win_unittest.cc | 9 CHARRANGE cr = { 10, 32 }; local 10 gfx::Range r(cr, 50); 19 CHARRANGE cr = { 20, 10 }; local 20 gfx::Range r(cr, 40); 29 CHARRANGE cr = { 0, -1 }; local 30 gfx::Range r(cr, 20); 40 CHARRANGE cr = r.ToCHARRANGE(); local 41 EXPECT_EQ(10, cr.cpMin); 42 EXPECT_EQ(30, cr.cpMax); 47 CHARRANGE cr = r.ToCHARRANGE() local 53 CHARRANGE cr = { -1, -1 }; local 60 CHARRANGE cr = r.ToCHARRANGE(); local [all...] |
/external/chromium_org/tools/cr/ |
cr-bash-helpers.sh | 7 # Source this file into your shell to gain the cr function and tab completion 13 echo "ERROR: cr-bash-helpers.sh must be sourced." 26 # The main entry point to the cr tool. 28 function cr() { function 34 cd $(cr info -s CR_SRC) 39 cr info -s CR_OUT_FULL 54 complete -F _cr_complete cr
|
main.py | 5 """Chromium cr tool main module. 12 import cr namespace 18 """Chromium cr tool main function. 20 This is the main entry point of the cr tool, it finds and loads all the 25 # Add the users plugin dir to the cr.auto.user package scan 26 user_path = os.path.expanduser(os.path.join('~', '.config', 'cr')) 27 cr.auto.user.__path__.append(user_path) 29 cr.loader.Scan() 32 with cr.base.context.Create( 38 cr.base.client.DetectClient( [all...] |
/system/core/libcutils/ |
sockets.c | 31 struct ucred cr; local 32 socklen_t len = sizeof(cr); 33 int n = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len); 40 if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) { 41 ALOGE("untrusted userid on other end of socket: userid %d\n", cr.uid);
|
/external/chromium_org/tools/emacs/ |
flymake-chromium.el | 14 (defcustom cr-flymake-ninja-build-file "out/Debug/build.ninja" 18 (defcustom cr-flymake-ninja-executable "ninja" 21 (defun cr-flymake-absbufferpath () 27 (defun cr-flymake-chromium-src () 30 (cr-flymake-absbufferpath) cr-flymake-ninja-build-file))) 33 (defun cr-flymake-string-prefix-p (prefix str) 38 (defun cr-flymake-current-file-name () 42 (when (and (cr-flymake-chromium-src) 43 (cr-flymake-string-prefix- [all...] |
/external/chromium_org/tools/cr/cr/fixups/ |
arch.py | 7 import cr namespace 10 class _ArchInitHookHelper(cr.InitHook): 23 old_arch = config.OVERRIDES.Find(cr.Arch.SELECTOR) 27 config.OVERRIDES[cr.Arch.SELECTOR] = new_arch 33 In the initial versions of cr before output directories were versioned 42 return cr.Arch.default.name 50 return cr.Mips32Arch.GetInstance().name 52 return cr.Arm32Arch.GetInstance().name
|
/packages/apps/Camera2/jni/ |
jpegutilnative.cpp | 31 * @param crBuf the buffer containing the Cr component of the image 43 jbyte* cr = (jbyte*)env->GetDirectBufferAddress(crBuf); local 50 jpegutil::Plane crP(width, height, width / 2, height / 2, (unsigned char*)cr,
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
ClassSourcerTest.java | 49 ClassReader cr = new ClassReader("data/TestBaseClass"); local 52 cr.accept(jw, 0); 79 ClassReader cr = new ClassReader("data/TestInnerClass"); local 82 cr.accept(jw, 0); 107 ClassReader cr = new ClassReader("data/TestTemplateClass"); local 110 cr.accept(jw, 0);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldCharArrayReaderTest.java | 27 CharArrayReader cr; field in class:OldCharArrayReaderTest 36 cr = new CharArrayReader(hw); 37 assertTrue("Failed to create reader", cr.ready()); 48 cr = new CharArrayReader(null, 0, 0); 54 cr = new CharArrayReader(hw, -1, 0); 60 cr = new CharArrayReader(hw, 0, -1); 66 cr = new CharArrayReader(hw, hw.length + 1, 1); 72 cr = new CharArrayReader(hw, 5, 5); 73 assertTrue("Test 5: Failed to create reader", cr.ready()); 75 'W', cr.read()) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AccountsChangedReceiver.java | 55 ContentResolver cr = mContext.getContentResolver(); local 56 Cursor c = cr.query(Accounts.CONTENT_URI, PROJECTION, 62 delete(cr, name, type); 65 cr.update(Accounts.CONTENT_URI, null, null, null); 69 void delete(ContentResolver cr, String name, String type) { 77 cr.delete(uri, DELETE_SELECTION, new String[] { name, type });
|