/system/core/fs_mgr/ |
fs_mgr_boot_config.cpp | 24 // Tries to get the boot config value in properties, kernel cmdline and 36 // fallback to kernel cmdline, properties may not be ready yet 37 std::string cmdline; local 39 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { 40 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) {
|
/toolchain/binutils/binutils-2.25/ld/ |
ldfile.h | 38 bfd_boolean cmdline; member in struct:search_dirs 46 (const char *, bfd_boolean cmdline);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
runant.py | 92 cmdline = ('%s %s -classpath %s -Dant.home=%s %s ' + \ 98 print '\n%s\n\n' % (cmdline) 102 os.system(cmdline) 95 CLASSPATH, string.join(sys.argv[1:], ' ')) variable
|
/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...] |
cli.c | 128 char cmdline[MAX_CMDLINE_LEN] = { }; local 182 putchar(at >= len ? ' ' : cmdline[at]); 221 ret = cmdline; 228 memmove(cmdline + cursor - 1, cmdline + cursor, 239 memmove(cmdline + cursor, cmdline + cursor + 1, len - cursor); 248 cmdline[len] = '\0'; 257 while (cursor && my_isspace(cmdline[cursor - 1])) 260 while (cursor && !my_isspace(cmdline[cursor - 1]) [all...] |
ldlinux.c | 146 const char *cmdline; local 159 size_t len = strlen(me->cmdline) + 1; 174 snprintf(cmd, len, "%s %s", me->cmdline, args); 176 strncpy(cmd, me->cmdline, len); 228 rsprintf(&cmdline, "%s %s", me->cmdline, default_cmd); 230 rsprintf(&cmdline, "%s %s", onerror, default_cmd); 232 type = parse_image_type(cmdline); 233 execute(cmdline, type, true); 254 const char *cmdline; local 303 const char *cmdline; local [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);
|
/system/tools/aidl/tests/ |
end_to_end_tests.cpp | 101 const char* cmdline[argc + 1] = { local 105 auto options = CppOptions::Parse(argc, cmdline); 126 const char* cmdline[argc + 1] = { local 130 auto options = CppOptions::Parse(argc, cmdline); 147 const char* cmdline[argc + 1] = { local 154 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
|
/external/avb/libavb/ |
avb_slot_verify.h | 130 * The |cmdline| field is a NUL-terminated string in UTF-8 resulting 137 * Additionally, the |cmdline| field will have the following kernel 161 * Note that androidboot.slot_suffix is not set in |cmdline| - you 173 char* cmdline; member in struct:__anon13187
|
/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/strace/tests/ |
kexec_file_load.c | 79 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 89 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 91 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 100 cmdline + sizeof(cmdline_str));
|
/external/strace/tests-m32/ |
kexec_file_load.c | 79 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 89 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 91 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 100 cmdline + sizeof(cmdline_str));
|
/external/strace/tests-mx32/ |
kexec_file_load.c | 79 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); local 89 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", 91 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, 100 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);
|
/system/core/mkbootimg/ |
bootimg.h | 57 uint8_t cmdline[BOOT_ARGS_SIZE]; member in struct:boot_img_hdr
|
/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/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/syslinux/com32/mboot/ |
mboot.c | 44 const char *cmdline; member in struct:module_data 70 dprintf("Module %d cmdline: \"%s\"\n", i, modules[i].cmdline); 72 cmd_map = map_string(modules[i].cmdline); 81 mod_list[i].cmdline = cmd_map; 133 mp->cmdline = strdup(""); 136 mp->cmdline = p = malloc(arglen); 219 if (modules[0].cmdline) { 220 mbinfo.cmdline = map_string(modules[0].cmdline); [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
image.h | 37 char *cmdline; member in struct:image 151 extern int image_set_cmdline ( struct image *image, const char *cmdline );
|
/external/toybox/toys/pending/ |
sh.c | 107 char *cmdline; // Unparsed line for display purposes member in struct:pipeline 108 int cmdlinelen; // How long is cmdline? 151 static char *parse_pipeline(char *cmdline, struct pipeline *line) 154 char *start = line->cmdline = cmdline; 156 if (!cmdline) return 0; 158 line->cmdline = cmdline; 167 line->cmdlinelen = start-cmdline; 191 line->cmdlinelen = start-cmdline; [all...] |