Home
last modified time | relevance | path

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

/bionic/tools/versioner/src/
DDeclarationDatabase.cpp157 auto& global_availability = availability.global_availability; in VisitDeclaratorDecl() local
160 { "introduced_in", { &global_availability.introduced } }, in VisitDeclaratorDecl()
161 { "deprecated_in", { &global_availability.deprecated } }, in VisitDeclaratorDecl()
162 { "obsoleted_in", { &global_availability.obsoleted } }, in VisitDeclaratorDecl()
276 if (!other.global_availability.empty()) { in merge()
277 check_avail(global_availability); in merge()
278 this->global_availability = other.global_availability; in merge()
378 if (!decl_av.global_availability.empty()) { in to_string()
379 ss << to_string(decl_av.global_availability) << ", "; in to_string()
DDeclarationDatabase.h66 AvailabilityValues global_availability; member
70 if (!global_availability.empty()) { in empty()
84 return std::tie(global_availability, arch_availability) ==
85 std::tie(rhs.global_availability, rhs.arch_availability);
DPreprocessor.cpp96 if (result.global_availability.introduced <= global_min_api_visible) { in calculateRequiredGuard()
97 result.global_availability.introduced = 0; in calculateRequiredGuard()
164 if (!avail.global_availability.empty()) { in generateGuardCondition()
172 if (avail.global_availability.introduced == 0) { in generateGuardCondition()
178 if (avail.global_availability.introduced <= 9) { in generateGuardCondition()
182 return "__ANDROID_API__ >= "s + std::to_string(avail.global_availability.introduced); in generateGuardCondition()
Dversioner.cpp382 const auto& global_availability = symbol_availability.global_availability; in checkVersions() local
384 if (global_availability.introduced != 0 && global_availability.introduced > type.api_level) { in checkVersions()
392 if (global_availability.obsoleted != 0 && global_availability.obsoleted <= type.api_level) { in checkVersions()