Home
last modified time | relevance | path

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

12

/external/google-breakpad/src/testing/test/
Dgmock_test.cc48 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/
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 …]
/external/python/cpython3/PC/
Dpython_uwp.cpp158 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/
Dparse.c48 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/
Dlauncher_main.cpp54 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/
DJavaWrapper.java111 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/
Dargv_parse.c49 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/
Dmodprobe.c680 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/
Dos2.c48 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/
Dargs.c83 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/
Dfake_python_env_test.cc42 char* new_argv[] = { in TEST() local
48 execv(filename, new_argv); in TEST()
/external/google-benchmark/test/
Doutput_test_helper.cc483 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/
Doutput_test_helper.cc483 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/
Dxla_hlo_profile_test.cc365 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/
Dopt.cpp470 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/
Dargs.c144 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/
Dopt.cpp449 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/
Dcommand_line.cc255 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/
Dtest_cli.py51 def cli_args(*new_argv): argument
55 sys.argv[1:] = [str(arg) for arg in new_argv]
/external/libcap-ng/libcap-ng-0.7/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/external/libxkbcommon/xkbcommon/build-aux/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/external/libnfnetlink/build-aux/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/external/speex/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/external/libnetfilter_conntrack/build-aux/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");
/external/lmfit/build-aux/
Dltmain.sh4974 char **new_argv;
4982 new_argv = XMALLOC (char *, argc + 1);
4990 new_argv[i] = xstrdup ("\"\"");

12