/bionic/tests/libs/ |
D | cfi_test_helper.cpp | 37 CHECK(g_count == 0); in preinit_ctor() 39 CHECK(g_count == 1); in preinit_ctor() 45 CHECK(g_count == 1); in ctor() 47 CHECK(g_count == 2); in ctor() 51 CHECK(g_count == 2); in main() 53 CHECK(g_count == 3); in main()
|
D | elftls_skew_align_test_helper.cpp | 61 CHECK((var_addr(&var3) & (getpagesize() - 1)) == 0); in main() 62 CHECK((var_addr(&var4) & (getpagesize() - 1)) == 0); in main() 67 CHECK(var1.field == 13); in main() 68 CHECK(var2.field == 17); in main() 71 CHECK(var3.field == 0); in main() 72 CHECK(var4.field == 0); in main()
|
D | stack_tagging_helper.cpp | 80 CHECK(reinterpret_cast<uintptr_t>(fp_parent) - reinterpret_cast<uintptr_t>(fp) >= in vfork_child2() 95 CHECK(0); in vfork_child2() 107 CHECK(mte_get_tag(p) == q); in vfork_child() 129 CHECK(res == pid); in vfork_parent() 132 CHECK(WIFEXITED(wstatus)); in vfork_parent() 133 CHECK(WEXITSTATUS(wstatus) == 0); in vfork_parent() 182 CHECK(value == 42); in check_longjmp_restores_tags() 204 CHECK(res == 0); in SigAltStackScoped() 209 CHECK(res == 0); in ~SigAltStackScoped() 226 CHECK(res == 0); in SigActionScoped() [all …]
|
D | elftls_align_test_helper.cpp | 57 CHECK((var_addr(&var1) & 0x3ff) == 0); in main() 58 CHECK((var_addr(&var2) & 0x3ff) == 0); in main() 59 CHECK(var1.field == 13); in main() 60 CHECK(var2.field == 17); in main() 61 CHECK(var3.field == 19); in main()
|
D | testbinary_is_stack_mte_after_dlopen.cpp | 92 CHECK(access(path, F_OK) == 0); // Verify test setup. in main() 93 CHECK(!is_stack_mte_on()); in main() 121 CHECK(handle != nullptr); in main() 122 CHECK(is_stack_mte_on()); in main() 129 CHECK(new_stack_page_mte_on); in main() 135 CHECK(is_late_thread_mte_on); in main() 136 CHECK(is_early_thread_mte_on); in main()
|
D | preinit_syscall_test_helper.cpp | 37 CHECK(g_result == -1); in main() 38 CHECK(g_errno == EBADF); in main()
|
D | preinit_getauxval_test_helper.cpp | 36 CHECK(getauxval(AT_RANDOM) == g_AT_RANDOM); in main() 37 CHECK(getauxval(AT_PAGESZ) == g_AT_PAGESZ); in main()
|
D | cfi_test_helper2.cpp | 25 CHECK(handle != nullptr); in main()
|
D | CHECK.h | 33 #define CHECK(e) \ macro
|
/bionic/linker/ |
D | linker_cfi.cpp | 58 CHECK(tmp_start != MAP_FAILED); in ShadowWrite() 77 CHECK(res != MAP_FAILED); in ~ShadowWrite() 102 CHECK((cfi_check & (kCfiCheckAlign - 1)) == 0); in Add() 158 CHECK(p != MAP_FAILED); in MapShadow() 163 CHECK(shadow_start != nullptr); in AddLibrary() 203 CHECK(cfi_init != 0); in NotifyLibDl() 205 CHECK(shadow_start != nullptr); in NotifyLibDl() 206 CHECK(*shadow_start == p); in NotifyLibDl() 212 CHECK(initial_link_done); in MaybeInit() 213 CHECK(shadow_start == nullptr); in MaybeInit() [all …]
|
D | linker_mapped_file_fragment.cpp | 51 CHECK(safe_add(&offset, base_offset, elf_offset)); in Map() 56 CHECK(safe_add(&end_offset, offset, size)); in Map() 57 CHECK(safe_add(&end_offset, end_offset, page_offset(offset))); in Map() 60 CHECK(map_size >= size); in Map()
|
D | linker_block_allocator.cpp | 92 CHECK(page != nullptr); in free() 95 CHECK((offset % block_size_) == 0); in free() 123 CHECK(page != MAP_FAILED); in create_new_page() 138 CHECK(block != nullptr); in find_page()
|
D | linker_tls.cpp | 92 CHECK(mod.static_offset == SIZE_MAX); in unregister_tls_module() 93 CHECK(mod.soinfo_ptr == si); in unregister_tls_module() 101 CHECK(module_idx < g_tls_modules.size()); in get_tls_module()
|
D | linker_soinfo.cpp | 55 CHECK(si != nullptr); in SymbolLookupList() 93 CHECK(!libs_.empty()); in set_dt_symbolic_lib() 755 CHECK(has_min_version(3)); in add_secondary_namespace() 760 CHECK(has_min_version(3)); in get_secondary_namespaces() 856 CHECK(has_min_version(3)); in get_handle() 857 CHECK(handle_ != 0); in get_handle() 870 CHECK(has_min_version(3)); in generate_handle() 871 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle() 896 CHECK(has_min_version(6)); in set_gap_start() 900 CHECK(has_min_version(6)); in ElfW() [all …]
|
D | linker_relocate.cpp | 399 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl() 422 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl() 424 CHECK(module_id != kTlsUninitializedModuleId); in process_relocation_impl() 456 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl()
|
D | linker.cpp | 286 CHECK(map->l_name != nullptr); in notify_gdb_of_load() 287 CHECK(map->l_name[0] != '\0'); in notify_gdb_of_load() 605 CHECK(si_ != nullptr); in remove_cached_elf_reader() 610 CHECK(si_ != nullptr); in get_elf_reader() 615 CHECK(si_ != nullptr); in get_elf_reader() 786 CHECK (it != soinfo_list.end()); in ElfW() 1742 CHECK(soinfos_count == 1); in find_libraries() 2006 CHECK(++it->second != 0); in increment_dso_handle_reference_counter() 2027 CHECK(it != g_dso_handle_counters.end()); in decrement_dso_handle_reference_counter() 2028 CHECK(it->second != 0); in decrement_dso_handle_reference_counter() [all …]
|
D | linker_utils.cpp | 173 CHECK(a >= 0); in safe_add()
|
D | linker_phdr.cpp | 189 CHECK(did_read_); in Load() 217 CHECK(strtab_ != nullptr); in get_string() 218 CHECK(index < strtab_size_); in get_string() 934 CHECK(pad_start <= pad_end); in LoadSegments()
|
D | linker_config.cpp | 109 CHECK(!was_end_of_file_); in next_token() 429 CHECK(cached != resolved_paths_.end()); in get_paths()
|
/bionic/libc/async_safe/include/async_safe/ |
D | CHECK.h | 39 #define CHECK(predicate) \ macro
|
/bionic/libc/bionic/ |
D | system_property_set.cpp | 133 CHECK(uint_buf_index_ < kUintBufSize); in WriteUint32() 134 CHECK(iov_index_ < kIovSize); in WriteUint32() 150 CHECK(iov_index_ < kIovSize); in WriteString()
|
D | bionic_elf_tls.cpp | 96 CHECK(align != 0 && powerof2(align + 0) && skew < align); in align_checked() 163 CHECK(actual_tpoff == offset_exe_ - offset_tp); in reserve_exe_segment_and_tcb() 243 CHECK(((offset_tp - tentative_before_end) & (before.align.value - 1)) == 0); in reserve_tp_pair() 473 CHECK(modules.thread_exit_callback_tail_node == nullptr); in __notify_thread_exit_callbacks()
|
D | bionic_allocator.cpp | 106 CHECK(block_size_ != 0); in alloc() 116 CHECK(page->free_block_list != nullptr); in alloc() 148 CHECK(page->free_blocks_cnt == blocks_per_page_); in free_page()
|
D | system_property_api.cpp | 136 CHECK(getpid() == gettid()); in __system_properties_zygote_reload()
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 293 CHECK(!have_override || (override_pa && override_serial_pa)); in Update() 385 CHECK(other_pa && other_serial_pa); in Add() 401 CHECK(getpid() == 1 || getuid() == 0); in Add()
|