/external/google-breakpad/src/testing/test/ |
D | gmock_test.cc | 48 void TestInitGoogleMock(const Char* (&argv)[M], const Char* (&new_argv)[N], in TestInitGoogleMock() 57 EXPECT_STREQ(new_argv[i], argv[i]); in TestInitGoogleMock() 69 const char* new_argv[] = { in TEST() local 73 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST() 82 const char* new_argv[] = { in TEST() local 87 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST() 97 const char* new_argv[] = { in TEST() local 102 TestInitGoogleMock(argv, new_argv, "info"); in TEST() 112 const char* new_argv[] = { in TEST() local 118 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); in TEST() [all …]
|
/external/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 …]
|
/external/python/cpython3/PC/ |
D | python_uwp.cpp | 158 const wchar_t **new_argv; in wmain() local 163 new_argv = (const wchar_t**)malloc(sizeof(wchar_t *) * (argc + 2)); in wmain() 164 if (new_argv == NULL) { in wmain() 171 new_argv[0] = get_argv0(exeName ? exeName : argv[0]); in wmain() 173 new_argv[i] = argv[i]; in wmain() 195 new_argv[i + 2] = new_argv[i]; in wmain() 197 new_argv[1] = L"-m"; in wmain() 198 new_argv[2] = moduleName; in wmain() 205 _Py_SetProgramFullPath(new_argv[0]); in wmain() 207 int result = Py_Main(new_argc, (wchar_t **)new_argv); in wmain() [all …]
|
/external/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()
|
/external/python/cpython2/Launcher/ |
D | launcher_main.cpp | 54 char **new_argv = reinterpret_cast<char**>(calloc(argc, sizeof(*argv))); in main() local 59 new_argv[0] = argv[0]; in main() 60 new_argv[1] = strdup(executable_path.c_str()); in main() 62 new_argv[i+1] = argv[i]; in main() 64 argv = new_argv; in main()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | JavaWrapper.java | 111 final String[] new_argv = new String[argv.length - 1]; in main() local 112 System.arraycopy(argv, 1, new_argv, 0, new_argv.length); in main() 114 wrapper.runMain(class_name, new_argv); in main()
|
/external/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()
|
/external/kmod/tools/ |
D | modprobe.c | 680 char **new_argv, *str_start, *str_end, *str, *s, *quote; in prepend_options_from_env() local 693 new_argv = malloc(sizeof(char *) * (argc + space_count + 3 + envlen)); in prepend_options_from_env() 694 if (new_argv == NULL) in prepend_options_from_env() 697 new_argv[0] = orig_argv[0]; in prepend_options_from_env() 698 str_start = str = (char *) (new_argv + argc + space_count + 3); in prepend_options_from_env() 707 new_argv[i] = str; in prepend_options_from_env() 716 new_argv[i] = str + 1; in prepend_options_from_env() 735 new_argv[i] = str; in prepend_options_from_env() 739 memcpy(new_argv + i, orig_argv + 1, sizeof(char *) * (argc - 1)); in prepend_options_from_env() 740 new_argv[i + argc] = NULL; in prepend_options_from_env() [all …]
|
/external/mksh/src/ |
D | os2.c | 48 if (!(new_argv = realloc(new_argv, \ 52 new_argv[new_argc++] = (x); \ 62 const char **old_argv, **new_argv; in response() local 78 new_argv = NULL; in response() 150 *argvp = new_argv; in response()
|
/external/libvpx/libvpx/ |
D | args.c | 83 char **new_argv = malloc((argc + 1) * sizeof(*argv)); in argv_dup() local 85 memcpy(new_argv, argv, argc * sizeof(*argv)); in argv_dup() 86 new_argv[argc] = NULL; in argv_dup() 87 return new_argv; in argv_dup()
|
/external/tensorflow/tensorflow/core/platform/ |
D | fake_python_env_test.cc | 42 char* new_argv[] = { in TEST() local 48 execv(filename, new_argv); in TEST()
|
/external/google-benchmark/test/ |
D | output_test_helper.cc | 483 std::vector<char*> new_argv(argv, argv + argc); in GetFileReporterOutput() local 484 assert(static_cast<decltype(new_argv)::size_type>(argc) == new_argv.size()); in GetFileReporterOutput() 491 new_argv.emplace_back(const_cast<char*>(tmp.c_str())); in GetFileReporterOutput() 493 argc = int(new_argv.size()); in GetFileReporterOutput() 495 benchmark::Initialize(&argc, new_argv.data()); in GetFileReporterOutput()
|
/external/libcxx/utils/google-benchmark/test/ |
D | output_test_helper.cc | 483 std::vector<char*> new_argv(argv, argv + argc); in GetFileReporterOutput() local 484 assert(static_cast<decltype(new_argv)::size_type>(argc) == new_argv.size()); in GetFileReporterOutput() 491 new_argv.emplace_back(const_cast<char*>(tmp.c_str())); in GetFileReporterOutput() 493 argc = int(new_argv.size()); in GetFileReporterOutput() 495 benchmark::Initialize(&argc, new_argv.data()); in GetFileReporterOutput()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | xla_hlo_profile_test.cc | 365 char** new_argv = new char*[argc + 2]; in AddXlaHloProfileFlag() local 367 new_argv[i] = argv[i]; in AddXlaHloProfileFlag() 372 new_argv[argc] = strdup("--xla_hlo_profile"); in AddXlaHloProfileFlag() 378 new_argv[argc + 1] = strdup( in AddXlaHloProfileFlag() 380 return {argc + 2, new_argv}; in AddXlaHloProfileFlag()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/ |
D | opt.cpp | 470 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local 478 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag() 482 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag() 484 delete[] new_argv; in ParseOconfigFlag()
|
/external/libaom/libaom/common/ |
D | args.c | 144 char **new_argv = malloc((argc + 1) * sizeof(*argv)); in argv_dup() local 146 memcpy(new_argv, argv, argc * sizeof(*argv)); in argv_dup() 147 new_argv[argc] = NULL; in argv_dup() 148 return new_argv; in argv_dup()
|
/external/deqp-deps/SPIRV-Tools/tools/opt/ |
D | opt.cpp | 449 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local 457 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag() 460 return ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in ParseOconfigFlag()
|
/external/libchrome/base/ |
D | command_line.cc | 255 StringVector new_argv; in InitFromArgv() local 257 new_argv.push_back(argv[i]); in InitFromArgv() 258 InitFromArgv(new_argv); in InitFromArgv()
|
/external/python/rsa/tests/ |
D | test_cli.py | 51 def cli_args(*new_argv): argument 55 sys.argv[1:] = [str(arg) for arg in new_argv]
|
/external/libcap-ng/libcap-ng-0.7/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/external/libxkbcommon/xkbcommon/build-aux/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/external/libnfnetlink/build-aux/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/external/speex/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/external/libnetfilter_conntrack/build-aux/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|
/external/lmfit/build-aux/ |
D | ltmain.sh | 4974 char **new_argv; 4982 new_argv = XMALLOC (char *, argc + 1); 4990 new_argv[i] = xstrdup ("\"\"");
|