Searched refs:map_file (Results 1 – 3 of 3) sorted by relevance
80 map_file(const char* filename, size_t* filesize) in map_file() function442 buffer = map_file(PACKAGES_LIST_FILE, &buffer_len); in get_package_info()
329 std::string map_file = android::base::StringPrintf("/proc/%d/maps", pid); in GetThreadMmapsInProcess() local330 FILE* fp = fopen(map_file.c_str(), "re"); in GetThreadMmapsInProcess()332 PLOG(DEBUG) << "can't open file " << map_file; in GetThreadMmapsInProcess()
885 FILE* map_file = fopen(buffer, "r"); in VerifyMap() local886 ASSERT_TRUE(map_file != nullptr); in VerifyMap()888 while (fgets(buffer, sizeof(buffer), map_file)) { in VerifyMap()893 fclose(map_file); in VerifyMap()