/external/libbrillo/policy/tests/ |
policy_util_unittest.cc | 20 base::ScopedTempDir temp_dir; local 21 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 23 base::FilePath invalid_policy_data_path(temp_dir.GetPath().Append("policy")); 24 base::FilePath inexistent_file(temp_dir.GetPath().Append("policy.1")); 25 base::FilePath good_policy_data_path(temp_dir.GetPath().Append("policy.2"));
|
resilient_policy_util_unittest.cc | 31 base::ScopedTempDir temp_dir; local 32 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 34 base::FilePath file0(temp_dir.GetPath().Append("policy")); 35 base::FilePath file1(temp_dir.GetPath().Append("policy.12")); 36 base::FilePath file2(temp_dir.GetPath().Append("policy.2")); 37 base::FilePath file3(temp_dir.GetPath().Append("policy.30")); 38 base::FilePath invalid(temp_dir.GetPath().Append("policy_4")); 46 temp_dir.GetPath().Append(kDefaultResilientPolicyFilePath));
|
/external/libchrome/mojo/public/cpp/base/ |
file_unittest.cc | 15 base::ScopedTempDir temp_dir; local 16 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 19 temp_dir.GetPath().AppendASCII("test_file.txt"), 40 base::ScopedTempDir temp_dir; local 41 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 42 base::FilePath path = temp_dir.GetPath().AppendASCII("async_test_file.txt"); 59 base::ScopedTempDir temp_dir; local 60 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 63 temp_dir.GetPath().AppendASCII("test_file.txt"),
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
script_helper.py | 92 def temp_dir():
function
|
/external/fonttools/Tests/varLib/ |
interpolatable_test.py | 54 self.temp_dir() 59 def temp_dir(self): member in class:InterpolatableTest 63 def compile_font(self, path, suffix, temp_dir): 65 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 79 self.temp_dir() 92 self.temp_dir()
|
mutator_test.py | 51 self.temp_dir() 56 def temp_dir(self): member in class:MutatorTest 83 def compile_font(self, path, suffix, temp_dir): 85 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 101 self.temp_dir() 125 self.temp_dir() 147 self.temp_dir()
|
interpolate_layout_test.py | 53 self.temp_dir() 58 def temp_dir(self): member in class:InterpolateLayoutTest 91 def compile_font(self, path, suffix, temp_dir, features=None): 93 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 116 self.temp_dir() 140 self.temp_dir() 180 self.temp_dir() 209 self.temp_dir() 243 self.temp_dir() 278 self.temp_dir() [all...] |
varLib_test.py | 62 self.temp_dir() 67 def temp_dir(self): member in class:BuildTest 100 def compile_font(self, path, suffix, temp_dir): 102 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 115 self.temp_dir() 254 self.temp_dir() 298 self.temp_dir() 322 self.temp_dir()
|
/external/google-breakpad/src/common/linux/ |
memory_mapped_file_unittest.cc | 85 AutoTempDir temp_dir; local 86 string test_file = temp_dir.path() + "/empty_file"; 107 AutoTempDir temp_dir; local 108 string test_file = temp_dir.path() + "/test_file"; 141 AutoTempDir temp_dir; local 142 string test_file1 = temp_dir.path() + "/test_file1"; 143 string test_file2 = temp_dir.path() + "/test_file2"; 186 AutoTempDir temp_dir; local 187 string test_file1 = temp_dir.path() + "/test_file1";
|
elf_core_dump_unittest.cc | 66 AutoTempDir temp_dir; local 67 string core_path = temp_dir.path() + "/core";
|
file_id_unittest.cc | 80 AutoTempDir temp_dir; local 81 string templ = temp_dir.path() + "/file-id-unittest";
|
/external/google-breakpad/src/common/tests/ |
auto_tempdir.h | 55 char temp_dir[] = TEMPDIR "/breakpad.XXXXXX"; local 56 EXPECT_TRUE(mkdtemp(temp_dir) != NULL); 57 path_.assign(temp_dir);
|
/external/libchrome/mojo/core/ |
platform_handle_dispatcher_unittest.cc | 24 base::ScopedTempDir temp_dir; local 25 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 31 CreateAndOpenTemporaryFileInDir(temp_dir.GetPath(), &unused)); 66 base::ScopedTempDir temp_dir; local 67 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 73 CreateAndOpenTemporaryFileInDir(temp_dir.GetPath(), &unused));
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
fchdir01.c | 73 char *temp_dir; variable 92 if ((temp_dir = (getcwd(temp_dir, 0))) == NULL) 132 free(temp_dir); 133 temp_dir = NULL;
|
/external/perfetto/src/base/ |
temp_file.cc | 78 TempDir temp_dir; local 79 temp_dir.path_.assign(kSysTmpPath); 80 temp_dir.path_.append("/perfetto-XXXXXXXX"); 81 PERFETTO_CHECK(mkdtemp(&temp_dir.path_[0])); 82 return temp_dir;
|
/external/python/cpython2/Lib/test/support/ |
script_helper.py | 98 def temp_dir(): function
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer_unittest.cc | 55 AutoTempDir temp_dir; local 56 string stderr_file = temp_dir.path() + "/stderr.log";
|
/external/vboot_reference/cgpt/ |
cgpt_wrapper.c | 75 char temp_dir[] = "/tmp/cgpt_wrapper.XXXXXX"; local 76 if (ReadNorFlash(temp_dir) != 0) { 80 if (snprintf(rw_gpt_path, sizeof(rw_gpt_path), "%s/rw_gpt", temp_dir) < 0) { 131 ret = WriteNorFlash(temp_dir); 140 RemoveDir(temp_dir);
|
/external/boringssl/src/util/bot/go/ |
bootstrap.py | 157 def temp_dir(path): function 168 with temp_dir(toolset_root) as tmp:
|
/external/fonttools/Lib/fontTools/misc/ |
testTools.py | 178 def temp_dir(self): member in class:DataFilesHandler 183 self.temp_dir()
|
/external/libchrome/base/files/ |
file_enumerator_unittest.cc | 63 ScopedTempDir temp_dir; local 64 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 68 RunEnumerator(temp_dir.GetPath(), true, 76 ScopedTempDir temp_dir; local 77 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 79 const FilePath& path = temp_dir.GetPath(); 85 temp_dir.GetPath(), true, FileEnumerator::FILES, kEmptyPattern, policy); 91 ScopedTempDir temp_dir; local 92 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 94 const FilePath& path = temp_dir.GetPath() 105 ScopedTempDir temp_dir; local 124 ScopedTempDir temp_dir; local 153 ScopedTempDir temp_dir; local 169 ScopedTempDir temp_dir; local 185 ScopedTempDir temp_dir; local 207 ScopedTempDir temp_dir; local 234 ScopedTempDir temp_dir; local 254 ScopedTempDir temp_dir; local 275 ScopedTempDir temp_dir; local [all...] |
file_unittest.cc | 22 base::ScopedTempDir temp_dir; local 23 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 24 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file_1"); 98 file_path = temp_dir.GetPath().AppendASCII("create_file_2"); 111 base::ScopedTempDir temp_dir; local 112 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 113 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file_1"); 121 base::ScopedTempDir temp_dir; local 122 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 123 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file") 139 base::ScopedTempDir temp_dir; local 166 base::ScopedTempDir temp_dir; local 249 base::ScopedTempDir temp_dir; local 261 base::ScopedTempDir temp_dir; local 313 base::ScopedTempDir temp_dir; local 372 base::ScopedTempDir temp_dir; local 435 base::ScopedTempDir temp_dir; local 460 base::ScopedTempDir temp_dir; local 484 base::ScopedTempDir temp_dir; local 501 base::ScopedTempDir temp_dir; local 528 base::ScopedTempDir temp_dir; local 550 base::ScopedTempDir temp_dir; local 572 base::ScopedTempDir temp_dir; local 596 base::ScopedTempDir temp_dir; local 610 base::ScopedTempDir temp_dir; local 626 base::ScopedTempDir temp_dir; local 643 base::ScopedTempDir temp_dir; local 665 base::ScopedTempDir temp_dir; local 691 base::ScopedTempDir temp_dir; local 706 base::ScopedTempDir temp_dir; local 726 base::ScopedTempDir temp_dir; local 751 base::ScopedTempDir temp_dir; local [all...] |
/external/google-breakpad/src/client/mac/tests/ |
crash_generation_server_test.cc | 84 AutoTempDir temp_dir; member in class:__anon22554::CrashGenerationServerTest 125 temp_dir.path()); // dump path 142 string pattern = temp_dir.path() + "/*"; 177 temp_dir.path()); // dump path 227 temp_dir.path()); // dump path 290 temp_dir.path()); // dump path 375 temp_dir.path()); // dump path
|
/external/libchrome/base/memory/ |
shared_memory_posix.cc | 364 FilePath temp_dir; local 365 if (!GetShmemTempDir(false, &temp_dir)) 374 *path = temp_dir.AppendASCII(name_base + mem_name);
|
/external/perfetto/tools/trace_to_text/ |
trace_to_profile.cc | 279 std::string temp_dir = GetTemp() + "/heap_profile-XXXXXXX"; local 281 PERFETTO_CHECK(mkdtemp(&temp_dir[0])); 283 ForEachPacketInTrace(input, [&temp_dir, &itr, &rolling_profile_packets]( 295 temp_dir + "/heap_dump." + std::to_string(++itr) + "."); 305 *output << "Wrote profiles to " << temp_dir << std::endl;
|