Home
last modified time | relevance | path

Searched refs:argv_copy (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dfrozenmain.c31 wchar_t **argv_copy = NULL; in Py_FrozenMain() local
36 argv_copy = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()
38 if (!argv_copy || !argv_copy2) { in Py_FrozenMain()
65 argv_copy[i] = Py_DecodeLocale(argv[i], NULL); in Py_FrozenMain()
66 argv_copy2[i] = argv_copy[i]; in Py_FrozenMain()
67 if (!argv_copy[i]) { in Py_FrozenMain()
82 Py_SetProgramName(argv_copy[0]); in Py_FrozenMain()
92 PySys_SetArgv(argc, argv_copy); in Py_FrozenMain()
115 PyMem_RawFree(argv_copy); in Py_FrozenMain()
/external/python/cpython3/Lib/distutils/tests/
Dtest_core.py87 argv_copy = sys.argv.copy()
90 self.assertEqual(sys.argv, argv_copy)