Searched refs:map_file (Results 1 – 6 of 6) sorted by relevance
/system/core/libprocinfo/ |
D | process_map_benchmark.cpp | 32 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()
|
D | process_map.cpp | 28 bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size, in ReadMapFileAsyncSafe() argument 35 int fd = open(map_file, O_RDONLY | O_CLOEXEC); in ReadMapFileAsyncSafe()
|
D | process_map_test.cpp | 31 std::string map_file = android::base::GetExecutableDirectory() + "/testdata/maps"; in TEST() local 34 map_file, in TEST()
|
/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 144 inline bool ReadMapFile(const std::string& map_file, in ReadMapFile() argument 148 if (!android::base::ReadFileToString(map_file, &content)) { in ReadMapFile() 179 bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size,
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 76 string map_file; in GetFileMapContent() local 78 utils::MakeTempFile("squashfs_file_map.XXXXXX", &map_file, nullptr)); in GetFileMapContent() 79 ScopedPathUnlinker map_unlinker(map_file); in GetFileMapContent() 83 vector<string> cmd = {"unsquashfs", "-m", map_file, sqfs_path}; in GetFileMapContent() 92 TEST_AND_RETURN_FALSE(utils::ReadFile(map_file, map)); in GetFileMapContent()
|
/system/core/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()
|