/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pipes.py | 110 def append(self, cmd, kind):
111 """t.append(cmd, kind) adds a new step at the end."""
112 if type(cmd) is not type(''):
114 'Template.append: cmd must be a string'
124 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd):
126 'Template.append: missing $IN in cmd'
127 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
129 'Template.append: missing $OUT in cmd'
130 self.steps.append((cmd, kind))
132 def prepend(self, cmd, kind): [all...] |
/external/python/cpython2/Lib/distutils/tests/ |
test_register.py | 99 cmd = self._get_cmd() 116 cmd.run() 138 cmd.show_response = 1 139 cmd.run() 152 cmd = self._get_cmd() 153 cmd._set_config() 154 cmd.finalize_options() 155 cmd.send_metadata() 159 self.assertEqual(cmd.distribution.password, 'password') 163 cmd = self._get_cmd( [all...] |
/external/python/cpython2/Lib/ |
pipes.py | 108 def append(self, cmd, kind): 109 """t.append(cmd, kind) adds a new step at the end.""" 110 if type(cmd) is not type(''): 112 'Template.append: cmd must be a string' 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 124 'Template.append: missing $IN in cmd' 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 127 'Template.append: missing $OUT in cmd' 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind) [all...] |
/external/python/cpython3/Lib/ |
pipes.py | 110 def append(self, cmd, kind): 111 """t.append(cmd, kind) adds a new step at the end.""" 112 if type(cmd) is not type(''): 113 raise TypeError('Template.append: cmd must be a string') 120 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 121 raise ValueError('Template.append: missing $IN in cmd') 122 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 123 raise ValueError('Template.append: missing $OUT in cmd') 124 self.steps.append((cmd, kind)) 126 def prepend(self, cmd, kind) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pipes.py | 108 def append(self, cmd, kind): 109 """t.append(cmd, kind) adds a new step at the end.""" 110 if type(cmd) is not type(''): 112 'Template.append: cmd must be a string' 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 124 'Template.append: missing $IN in cmd' 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 127 'Template.append: missing $OUT in cmd' 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pipes.py | 108 def append(self, cmd, kind): 109 """t.append(cmd, kind) adds a new step at the end.""" 110 if type(cmd) is not type(''): 112 'Template.append: cmd must be a string' 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 124 'Template.append: missing $IN in cmd' 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 127 'Template.append: missing $OUT in cmd' 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pipes.py | 108 def append(self, cmd, kind): 109 """t.append(cmd, kind) adds a new step at the end.""" 110 if type(cmd) is not type(''): 112 'Template.append: cmd must be a string' 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 124 'Template.append: missing $IN in cmd' 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 127 'Template.append: missing $OUT in cmd' 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pipes.py | 108 def append(self, cmd, kind): 109 """t.append(cmd, kind) adds a new step at the end.""" 110 if type(cmd) is not type(''): 112 'Template.append: cmd must be a string' 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 124 'Template.append: missing $IN in cmd' 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 127 'Template.append: missing $OUT in cmd' 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind) [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
print_syn.sh | 47 cmd="DISPLAY=:0 mtplot $device_node | tee $FLAGS_file | $syn_dir/${SYN_PROG}" 48 echo "Executing ... $cmd" 49 eval $cmd
|
/external/skia/infra/bots/assets/android_sdk_linux/ |
create_and_upload.py | 32 cmd = ['python', create_script, '-t', cwd] 34 cmd.extend(['--android_sdk_root', args.android_sdk_root]) 35 subprocess.check_call(cmd) 37 cmd = ['python', upload_script, '-t', cwd] 39 cmd.extend(['--gsutil', args.gsutil]) 40 subprocess.check_call(cmd)
|
/external/skia/infra/bots/assets/win_toolchain/ |
create_and_upload.py | 33 cmd = ['python', create_script, 37 cmd.extend(['--chrome_path', args.chrome_path]) 38 subprocess.check_call(cmd) 39 cmd = ['python', upload_script, '-t', cwd] 41 cmd.extend(['--gsutil', args.gsutil]) 42 subprocess.check_call(cmd)
|
/external/skqp/infra/bots/assets/android_sdk_linux/ |
create_and_upload.py | 32 cmd = ['python', create_script, '-t', cwd] 34 cmd.extend(['--android_sdk_root', args.android_sdk_root]) 35 subprocess.check_call(cmd) 37 cmd = ['python', upload_script, '-t', cwd] 39 cmd.extend(['--gsutil', args.gsutil]) 40 subprocess.check_call(cmd)
|
/external/skqp/infra/bots/assets/win_toolchain/ |
create_and_upload.py | 33 cmd = ['python', create_script, 37 cmd.extend(['--chrome_path', args.chrome_path]) 38 subprocess.check_call(cmd) 39 cmd = ['python', upload_script, '-t', cwd] 41 cmd.extend(['--gsutil', args.gsutil]) 42 subprocess.check_call(cmd)
|
/system/extras/simpleperf/ |
cmd_help.cpp | 40 void PrintLongHelpForOneCommand(const Command& cmd); 47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); local 48 if (cmd == nullptr) { 55 PrintLongHelpForOneCommand(*cmd); 75 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); local 76 printf(" %-20s%s\n", cmd_name.c_str(), cmd->ShortHelpString().c_str());
|
/system/vold/fs/ |
Ext4.cpp | 120 std::vector<std::string> cmd; local 121 cmd.push_back(kFsckPath); 122 cmd.push_back("-y"); 123 cmd.push_back(c_source); 126 return ForkExecvp(cmd, sFsckContext); 158 std::vector<std::string> cmd; local 159 cmd.push_back(kResizefsPath); 160 cmd.push_back("-f"); 161 cmd.push_back(source); 162 cmd.push_back(StringPrintf("%lu", numSectors)) 169 std::vector<std::string> cmd; local [all...] |
/tools/tradefederation/core/python-lib/tradefed_py/ |
android_device.py | 31 def executeShellCommand(self, cmd): 35 cmd: The command to be executed in 'adb shell' 40 return self.adb.exec_shell_command(cmd) 55 def __init__(self, cmd, message): 56 self.cmd = cmd 60 return ('Error executing device cmd "%s". message: "%s"' 61 ) % (self.cmd, self.message)
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
cmd_input.py | 26 import cmd 28 CMD_LOG = "CMD {} result: {}" 29 FAILURE = "CMD {} threw exception: {}" 32 class CmdInput(cmd.Cmd): 94 cmd = "" 98 self.log.info(FAILURE.format(cmd, err)) 101 cmd = "" 105 self.log.info(FAILURE.format(cmd, err)) 108 cmd = " [all...] |
/external/iproute2/ip/ |
tunnel.h | 29 int tnl_add_ioctl(int cmd, const char *basedev, const char *name, void *p); 31 int tnl_prl_ioctl(int cmd, const char *name, void *p); 32 int tnl_6rd_ioctl(int cmd, const char *name, void *p);
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/ |
uiautomator | 50 cmd=${1} 53 cmd="help" 70 if [ "${cmd}" == "runtest" ]; then 80 cmd="help" 99 cmd="help" 118 # if cmd is not 'runtest', just take the rest of the args 122 args="${cmd} ${args}"
|
/test/vts/script/ |
diagnose.py | 24 def runCommand(cmd, description): 28 cmd: string, command to execute 33 returnCode = subprocess.call(cmd.split(' ')) 35 print 'Error occured when executing following command:', cmd
|
/test/vts/testcases/vts_selftest/manual_tests/shell_performance/ |
VtsSelfTestShellPerformance.py | 38 def VtsShell(self, cmd, n): 42 cmd: string, command to execute 46 self.shell.Execute(cmd) 48 def AdbShell(self, cmd, n): 52 cmd: string, command to execute 56 self.dut.adb.shell(cmd) 58 def VtsShellList(self, cmd, n): 62 cmd: string, command to execute 65 self.shell.Execute([cmd] * n) 81 cmd = "/data/local/tmp/zero_testcase [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_sdist.py | 81 """Returns a cmd"""
90 cmd = sdist(dist)
91 cmd.dist_dir = 'dist'
94 cmd.warn = _warn
95 return dist, cmd
116 dist, cmd = self.get_cmd()
120 cmd.formats = ['zip']
122 cmd.ensure_finalized()
123 cmd.run()
148 dist, cmd = self.get_cmd() [all...] |
/bionic/libc/kernel/uapi/linux/ |
baycom.h | 27 int cmd; member in struct:baycom_ioctl
|
/external/kernel-headers/original/uapi/linux/ |
baycom.h | 23 int cmd; member in struct:baycom_ioctl
|
/external/oj-libjdwp/src/share/back/ |
debugDispatch.h | 42 CommandHandler debugDispatch_getHandler(int cmdSet, int cmd) ;
|