Home
last modified time | relevance | path

Searched refs:new_argv (Results 1 – 25 of 29) sorted by relevance

12

/third_party/googletest/googlemock/test/
Dgmock_test.cc50 void TestInitGoogleMock(const Char* (&argv)[M], const Char* (&new_argv)[N], in TestInitGoogleMock()
59 EXPECT_STREQ(new_argv[i], argv[i]); in TestInitGoogleMock()
69 const char* new_argv[] = {nullptr}; in TEST() local
71 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
77 const char* new_argv[] = {"foo.exe", nullptr}; in TEST() local
79 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST()
85 const char* new_argv[] = {"foo.exe", nullptr}; in TEST() local
87 TestInitGoogleMock(argv, new_argv, "info"); in TEST()
95 const wchar_t* new_argv[] = {L"foo.exe", nullptr}; in TEST() local
97 TestInitGoogleMock(argv, new_argv, "info"); in TEST()
[all …]
/third_party/libuv/src/unix/
Dos390-proctitle.c40 char** new_argv; in uv_setup_args() local
56 new_argv = uv__malloc(size); in uv_setup_args()
57 if (new_argv == NULL) in uv_setup_args()
61 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
65 new_argv[i] = s; in uv_setup_args()
68 new_argv[i] = NULL; in uv_setup_args()
70 args_mem = new_argv; in uv_setup_args()
73 return new_argv; in uv_setup_args()
Dproctitle.c48 char** new_argv; in uv_setup_args() local
68 new_argv = uv__malloc(size); in uv_setup_args()
69 if (new_argv == NULL) in uv_setup_args()
74 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
82 new_argv[i] = s; in uv_setup_args()
85 new_argv[i] = NULL; in uv_setup_args()
89 args_mem = new_argv; in uv_setup_args()
92 return new_argv; in uv_setup_args()
Daix.c874 char** new_argv; in uv_setup_args() local
906 new_argv = uv__malloc(size); in uv_setup_args()
907 if (new_argv == NULL) in uv_setup_args()
909 args_mem = new_argv; in uv_setup_args()
912 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
916 new_argv[i] = s; in uv_setup_args()
919 new_argv[i] = NULL; in uv_setup_args()
921 return new_argv; in uv_setup_args()
/third_party/glib/glib/
Dgspawn-win32.c195 gchar ***new_argv) in protect_argv() argument
202 *new_argv = g_new (gchar *, argc+1); in protect_argv()
216 (*new_argv)[i] = protect_argv_string (argv[i]); in protect_argv()
218 (*new_argv)[argc] = NULL; in protect_argv()
448 const gchar * const *new_argv; in do_spawn_directly() local
455 new_argv = (flags & G_SPAWN_FILE_AND_ARGV_ZERO) ? protected_argv + 1 : protected_argv; in do_spawn_directly()
468 if (!utf8_charv_to_wcharv (new_argv, &wargv, &conv_error_index, &conv_error)) in do_spawn_directly()
554 char **new_argv; in fork_exec() local
627 new_argv = g_new (char *, argc + 1 + ARG_COUNT); in fork_exec()
642 new_argv[0] = protect_argv_string (helper_process); in fork_exec()
[all …]
/third_party/e2fsprogs/lib/ss/
Dparse.c48 register char **argv, **new_argv, *cp; in ss_parse() local
81 new_argv = NEW_ARGV (argv, argc); in ss_parse()
82 if (new_argv == NULL) { in ss_parse()
87 argv = new_argv; in ss_parse()
95 new_argv = NEW_ARGV (argv, argc); in ss_parse()
96 if (new_argv == NULL) { in ss_parse()
101 argv = new_argv; in ss_parse()
/third_party/e2fsprogs/lib/support/
Dargv_parse.c49 char **argv, **new_argv, *buf, ch; in argv_parse() local
67 new_argv = realloc(argv, in argv_parse()
69 if (!new_argv) { in argv_parse()
74 argv = new_argv; in argv_parse()
/third_party/boost/libs/dll/example/tutorial5/
Dload_all.cpp134 std::string new_argv = path1.string(); in main() local
135 std::cout << "\nPlugins path: " << new_argv << ":\n"; in main()
136 argv[1] = &new_argv[0]; in main()
/third_party/mksh/
Dos2.c61 if (!(new_argv = realloc(new_argv, \
65 new_argv[new_argc++] = (x); \
75 const char **old_argv, **new_argv; in response() local
91 new_argv = NULL; in response()
163 *argvp = new_argv; in response()
/third_party/benchmark/test/
Doutput_test_helper.cc495 std::vector<char*> new_argv(argv, argv + argc); in GetFileReporterOutput() local
496 assert(static_cast<decltype(new_argv)::size_type>(argc) == new_argv.size()); in GetFileReporterOutput()
503 new_argv.emplace_back(const_cast<char*>(tmp.c_str())); in GetFileReporterOutput()
505 argc = int(new_argv.size()); in GetFileReporterOutput()
507 benchmark::Initialize(&argc, new_argv.data()); in GetFileReporterOutput()
/third_party/spirv-tools/tools/opt/
Dopt.cpp593 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local
601 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag()
605 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag()
607 delete[] new_argv; in ParseOconfigFlag()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp616 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local
624 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag()
628 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag()
630 delete[] new_argv; in ParseOconfigFlag()
/third_party/skia/third_party/externals/spirv-tools/tools/opt/
Dopt.cpp616 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local
624 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag()
628 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag()
630 delete[] new_argv; in ParseOconfigFlag()
/third_party/openssl/apps/
Dopenssl.c481 char *new_argv[3]; in help_main() local
483 new_argv[0] = opt_rest()[0]; in help_main()
484 new_argv[1] = "--help"; in help_main()
485 new_argv[2] = NULL; in help_main()
486 return do_cmd(prog_init(), 2, new_argv); in help_main()
/third_party/gn/src/base/
Dcommand_line.cc258 StringVector new_argv; in InitFromArgv() local
260 new_argv.push_back(argv[i]); in InitFromArgv()
261 InitFromArgv(new_argv); in InitFromArgv()
/third_party/skia/third_party/externals/microhttpd/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/third_party/eudev/
Dltmain.sh6400 char **new_argv;
6408 new_argv = XMALLOC (char *, argc + 1);
6416 new_argv[i] = xstrdup ("\"\"");
/third_party/gettext/build-aux/
Dltmain.sh6352 char **new_argv;
6360 new_argv = XMALLOC (char *, argc + 1);
6368 new_argv[i] = xstrdup ("\"\"");
/third_party/freetype/builds/unix/
Dltmain.sh6352 char **new_argv;
6360 new_argv = XMALLOC (char *, argc + 1);
6368 new_argv[i] = xstrdup ("\"\"");
/third_party/libevdev/build-aux/
Dltmain.sh6352 char **new_argv;
6360 new_argv = XMALLOC (char *, argc + 1);
6368 new_argv[i] = xstrdup ("\"\"");
/third_party/node/deps/cares/
Dltmain.sh6444 char **new_argv;
6452 new_argv = XMALLOC (char *, argc + 1);
6460 new_argv[i] = xstrdup ("\"\"");
/third_party/mtdev/config-aux/
Dltmain.sh6567 char **new_argv;
6575 new_argv = XMALLOC (char *, argc + 1);
6583 new_argv[i] = xstrdup ("\"\"");
/third_party/e2fsprogs/config/
Dltmain.sh6444 char **new_argv;
6452 new_argv = XMALLOC (char *, argc + 1);
6460 new_argv[i] = xstrdup ("\"\"");
/third_party/libffi/
Dltmain.sh6352 char **new_argv;
6360 new_argv = XMALLOC (char *, argc + 1);
6368 new_argv[i] = xstrdup ("\"\"");
/third_party/skia/third_party/externals/libpng/
Dltmain.sh6352 char **new_argv;
6360 new_argv = XMALLOC (char *, argc + 1);
6368 new_argv[i] = xstrdup ("\"\"");

12