/third_party/node/deps/googletest/src/ |
H A D | gtest_main.cc | 51 // QuRT: program entry point is main, but argc/argv are unusable. 59 // Normal platforms: program entry point is main, argc/argv are initialized. 61 GTEST_API_ int main(int argc, char **argv) { in main() argument 63 testing::InitGoogleTest(&argc, argv); in main()
|
/third_party/libinput/test/ |
H A D | test-builddir-lookup.c | 29 main(int argc, char **argv) in main() argument 35 mode = argv[1]; in main()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | test-lexing.c | 37 int main(int argc, char **argv) in main() argument 43 sparse_initialize(argc, argv, &filelist); in main()
|
H A D | test-show-type.c | 16 int main(int argc, char **argv) in main() argument 21 sparse_initialize(argc, argv, &filelist); in main()
|
/third_party/mesa3d/src/tool/pps/ |
H A D | pps_producer.cc | 14 int main(int argc, const char **argv) in main() argument 24 (argc > 1) ? Driver::find_driver_name(argv[1]) : Driver::default_driver_name(); in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | tls_init_dlopen.c | 5 int main(int argc, char *argv[]) in main() argument 12 t_pathrel(buf, sizeof buf, argv[0], "libtls_init_dso.so"); in main()
|
/third_party/python/Lib/ensurepip/ |
H A D | _uninstall.py | 8 def _main(argv=None): 25 args = parser.parse_args(argv)
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-baseline.c | 49 main (int argc, char **argv) in main() argument 51 hb_test_init (&argc, &argv); in main()
|
H A D | test-ot-alternates.c | 48 main (int argc, char **argv) in main() argument 50 hb_test_init (&argc, &argv); in main()
|
H A D | test-subset-os2.c | 52 main (int argc, char **argv) in main() argument 54 hb_test_init (&argc, &argv); in main()
|
/third_party/skia/tools/mdbviz/ |
H A D | main.cpp | 12 int main(int argc, char *argv[]) in main() argument 14 QApplication app(argc, argv); in main()
|
/third_party/python/Lib/test/ |
H A D | tf_inherit_check.py | 1 # Helper script for test_tempfile.py. argv[2] is the number of a file 10 verbose = (sys.argv[1] == 'v') 12 fd = int(sys.argv[2])
|
/third_party/selinux/libselinux/utils/ |
H A D | policyvers.c | 8 int main(int argc __attribute__ ((unused)), char **argv) in main() argument 14 fprintf(stderr, "%s: security_policyvers() failed: %s\n", argv[0], strerror(errno)); in main()
|
/third_party/musl/porting/liteos_a/user/ldso/ |
H A D | dynlink.c | 1756 char **argv = (void *)(sp+1); in __dls3() local 1757 char **argv_orig = argv; in __dls3() 1758 char **envp = argv+argc+1; in __dls3() 1806 app.name = argv[0]; in __dls3() 1808 if (argv[0]) in __dls3() 1809 app.name = argv[0]; in __dls3() 1816 char *ldname = argv[0]; in __dls3() 1819 argv++; in __dls3() 1820 while (argv[0] && argv[ in __dls3() [all...] |
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A D | dynlink.c | 1755 char **argv = (void *)(sp+1); in __dls3() local 1756 char **argv_orig = argv; in __dls3() 1757 char **envp = argv+argc+1; in __dls3() 1805 app.name = argv[0]; in __dls3() 1807 if (argv[0]) in __dls3() 1808 app.name = argv[0]; in __dls3() 1815 char *ldname = argv[0]; in __dls3() 1818 argv++; in __dls3() 1819 while (argv[0] && argv[ in __dls3() [all...] |
/third_party/mksh/ |
H A D | misc.c | 375 parse_args(const char **argv, in parse_args() argument 403 while ((optc = ksh_getopt(argv, &go, opts)) != -1) { in parse_args() 514 if (!(go.info & GI_MINUSMINUS) && argv[go.optind] && in parse_args() 515 ctype(argv[go.optind][0], C_MINUS | C_PLUS) && in parse_args() 516 argv[go.optind][1] == '\0') { in parse_args() 518 if (argv[go.optind][0] == '-') { in parse_args() 528 argv[go.optind]); in parse_args() 541 for (i = go.optind; argv[i]; i++) in parse_args() 543 qsort(&argv[go.optind], i - go.optind, sizeof(void *), in parse_args() 548 argv in parse_args() 1290 ksh_getopt(const char **argv, Getopt *go, const char *optionsp) ksh_getopt() argument [all...] |
H A D | funcs.c | 1262 wp = e->loc->next->argv; in c_getopts() 1264 *--wp = e->loc->next->argv[0]; in c_getopts() 1395 l->argv[n] = l->argv[0]; in c_shift() 1396 l->argv += n; in c_shift() 1540 const char *file, *cp, **argv; in c_dot() local 1561 argv = wp + builtin_opt.optind; in c_dot() 1563 argv[0] = e->loc->argv[0]; in c_dot() 1564 for (argc = 0; argv[arg in c_dot() 2517 const char **argv; c_mknod() local [all...] |
/third_party/node/src/ |
H A D | node_http_parser.cc | 382 Local<Value> argv[A_MAX]; in on_headers_complete() local 391 for (size_t i = 0; i < arraysize(argv); i++) in on_headers_complete() 392 argv[i] = undefined; in on_headers_complete() 399 argv[A_HEADERS] = CreateHeaders(); in on_headers_complete() 401 argv[A_URL] = url_.ToString(env()); in on_headers_complete() 409 argv[A_METHOD] = in on_headers_complete() 415 argv[A_STATUS_CODE] = in on_headers_complete() 417 argv[A_STATUS_MESSAGE] = status_message_.ToString(env()); in on_headers_complete() 421 argv[A_VERSION_MAJOR] = Integer::New(env()->isolate(), parser_.http_major); in on_headers_complete() 422 argv[A_VERSION_MINO in on_headers_complete() [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_hp.cc | 1162 static cxxopts::ParseResult parse_wrapper(cxxopts::Options& parser, int& argc, char**& argv) { in parse_wrapper() argument 1164 return parser.parse(argc, argv); in parse_wrapper() 1166 std::cout << argv[0] << ": " << exc.what() << std::endl; in parse_wrapper() 1167 print_usage(argv[0]); in parse_wrapper() 1200 static cxxopts::ParseResult parse_options(int argc, char **argv) { in parse_options() argument 1201 cxxopts::Options opt_parser(argv[0]); in parse_options() 1221 auto options = parse_wrapper(opt_parser, argc, argv); in parse_options() 1224 print_usage(argv[0]); in parse_options() 1233 std::cout << argv[0] << ": invalid number of arguments\n"; in parse_options() local 1234 print_usage(argv[ in parse_options() 1296 main(int argc, char *argv[]) main() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 100 static void print_counters(struct timespec *ts, int argc, const char **argv); 689 static int __run_perf_stat(int argc, const char **argv, int run_idx) in __run_perf_stat() argument 707 if (evlist__prepare_workload(evsel_list, &target, argv, is_pipe, workload_exec_failed_signal) < 0) { in __run_perf_stat() 902 psignal(WTERMSIG(status), argv[0]); in __run_perf_stat() local 947 static int run_perf_stat(int argc, const char **argv, int run_idx) in run_perf_stat() argument 960 ret = __run_perf_stat(argc, argv, run_idx); in run_perf_stat() 973 static void print_counters(struct timespec *ts, int argc, const char **argv) in print_counters() argument 981 evlist__print_counters(evsel_list, &stat_config, &target, ts, argc, argv); in print_counters() 2230 static int __cmd_record(int argc, const char **argv) in __cmd_record() argument 2235 argc = parse_options(argc, argv, stat_option in __cmd_record() 2265 const char **argv = session->header.env.cmdline_argv; process_stat_round_event() local 2391 __cmd_report(int argc, const char **argv) __cmd_report() argument 2475 cmd_stat(int argc, const char **argv) cmd_stat() argument [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe.c | 157 void trace_probe_log_init(const char *subsystem, int argc, const char **argv) in trace_probe_log_init() argument 161 trace_probe_log.argv = argv; in trace_probe_log_init() 180 if (!trace_probe_log.argv) in __trace_probe_log_err() 187 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err() 203 /* And make a command string from argv array */ in __trace_probe_log_err() 206 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err() 207 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err() 1094 static int traceprobe_parse_probe_arg_body(const char *argv, ssize_t *size, in traceprobe_parse_probe_arg_body() argument 1103 arg = kstrdup(argv, GFP_KERNE in traceprobe_parse_probe_arg_body() 1432 argv_has_var_arg(int argc, const char *argv[], int *args_idx, struct traceprobe_parse_context *ctx) argv_has_var_arg() argument 1492 traceprobe_expand_meta_args(int argc, const char *argv[], int *new_argc, char *buf, int bufsize, struct traceprobe_parse_context *ctx) traceprobe_expand_meta_args() argument 1924 trace_probe_match_command_args(struct trace_probe *tp, int argc, const char **argv) trace_probe_match_command_args() argument 1945 char **argv; trace_probe_create() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-lock.c | 907 static int __cmd_record(int argc, const char **argv) in __cmd_record() argument 941 rec_argv[i] = argv[j]; in __cmd_record() 950 int cmd_lock(int argc, const char **argv) in cmd_lock() argument 995 argc = parse_options_subcommand(argc, argv, lock_options, lock_subcommands, in cmd_lock() 1000 if (!strncmp(argv[0], "rec", 3)) { in cmd_lock() 1001 return __cmd_record(argc, argv); in cmd_lock() 1002 } else if (!strncmp(argv[0], "report", 6)) { in cmd_lock() 1005 argc = parse_options(argc, argv, in cmd_lock() 1011 } else if (!strcmp(argv[0], "script")) { in cmd_lock() 1013 return cmd_script(argc, argv); in cmd_lock() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsusermap.c | 1021 static boolean checkoptions(int argc, char *argv[] __attribute__((unused)), in checkoptions() 1034 pvol = argv[xarg]; in checkoptions() 1076 static boolean process(int argc, char *argv[]) in process() argument 1086 if (open_volume(argv[xarg])) { in process() 1087 printf("\n* Scanning \"%s\" (two levels)\n",argv[xarg]); in process() 1089 close_volume(argv[xarg]); in process() 1094 if (!outputmap(argv[targ],MAPDIR)) { in process() 1096 if (outputmap(argv[targ],(const char*)NULL)) { in process() 1109 int main(int argc, char *argv[]) in main() argument 1117 if (checkoptions(argc, argv, silen in main() [all...] |
/kernel/linux/linux-5.10/arch/mips/dec/prom/ |
H A D | cmdline.c | 18 void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) in prom_init_cmdline() argument 31 arg = (void *)(long)(argv[i]); in prom_init_cmdline()
|
/kernel/linux/linux-6.6/arch/mips/dec/prom/ |
H A D | cmdline.c | 18 void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) in prom_init_cmdline() argument 31 arg = (void *)(long)(argv[i]); in prom_init_cmdline()
|