Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dstrerror.cpp57 if (error_number < 0 || error_number >= static_cast<int>(arraysize(__sys_error_names))) { in strerrorname_np()
64 if (error_number < 0 || error_number >= static_cast<int>(arraysize(__sys_error_descriptions))) { in __strerror_lookup()
Dpthread_create.cpp340 static_assert(arraysize(name_buffer) >= arraysize("stack_and_tls:") + 11 + 1); in __set_stack_and_tls_vma_name()
341 async_safe_format_buffer(name_buffer, arraysize(name_buffer), "stack_and_tls:%d", thread->tid); in __set_stack_and_tls_vma_name()
Dgrp_pwd.cpp213 auto ranges_size = is_group ? arraysize(group_ranges) : arraysize(user_ranges); in is_valid_app_id()
245 auto ranges_size = is_group ? arraysize(group_ranges) : arraysize(user_ranges); in get_next_app_id()
Dgwp_asan_wrappers.cpp310 return get_config_from_env_or_sysprops(env_var, sysprop_names, arraysize(sysprop_names), in GetGwpAsanOptionImpl()
Dlibc_init_static.cpp232 if (!get_config_from_env_or_sysprops("MEMTAG_OPTIONS", sys_prop_names, arraysize(sys_prop_names), in get_environment_memtag_setting()
/bionic/libc/platform/bionic/
Dmacros.h78 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro