HomeSort by relevance Sort by last modified time
    Searched full:cmdline (Results 26 - 50 of 229) sorted by null

12 3 4 5 6 7 8 910

  /external/wpa_supplicant_8/wpa_supplicant/
main_winmain.c 21 #define CMDLINE LPWSTR
23 #define CMDLINE LPSTR
28 CMDLINE lpCmdLine, int nShowCmd)
  /system/core/toolbox/
ps.c 37 char cmdline[1024]; local
53 cmdline[0] = 0;
56 sprintf(cmdline, "/proc/%d/cmdline", pid);
57 fd = open(cmdline, O_RDONLY);
61 r = read(fd, cmdline, 1023);
65 cmdline[r] = 0;
163 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
  /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...]
  /bootable/bootloader/legacy/usbloader/
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...]
  /packages/apps/Camera/jni/feature_stab/src/dbregtest/
dbregtest.cpp 70 void parse_cmd_line(stringstream& cmdline,
108 stringstream cmdline; local
116 // put the options and image list file name into the cmdline stringstream
119 cmdline << argv[c] << " ";
122 parse_cmd_line(cmdline, argc, progname, image_list_file_name, nr_corners, max_disparity, motion_model_type,quarter_resolution,reference_update_period,do_motion_smoothing,motion_smoothing_gain);
304 void parse_cmd_line(stringstream& cmdline,
322 while (cmdline >> token)
333 --c; cmdline >> token;
353 --c; cmdline >> nr_corners;
356 --c; cmdline >> max_disparity
    [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...]
readline.h 11 typedef void ReadLineCompletionFunc(const char *cmdline);
  /system/core/fastboot/
bootimg.c 35 void bootimg_set_cmdline(boot_img_hdr *h, const char *cmdline)
37 strcpy((char*) h->cmdline, cmdline);
  /dalvik/tests/etc/
push-and-run-test-jar 13 # --dev -- development mode (print the vm invocation cmdline)
129 cmdline="cd /data; dalvikvm $DEX_VERIFY $DEX_OPTIMIZE $DEX_DEBUG \
132 echo $cmdline "$@"
134 adb shell $cmdline "$@"
  /system/extras/procrank/
procrank.c 125 char cmdline[256]; // this must be within the range of int local
223 printf("%5s %7s %7s %7s %s\n", "PID", "WRss", "WPss", "WUss", "cmdline");
225 printf("%5s %7s %7s %7s %7s %s\n", "PID", "Vss", "Rss", "Pss", "Uss", "cmdline");
231 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) {
249 cmdline
258 cmdline
308 * 1 on failure to create string to examine proc cmdline entry
309 * 2 on failure to open proc cmdline entry
310 * 3 on failure to read proc cmdline entr
    [all...]
  /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...]
  /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);
  /external/clang/tools/scan-view/
startfile.py 34 def _invoke(self, cmdline):
57 pipe = subprocess.Popen(cmdline, stdin=inout, stdout=inout,
71 cmdline = self.args + [filename]
74 cmdline = self.args + filename
76 return self._invoke(cmdline)
  /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);
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);
  /cts/tests/tests/security/src/android/security/cts/
VoldExploitTest.java 91 new File("/proc/" + pid + "/cmdline").exists());
164 new File("/proc/" + pid + "/cmdline").exists());
205 new File("/proc/" + i + "/cmdline").exists());
305 String cmdLineString = d.getAbsolutePath() + "/cmdline";
306 File cmdLine = new File(cmdLineString);
307 if (cmdLine.exists()) {
310 in = new BufferedReader(new FileReader(cmdLine));
334 if (new File("/proc/" + pid + "/cmdline").exists()) {
  /external/qemu/android/
cmdline-option.h 28 #include "android/cmdline-options.h"
qemulator.h 20 #include "android/cmdline-option.h"
  /external/valgrind/main/coregrind/
pub_core_clientstate.h 55 /* A fd which refers to the fake /proc/<pid>/cmdline in /tmp. The
56 idea is: make up the /proc/<pid>/cmdline file the client would
58 /tmp. When the client then does an open of /proc/<pid>/cmdline or
59 /proc/self/cmdline, instead give it a file handle to the file in
  /hardware/ril/rild/
rild.c 145 /* first, read /proc/cmdline into memory */
148 int fd = open("/proc/cmdline",O_RDONLY);
151 LOGD("could not open /proc/cmdline:%s", strerror(errno));
160 LOGD("could not read /proc/cmdline:%s", strerror(errno));
  /development/tools/emulator/opengl/tests/translator_tests/GLES_V2/
triangleV2.cpp 257 char **parseCmdLine(char *cmdLine, int *argc)
268 while(cmdLine[i] != '\0') {
269 bool isSpace = (cmdLine[i] == ' ' || cmdLine[i] == '\t');
274 cmdLine[i] = '\0';
279 argv[(*argc)++] = &cmdLine[argStart];
288 argv[(*argc)++] = &cmdLine[argStart];
  /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/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...]
  /external/srec/shared/src/
SessionTypeImpl.c 649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG);
656 LSTRCPY(key, "cmdline.");
1171 CHKLOG(rc, parameterList->put(parameterList, "cmdline.arbfile", &PLChar));
1172 CHKLOG(rc, parameterList->put(parameterList, "cmdline.bgsniff", &Size_t));
1173 CHKLOG(rc, parameterList->put(parameterList, "cmdline.channel", &PLChar));
1174 CHKLOG(rc, parameterList->put(parameterList, "cmdline.datapath", &PLChar));
1175 CHKLOG(rc, parameterList->put(parameterList, "cmdline.DataCaptureDirectory", &PLChar));
1176 CHKLOG(rc, parameterList->put(parameterList, "cmdline.detail_res", &PLChar));
1177 CHKLOG(rc, parameterList->put(parameterList, "cmdline.lda", &PLChar));
1178 CHKLOG(rc, parameterList->put(parameterList, "cmdline.modelfiles", &PLChar))
    [all...]
  /frameworks/base/cmds/dumpstate/
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);
400 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);

Completed in 1993 milliseconds

12 3 4 5 6 7 8 910