/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/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 | 686 char **new_argv, *str_start, *str_end, *str, *s, *quote; in prepend_options_from_env() local 699 new_argv = malloc(sizeof(char *) * (argc + space_count + 3 + envlen)); in prepend_options_from_env() 700 if (new_argv == NULL) in prepend_options_from_env() 703 new_argv[0] = orig_argv[0]; in prepend_options_from_env() 704 str_start = str = (char *) (new_argv + argc + space_count + 3); in prepend_options_from_env() 713 new_argv[i] = str; in prepend_options_from_env() 722 new_argv[i] = str + 1; in prepend_options_from_env() 741 new_argv[i] = str; in prepend_options_from_env() 745 memcpy(new_argv + i, orig_argv + 1, sizeof(char *) * (argc - 1)); in prepend_options_from_env() 746 new_argv[i + argc] = NULL; in prepend_options_from_env() [all …]
|
/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/mksh/src/ |
D | os2.c | 49 if (!(new_argv = realloc(new_argv, \ 53 new_argv[new_argc++] = (x); \ 63 const char **old_argv, **new_argv; in response() local 79 new_argv = NULL; in response() 151 *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/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() 381 return {argc + 2, new_argv}; in AddXlaHloProfileFlag()
|
/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/llvm-project/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/google-benchmark/test/ |
D | output_test_helper.cc | 498 std::vector<char*> new_argv(argv, argv + argc); in GetFileReporterOutput() local 499 assert(static_cast<decltype(new_argv)::size_type>(argc) == new_argv.size()); in GetFileReporterOutput() 506 new_argv.emplace_back(const_cast<char*>(tmp.c_str())); in GetFileReporterOutput() 508 argc = int(new_argv.size()); in GetFileReporterOutput() 510 benchmark::Initialize(&argc, new_argv.data()); in GetFileReporterOutput()
|
/external/libaom/libaom/common/ |
D | args.c | 194 char **new_argv = malloc((argc + 1) * sizeof(*argv)); in argv_dup() local 196 memcpy(new_argv, argv, argc * sizeof(*argv)); in argv_dup() 197 new_argv[argc] = NULL; in argv_dup() 198 return new_argv; in argv_dup()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/ |
D | opt.cpp | 589 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local 597 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag() 601 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag() 603 delete[] new_argv; in ParseOconfigFlag()
|
/external/deqp-deps/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()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/opt/ |
D | opt.cpp | 599 const char** new_argv = new const char*[flags.size()]; in ParseOconfigFlag() local 607 new_argv[i] = flags[i].c_str(); in ParseOconfigFlag() 611 ParseFlags(static_cast<int>(flags.size()), new_argv, optimizer, in_file, in ParseOconfigFlag() 613 delete[] new_argv; 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 | 41 def cli_args(*new_argv): argument 45 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/lmfit/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/llvm-project/polly/lib/External/ppcg/ |
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/libexif/ |
D | ltmain.sh | 4971 char **new_argv; 4979 new_argv = XMALLOC (char *, argc + 1); 4987 new_argv[i] = xstrdup ("\"\"");
|