Home
last modified time | relevance | path

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

/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/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/openssl/apps/
Dopenssl.c338 char *new_argv[3]; in help_main() local
355 new_argv[0] = opt_rest()[0]; in help_main()
356 new_argv[1] = "--help"; in help_main()
357 new_argv[2] = NULL; in help_main()
358 return do_cmd(prog_init(), 2, new_argv); in help_main()
/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/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/spirv-tools/tools/opt/
Dopt.cpp628 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local
636 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag()
640 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag()
642 delete[] new_argv; in ParseOconfigFlag()
/third_party/libfuse/example/
Dpassthrough.c554 char *new_argv[MAX_ARGS]; in main() local
562 new_argv[new_argc++] = argv[i]; in main()
565 return fuse_main(new_argc, new_argv, &xmp_oper, NULL); in 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/libabigail/
Dltmain.sh4954 char **new_argv;
4962 new_argv = XMALLOC (char *, argc + 1);
4970 new_argv[i] = xstrdup ("\"\"");
/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/freetype/builds/unix/
Dltmain.sh6609 char **new_argv;
6617 new_argv = XMALLOC (char *, argc + 1);
6625 new_argv[i] = xstrdup ("\"\"");
/third_party/libevdev/build-aux/
Dltmain.sh6345 char **new_argv;
6353 new_argv = XMALLOC (char *, argc + 1);
6361 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/mtdev/config-aux/
Dltmain.sh6567 char **new_argv;
6575 new_argv = XMALLOC (char *, argc + 1);
6583 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 ("\"\"");
/third_party/node/deps/cares/
Dltmain.sh6444 char **new_argv;
6452 new_argv = XMALLOC (char *, argc + 1);
6460 new_argv[i] = xstrdup ("\"\"");
/third_party/sqlite/src/
Dshell.c23982 char *new_argv[2], *new_colv[2]; in do_meta_command() local
23983 new_argv[0] = sqlite3_mprintf( in do_meta_command()
23991 shell_check_oom(new_argv[0]); in do_meta_command()
23992 new_argv[1] = 0; in do_meta_command()
23995 callback(&data, 1, new_argv, new_colv); in do_meta_command()
23996 sqlite3_free(new_argv[0]); in do_meta_command()
/third_party/chromium/patch/
D0003-ohos-1115.patch95877 + shell_check_oom(new_argv[0]);
95878 new_argv[1] = 0;
134292 + shell_check_oom(new_argv[0]);
134293 new_argv[1] = 0;
181735 + shell_check_oom(new_argv[0]);
181736 new_argv[1] = 0;