/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
webbrowser.py | 172 cmdline = [self.name] + [arg.replace("%s", url) 176 p = subprocess.Popen(cmdline) 178 p = subprocess.Popen(cmdline, close_fds=True) 189 cmdline = [self.name] + [arg.replace("%s", url) 193 p = subprocess.Popen(cmdline) 198 p = subprocess.Popen(cmdline, close_fds=True, preexec_fn=setsid) 223 cmdline = [self.name] + raise_opt + args 236 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout, 667 for cmdline in _userchoices: 668 if cmdline != '' 672 cmdline = None # to make del work if _userchoices was empty variable [all...] |
/system/core/init/ |
bootchart.cpp | 86 android::base::ReadFileToString("/proc/cmdline", &kernel_cmdline); 128 // name from /proc/<pid>/cmdline. 129 snprintf(filename, sizeof(filename), "/proc/%d/cmdline", pid); 130 std::string cmdline; local 131 android::base::ReadFileToString(filename, &cmdline); 132 const char* full_name = cmdline.c_str(); // So we stop at the first NUL. 138 if (!cmdline.empty()) { 166 std::string cmdline; local 168 android::base::ReadFileToString("/proc/cmdline", &cmdline); [all...] |
util.cpp | 430 std::string cmdline; local 431 android::base::ReadFileToString("/proc/cmdline", &cmdline); 433 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) {
|
/system/core/toolbox/ |
ps.c | 47 char cmdline[1024]; local 65 cmdline[0] = 0; 69 sprintf(cmdline, "/proc/%d/cmdline", pid); 71 int fd = open(cmdline, O_RDONLY); 75 r = read(fd, cmdline, 1023); 79 cmdline[r] = 0; 198 printf("%s", cmdline[0] ? cmdline : name);
|
/system/extras/ksmutils/ |
ksminfo.c | 77 char cmdline[256]; // this must be within the range of int local 143 if (getprocname(*pids, cmdline, sizeof(cmdline)) < 0) { 144 cmdline[0] = '\0'; 146 printf("%s (%u):\n", cmdline, *pids); 437 * 1 on failure to create string to examine proc cmdline entry 438 * 2 on failure to open proc cmdline entry 439 * 3 on failure to read proc cmdline entry 451 if (asprintf(&filename, "/proc/%d/cmdline", (int)pid) < 0) {
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
header.h | 93 char * cmdline; member in struct:perf_session_env
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
header.h | 80 char *cmdline; member in struct:perf_session_env
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
ANTLR3.java | 583 CommandlineJava cmdline; local 585 cmdline = (CommandlineJava) commandline.clone(); 590 cmdline.createArgument().setValue("-depend"); 591 cmdline.createArgument().setValue("-o"); 592 cmdline.createArgument().setValue(outputDirectory.toString()); 593 cmdline.createArgument().setValue("-lib"); 594 cmdline.createArgument().setValue(libDirectory.toString()); 595 cmdline.createArgument().setValue(target.toString()); 597 log(cmdline.describeCommand(), Project.MSG_VERBOSE); 616 err = run(cmdline.getCommandline(), r.getOutputStream(), null) [all...] |
/bionic/libc/kernel/uapi/asm-arm/asm/ |
setup.h | 109 char cmdline[1]; member in struct:tag_cmdline 139 struct tag_cmdline cmdline; member in union:tag::__anon222
|
/development/ndk/platforms/android-21/arch-arm/include/asm/ |
setup.h | 109 char cmdline[1]; member in struct:tag_cmdline 139 struct tag_cmdline cmdline; member in union:tag::__anon1398
|
/external/dbus/dbus/ |
dbus-sysdeps-util-unix.c | 1109 DBusString cmdline; local 1118 if (!_dbus_string_init (&cmdline)) 1125 if (!_dbus_string_append_printf (&path, "/proc/%ld/cmdline", pid)) 1139 if (!_dbus_read (fd, &cmdline, max_len)) 1152 string_squash_nonprintable (&cmdline); 1154 if (!_dbus_string_copy (&cmdline, 0, str, _dbus_string_get_length (str))) 1157 _dbus_string_free (&cmdline); 1163 _dbus_string_free (&cmdline);
|
/external/e2fsprogs/lib/ext2fs/ |
tdbtool.c | 48 char cmdline[1024]; variable
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
setup.h | 126 char cmdline[1]; /* this is the minimum size */ member in struct:tag_cmdline 157 struct tag_cmdline cmdline; member in union:tag::__anon12848
|
/hardware/intel/bootstub/ |
bootstub.c | 151 void *cmdline = (void *)BOOT_CMDLINE_OFFSET; local 158 cmdline_len = strnlen((const char *)aosp->cmdline, sizeof(aosp->cmdline)); 165 memset(cmdline, 0, sizeof(aosp->cmdline) + sizeof(aosp->extra_cmdline)); 166 memcpy(cmdline, (const void *)aosp->cmdline, cmdline_len); 167 memcpy(cmdline + cmdline_len, (const void *)aosp->extra_cmdline, extra_cmdline_len); 179 memset(cmdline, 0, CMDLINE_SIZE); 180 memcpy(cmdline, (const void *)CMDLINE_OFFSET, cmdline_len) [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/asm/ |
setup.h | 109 char cmdline[1]; member in struct:tag_cmdline 139 struct tag_cmdline cmdline; member in union:tag::__anon55541
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/asm/ |
setup.h | 109 char cmdline[1]; member in struct:tag_cmdline 139 struct tag_cmdline cmdline; member in union:tag::__anon60188
|
/prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/asm/ |
setup.h | 109 char cmdline[1]; member in struct:tag_cmdline 139 struct tag_cmdline cmdline; member in union:tag::__anon64835
|
/system/extras/librank/ |
librank.c | 33 char cmdline[MAX_CMDLINE]; member in struct:process_info 169 getprocname(pid, process->cmdline, sizeof(process->cmdline)); 199 char cmdline[256]; local 415 pi->cmdline, 450 snprintf(filename, sizeof(filename), "/proc/%d/cmdline", pid);
|
/system/extras/procrank/ |
procrank.c | 188 char cmdline[256]; // this must be within the range of int local 335 printf("%s\n", "cmdline"); 345 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) { 392 printf("%s\n", cmdline); 483 * 1 on failure to create string to examine proc cmdline entry 484 * 2 on failure to open proc cmdline entry 485 * 3 on failure to read proc cmdline entry 497 if (asprintf(&filename, "/proc/%d/cmdline", pid) < 0) {
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
DataCollector.java | 277 String cmdline = String.format("/system/bin/sh -c /system/bin/bugreport>%s", local 279 saveProcessOutput(cmdline, baos);
|
/system/extras/simpleperf/ |
cmd_record.cpp | 769 std::vector<std::string> cmdline; local 770 cmdline.push_back(exec_path); 771 cmdline.push_back("record"); 772 cmdline.insert(cmdline.end(), args.begin(), args.end()); 773 if (!record_file_writer_->WriteCmdlineFeature(cmdline)) {
|
cmd_report.cpp | 646 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); local 647 if (!cmdline.empty()) { 648 record_cmdline_ = android::base::Join(cmdline, ' '); 698 fprintf(report_fp_, "Cmdline: %s\n", record_cmdline_.c_str());
|
/toolchain/binutils/binutils-2.25/libiberty/ |
pex-win32.c | 341 char *cmdline; local 384 cmdline = XNEWVEC (char, cmdline_len); 385 p = cmdline; 421 return cmdline; 577 char *cmdline; local 582 cmdline = NULL; 622 cmdline = argv_to_cmdline (argv); 623 if (!cmdline) 627 if (!CreateProcess (full_executable, cmdline, 653 free (cmdline); [all...] |
/bootable/recovery/updater/ |
blockimg.cpp | 396 const char* cmdline; member in struct:CommandParameters [all...] |
/external/google-breakpad/src/tools/linux/md2core/ |
minidump-2-core.cc | 647 const char* cmdline = (const char*) range.data(); local 651 for (; i < range.length() && cmdline[i] && cmdline[i] != ' '; ++i) { } 653 fwrite(cmdline, i, 1, stderr); 656 if (!cmdline[j] || cmdline[j] == ' ') { 658 fwrite(cmdline + i, j - i, 1, stderr); 666 const char *binary_name = cmdline; 668 if (cmdline[i] == '/') { 669 binary_name = cmdline + i + 1 [all...] |