Home
last modified time | relevance | path

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

/system/core/libprocinfo/
Dprocess_map_benchmark.cpp32 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_ReadMapFile() local
35 android::procinfo::ReadMapFile(map_file, [&](uint64_t start, uint64_t end, uint16_t flags, in BM_ReadMapFile()
45 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_unwindstack_FileMaps() local
47 unwindstack::FileMaps maps(map_file); in BM_unwindstack_FileMaps()
55 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in BM_unwindstack_BufferMaps() local
57 CHECK(android::base::ReadFileToString(map_file, &content)); in BM_unwindstack_BufferMaps()
Dprocess_map_test.cpp26 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in TEST() local
29 map_file, in TEST()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc71 string map_file; in GetFileMapContent() local
73 utils::MakeTempFile("squashfs_file_map.XXXXXX", &map_file, nullptr)); in GetFileMapContent()
74 ScopedPathUnlinker map_unlinker(map_file); in GetFileMapContent()
78 vector<string> cmd = {"unsquashfs", "-m", map_file, sqfs_path}; in GetFileMapContent()
87 TEST_AND_RETURN_FALSE(utils::ReadFile(map_file, map)); in GetFileMapContent()
/system/core/libprocinfo/include/procinfo/
Dprocess_map.h144 inline bool ReadMapFile(const std::string& map_file, in ReadMapFile() argument
148 if (!android::base::ReadFileToString(map_file, &content)) { in ReadMapFile()
/system/core/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()