Home
last modified time | relevance | path

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

/bionic/tools/versioner/src/
DPreprocessor.cpp139 static std::string generateGuardCondition(const DeclarationAvailability& avail) { in generateGuardCondition() argument
161 D("Generating guard for availability: %s\n", to_string(avail).c_str()); in generateGuardCondition()
162 if (!avail.global_availability.empty()) { in generateGuardCondition()
164 if (!avail.arch_availability[arch].empty()) { in generateGuardCondition()
166 to_string(avail).c_str()); in generateGuardCondition()
170 if (avail.global_availability.introduced == 0) { in generateGuardCondition()
175 to_string(avail).c_str()); in generateGuardCondition()
179 if (avail.global_availability.introduced <= 9) { in generateGuardCondition()
183 return "__ANDROID_API__ >= "s + std::to_string(avail.global_availability.introduced); in generateGuardCondition()
197 const int arch_version = avail.arch_availability[arch].introduced; in generateGuardCondition()
[all …]
DDeclarationDatabase.cpp296 DeclarationAvailability avail; in calculateAvailability() local
298 if (!avail.merge(it.second)) { in calculateAvailability()
302 *output = avail; in calculateAvailability()
307 DeclarationAvailability avail; in calculateAvailability() local
320 if (!avail.merge(decl_availability)) { in calculateAvailability()
324 *output = avail; in calculateAvailability()
DDeclarationDatabase.h154 DeclarationAvailability avail; member
157 if (!calculateAvailability(&avail)) {
160 fprintf(out, "%s\n", to_string(avail).c_str());
/bionic/libc/kernel/uapi/linux/
Dvirtio_ring.h55 vring_avail_t * avail; member
59 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
Dvfio.h414 __u32 avail; member
/bionic/libc/dns/resolv/
Dres_cache.c227 int avail = end - p; in _bprint_b() local
229 if (avail <= 0 || len <= 0) in _bprint_b()
232 if (avail > len) in _bprint_b()
233 avail = len; in _bprint_b()
235 memcpy( p, buf, avail ); in _bprint_b()
236 p += avail; in _bprint_b()
257 int avail, n; in _bprint() local
260 avail = end - p; in _bprint()
262 if (avail <= 0) in _bprint()
266 n = vsnprintf( p, avail, format, args); in _bprint()
[all …]
/bionic/libc/async_safe/
Dasync_safe_log.cpp233 int avail = count; in SendRepeat() local
234 if (avail > pad_size) { in SendRepeat()
235 avail = pad_size; in SendRepeat()
237 o.Send(pad, avail); in SendRepeat()
238 count -= avail; in SendRepeat()
/bionic/libc/kernel/uapi/sound/
Dcompress_offload.h30 __u64 avail; member
Dasound.h375 snd_pcm_uframes_t avail; member
615 size_t avail; member