/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 88 let mut path = env::temp_dir(); in test_mkstemp() 104 mkstemp(&env::temp_dir()).expect_err("assertion failed"); in test_mkstemp_directory() 124 mkfifo(&env::temp_dir(), Mode::S_IRUSR).expect_err("assertion failed"); in test_mkfifo_directory() 183 mkfifoat(None, &env::temp_dir(), Mode::S_IRUSR) in test_mkfifoat_directory_none()
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | util.h | 39 const char * temp_dir();
|
H A D | foomaticrip.c | 620 snprintf(tmpfilename, PATH_MAX, "%s/foomatic-XXXXXX", temp_dir()); in print_file() 713 snprintf(tmpfilename, PATH_MAX, "%s/foomatic-XXXXXX", temp_dir()); in print_file()
|
H A D | util.c | 37 const char * temp_dir() in temp_dir() function
|
/third_party/python/Lib/test/test_tools/ |
H A D | test_pindent.py | 38 with os_helper.temp_dir() as directory:
|
/third_party/python/Lib/test/ |
H A D | test_tempfile.py | 1543 temp_dir = self.do_create( 1545 temp_path = pathlib.Path(temp_dir.name) 1550 temp_dir.cleanup() 1559 temp_dir.cleanup() 1699 temp_dir = self.do_create( 1701 temp_path = pathlib.Path(temp_dir.name) 1706 del temp_dir 1757 temp_dir = tempfile.TemporaryDirectory( 1759 sys.stdout.buffer.write(temp_dir.name.encode()) 1761 temp_dir_2 = pathlib.Path(temp_dir [all...] |
H A D | test_argparse.py | 83 self.temp_dir = tempfile.mkdtemp() 85 os.chdir(self.temp_dir) 89 for root, dirs, files in os.walk(self.temp_dir, topdown=False): 91 os.chmod(os.path.join(self.temp_dir, name), stat.S_IWRITE) 92 shutil.rmtree(self.temp_dir, True) 95 file_path = os.path.join(self.temp_dir, filename) 1682 with open(os.path.join(self.temp_dir, file_name), 1704 file = open(os.path.join(self.temp_dir, 'good'), 'w', encoding="utf-8") 1723 with open(os.path.join(self.temp_dir, file_name),
|
H A D | test_posix.py | 1918 temp_dir = tempfile.mkdtemp() 1919 self.addCleanup(os_helper.rmtree, temp_dir) 1922 program_fullpath = os.path.join(temp_dir, program) 1926 path = os.pathsep.join((temp_dir, os.environ['PATH'])) 1928 path = temp_dir # PATH is not set 2047 with os_helper.temp_dir() as base_path:
|
H A D | test_mimetypes.py | 75 with os_helper.temp_dir() as directory:
|
H A D | test_dbm_dumb.py | 271 with os_helper.temp_dir() as dir:
|
H A D | test_shutil.py | 1803 self.temp_dir = self.mkdtemp(prefix="Tmp") 1806 self.temp_file = tempfile.NamedTemporaryFile(dir=self.temp_dir, 1824 rv = shutil.which(self.temp_file.name, path=self.temp_dir) 1833 rv = shutil.which(relpath, path=self.temp_dir) 1954 temp_filexyz = tempfile.NamedTemporaryFile(dir=self.temp_dir, 1965 rv = shutil.which(program, path=self.temp_dir) 1972 temp_filexyz = tempfile.NamedTemporaryFile(dir=self.temp_dir, 1982 rv = shutil.which(program, path=self.temp_dir)
|
H A D | test_gc.py | 6 from test.support.os_helper import temp_dir, TESTFN, unlink namespace 796 with temp_dir() as script_dir:
|
H A D | test_zipfile.py | 30 TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count 1544 with temp_dir() as extdir: 1548 with temp_dir() as extdir: 1579 with temp_dir() as extdir: 1583 with temp_dir() as extdir: 3024 with temp_dir() as extdir: 3172 tmpdir = pathlib.Path(self.fixtures.enter_context(temp_dir()))
|
H A D | test_tarfile.py | 696 with os_helper.temp_dir(DIR), \ 707 with os_helper.temp_dir(DIR), \ 3067 with os_helper.temp_dir(DIR): 3345 with os_helper.temp_dir(self.outerdir):
|
H A D | test_clinic.py | 853 with os_helper.temp_dir() as tmp_dir:
|
H A D | test_ntpath.py | 839 with os_helper.temp_dir() as d:
|
H A D | test_urllib.py | 1592 with os_helper.temp_dir() as tmpdir:
|
H A D | test__xxsubinterpreters.py | 1063 with support.temp_dir() as dirname:
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_dbapi.py | 39 from test.support.os_helper import TESTFN, TESTFN_UNDECODABLE, unlink, temp_dir, FakePath namespace 315 with temp_dir() as db: 569 with temp_dir() as db:
|
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 28 TESTFN, rmtree, temp_umask, TESTFN_UNENCODABLE, temp_dir) 55 with temp_dir() as tempdir: 496 with os_helper.temp_dir() as tmp:
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest.cc | 6144 const char* temp_dir = internal::posix::GetEnv("TEMP"); 6145 if (temp_dir == nullptr || temp_dir[0] == '\0') 6147 else if (temp_dir[strlen(temp_dir) - 1] == '\\') 6148 return temp_dir; 6150 return std::string(temp_dir) + "\\";
|
/third_party/node/tools/ |
H A D | test.py | 1721 tempdir = os.environ.get('NODE_TEST_DIR') or options.temp_dir 1728 print("Could not create the temporary directory", options.temp_dir)
|