/third_party/googletest/googlemock/test/ |
D | gmock_test.cc | 50 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/ |
D | os390-proctitle.c | 40 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()
|
D | proctitle.c | 48 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()
|
D | aix.c | 874 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/ |
D | gspawn-win32.c | 195 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/ |
D | parse.c | 48 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/ |
D | argv_parse.c | 49 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/ |
D | load_all.cpp | 134 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/ |
D | os2.c | 61 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/ |
D | output_test_helper.cc | 495 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/ |
D | opt.cpp | 593 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/ |
D | opt.cpp | 616 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/ |
D | opt.cpp | 616 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/ |
D | openssl.c | 481 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/ |
D | command_line.cc | 258 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/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/third_party/eudev/ |
D | ltmain.sh | 6400 char **new_argv; 6408 new_argv = XMALLOC (char *, argc + 1); 6416 new_argv[i] = xstrdup ("\"\"");
|
/third_party/gettext/build-aux/ |
D | ltmain.sh | 6352 char **new_argv; 6360 new_argv = XMALLOC (char *, argc + 1); 6368 new_argv[i] = xstrdup ("\"\"");
|
/third_party/freetype/builds/unix/ |
D | ltmain.sh | 6352 char **new_argv; 6360 new_argv = XMALLOC (char *, argc + 1); 6368 new_argv[i] = xstrdup ("\"\"");
|
/third_party/libevdev/build-aux/ |
D | ltmain.sh | 6352 char **new_argv; 6360 new_argv = XMALLOC (char *, argc + 1); 6368 new_argv[i] = xstrdup ("\"\"");
|
/third_party/node/deps/cares/ |
D | ltmain.sh | 6444 char **new_argv; 6452 new_argv = XMALLOC (char *, argc + 1); 6460 new_argv[i] = xstrdup ("\"\"");
|
/third_party/mtdev/config-aux/ |
D | ltmain.sh | 6567 char **new_argv; 6575 new_argv = XMALLOC (char *, argc + 1); 6583 new_argv[i] = xstrdup ("\"\"");
|
/third_party/e2fsprogs/config/ |
D | ltmain.sh | 6444 char **new_argv; 6452 new_argv = XMALLOC (char *, argc + 1); 6460 new_argv[i] = xstrdup ("\"\"");
|
/third_party/libffi/ |
D | ltmain.sh | 6352 char **new_argv; 6360 new_argv = XMALLOC (char *, argc + 1); 6368 new_argv[i] = xstrdup ("\"\"");
|
/third_party/skia/third_party/externals/libpng/ |
D | ltmain.sh | 6352 char **new_argv; 6360 new_argv = XMALLOC (char *, argc + 1); 6368 new_argv[i] = xstrdup ("\"\"");
|