Home
last modified time | relevance | path

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

/bionic/tools/versioner/src/
DPreprocessor.cpp264 static void mergeGuards(std::deque<std::string>& file_lines, GuardMap& guard_map) { in mergeGuards() argument
265 if (guard_map.size() < 2) { in mergeGuards()
269 auto current = guard_map.begin(); in mergeGuards()
273 while (next != guard_map.end()) { in mergeGuards()
374 guard_map.erase(current); in mergeGuards()
375 guard_map.erase(next); in mergeGuards()
377 std::tie(current, unused) = guard_map.insert(std::make_pair(merged, avail)); in mergeGuards()
384 const GuardMap& guard_map) { in rewriteFile() argument
385 for (auto it = guard_map.rbegin(); it != guard_map.rend(); ++it) { in rewriteFile()
471 GuardMap guard_map; in preprocessHeaders() local
[all …]