Lines Matching refs:maps
46 std::string maps; in CreateMap() local
48 maps += android::base::StringPrintf("%zu-%zu r-xp 0000 00:00 0 name%zu\n", i * 1000, in CreateMap()
51 if (!android::base::WriteStringToFile(maps, filename)) { in CreateMap()
59 BenchmarkLocalUpdatableMaps maps; in ReparseBenchmark() local
60 maps.BenchmarkSetMapsFile(maps1); in ReparseBenchmark()
61 if (!maps.Reparse()) { in ReparseBenchmark()
64 if (maps.Total() != maps1_total) { in ReparseBenchmark()
65 errx(1, "Internal Error: Incorrect total number of maps %zu, expected %zu.", maps.Total(), in ReparseBenchmark()
68 maps.BenchmarkSetMapsFile(maps2); in ReparseBenchmark()
69 if (!maps.Reparse()) { in ReparseBenchmark()
72 if (maps.Total() != maps2_total) { in ReparseBenchmark()
73 errx(1, "Internal Error: Incorrect total number of maps %zu, expected %zu.", maps.Total(), in ReparseBenchmark()
103 TemporaryFile maps; in BM_local_updatable_maps_reparse_same_maps_small() local
104 CreateMap(maps.path, kNumSmallMaps); in BM_local_updatable_maps_reparse_same_maps_small()
106 ReparseBenchmark(state, maps.path, kNumSmallMaps, maps.path, kNumSmallMaps); in BM_local_updatable_maps_reparse_same_maps_small()
111 TemporaryFile maps; in BM_local_updatable_maps_reparse_same_maps_large() local
112 CreateMap(maps.path, kNumLargeMaps); in BM_local_updatable_maps_reparse_same_maps_large()
114 ReparseBenchmark(state, maps.path, kNumLargeMaps, maps.path, kNumLargeMaps); in BM_local_updatable_maps_reparse_same_maps_large()