/external/perfetto/test/trace_processor/ |
kernel_lmk.py | 23 trace.add_process(pid=1, ppid=0, cmdline="init") 24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process") 25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process") 27 trace.add_process(pid=1000, ppid=1, cmdline="padding_process") 28 trace.add_thread(tid=1301, tgid=1000, cmdline="padding_process_thread_1") 29 trace.add_thread(tid=1302, tgid=1000, cmdline="padding_process_thread_2") 31 trace.add_thread(tid=300, tgid=2, cmdline="two_thread_process")
|
counters_order_ref.py | 23 trace.add_process(pid=1, ppid=0, cmdline="init") 24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process") 25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process") 26 trace.add_thread(tid=3, tgid=2, cmdline="two_thread_process")
|
syscall.py | 25 trace.add_process(pid=1, ppid=0, cmdline="init") 26 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process") 27 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process") 28 trace.add_thread(tid=3, tgid=2, cmdline="two_thread_process")
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_process.h | 41 os_get_command_line(char *cmdline, size_t size);
|
os_process.c | 120 * \param cmdline returns the command line string 121 * \param size size of the cmdline buffer 125 os_get_command_line(char *cmdline, size_t size) 130 strncpy(cmdline, args, size); 132 cmdline[size - 1] = 0; 136 int f = open("/proc/self/cmdline", O_RDONLY); 138 const int n = read(f, cmdline, size - 1); 143 if (cmdline[i] == 0) { 144 cmdline[i] = ' '; 148 cmdline[n] = 0 [all...] |
/external/python/cpython3/Lib/test/libregrtest/ |
__init__.py | 4 from test.libregrtest.cmdline import _parse_args, RESOURCE_NAMES, ALL_RESOURCES
|
/external/perfetto/src/profiling/memory/ |
proc_utils.cc | 50 PERFETTO_ELOG("Failed to concatenate cmdline file."); 52 PERFETTO_ELOG("Overflow when concatenating cmdline file."); 60 bool NormalizeCmdLine(char* cmdline, size_t size, std::string* name) { 61 char* first_arg = static_cast<char*>(memchr(cmdline, '\0', size)); 63 PERFETTO_DLOG("Overflow reading cmdline"); 69 char* first_at = static_cast<char*>(memchr(cmdline, '@', size)); 75 memrchr(cmdline, '/', static_cast<size_t>(first_arg - cmdline))); 78 PERFETTO_DLOG("cmdline ends in /"); 82 start = cmdline; 119 char cmdline[512]; local [all...] |
/external/u-boot/arch/sh/lib/ |
zimageboot.c | 21 char *cmdline; local 43 cmdline = (char *)param + COMMAND_LINE; 51 strcpy(cmdline, bootargs);
|
/external/curl/tests/ |
http2-server.pl | 77 my $cmdline="$nghttpx --backend=$connect ". 82 print "RUN: $cmdline\n" if($verbose); 83 system("$cmdline 2>/dev/null");
|
/art/tools/ |
teardown-buildbot-device.sh | 50 local cmdline=$(adb shell cat "$dir"/cmdline | tr '\000' ' ') 51 $action "$pid" "$cmdline" 55 # display_process PID CMDLINE 57 # Display information about process with given PID, that was started with CMDLINE. 60 local cmdline=$2 61 echo "$cmdline (PID: $pid)" 130 # kill_process PID CMDLINE 132 # Kill process with given PID, that was started with CMDLINE. 135 local 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);
|
/external/deqp/execserver/tools/ |
xsMain.cpp | 42 void registerOptions (de::cmdline::Parser& parser) 44 using de::cmdline::Option; 45 using de::cmdline::NamedValue; 55 de::cmdline::CommandLine cmdLine; 68 de::cmdline::Parser parser; 71 if (!parser.parse(argc, argv, &cmdLine, std::cerr)) 80 const xs::ExecutionServer::RunMode runMode = cmdLine.getOption<opt::SingleExec>() 83 const int port = cmdLine.getOption<opt::Port>();
|
/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/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/python/setuptools/ |
launcher.c | 132 char **parse_argv(char *cmdline, int *argc) 136 char **result = calloc(strlen(cmdline), sizeof(char *)); 137 char *output = cmdline; 144 while (isspace(*cmdline)) cmdline++; /* skip leading spaces */ 147 c = *cmdline++; 153 while (isspace(*cmdline)) cmdline++; /* skip leading spaces */ 154 if (!*cmdline) return result; /* avoid empty arg if trailing ws */ 230 char* cmdline; local 257 char *cmdline; local [all...] |
/build/kati/ |
ninja.h | 41 size_t GetGomaccPosForAndroidCompileCommand(StringPiece cmdline);
|
/external/python/cpython3/Modules/ |
main.c | 522 _PyCmdline *cmdline) 524 assert(cmdline->argv == NULL); 548 cmdline->argv = argv; 551 cmdline->argv = pymain->wchar_argv; 555 if (pymain->argc >= 1 && cmdline->argv != NULL) { 556 program = cmdline->argv[0]; 571 pymain_clear_cmdline(_PyMain *pymain, _PyCmdline *cmdline) 576 clear_wstrlist(cmdline->nwarnoption, cmdline->warnoptions); 577 cmdline->nwarnoption = 0 1827 _PyCmdline cmdline; local 2953 _PyCmdline cmdline; local [all...] |
/device/google/cuttlefish_common/host/commands/launch/ |
boot_image_unpacker.cc | 66 std::ostringstream cmdline; local 67 cmdline << reinterpret_cast<char*>(&header.cmdline[0]); 69 cmdline << " "; 70 cmdline << reinterpret_cast<char*>(&header.extra_cmdline[0]); 82 boot_img, cmdline.str(), header.kernel_size, kernel_offset,
|
boot_image_unpacker.h | 52 BootImageUnpacker(SharedFD boot_image, const std::string& cmdline, 56 kernel_cmdline_(cmdline),
|
/external/libopus/ |
Makefile.mips | 70 COMPILE.c.cmdline = $(CC) -c $(CFLAGS) -o $@ $< 72 LINK.o.cmdline = $(LINK.o) $^ $(LDLIBS) -o $@$(EXESUFFIX) 74 ARCHIVE.cmdline = $(AR) $(ARFLAGS) $@ $^ && $(RANLIB) $@ 77 $(COMPILE.c.cmdline) 80 $(COMPILE.cpp.cmdline) 122 $(ARCHIVE.cmdline) 125 $(LINK.o.cmdline) 128 $(LINK.o.cmdline) 131 $(LINK.o.cmdline) 134 $(LINK.o.cmdline) [all...] |
Makefile.unix | 68 COMPILE.c.cmdline = $(CC) -c $(CFLAGS) -o $@ $< 70 LINK.o.cmdline = $(LINK.o) $^ $(LDLIBS) -o $@$(EXESUFFIX) 72 ARCHIVE.cmdline = $(AR) $(ARFLAGS) $@ $^ && $(RANLIB) $@ 75 $(COMPILE.c.cmdline) 78 $(COMPILE.cpp.cmdline) 120 $(ARCHIVE.cmdline) 123 $(LINK.o.cmdline) 126 $(LINK.o.cmdline) 129 $(LINK.o.cmdline) 132 $(LINK.o.cmdline) [all...] |
/development/scripts/ |
stacks | 37 if ! adb shell cat /proc/$PID/cmdline | egrep -q '^zygote'; then
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_popen.py | 19 def _do_test_commandline(self, cmdline, expected):
20 cmd = '%s -c "import sys;print sys.argv" %s' % (python, cmdline)
|