Home
last modified time | relevance | path

Searched refs:temp_dir (Results 1 – 20 of 20) sorted by relevance

/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc161 AutoTempDir temp_dir; in TEST() local
163 MinidumpDescriptor(temp_dir.path()), NULL, NULL, NULL, true, -1); in TEST()
164 EXPECT_EQ(temp_dir.path(), handler.minidump_descriptor().directory()); in TEST()
165 string temp_subdir = temp_dir.path() + "/subdir"; in TEST()
171 AutoTempDir temp_dir; in TEST() local
173 const int fd = CreateTMPFile(temp_dir.path(), &path); in TEST()
211 AutoTempDir temp_dir; in ChildCrash() local
216 minidump_fd = CreateTMPFile(temp_dir.path(), &minidump_path); in ChildCrash()
231 handler.reset(new ExceptionHandler(MinidumpDescriptor(temp_dir.path()), in ChildCrash()
316 AutoTempDir temp_dir; in TEST() local
[all …]
/external/google-breakpad/src/common/linux/
Dmemory_mapped_file_unittest.cc85 AutoTempDir temp_dir; in TEST_F() local
86 string test_file = temp_dir.path() + "/empty_file"; in TEST_F()
107 AutoTempDir temp_dir; in TEST_F() local
108 string test_file = temp_dir.path() + "/test_file"; in TEST_F()
141 AutoTempDir temp_dir; in TEST_F() local
142 string test_file1 = temp_dir.path() + "/test_file1"; in TEST_F()
143 string test_file2 = temp_dir.path() + "/test_file2"; in TEST_F()
186 AutoTempDir temp_dir; in TEST_F() local
187 string test_file1 = temp_dir.path() + "/test_file1"; in TEST_F()
Delf_core_dump_unittest.cc66 AutoTempDir temp_dir; in TEST() local
67 string core_path = temp_dir.path() + "/core"; in TEST()
Dfile_id_unittest.cc80 AutoTempDir temp_dir; in TEST() local
81 string templ = temp_dir.path() + "/file-id-unittest"; in TEST()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest.cc84 AutoTempDir temp_dir; in TEST() local
85 string templ = temp_dir.path() + kMDWriterUnitTestFileName; in TEST()
113 AutoTempDir temp_dir; in TEST() local
114 string templ = temp_dir.path() + kMDWriterUnitTestFileName; in TEST()
180 AutoTempDir temp_dir; in TEST() local
181 string templ = temp_dir.path() + kMDWriterUnitTestFileName; in TEST()
264 AutoTempDir temp_dir; in TEST() local
265 string tempfile = temp_dir.path() + "/minidump-writer-unittest-temp"; in TEST()
300 string dumpfile = temp_dir.path() + kMDWriterUnitTestFileName; in TEST()
349 AutoTempDir temp_dir; in TEST() local
[all …]
/external/lldb/scripts/
Dcheckpoint-llvm.pl91 my $temp_dir = tempdir( CLEANUP => 1 );
92 print "temp dir = '$temp_dir'\n";
93 my $llvm_checkpoint_dir = "$temp_dir/llvm";
94 mkdir "$llvm_checkpoint_dir" or die "Couldn't make 'llvm' in '$temp_dir'\n";
120 …do_command ("(cd '$temp_dir' ; zip -r '$llvm_zip_file' 'llvm')", "Zipping llvm checkpoint director…
/external/vboot_reference/cgpt/
Dcgpt_wrapper.c75 char temp_dir[] = "/tmp/cgpt_wrapper.XXXXXX"; in wrap_cgpt() local
76 if (ReadNorFlash(temp_dir) != 0) { in wrap_cgpt()
80 if (snprintf(rw_gpt_path, sizeof(rw_gpt_path), "%s/rw_gpt", temp_dir) < 0) { in wrap_cgpt()
131 ret = WriteNorFlash(temp_dir); in wrap_cgpt()
140 RemoveDir(temp_dir); in wrap_cgpt()
Dcgpt_find.c257 char temp_dir[] = "/tmp/cgpt_find.XXXXXX"; in scan_real_devs() local
264 if (ReadNorFlash(temp_dir) != 0) { in scan_real_devs()
269 if (snprintf(nor_file, sizeof(nor_file), "%s/rw_gpt", temp_dir) > 0) { in scan_real_devs()
276 RemoveDir(temp_dir); in scan_real_devs()
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/
Dd8_runner.py133 temp_dir = tempfile.mkdtemp()
134 temp_boostrap_file = os.path.join(temp_dir, '_tmp_boostrap.js')
143 shutil.rmtree(temp_dir)
160 temp_dir = tempfile.mkdtemp()
164 temp_file = os.path.join(temp_dir, '%s.js' % name)
166 temp_file = os.path.join(temp_dir, 'temp_program.js')
171 shutil.rmtree(temp_dir)
/external/google-breakpad/src/common/tests/
Dauto_tempdir.h55 char temp_dir[] = TEMPDIR "/breakpad.XXXXXX"; in AutoTempDir() local
56 EXPECT_TRUE(mkdtemp(temp_dir) != NULL); in AutoTempDir()
57 path_.assign(temp_dir); in AutoTempDir()
/external/google-breakpad/src/client/mac/tests/
Dcrash_generation_server_test.cc84 AutoTempDir temp_dir; member in __anon31eb94700111::CrashGenerationServerTest
125 temp_dir.path()); // dump path in TEST_F()
142 string pattern = temp_dir.path() + "/*"; in TEST_F()
177 temp_dir.path()); // dump path in TEST_F()
227 temp_dir.path()); // dump path in TEST_F()
290 temp_dir.path()); // dump path in TEST_F()
375 temp_dir.path()); // dump path in TEST_F()
/external/toybox/tests/
Dtar.test62 mkdir dir/dir1 -p ; mkdir dir/dir2 ; mkdir dir/dir3 ; mkdir dir/dir4 ; mkdir temp_dir
63 echo "dir1/file" > dir/dir1/file ; echo "temp_dir/file" > temp_dir/file
68 rm -rf temp_dir
/external/mksh/src/
Dcheck.pl310 chop($temp_dir = `pwd 2>/dev/null`);
311 die "$prog: couldn't get temporary directory\n" if $temp_dir eq '';
328 $temps = "${temp_dir}/rts";
329 $tempi = "${temp_dir}/rti";
330 $tempo = "${temp_dir}/rto";
331 $tempe = "${temp_dir}/rte";
332 $tempdir = "${temp_dir}/rtd";
377 rmdir($temp_dir) if defined $temp_dir;
/external/gtest/test/
Dgtest-filepath_test.cc521 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
522 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir()
524 else if (temp_dir[strlen(temp_dir) - 1] == '\\') in TempDir()
525 return temp_dir; in TempDir()
527 return std::string(temp_dir) + "\\"; in TempDir()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc55 AutoTempDir temp_dir; in TEST() local
56 string stderr_file = temp_dir.path() + "/stderr.log"; in TEST()
/external/skia/tools/
Dfind_bad_images_in_skps.py171 temp_dir = tempfile.mkdtemp(prefix='skia_skp_test_')
172 sys.stderr.write('Directory for bad images: {}\n'.format(temp_dir))
177 BadImageFinder(temp_dir) for index in xrange(number_of_threads)]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-filepath_test.cc539 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
540 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir()
542 else if (String(temp_dir).EndsWith("\\")) in TempDir()
543 return String(temp_dir); in TempDir()
545 return String::Format("%s\\", temp_dir); in TempDir()
/external/protobuf/gtest/test/
Dgtest-filepath_test.cc533 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
534 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir()
536 else if (String(temp_dir).EndsWith("\\")) in TempDir()
537 return String(temp_dir); in TempDir()
539 return String::Format("%s\\", temp_dir); in TempDir()
/external/boringssl/src/util/bot/go/
Dbootstrap.py158 def temp_dir(path): function
169 with temp_dir(toolset_root) as tmp:
/external/fio/
Dstat.c1500 const char *temp_dir; in check_status_file() local
1506 temp_dir = getenv("TMPDIR"); in check_status_file()
1507 if (temp_dir == NULL) { in check_status_file()
1508 temp_dir = getenv("TEMP"); in check_status_file()
1509 if (temp_dir && strlen(temp_dir) >= PATH_MAX) in check_status_file()
1510 temp_dir = NULL; in check_status_file()
1512 if (temp_dir == NULL) in check_status_file()
1513 temp_dir = "/tmp"; in check_status_file()
1515 snprintf(fio_status_file_path, sizeof(fio_status_file_path), "%s/%s", temp_dir, FIO_STATUS_FILE); in check_status_file()