Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/tools/
Dndk_missing_symbols.py31 tmp_dir = tempfile.mkdtemp()
32 adb_pull('/system/lib/libc.so', tmp_dir)
33 adb_pull('/system/lib/libm.so', tmp_dir)
36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) |
37 symbols.GetFromElf(os.path.join(tmp_dir, 'libm.so')))
/bionic/libc/bionic/
Dtmpfile.cpp54 static FILE* __tmpfile_dir_legacy(const char* tmp_dir) { in __tmpfile_dir_legacy() argument
56 if (asprintf(&path, "%s/tmp.XXXXXXXXXX", tmp_dir) == -1) { in __tmpfile_dir_legacy()
82 static FILE* __tmpfile_dir(const char* tmp_dir) { in __tmpfile_dir() argument
83 int fd = open(tmp_dir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); in __tmpfile_dir()
84 if (fd == -1) return __tmpfile_dir_legacy(tmp_dir); in __tmpfile_dir()
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh115 tmp_dir=$(mktemp -d)
116 work_dir=$tmp_dir/linker-reloc-bench
124 (cd $tmp_dir; tar -c linker-reloc-bench/linker_reloc_bench_main linker-reloc-bench/*.so \
153 rm -fr $tmp_dir
/bionic/linker/
Dlinker_config_test.cpp137 TemporaryDir tmp_dir; in run_linker_config_smoke_test() local
139 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; in run_linker_config_smoke_test()
140 std::string version_file = std::string(tmp_dir.path) + "/.version"; in run_linker_config_smoke_test()
253 TemporaryDir tmp_dir; in TEST() local
255 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; in TEST()
274 TemporaryDir tmp_dir; in TEST() local
276 std::string sub_dir = std::string(tmp_dir.path) + "/subdir"; in TEST()
282 std::string symlink_path = std::string(tmp_dir.path) + "/symlink"; in TEST()
/bionic/tests/
Dstdlib_test.cpp67 void init(const char* tmp_dir) { in init() argument
68 snprintf(path, sizeof(path), "%s/TemporaryFile-XXXXXX", tmp_dir); in init()