HomeSort by relevance Sort by last modified time
    Searched defs:cmdline (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium/base/
debug_message.cc 14 LPWSTR cmdline = GetCommandLineW(); local
15 MessageBox(NULL, cmdline, L"Kr\x00d8m", MB_TOPMOST);
process_util_unittest.cc 195 std::wstring cmdline = local
197 EXPECT_TRUE(base::LaunchAppAsUser(token, cmdline, false, NULL));
logging.cc 351 std::wstring cmdline = UTF8ToWide(str); local
352 if (cmdline.empty())
360 if (CreateProcessW(prog_name, &cmdline[0], NULL, NULL, false, 0, NULL,
367 MessageBoxW(NULL, &cmdline[0], L"Fatal error",
  /bootable/bootloader/legacy/libboot/
tags_cmdline.c 40 const char *cmdline = ""; local
45 h.cookie = &cmdline;
49 return cmdline;
  /external/bluetooth/glib/tests/
child-test.c 62 gchar *cmdline; local
68 cmdline = g_strdup_printf( "child-test -c%d", ttl);
70 if (!CreateProcess (argv0, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
73 g_free(cmdline);
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);
  /bootable/bootloader/legacy/include/boot/
bootimg.h 58 unsigned char cmdline[BOOT_ARGS_SIZE]; member in struct:boot_img_hdr
96 void bootimg_set_cmdline(boot_img_hdr *hdr, const char *cmdline);
  /system/core/mkbootimg/
bootimg.h 47 unsigned char cmdline[BOOT_ARGS_SIZE]; member in struct:boot_img_hdr
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);
  /bootable/bootloader/legacy/usbloader/
main.c 42 static void create_atags(unsigned taddr, const char *cmdline,
76 if(cmdline && cmdline[0]) {
82 src = cmdline;
115 const char *cmdline; local
150 if(hdr->cmdline[0]) {
151 cmdline = (char*) hdr->cmdline;
153 cmdline = board_cmdline();
154 if(cmdline == 0)
221 const char *cmdline = 0; local
    [all...]
usbloader.c 83 static void fixup_tags(unsigned *tags, unsigned *out, const char *cmdline)
90 if(cmdline == 0) cmdline = "";
104 } else if((tags[1] == 0x54410009) && (cmdline[0])) {
105 /* skip existing cmdline so we can replace it */
126 dprintf("cmdline: '%s'\n", oldcmdline);
127 dprintf("cmdline: '%s'\n", cmdline);
129 /* create a cmdline tag if we need to */
130 if(cmdline[0])
167 static char cmdline[BOOT_ARGS_SIZE]; variable
    [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 ! */
  /external/netperf/
netserver.c 659 char cmdline[80]; local
674 /* Build cmdline for child process */
675 strcpy(cmdline, program);
677 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -v %d", verbosity);
680 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -d")
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/main/win32/
SDL_win32_main.c 57 static int ParseCommandLine(char *cmdline, char **argv)
63 for ( bufp = cmdline; *bufp; ) {
236 char *cmdline; local
328 cmdline = SDL_stack_alloc(char, nLen);
329 if ( cmdline == NULL ) {
332 WideCharToMultiByte(CP_ACP, 0, bufp, -1, cmdline, nLen, NULL, NULL);
337 cmdline = SDL_stack_alloc(char, nLen);
338 if ( cmdline == NULL ) {
341 SDL_strlcpy(cmdline, bufp, nLen);
345 argc = ParseCommandLine(cmdline, NULL)
    [all...]
  /external/qemu/
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...]
  /frameworks/base/cmds/dumpstate/
dumpstate.c 212 /* read /proc/cmdline before dropping root */
213 FILE *cmdline = fopen("/proc/cmdline", "r"); local
214 if (cmdline != NULL) {
215 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline);
216 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);
390 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
  /system/core/toolbox/
lsof.c 46 char cmdline[CMD_DISPLAY_MAX]; member in struct:pid_info_t
85 printf("%-9s %5d %10s %4s %9s %18s %9s %10s %s\n", info->cmdline, info->pid, "???", type,
116 printf("%-9s %5d %10s %4s %9s %18s %9zd %10ld %s\n", info->cmdline, info->pid, "???", "mem",
139 printf("%-9s %5d %10s %4s %9s %18s %9s %10s %s\n", info->cmdline, info->pid, "???", "FDS",
169 strncat(info.path, "cmdline", sizeof(info.path));
175 char cmdline[PATH_MAX]; local
176 if (read(fd, cmdline, sizeof(cmdline)) < 0) {
177 fprintf(stderr, "Error reading cmdline: %s: %s\n", info.path, strerror(errno));
184 // We only want the basename of the cmdline
    [all...]
ps.c 36 char cmdline[1024]; local
52 cmdline[0] = 0;
55 sprintf(cmdline, "/proc/%d/cmdline", pid);
56 fd = open(cmdline, O_RDONLY);
60 r = read(fd, cmdline, 1023);
64 cmdline[r] = 0;
160 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
  /system/extras/procrank/
procrank.c 52 char cmdline[256]; // this must be within the range of int local
144 printf("%5s %7s %7s %7s %s\n", "PID", "WRss", "WPss", "WUss", "cmdline");
146 printf("%5s %7s %7s %7s %7s %s\n", "PID", "Vss", "Rss", "Pss", "Uss", "cmdline");
149 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) {
164 cmdline
173 cmdline
207 * 1 on failure to create string to examine proc cmdline entry
208 * 2 on failure to open proc cmdline entry
209 * 3 on failure to read proc cmdline entr
    [all...]
  /external/grub/docs/
multiboot.h 86 unsigned long cmdline; member in struct:multiboot_info
  /external/grub/stage2/
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...]
  /packages/experimental/procstatlog/
procstatlog.c 242 char cmdline[4096]; local
243 sprintf(filename, "/proc/%d/cmdline", pid);
250 int len = read(fd, cmdline, sizeof(cmdline) - 1);
258 cmdline[len] = '\0';
260 for (n = 0; n < name_count && !strstr(cmdline, names[n]); ++n);
  /system/core/init/
bootchart.c 126 char cmdline[1024]; local
139 proc_read("/proc/cmdline", cmdline, sizeof(cmdline));
156 fprintf(out, "system.kernel.options = %s\n", cmdline);
256 char cmdline[1024]; local
261 snprintf(filename,sizeof(filename),"/proc/%d/cmdline",pid);
262 proc_read(filename, cmdline, sizeof(cmdline));
271 int len2 = strlen(cmdline);
316 char cmdline[1024]; local
    [all...]
  /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);

Completed in 339 milliseconds

1 2