Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/external/python/cpython3/Python/
Dpreconfig.c116 _PyPreCmdline_Clear(_PyPreCmdline *cmdline) in _PyPreCmdline_Clear() argument
118 _PyWideStringList_Clear(&cmdline->argv); in _PyPreCmdline_Clear()
119 _PyWideStringList_Clear(&cmdline->xoptions); in _PyPreCmdline_Clear()
124 _PyPreCmdline_SetArgv(_PyPreCmdline *cmdline, const _PyArgv *args) in _PyPreCmdline_SetArgv() argument
126 return _PyArgv_AsWstrList(args, &cmdline->argv); in _PyPreCmdline_SetArgv()
131 precmdline_get_preconfig(_PyPreCmdline *cmdline, const PyPreConfig *config) in precmdline_get_preconfig() argument
135 cmdline->ATTR = config->ATTR; \ in precmdline_get_preconfig()
147 precmdline_set_preconfig(const _PyPreCmdline *cmdline, PyPreConfig *config) in precmdline_set_preconfig() argument
150 config->ATTR = cmdline->ATTR in precmdline_set_preconfig()
161 _PyPreCmdline_SetConfig(const _PyPreCmdline *cmdline, PyConfig *config) in _PyPreCmdline_SetConfig() argument
[all …]
/external/python/setuptools/
Dlauncher.c132 char **parse_argv(char *cmdline, int *argc) in parse_argv() argument
136 char **result = calloc(strlen(cmdline), sizeof(char *)); in parse_argv()
137 char *output = cmdline; in parse_argv()
144 while (isspace(*cmdline)) cmdline++; /* skip leading spaces */ in parse_argv()
147 c = *cmdline++; in parse_argv()
153 while (isspace(*cmdline)) cmdline++; /* skip leading spaces */ in parse_argv()
154 if (!*cmdline) return result; /* avoid empty arg if trailing ws */ in parse_argv()
230 char* cmdline; in join_executable_and_args() local
237 cmdline = (char*)calloc(len, sizeof(char)); in join_executable_and_args()
238 sprintf(cmdline, "%s", executable); in join_executable_and_args()
[all …]
/external/perfetto/test/trace_processor/parsing/
Dkernel_lmk.py22 trace.add_process(pid=1, ppid=0, cmdline="init")
23 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
24 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
26 trace.add_process(pid=1000, ppid=1, cmdline="padding_process")
27 trace.add_thread(tid=1301, tgid=1000, cmdline="padding_process_thread_1")
28 trace.add_thread(tid=1302, tgid=1000, cmdline="padding_process_thread_2")
30 trace.add_thread(tid=300, tgid=2, cmdline="two_thread_process")
Dprocess_metadata_matching.textproto6 cmdline: "init"
12 cmdline: "system_server"
18 cmdline: "com.google.android.gms"
24 cmdline: "com.google.android.gms.persistent"
30 cmdline: "com.google.android.gms"
Dsyscall.py24 trace.add_process(pid=1, ppid=0, cmdline="init")
25 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
26 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
27 trace.add_thread(tid=3, tgid=2, cmdline="two_thread_process")
/external/mesa3d/src/gallium/auxiliary/os/
Dos_process.c113 os_get_command_line(char *cmdline, size_t size) in os_get_command_line() argument
118 strncpy(cmdline, args, size); in os_get_command_line()
120 cmdline[size - 1] = 0; in os_get_command_line()
126 const int n = read(f, cmdline, size - 1); in os_get_command_line()
131 if (cmdline[i] == 0) { in os_get_command_line()
132 cmdline[i] = ' '; in os_get_command_line()
136 cmdline[n] = 0; in os_get_command_line()
144 cmdline[0] = 0; in os_get_command_line()
/external/libopus/
DMakefile.mips70 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 …]
DMakefile.unix68 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 …]
/external/perfetto/include/perfetto/profiling/
Dnormalize.h38 char* cmdline = *cmdline_ptr; in NormalizeCmdLine() local
39 char* first_arg = static_cast<char*>(memchr(cmdline, '\0', size)); in NormalizeCmdLine()
46 char* first_at = static_cast<char*>(memchr(cmdline, '@', size)); in NormalizeCmdLine()
52 memrchr(cmdline, '/', static_cast<size_t>(first_arg - cmdline))); in NormalizeCmdLine()
54 start = cmdline; in NormalizeCmdLine()
/external/perfetto/src/profiling/common/
Dproc_utils.cc66 std::string cmdline = cmdlines[i]; // mutable copy in NormalizeCmdlines() local
68 cmdline.resize(cmdline.size() + 1, '\0'); in NormalizeCmdlines()
69 char* cmdline_cstr = &(cmdline[0]); in NormalizeCmdlines()
70 ssize_t size = NormalizeCmdLine(&cmdline_cstr, cmdline.size()); in NormalizeCmdlines()
91 char cmdline[512]; in GetCmdlineForPID() local
92 const size_t max_read_size = sizeof(cmdline) - 1; in GetCmdlineForPID()
93 ssize_t rd = read(*fd, cmdline, max_read_size); in GetCmdlineForPID()
109 if (rd_u >= max_read_size && memchr(cmdline, '\0', rd_u) == nullptr) { in GetCmdlineForPID()
117 cmdline[rd] = '\0'; in GetCmdlineForPID()
118 char* cmdline_start = cmdline; in GetCmdlineForPID()
[all …]
Dproc_utils_unittest.cc31 std::string NormalizeToString(char* cmdline, size_t size) { in NormalizeToString() argument
32 ssize_t new_size = NormalizeCmdLine(&cmdline, size); in NormalizeToString()
35 return std::string(cmdline, static_cast<size_t>(new_size)); in NormalizeToString()
95 char* cmdline = kCmdline; in TEST() local
96 EXPECT_EQ(NormalizeCmdLine(&cmdline, sizeof(kCmdline)), -1); in TEST()
100 char* cmdline = nullptr; in TEST() local
101 EXPECT_EQ(NormalizeCmdLine(&cmdline, 0), -1); in TEST()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_performance_tests.py81 cmdline = (language.worker_cmdline() + ['--driver_port=%s' % port])
92 cmdline = perf_cmd + ['-o', '%s-perf.data' % perf_file_base_name
93 ] + cmdline
99 cmdline = ['timeout', '%s' % (worker_timeout + 30)] + cmdline
102 'cd ~/performance_workspace/grpc/ && %s' % ' '.join(cmdline)
104 cmdline = ssh_cmd
107 cmdline=cmdline,
136 return jobset.JobSpec(cmdline=[cmd],
153 return jobset.JobSpec(cmdline=[cmd],
184 return jobset.JobSpec(cmdline=[cmd],
[all …]
/external/toybox/toys/other/
Dswitch_root.c46 char *newroot = *toys.optargs, **cmdline = toys.optargs+1; in switch_root_main() local
73 while (**cmdline == '/') (*cmdline)++; in switch_root_main()
76 if (stat(*cmdline, &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) { in switch_root_main()
112 execv(*cmdline, cmdline); in switch_root_main()
113 perror_msg("Failed to exec '%s'", *cmdline); in switch_root_main()
/external/linux-kselftest/tools/testing/selftests/livepatch/
Dtest-livepatch.sh62 grep 'live patched' /proc/cmdline > /dev/kmsg
67 grep 'live patched' /proc/cmdline > /dev/kmsg
73 grep 'live patched' /proc/cmdline > /dev/kmsg
79 grep 'live patched' /proc/cmdline > /dev/kmsg
125 grep 'live patched' /proc/cmdline > /dev/kmsg
130 grep 'live patched' /proc/cmdline > /dev/kmsg
135 grep 'live patched' /proc/cmdline > /dev/kmsg
141 grep 'live patched' /proc/cmdline > /dev/kmsg
/external/grpc-grpc/tools/run_tests/
Drun_performance_tests.py74 cmdline = (language.worker_cmdline() + ['--driver_port=%s' % port])
85 cmdline = perf_cmd + ['-o', '%s-perf.data' % perf_file_base_name
86 ] + cmdline
92 cmdline = ['timeout', '%s' % (worker_timeout + 30)] + cmdline
96 % ' '.join(cmdline)
98 cmdline = ssh_cmd
101 cmdline=cmdline,
133 cmdline=[cmd],
151 cmdline=[cmd],
183 cmdline=[cmd],
[all …]
/external/avb/libavb/
Davb_cmdline.c37 const char* cmdline, in avb_sub_cmdline() argument
65 if (avb_strstr(cmdline, replace_str[n]) == NULL) { in avb_sub_cmdline()
89 ret = avb_replace(cmdline, replace_str[n], guid_buf); in avb_sub_cmdline()
104 ret = avb_strdup(cmdline); in avb_sub_cmdline()
143 if (slot_data->cmdline != NULL) { in cmdline_append_option()
144 offset = avb_strlen(slot_data->cmdline); in cmdline_append_option()
155 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()
161 if (slot_data->cmdline != NULL) { in cmdline_append_option()
162 avb_free(slot_data->cmdline); in cmdline_append_option()
164 slot_data->cmdline = new_cmdline; in cmdline_append_option()
[all …]
/external/perfetto/test/trace_processor/startup/
Dandroid_startup_cpu.py36 trace.add_process(pid=1, ppid=0, cmdline="Process1")
37 trace.add_process(pid=2, ppid=0, cmdline="Process2")
38 trace.add_process(pid=3, ppid=0, cmdline="Process3")
41 trace.add_thread(tid=4, tgid=1, cmdline="p1-t2")
42 trace.add_thread(tid=5, tgid=2, cmdline="p2-t2")
43 trace.add_thread(tid=6, tgid=2, cmdline="p2-t3")
/external/deqp/execserver/tools/
DxsMain.cpp42 void registerOptions (de::cmdline::Parser& parser) in registerOptions()
44 using de::cmdline::Option; in registerOptions()
45 using de::cmdline::NamedValue; in registerOptions()
55 de::cmdline::CommandLine cmdLine; in main()
68 de::cmdline::Parser parser; in main()
/external/strace/tests/
Dkexec_file_load.c80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); in main() local
90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", in main()
92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
101 cmdline + sizeof(cmdline_str)); in main()
/external/strace/tests-mx32/
Dkexec_file_load.c80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); in main() local
90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", in main()
92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
101 cmdline + sizeof(cmdline_str)); in main()
/external/strace/tests-m32/
Dkexec_file_load.c80 char *cmdline = tail_memdup(cmdline_str, sizeof(cmdline_str)); in main() local
90 { (uintptr_t) (cmdline + sizeof(cmdline_str)), "", "", in main()
92 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
93 { (uintptr_t) cmdline, "", "", "\"deadcodeb\"..." }, in main()
101 cmdline + sizeof(cmdline_str)); in main()
/external/python/cpython2/PC/
Dw9xpopen.c35 char *cmdline, *cmdlinefill; in main() local
64 cmdline = cmdlinefill = (char *)malloc(cmdlen+1); in main()
65 if (cmdline == NULL) in main()
93 NULL, cmdline, in main()
100 free(cmdline); in main()
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/
Dfpga_bl31_setup.c138 const char *cmdline = (void *)(uintptr_t)FPGA_PRELOADED_CMD_LINE; in fpga_prepare_dtb() local
148 if (!strncmp(cmdline, "CMD:", 4)) { in fpga_prepare_dtb()
172 eol = strchr(cmdline, '\n'); in fpga_prepare_dtb()
174 eol = strchr(cmdline, 0); in fpga_prepare_dtb()
177 slen = eol - (cmdline + 4); in fpga_prepare_dtb()
189 cmdline + 4, slen); in fpga_prepare_dtb()
/external/python/cpython3/Lib/test/
Dtest_getopt.py101 cmdline = ['-a', '1', '-b', '--alpha=2', '--beta', '-a', '3', '-a',
104 opts, args = getopt.getopt(cmdline, 'a:b', ['alpha=', 'beta'])
112 self.assertError(getopt.getopt, cmdline, 'a:b', ['alpha', 'beta'])
116 cmdline = ['-a', 'arg1', '-b', '1', '--alpha', '--beta=2']
119 opts, args = getopt.gnu_getopt(cmdline, 'ab:', ['alpha', 'beta='])
130 opts, args = getopt.gnu_getopt(cmdline, '+ab:', ['alpha', 'beta='])
136 opts, args = getopt.gnu_getopt(cmdline, 'ab:', ['alpha', 'beta='])
/external/python/cpython2/Lib/
Dwebbrowser.py172 cmdline = [self.name] + [arg.replace("%s", url)
176 p = subprocess.Popen(cmdline)
178 p = subprocess.Popen(cmdline, close_fds=True)
189 cmdline = [self.name] + [arg.replace("%s", url)
193 p = subprocess.Popen(cmdline)
198 p = subprocess.Popen(cmdline, close_fds=True, preexec_fn=setsid)
223 cmdline = [self.name] + raise_opt + args
236 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout,
667 for cmdline in _userchoices:
668 if cmdline != '':
[all …]

12345678910>>...14