/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_config_cmd.py | 44 cmd = config(dist)
47 match = cmd.search_cpp(pattern='xxx', body='// xxx')
50 match = cmd.search_cpp(pattern='_configtest', body='// xxx')
57 cmd = config(dist)
58 cmd.include_dirs = 'one%stwo' % os.pathsep
59 cmd.libraries = 'one'
60 cmd.library_dirs = 'three%sfour' % os.pathsep
61 cmd.ensure_finalized()
63 self.assertEqual(cmd.include_dirs, ['one', 'two'])
64 self.assertEqual(cmd.libraries, ['one']) [all...] |
/external/python/cpython2/Lib/distutils/tests/ |
test_config_cmd.py | 43 cmd = config(dist) 46 match = cmd.search_cpp(pattern='xxx', body='/* xxx */') 49 match = cmd.search_cpp(pattern='_configtest', body='/* xxx */') 56 cmd = config(dist) 57 cmd.include_dirs = 'one%stwo' % os.pathsep 58 cmd.libraries = 'one' 59 cmd.library_dirs = 'three%sfour' % os.pathsep 60 cmd.ensure_finalized() 62 self.assertEqual(cmd.include_dirs, ['one', 'two']) 63 self.assertEqual(cmd.libraries, ['one'] [all...] |
/external/wpa_supplicant_8/src/utils/ |
edit_readline.c | 19 static void (*edit_cmd_cb)(void *ctx, char *cmd); 21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) = 92 static void readline_cmd_handler(char *cmd) 94 if (cmd && *cmd) { 99 if (h == NULL || os_strcmp(cmd, h->line) != 0) 100 add_history(cmd); 103 if (cmd == NULL) { 107 trunc_nl(cmd); 108 edit_cmd_cb(edit_cb_ctx, cmd); [all...] |
/prebuilts/go/darwin-x86/src/os/exec/ |
example_test.go | 30 cmd := exec.Command("tr", "a-z", "A-Z") 31 cmd.Stdin = strings.NewReader("some input") 33 cmd.Stdout = &out 34 err := cmd.Run() 42 cmd := exec.Command("prog") 43 cmd.Env = append(os.Environ(), 47 if err := cmd.Run(); err != nil { 61 cmd := exec.Command("sleep", "1") 63 err := cmd.Run() 68 cmd := exec.Command("sleep", "5" [all...] |
/prebuilts/go/linux-x86/src/os/exec/ |
example_test.go | 30 cmd := exec.Command("tr", "a-z", "A-Z") 31 cmd.Stdin = strings.NewReader("some input") 33 cmd.Stdout = &out 34 err := cmd.Run() 42 cmd := exec.Command("prog") 43 cmd.Env = append(os.Environ(), 47 if err := cmd.Run(); err != nil { 61 cmd := exec.Command("sleep", "1") 63 err := cmd.Run() 68 cmd := exec.Command("sleep", "5" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_config_cmd.py | 45 cmd = config(dist) 48 match = cmd.search_cpp(pattern='xxx', body='/* xxx */') 51 match = cmd.search_cpp(pattern='_configtest', body='/* xxx */') 58 cmd = config(dist) 59 cmd.include_dirs = 'one%stwo' % os.pathsep 60 cmd.libraries = 'one' 61 cmd.library_dirs = 'three%sfour' % os.pathsep 62 cmd.ensure_finalized() 64 self.assertEqual(cmd.include_dirs, ['one', 'two']) 65 self.assertEqual(cmd.libraries, ['one'] [all...] |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_config_cmd.py | 45 cmd = config(dist) 48 match = cmd.search_cpp(pattern='xxx', body='/* xxx */') 51 match = cmd.search_cpp(pattern='_configtest', body='/* xxx */') 58 cmd = config(dist) 59 cmd.include_dirs = 'one%stwo' % os.pathsep 60 cmd.libraries = 'one' 61 cmd.library_dirs = 'three%sfour' % os.pathsep 62 cmd.ensure_finalized() 64 self.assertEqual(cmd.include_dirs, ['one', 'two']) 65 self.assertEqual(cmd.libraries, ['one'] [all...] |
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/vboot_reference/futility/ |
futility.c | 203 const struct futil_cmd_t *const *cmd; local 205 for (cmd = futil_cmds; *cmd; cmd++) 206 if (0 == strcmp((*cmd)->name, name)) 207 return *cmd; 214 const struct futil_cmd_t *const *cmd; local 216 for (cmd = futil_cmds; *cmd; cmd++ 224 const struct futil_cmd_t *cmd; local 301 const struct futil_cmd_t *cmd; local [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsaucm_test.c | 65 struct cmd { struct 70 static struct cmd cmds[] = { 100 fprintf(stderr, "alsaucm_test: error reading cmd\n"); 167 struct cmd *cmd = NULL; local 177 for (cmd = cmds; cmd->cmd_str != NULL; cmd++) { 178 if (strncmp(cmd->cmd_str, command, strlen(cmd->cmd_str)) == 0 [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 75 public CreationAndCompletionThread(final Command cmd) { 77 mCmd = cmd; 117 private void startSound(final Command cmd) { 136 mCompletionThread = new CreationAndCompletionThread(cmd); 144 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; 149 LogUtil.w(mTag, "error loading sound for " + cmd.uri, e); 153 private void stopSound(final Command cmd) { 157 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; 164 if (cmd.releaseFocus && mAudioManager != null) { 181 Command cmd = null local 279 final Command cmd = new Command(); local 307 final Command cmd = new Command(); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
spawn.py | 17 def spawn(cmd, search_path=1, verbose=0, dry_run=0): 18 """Run another program, specified as a command list 'cmd', in a new process. 20 'cmd' is just the argument list for the new process, ie. 21 cmd[0] is the program to run and cmd[1:] are the rest of its arguments. 26 search path will be used to find the program; otherwise, cmd[0] 34 _spawn_posix(cmd, search_path, dry_run=dry_run) 36 _spawn_nt(cmd, search_path, dry_run=dry_run) 38 _spawn_os2(cmd, search_path, dry_run=dry_run) 59 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
spawn.py | 17 def spawn(cmd, search_path=1, verbose=0, dry_run=0): 18 """Run another program, specified as a command list 'cmd', in a new process. 20 'cmd' is just the argument list for the new process, ie. 21 cmd[0] is the program to run and cmd[1:] are the rest of its arguments. 26 search path will be used to find the program; otherwise, cmd[0] 34 _spawn_posix(cmd, search_path, dry_run=dry_run) 36 _spawn_nt(cmd, search_path, dry_run=dry_run) 38 _spawn_os2(cmd, search_path, dry_run=dry_run) 59 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
spawn.py | 17 def spawn(cmd, search_path=1, verbose=0, dry_run=0): 18 """Run another program, specified as a command list 'cmd', in a new process. 20 'cmd' is just the argument list for the new process, ie. 21 cmd[0] is the program to run and cmd[1:] are the rest of its arguments. 26 search path will be used to find the program; otherwise, cmd[0] 34 _spawn_posix(cmd, search_path, dry_run=dry_run) 36 _spawn_nt(cmd, search_path, dry_run=dry_run) 38 _spawn_os2(cmd, search_path, dry_run=dry_run) 59 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
spawn.py | 17 def spawn(cmd, search_path=1, verbose=0, dry_run=0): 18 """Run another program, specified as a command list 'cmd', in a new process. 20 'cmd' is just the argument list for the new process, ie. 21 cmd[0] is the program to run and cmd[1:] are the rest of its arguments. 26 search path will be used to find the program; otherwise, cmd[0] 34 _spawn_posix(cmd, search_path, dry_run=dry_run) 36 _spawn_nt(cmd, search_path, dry_run=dry_run) 38 _spawn_os2(cmd, search_path, dry_run=dry_run) 59 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0) [all...] |
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 45 static void print_help(FILE *stream, const char *cmd); 190 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) 201 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, 204 printf("'%s' command timed out.\n", cmd); 207 printf("'%s' command failed.\n", cmd); 218 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) 220 return _wpa_ctrl_command(ctrl, cmd, 1); 224 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, 231 cmd, min_args, min_args > 1 ? "s are" : " is") 445 char cmd[256]; local 512 char cmd[64]; local 534 char cmd[64]; local 555 char cmd[64]; local 763 char addr[32], cmd[64]; local 778 char addr[32], cmd[64]; local 917 char cmd[256]; local 930 char addr[32], cmd[64]; local 1027 char cmd[2048]; local 1085 char cmd[256]; local 1131 char cmd[256]; local 1160 char cmd[256]; local 1219 char cmd[256]; local 1248 char cmd[256]; local 1288 char cmd[2048]; local 1310 char cmd[400]; local 1331 char cmd[256]; local 1442 const char *cmd; member in struct:hostapd_cli_cmd 1638 const struct hostapd_cli_cmd *cmd, *match = NULL; local 1820 char *cmd; local [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
psb_MPEG2MC.c | 151 uint32_t cmd; local 178 cmd = 0; 180 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, INTER_PRED_BLOCK_SIZE, blk_size); 182 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_A, ctx->ref_indexA); 183 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_B, ctx->ref_indexB); 186 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_A_VALID, 1); 187 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_B_VALID, 1); 189 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_A_VALID, 191 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_B_VALID, 202 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION 321 uint32_t cmd = 0; local 470 uint32_t cmd; local 612 uint32_t cmd; local 646 uint32_t cmd; local 765 uint32_t cmd; local 942 uint32_t cmd; local [all...] |
/development/tools/ |
monkey | 44 def PrintCommand(cmd, env=None): 54 sys.stdout.write(" ".join(cmd)) 73 def Exec(self, cmd, stdout=None, stderr=None): 82 cmd = self._command + cmd 83 PrintCommand(cmd) 84 result = subprocess.call(cmd, stdout=stdout, stderr=stderr) 86 raise ExecutionException("adb: %s returned %s" % (cmd, result)) 94 def Run(self, cmd, stdout=None, stderr=None): 104 self.Exec(cmd, stdout=stdout, stderr=stderr [all...] |
/external/toolchain-utils/binary_search_tool/ |
run_bisect_test.py | 19 cmd = 'rm -f %s/*.o' % work_dir 20 status = ce.RunCommand(cmd) 22 print('Error trying to clean out work directory: %s' % cmd) 39 cmd = ('%s export BISECT_STAGE=POPULATE_GOOD; pushd %s; ./%s; popd' % 41 status = ce.RunCommand(cmd) 48 cmd = 'rm -f %s/*.o' % work_dir 49 status = ce.RunCommand(cmd) 51 print('Error trying to clean out work directory: %s' % cmd) 68 cmd = ('%s export BISECT_STAGE=POPULATE_BAD; pushd %s; ./%s ; popd' % 70 status = ce.RunCommand(cmd) [all...] |
/prebuilts/go/darwin-x86/src/ |
make.bash | 121 # cmd/dist will detect kFreeBSD as freebsd/$GOARCH, but we need to 150 echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP." 152 echo cmd/dist 164 rm -f cmd/dist/dist 165 GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 168 eval $(./cmd/dist/dist env -p || echo FAIL=true) 181 cp cmd/dist/dist "$2" 183 mv cmd/dist/dist "$GOTOOLDIR"/dist 194 # Bootstrap installs a proper cmd/dist, built with the new toolchain [all...] |
/prebuilts/go/linux-x86/src/ |
make.bash | 121 # cmd/dist will detect kFreeBSD as freebsd/$GOARCH, but we need to 150 echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP." 152 echo cmd/dist 164 rm -f cmd/dist/dist 165 GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 168 eval $(./cmd/dist/dist env -p || echo FAIL=true) 181 cp cmd/dist/dist "$2" 183 mv cmd/dist/dist "$GOTOOLDIR"/dist 194 # Bootstrap installs a proper cmd/dist, built with the new toolchain [all...] |
/external/strace/tests/ |
struct_flock.c | 37 #define TEST_FLOCK_EINVAL(cmd) test_flock_einval(cmd, #cmd) 46 invoke_test_syscall(const unsigned int cmd, void *const p) 49 const kernel_ulong_t op = F8ILL_KULONG_MASK | cmd; 55 test_flock_einval(const int cmd, const char *name) 62 long rc = invoke_test_syscall(cmd, &fl);
|
/external/strace/tests-m32/ |
struct_flock.c | 37 #define TEST_FLOCK_EINVAL(cmd) test_flock_einval(cmd, #cmd) 46 invoke_test_syscall(const unsigned int cmd, void *const p) 49 const kernel_ulong_t op = F8ILL_KULONG_MASK | cmd; 55 test_flock_einval(const int cmd, const char *name) 62 long rc = invoke_test_syscall(cmd, &fl);
|
/external/strace/tests-mx32/ |
struct_flock.c | 37 #define TEST_FLOCK_EINVAL(cmd) test_flock_einval(cmd, #cmd) 46 invoke_test_syscall(const unsigned int cmd, void *const p) 49 const kernel_ulong_t op = F8ILL_KULONG_MASK | cmd; 55 test_flock_einval(const int cmd, const char *name) 62 long rc = invoke_test_syscall(cmd, &fl);
|