/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/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/openssl/apps/ |
D | openssl.c | 338 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/ |
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/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/spirv-tools/tools/opt/ |
D | opt.cpp | 628 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/ |
D | passthrough.c | 554 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/ |
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/libabigail/ |
D | ltmain.sh | 4954 char **new_argv; 4962 new_argv = XMALLOC (char *, argc + 1); 4970 new_argv[i] = xstrdup ("\"\"");
|
/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/freetype/builds/unix/ |
D | ltmain.sh | 6609 char **new_argv; 6617 new_argv = XMALLOC (char *, argc + 1); 6625 new_argv[i] = xstrdup ("\"\"");
|
/third_party/libevdev/build-aux/ |
D | ltmain.sh | 6345 char **new_argv; 6353 new_argv = XMALLOC (char *, argc + 1); 6361 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/mtdev/config-aux/ |
D | ltmain.sh | 6567 char **new_argv; 6575 new_argv = XMALLOC (char *, argc + 1); 6583 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 ("\"\"");
|
/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/sqlite/src/ |
D | shell.c | 23982 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/ |
D | 0003-ohos-1115.patch | 95877 + 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;
|