Searched refs:map_file (Results 1 – 5 of 5) sorted by relevance
/system/libprocinfo/ |
D | process_map_benchmark.cpp | 32 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()
|
D | process_map_test.cpp | 31 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/ |
D | process_map.h | 223 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/ |
D | squashfs_filesystem.cc | 75 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/ |
D | backtrace_test.cpp | 959 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()
|