/system/tools/aidl/ |
H A D | generate_cpp_unittest.cpp | 777 const char* cmdline[argc] = { local 780 return CppOptions::Parse(argc, cmdline);
|
/system/tools/aidl/tests/ |
H A D | end_to_end_tests.cpp | 101 const char* cmdline[argc + 1] = { local 105 auto options = CppOptions::Parse(argc, cmdline);
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
H A D | header.h | 93 char * cmdline; member in struct:perf_session_env
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | header.h | 80 char *cmdline; member in struct:perf_session_env
|
/system/extras/procrank/ |
H A D | 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) {
|
/system/extras/simpleperf/ |
H A D | cmd_dumprecord.cpp | 144 {FEAT_CMDLINE, "cmdline"}, 207 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); local 208 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str());
|
H A D | 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)) {
|
H A D | 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, ' ');
|
H A D | record_file.h | 56 bool WriteCmdlineFeature(const std::vector<std::string>& cmdline);
|
H A D | record_file_reader.cpp | 209 std::vector<std::string> cmdline; local 217 cmdline.push_back(p); 220 return cmdline;
|
H A D | record_file_writer.cpp | 195 bool RecordFileWriter::WriteCmdlineFeature(const std::vector<std::string>& cmdline) { argument 200 uint32_t arg_count = cmdline.size(); 204 for (auto& arg : cmdline) {
|
/system/extras/tests/net_test/ |
H A D | net_test.sh | 18 test=$(cat /proc/cmdline | sed -re 's/.*net_test=([^ ]*).*/\1/g')
|
H A D | run_net_test.sh | 94 cmdline=${OPTIONS// / -e } 95 ./scripts/config $cmdline 98 cmdline=${DISABLE_OPTIONS// / -d } 99 ./scripts/config $cmdline
|
/system/extras/tests/workloads/ |
H A D | pwrtest.sh | 186 cmdline="$1" 187 echo Running $cmdline 188 (adb shell "cd $devdir && nohup $cmdline > test.out") &
|
/system/extras/ksmutils/ |
H A D | 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/librank/ |
H A D | 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/core/fastboot/ |
H A D | bootimg_utils.cpp | 35 void bootimg_set_cmdline(boot_img_hdr* h, const char* cmdline) argument 37 strcpy((char*) h->cmdline, cmdline);
|
H A D | bootimg_utils.h | 36 void bootimg_set_cmdline(boot_img_hdr* h, const char* cmdline);
|
H A D | fastboot.cpp | 75 static const char* cmdline = nullptr; variable 364 " -c <cmdline> Override kernel commandline.\n" 404 const char* cmdline) { 419 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) kdata, cmdline); 460 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) bdata, cmdline); 1301 cmdline = optarg; 1514 data = load_bootable_image(kname, rname, sname, &sz, cmdline); 1552 data = load_bootable_image(kname, rname, sname, &sz, cmdline); 402 load_bootable_image(const char* kernel, const char* ramdisk, const char* secondstage, int64_t* sz, const char* cmdline) argument [all...] |
/system/core/init/ |
H A D | 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...] |
H A D | 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/libcutils/ |
H A D | trace-dev.c | 67 static bool atrace_is_cmdline_match(const char* cmdline) argument 77 if (strcmp(value, cmdline) == 0) { 100 FILE * file = fopen("/proc/self/cmdline", "re"); 102 char cmdline[4096]; local 103 if (fgets(cmdline, sizeof(cmdline), file)) { 104 result = atrace_is_cmdline_match(cmdline); 106 ALOGE("Error reading cmdline: %s (%d)", strerror(errno), errno); 110 ALOGE("Error opening /proc/self/cmdline: %s (%d)", strerror(errno),
|
/system/core/libmemtrack/ |
H A D | memtrack_test.c | 38 if (asprintf(&filename, "/proc/%d/cmdline", pid) < 0) { 112 char cmdline[256]; local 120 getprocname(pid, cmdline, (int)sizeof(cmdline)); 138 v1, v2, v3, v4, v5, v6, cmdline);
|
/system/core/logcat/ |
H A D | logcat.cpp | 921 static char cmdline[1024]; local 923 fd = open("/proc/cmdline", O_RDONLY); 925 int n = read(fd, cmdline, sizeof(cmdline)-1 ); 927 cmdline[n] = 0; 930 cmdline[0] = 0; 933 logcat = strstr( cmdline, KERNEL_OPTION ); 934 console = strstr( cmdline, CONSOLE_OPTION );
|
/system/core/mkbootimg/ |
H A D | bootimg.h | 57 uint8_t cmdline[BOOT_ARGS_SIZE]; member in struct:boot_img_hdr
|