/external/grub/docs/ |
multiboot.h | 86 unsigned long cmdline; member in struct:multiboot_info
|
multiboot.h.texi | 86 unsigned long cmdline;
|
/external/qemu/ |
readline.h | 11 typedef void ReadLineCompletionFunc(const char *cmdline);
|
readline.c | 213 static void readline_hist_add(ReadLineState *rs, const char *cmdline) 218 if (cmdline[0] == '\0') 225 if (strcmp(hist_entry, cmdline) == 0) { 229 /* Search cmdline in history buffers */ 234 if (strcmp(hist_entry, cmdline) == 0) { 257 new_entry = strdup(cmdline); 280 char *cmdline; local 284 cmdline = qemu_malloc(rs->cmd_buf_index + 1); 285 memcpy(cmdline, rs->cmd_buf, rs->cmd_buf_index); 286 cmdline[rs->cmd_buf_index] = '\0' [all...] |
/external/bluetooth/glib/tests/ |
shell-test.c | 96 print_test (const gchar *cmdline, gint argc, gchar **argv, 101 fprintf (stderr, "Command line was: '%s'\n", cmdline); 123 do_argv_test (const gchar *cmdline, const TestResult *result) 131 if (!g_shell_parse_argv (cmdline, &argc, &argv, &err)) 142 print_test (cmdline, argc, argv, result); 152 print_test (cmdline, argc, argv, result);
|
gio-test.c | 282 gchar *cmdline; local 353 cmdline = g_strdup_printf ("%d:%d:%d", 357 _spawnl (_P_NOWAIT, argv[0], argv[0], "--child", cmdline, NULL); 359 cmdline = g_strdup_printf ("%s --child %d:%d &", argv[0], 362 system (cmdline);
|
/external/grub/stage2/ |
char_io.c | 259 /* Add CMDLINE to the history buffer. */ 261 add_history (const char *cmdline, int no) 266 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); 272 real_get_cmdline (char *prompt, char *cmdline, int maxlen, 543 llen = grub_strlen (cmdline); 551 cmdline[MAX_CMDLINE] = 0; 555 grub_strcpy (buf, cmdline); 678 grub_strcpy (cmdline, buf); 712 p = cmdline; 765 /* Copy the working buffer to CMDLINE. * [all...] |
stage2.c | 765 get_line_from_config (char *cmdline, int maxlen, int read_from_file) 821 cmdline[pos++] = c; 829 cmdline[pos++] = c; 833 cmdline[pos] = 0; 916 char *cmdline; local 933 cmdline = (char *) CMDLINE_BUF; 934 while (get_line_from_config (cmdline, NEW_HEAPSIZE, 940 builtin = find_command (cmdline); 970 ptr = skip_to (1, cmdline); 979 char *arg = skip_to (1, cmdline); [all...] |
/system/core/mkbootimg/ |
mkbootimg.c | 64 " [ --cmdline <kernel-commandline> ]\n" 105 char *cmdline = ""; local 140 } else if(!strcmp(arg, "--cmdline")) { 141 cmdline = val; 187 if(strlen(cmdline) > (BOOT_ARGS_SIZE - 1)) { 191 strcpy((char*)hdr.cmdline, cmdline);
|
/system/extras/procrank/ |
procrank.c | 119 char cmdline[256]; // this must be within the range of int local 217 printf("%5s %7s %7s %7s %s\n", "PID", "WRss", "WPss", "WUss", "cmdline"); 219 printf("%5s %7s %7s %7s %7s %s\n", "PID", "Vss", "Rss", "Pss", "Uss", "cmdline"); 225 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) { 243 cmdline 252 cmdline 302 * 1 on failure to create string to examine proc cmdline entry 303 * 2 on failure to open proc cmdline entry 304 * 3 on failure to read proc cmdline entr [all...] |
/external/chromium/net/disk_cache/ |
stress_cache.cc | 58 CommandLine cmdline(exe); 59 cmdline.AppendArg(base::IntToString(iteration)); 62 if (!base::LaunchApp(cmdline, false, false, &handle)) {
|
/system/core/init/ |
util.c | 406 char cmdline[1024]; local 410 fd = open("/proc/cmdline", O_RDONLY); 412 int n = read(fd, cmdline, 1023); 416 if (n > 0 && cmdline[n-1] == '\n') n--; 418 cmdline[n] = 0; 421 cmdline[0] = 0; 424 ptr = cmdline;
|
/external/chromium/googleurl/base/ |
logging.cc | 207 scoped_array<wchar_t> cmdline(new wchar_t[charcount]); 208 if (!MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, cmdline.get(), charcount)) 216 if (CreateProcessW(prog_name, cmdline.get(), NULL, NULL, false, 0, NULL, 223 MessageBoxW(NULL, cmdline.get(), L"Fatal error", MB_OK | MB_ICONHAND);
|
/frameworks/base/cmds/dumpstate/ |
dumpstate.c | 303 /* read /proc/cmdline before dropping root */ 304 FILE *cmdline = fopen("/proc/cmdline", "r"); local 305 if (cmdline != NULL) { 306 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline); 307 fclose(cmdline);
|
utils.c | 54 char cmdline[255]; local 60 sprintf(cmdpath,"/proc/%d/cmdline", pid); 61 memset(cmdline, 0, sizeof(cmdline)); 63 strcpy(cmdline, "N/A"); 65 read(fd, cmdline, sizeof(cmdline)); 68 func(pid, cmdline); 391 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
|
/frameworks/base/opengl/libs/EGL/ |
egl.cpp | 90 sprintf(procPath, "/proc/%ld/cmdline", pid); 94 char cmdline[256] = {}; local 95 if (fgets(cmdline, sizeof(cmdline) - 1, file)) 97 if (!strcmp(value, cmdline))
|
/external/chromium/chrome/browser/first_run/ |
first_run.cc | 80 int FirstRun::ImportNow(Profile* profile, const CommandLine& cmdline) { 82 if (cmdline.HasSwitch(switches::kImportFromFile)) { 85 return_code = ImportFromFile(profile, cmdline); 87 if (cmdline.HasSwitch(switches::kImport)) { 89 return_code = ImportFromBrowser(profile, cmdline); 433 int FirstRun::ImportFromFile(Profile* profile, const CommandLine& cmdline) { 434 FilePath file_path = cmdline.GetSwitchValuePath(switches::kImportFromFile);
|
first_run_win.cc | 314 const CommandLine& cmdline = *CommandLine::ForCurrentProcess(); local 315 CommandLine import_cmd(cmdline.GetProgram()); 322 import_cmd.CopySwitchesFrom(cmdline, kSwitchNames, arraysize(kSwitchNames)); 374 const CommandLine& cmdline) { 375 std::string import_info = cmdline.GetSwitchValueASCII(switches::kImport);
|
/external/chromium/base/ |
process_util_win.cc | 220 bool LaunchAppImpl(const std::wstring& cmdline, 229 const_cast<wchar_t*>(cmdline.c_str()), NULL, NULL, 249 bool LaunchApp(const std::wstring& cmdline, 251 return LaunchAppImpl(cmdline, wait, start_hidden, false, process_handle); 255 const std::wstring& cmdline, bool wait, bool start_hidden, 257 return LaunchAppImpl(cmdline, wait, start_hidden, true, process_handle); 260 bool LaunchAppAsUser(UserTokenHandle token, const std::wstring& cmdline, 262 return LaunchAppAsUser(token, cmdline, start_hidden, process_handle, 266 bool LaunchAppAsUser(UserTokenHandle token, const std::wstring& cmdline, 285 CreateProcessAsUser(token, NULL, const_cast<wchar_t*>(cmdline.c_str()) [all...] |
/system/core/fastboot/ |
fastboot.c | 47 void bootimg_set_cmdline(boot_img_hdr *h, const char *cmdline); 58 static const char *cmdline = 0; variable 237 " -c <cmdline> override kernel commandline\n" 245 unsigned *sz, const char *cmdline) 265 if(cmdline) bootimg_set_cmdline((boot_img_hdr*) kdata, cmdline); 290 if(cmdline) bootimg_set_cmdline((boot_img_hdr*) bdata, cmdline); 615 cmdline = argv[1]; 664 data = load_bootable_image(page_size, kname, rname, &sz, cmdline); [all...] |
/external/libxml2/ |
xmlcatalog.c | 96 char *cmdline = NULL, *cur; local 105 cmdline = xmlShellReadline("> "); 106 if (cmdline == NULL) 112 cur = cmdline; 124 free(cmdline); 303 free(cmdline); /* not xmlFree here ! */
|
/system/extras/librank/ |
librank.c | 31 char cmdline[MAX_CMDLINE]; member in struct:process_info 160 getprocname(pid, process->cmdline, sizeof(process->cmdline)); 166 char cmdline[256]; local 288 pi->cmdline, 317 sprintf(filename, "/proc/%d/cmdline", pid);
|
/external/chromium/chrome/browser/diagnostics/ |
diagnostics_model.cc | 167 DiagnosticsModel* MakeDiagnosticsModel(const CommandLine& cmdline) { 168 FilePath user_data_dir = cmdline.GetSwitchValuePath(switches::kUserDataDir);
|
/external/chromium/net/test/ |
test_server_win.cc | 26 bool LaunchTestServerAsJob(const CommandLine& cmdline, 41 NULL, const_cast<wchar_t*>(cmdline.command_line_string().c_str()),
|
/external/chromium/testing/gtest/test/ |
gtest_output_test.py | 232 environ, cmdline = env_cmd 235 return NormalizeOutput(GetShellCommandOutput((environ, cmdline)))
|