Home
last modified time | relevance | path

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

/bionic/tests/libs/
Dcfi_test_helper.cpp38 CHECK(g_count == 0); in preinit_ctor()
40 CHECK(g_count == 1); in preinit_ctor()
46 CHECK(g_count == 1); in ctor()
48 CHECK(g_count == 2); in ctor()
52 CHECK(g_count == 2); in main()
54 CHECK(g_count == 3); in main()
Dpreinit_syscall_test_helper.cpp37 CHECK(g_result == -1); in main()
38 CHECK(g_errno == EBADF); in main()
Dpreinit_getauxval_test_helper.cpp36 CHECK(getauxval(AT_RANDOM) == g_AT_RANDOM); in main()
37 CHECK(getauxval(AT_PAGESZ) == g_AT_PAGESZ); in main()
Dlibs_utils.h24 #define CHECK(e) \ macro
Dcfi_test_helper2.cpp26 CHECK(handle != nullptr); in main()
/bionic/linker/
Dlinker_mapped_file_fragment.cpp50 CHECK(safe_add(&offset, base_offset, elf_offset)); in Map()
55 CHECK(safe_add(&end_offset, offset, size)); in Map()
56 CHECK(safe_add(&end_offset, end_offset, page_offset(offset))); in Map()
59 CHECK(map_size >= size); in Map()
Dlinker_cfi.cpp58 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 …]
Dlinker_block_allocator.cpp94 CHECK(page != nullptr); in free()
97 CHECK((offset % block_size_) == 0); in free()
125 CHECK(page != MAP_FAILED); in create_new_page()
140 CHECK(block != nullptr); in find_page()
Dlinker_tls.cpp91 CHECK(mod.static_offset == SIZE_MAX); in unregister_tls_module()
92 CHECK(mod.soinfo_ptr == si); in unregister_tls_module()
100 CHECK(module_idx < g_tls_modules.size()); in get_tls_module()
Dlinker_soinfo.cpp55 CHECK(si != nullptr); in SymbolLookupList()
93 CHECK(!libs_.empty()); in set_dt_symbolic_lib()
760 CHECK(has_min_version(3)); in add_secondary_namespace()
765 CHECK(has_min_version(3)); in get_secondary_namespaces()
861 CHECK(has_min_version(3)); in get_handle()
862 CHECK(handle_ != 0); in get_handle()
875 CHECK(has_min_version(3)); in generate_handle()
876 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle()
901 CHECK(has_min_version(6)); in set_gap_start()
905 CHECK(has_min_version(6)); in ElfW()
[all …]
Dlinker_relocate.cpp382 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl()
405 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl()
438 CHECK(found_in->get_tls() != nullptr); // We rejected a missing TLS segment above. in process_relocation_impl()
Dlinker_utils.cpp179 CHECK(a >= 0); in safe_add()
Dlinker_config.cpp109 CHECK(!was_end_of_file_); in next_token()
429 CHECK(cached != resolved_paths_.end()); in get_paths()
Dlinker_phdr.cpp172 CHECK(did_read_); in Load()
192 CHECK(strtab_ != nullptr); in get_string()
193 CHECK(index < strtab_size_); in get_string()
Ddlfcn.cpp310 CHECK((linker_si.flags_ & FLAG_GNU_HASH) != 0); in get_libdl_info()
Dlinker_main.cpp105 CHECK(prev != nullptr); in solist_remove_soinfo()
/bionic/libc/async_safe/include/async_safe/
DCHECK.h39 #define CHECK(predicate) \ macro
/bionic/libc/bionic/
Dsystem_property_set.cpp120 CHECK(uint_buf_index_ < kUintBufSize); in WriteUint32()
121 CHECK(iov_index_ < kIovSize); in WriteUint32()
137 CHECK(iov_index_ < kIovSize); in WriteString()
Dbionic_allocator.cpp108 CHECK(block_size_ != 0); in alloc()
118 CHECK(page->free_block_list != nullptr); in alloc()
150 CHECK(page->free_blocks_cnt == blocks_per_page_); in free_page()
Dbionic_elf_tls.cpp394 CHECK(modules.thread_exit_callback_tail_node == nullptr); in __notify_thread_exit_callbacks()
/bionic/libc/kernel/
DREADME.md64 WHEN UPDATING THE HEADERS, ALWAYS CHECK THAT THE NEW CLEAN HEADERS DO