/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
cmd.py | 22 def cmdline(argv=None): function 62 cmdline()
|
/system/core/fs_mgr/ |
fs_mgr_boot_config.cpp | 26 // Tries to get the given boot config value from kernel cmdline. 31 std::string cmdline; local 33 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { 34 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { 48 // Tries to get the boot config value in properties, kernel cmdline and 60 // fallback to kernel cmdline, properties may not be ready yet
|
/toolchain/binutils/binutils-2.27/ld/ |
ldfile.h | 38 bfd_boolean cmdline; member in struct:search_dirs 46 (const char *, bfd_boolean cmdline);
|
/frameworks/native/libs/dumputils/ |
dump_utils.cpp | 25 // This matches the /proc/pid/exe link instead of /proc/pid/cmdline. 107 std::string cmdline; local 108 if (!android::base::ReadFileToString(android::base::StringPrintf("/proc/%d/cmdline", pid), 109 &cmdline)) { 113 return (cmdline.find(kZygotePrefix) == 0);
|
/external/python/cpython2/PC/ |
w9xpopen.c | 35 char *cmdline, *cmdlinefill; local 64 cmdline = cmdlinefill = (char *)malloc(cmdlen+1); 65 if (cmdline == NULL) 93 NULL, cmdline, 100 free(cmdline);
|
/external/syslinux/com32/elflink/ldlinux/ |
kernel.c | 24 char *initrd_name, *cmdline; local 43 cmdline = malloc(cmdline_len); 44 if (!cmdline) { 45 printf("Failed to alloc memory for cmdline\n"); 49 sprintf(cmdline, "BOOT_IMAGE=%s %s", kernel_name, args); 55 if (strstr(cmdline, "keeppxe")) 59 if (strstr(cmdline, "quiet")) 76 temp = strstr(cmdline, "initrd="); 124 syslinux_boot_linux(kernel_data, kernel_len, initramfs, NULL, cmdline); 128 free(cmdline); [all...] |
/external/toybox/toys/other/ |
switch_root.c | 46 char *newroot = *toys.optargs, **cmdline = toys.optargs+1; local 70 // trim any / characters from the init cmdline, as we want to test it with 71 // stat(), relative to newroot. *cmdline is also used below, but by that 73 while (**cmdline == '/') (*cmdline)++; 76 if (stat(*cmdline, &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) { 112 execv(*cmdline, cmdline); 113 perror_msg("Failed to exec '%s'", *cmdline);
|
/frameworks/native/cmds/lshal/libprocpartition/ |
procpartition.cpp | 49 if (!android::base::ReadFileToString("/proc/" + std::to_string(pid) + "/cmdline", &content, 82 const auto& cmdline = getCmdline(pid); local 83 if (cmdline == "system_server") { 86 if (cmdline.empty() || cmdline.front() != '/') { 89 return getPartitionFromRealpath(cmdline);
|
/system/tools/aidl/tests/ |
end_to_end_tests.cpp | 148 const char* cmdline[argc + 1] = { local 152 auto options = CppOptions::Parse(argc, cmdline); 173 const char* cmdline[argc + 1] = { local 177 auto options = CppOptions::Parse(argc, cmdline); 194 const char* cmdline[argc + 1] = { local 201 auto options = JavaOptions::Parse(argc, cmdline);
|
/external/fio/ |
profile.h | 33 * Called after parsing options, to prepare 'cmdline' 40 const char **cmdline; member in struct:profile_ops
|
/bootable/recovery/ |
ui.cpp | 153 // Parse /proc/cmdline to determine if it's booting into recovery with a bootreason of 158 std::string cmdline; local 159 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { 160 is_bootreason_recovery_ui_ = cmdline.find("bootreason=recovery_ui") != std::string::npos; 163 PLOG(WARNING) << "Failed to read /proc/cmdline";
|
/external/google-breakpad/src/common/linux/ |
file_id_unittest.cc | 82 char cmdline[4096]; local 83 sprintf(cmdline, "cp \"%s\" \"%s\"", exe_name, templ.c_str()); 84 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; 85 sprintf(cmdline, "chmod u+w \"%s\"", templ.c_str()); 86 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; 87 sprintf(cmdline, "strip \"%s\"", templ.c_str()); 88 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; [all...] |
/external/perfetto/src/traced/probes/ |
process_stats_data_source.cc | 145 std::string cmdline = ReadProcPidFile(pid, "cmdline"); local 146 if (!cmdline.empty()) { 148 for (StringSplitter ss(&cmdline[0], cmdline.size(), '\0'); ss.Next();) 151 // Nothing in cmdline so use the thread name instead (which is == "comm").
|
/external/strace/tests/ |
kexec_file_load.c | 80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 101 cmdline + sizeof(cmdline_str));
|
/external/strace/tests-m32/ |
kexec_file_load.c | 80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 101 cmdline + sizeof(cmdline_str));
|
/external/strace/tests-mx32/ |
kexec_file_load.c | 80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 101 cmdline + sizeof(cmdline_str));
|
/external/syslinux/core/elflink/ |
load_env32.c | 181 __export int create_args_and_load(char *cmdline) 187 if (!cmdline) 190 for (argc = 0, p = cmdline; *p; argc++) { 211 for (i = 0, p = cmdline; i < argc; i++) { 248 char *cmdline; local 250 cmdline = MK_PTR(regs->es, regs->ebx.w[0]); 251 if (create_args_and_load(cmdline) < 0)
|
/external/syslinux/gpxe/src/arch/i386/image/ |
comboot.c | 71 const char *cmdline = ( image->cmdline ? image->cmdline : "" ); local 72 int cmdline_len = strlen ( cmdline ); 90 cmdline, cmdline_len );
|
/system/core/libmemtrack/ |
memtrack_test.c | 38 if (asprintf(&filename, "/proc/%d/cmdline", pid) < 0) { 106 char cmdline[256]; local 114 getprocname(pid, cmdline, (int)sizeof(cmdline)); 132 v1, v2, v3, v4, v5, v6, cmdline);
|
/art/test/137-cfi/src/ |
Main.java | 91 String[] cmdline = getCmdLine(); local 92 String[] secCmdLine = new String[cmdline.length + 1]; 93 System.arraycopy(cmdline, 0, secCmdLine, 0, cmdline.length); 161 // Read /proc/self/cmdline to find the invocation command line (so we can fork another runtime). 164 BufferedReader in = new BufferedReader(new FileReader("/proc/self/cmdline"));
|
/build/kati/ |
strutil.go | 376 // cmdline removes tab at the beginning of lines. 377 func cmdline(line string) string { func
|
/external/avb/libavb/ |
avb_slot_verify.h | 189 * The |cmdline| field is a NUL-terminated string in UTF-8 resulting 198 * Additionally, the |cmdline| field will have the following kernel 235 * Note that androidboot.slot_suffix is not set in the |cmdline| field 245 * |requested_partitions| are loaded and the |cmdline| field is set to 259 char* cmdline; member in struct:__anon14253 299 * androidboot.vbmeta.invalidate_on_error cmdline parameters. See the
|
/external/libxml2/ |
xmlcatalog.c | 97 char *cmdline = NULL, *cur; local 106 cmdline = xmlShellReadline("> "); 107 if (cmdline == NULL) 113 cur = cmdline; 125 free(cmdline); 188 free(cmdline); 302 free(cmdline); /* not xmlFree here ! */
|
/external/ltp/pan/ |
zoolib.c | 48 * expected line fromat: pid_t,tag,cmdline 70 /* cat_args(): helper function to make cmdline from argc, argv */ 186 int zoo_mark_cmdline(zoo_t z, pid_t p, char *tag, char *cmdline) 190 snprintf(new_entry, 80, "%d,%s,%s", p, tag, cmdline); 196 char *cmdline; local 199 cmdline = cat_args(ac, av); 200 ret = zoo_mark_cmdline(z, p, tag, cmdline); 202 free(cmdline); 400 char cmdline[200]; local 404 snprintf(cmdline, 200, "%s%d %s %s %s", "runtest", n, "one", "two" [all...] |
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
virgl_vtest_socket.c | 81 char cmdline[64]; local 84 ret = os_get_process_name(cmdline, 63); 86 strcpy(cmdline, nstr); 88 if (!strcmp(cmdline, "shader_runner")) { 93 strncpy(cmdline, name, 63); 96 buf[VTEST_CMD_LEN] = strlen(cmdline) + 1; 100 virgl_block_write(vws->sock_fd, (void *)cmdline, strlen(cmdline) + 1);
|