Home
last modified time | relevance | path

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

12345678910>>...13

/external/python/cpython3/Python/
Dpreconfig.c115 _PyPreCmdline_Clear(_PyPreCmdline *cmdline) in _PyPreCmdline_Clear() argument
117 _PyWideStringList_Clear(&cmdline->argv); in _PyPreCmdline_Clear()
118 _PyWideStringList_Clear(&cmdline->xoptions); in _PyPreCmdline_Clear()
123 _PyPreCmdline_SetArgv(_PyPreCmdline *cmdline, const _PyArgv *args) in _PyPreCmdline_SetArgv() argument
125 return _PyArgv_AsWstrList(args, &cmdline->argv); in _PyPreCmdline_SetArgv()
130 precmdline_get_preconfig(_PyPreCmdline *cmdline, const PyPreConfig *config) in precmdline_get_preconfig() argument
134 cmdline->ATTR = config->ATTR; \ in precmdline_get_preconfig()
146 precmdline_set_preconfig(const _PyPreCmdline *cmdline, PyPreConfig *config) in precmdline_set_preconfig() argument
149 config->ATTR = cmdline->ATTR in precmdline_set_preconfig()
160 _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/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/OpenCL-CTS/
Dbuild_android.py41 def execute (cmdline): argument
42 retcode = subprocess.call(cmdline)
62 cmdline = []
63cmdline.extend(['cmake', "-DCMAKE_TOOLCHAIN_FILE=" + os.path.join(args.android_cmake,"android.tool…
65 cmdline.extend([ '-D', var ])
66 cmdline.extend(['-DCL_INCLUDE_DIR=' + args.inc_dir])
67 cmdline.extend(['-DCL_LIB_DIR=' + args.lib_dir])
68 cmdline.extend(['-DANDROID_NATIVE_API_LEVEL=' + "android-21"])
70 cmdline.extend(['-DANDROID_ABI=arm64-v8a'])
71 cmdline.extend(['-DANDROID_SO_UNDEFINED=ON'])
[all …]
/external/perfetto/test/trace_processor/
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"
/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.cc30 std::string NormalizeToString(char* cmdline, size_t size) { in NormalizeToString() argument
31 ssize_t new_size = NormalizeCmdLine(&cmdline, size); in NormalizeToString()
34 return std::string(cmdline, static_cast<size_t>(new_size)); in NormalizeToString()
94 char* cmdline = kCmdline; in TEST() local
95 EXPECT_EQ(NormalizeCmdLine(&cmdline, sizeof(kCmdline)), -1); in TEST()
99 char* cmdline = nullptr; in TEST() local
100 EXPECT_EQ(NormalizeCmdLine(&cmdline, 0), -1); in TEST()
/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/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/honggfuzz/netbsd/
Darch.c87 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
88 } else if (!strcmp(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
90 } else if (strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
91 const char* off = strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER); in arch_launchChild()
92 snprintf(argData, sizeof(argData), "%.*s%s", (int)(off - run->global->exe.cmdline[x]), in arch_launchChild()
93 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
96 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
214 if (access(hfuzz->exe.cmdline[0], X_OK) == -1) { in arch_archInit()
215 PLOG_E("File '%s' doesn't seem to be executable", hfuzz->exe.cmdline[0]); in arch_archInit()
/external/u-boot/lib/libavb/
Davb_cmdline.c18 const char* cmdline, in avb_sub_cmdline() argument
46 if (avb_strstr(cmdline, replace_str[n]) == NULL) { in avb_sub_cmdline()
70 ret = avb_replace(cmdline, replace_str[n], guid_buf); in avb_sub_cmdline()
85 ret = avb_strdup(cmdline); in avb_sub_cmdline()
124 if (slot_data->cmdline != NULL) { in cmdline_append_option()
125 offset = avb_strlen(slot_data->cmdline); in cmdline_append_option()
136 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()
142 if (slot_data->cmdline != NULL) { in cmdline_append_option()
143 avb_free(slot_data->cmdline); in cmdline_append_option()
145 slot_data->cmdline = new_cmdline; in cmdline_append_option()
[all …]
/external/perfetto/test/metrics/
Dandroid_startup_cpu.py37 trace.add_process(pid=1, ppid=0, cmdline="Process1")
38 trace.add_process(pid=2, ppid=0, cmdline="Process2")
39 trace.add_process(pid=3, ppid=0, cmdline="Process3")
42 trace.add_thread(tid=4, tgid=1, cmdline="p1-t2")
43 trace.add_thread(tid=5, tgid=2, cmdline="p2-t2")
44 trace.add_thread(tid=6, tgid=2, cmdline="p2-t3")
/external/google-breakpad/src/common/linux/
Dfile_id_unittest.cc82 char cmdline[4096]; in TEST() local
83 sprintf(cmdline, "cp \"%s\" \"%s\"", exe_name, templ.c_str()); in TEST()
84 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; in TEST()
85 sprintf(cmdline, "chmod u+w \"%s\"", templ.c_str()); in TEST()
86 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; in TEST()
87 sprintf(cmdline, "strip \"%s\"", templ.c_str()); in TEST()
88 ASSERT_EQ(0, system(cmdline)) << "Failed to execute: " << cmdline; in TEST()
/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-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/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/
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/honggfuzz/linux/
Darch.c145 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
146 } else if (!strcmp(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
148 } else if (strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER)) { in arch_launchChild()
149 const char* off = strstr(run->global->exe.cmdline[x], _HF_FILE_PLACEHOLDER); in arch_launchChild()
150 snprintf(argData, sizeof(argData), "%.*s%s", (int)(off - run->global->exe.cmdline[x]), in arch_launchChild()
151 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
154 args[x] = run->global->exe.cmdline[x]; in arch_launchChild()
308 if (access(hfuzz->exe.cmdline[0], X_OK) == -1) { in arch_archInit()
309 PLOG_E("File '%s' doesn't seem to be executable", hfuzz->exe.cmdline[0]); in arch_archInit()
313 TEMP_FAILURE_RETRY(open(hfuzz->exe.cmdline[0], O_RDONLY | O_CLOEXEC))) == -1) { in arch_archInit()
[all …]
/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()

12345678910>>...13