Home
last modified time | relevance | path

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

/system/libprocinfo/
Dprocess_map_benchmark.cpp32 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_ReadMapFile() local
36 map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); }); in BM_ReadMapFile()
43 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_unwindstack_FileMaps() local
45 unwindstack::FileMaps maps(map_file); in BM_unwindstack_FileMaps()
53 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_unwindstack_BufferMaps() local
55 CHECK(android::base::ReadFileToString(map_file, &content)); in BM_unwindstack_BufferMaps()
Dprocess_map_test.cpp31 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in TEST() local
34 map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); })); in TEST()
/system/libprocinfo/include/procinfo/
Dprocess_map.h223 inline bool ReadMapFile(const std::string& map_file, in ReadMapFile() argument
226 if (!android::base::ReadFileToString(map_file, &content)) { in ReadMapFile()
232 inline bool ReadMapFile(const std::string& map_file, in ReadMapFile() argument
235 if (!android::base::ReadFileToString(map_file, &content)) { in ReadMapFile()
256 inline bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size, in ReadMapFileAsyncSafe() argument
262 int fd = open(map_file, O_RDONLY | O_CLOEXEC); in ReadMapFileAsyncSafe()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc75 ScopedTempFile map_file("squashfs_file_map.XXXXXX"); in GetFileMapContent() local
78 vector<string> cmd = {"unsquashfs", "-m", map_file.path(), sqfs_path}; in GetFileMapContent()
87 TEST_AND_RETURN_FALSE(utils::ReadFile(map_file.path(), map)); in GetFileMapContent()
/system/unwinding/libbacktrace/
Dbacktrace_test.cpp959 FILE* map_file = fopen(buffer, "r"); in VerifyMap() local
960 ASSERT_TRUE(map_file != nullptr); in VerifyMap()
962 while (fgets(buffer, sizeof(buffer), map_file)) { in VerifyMap()
967 fclose(map_file); in VerifyMap()