Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 22 of 22) 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_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()
159 CHECK(p != MAP_FAILED); in MapShadow()
164 CHECK(shadow_start != nullptr); in AddLibrary()
204 CHECK(cfi_init != 0); in NotifyLibDl()
206 CHECK(shadow_start != nullptr); in NotifyLibDl()
207 CHECK(*shadow_start == p); in NotifyLibDl()
213 CHECK(initial_link_done); in MaybeInit()
214 CHECK(shadow_start == nullptr); in MaybeInit()
[all …]
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_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_soinfo.cpp55 CHECK(si != nullptr); in SymbolLookupList()
93 CHECK(!libs_.empty()); in set_dt_symbolic_lib()
763 CHECK(has_min_version(3)); in add_secondary_namespace()
768 CHECK(has_min_version(3)); in get_secondary_namespaces()
864 CHECK(has_min_version(3)); in get_handle()
865 CHECK(handle_ != 0); in get_handle()
878 CHECK(has_min_version(3)); in generate_handle()
879 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle()
904 CHECK(has_min_version(6)); in set_gap_start()
908 CHECK(has_min_version(6)); in ElfW()
[all …]
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.cpp252 CHECK(map->l_name != nullptr); in notify_gdb_of_load()
253 CHECK(map->l_name[0] != '\0'); in notify_gdb_of_load()
571 CHECK(si_ != nullptr); in remove_cached_elf_reader()
576 CHECK(si_ != nullptr); in get_elf_reader()
581 CHECK(si_ != nullptr); in get_elf_reader()
751 CHECK (it != soinfo_list.end()); in ElfW()
1695 CHECK(soinfos_count == 1); in find_libraries()
1959 CHECK(++it->second != 0); in increment_dso_handle_reference_counter()
1980 CHECK(it != g_dso_handle_counters.end()); in decrement_dso_handle_reference_counter()
1981 CHECK(it->second != 0); in decrement_dso_handle_reference_counter()
[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_phdr.cpp168 CHECK(did_read_); in Load()
180 CHECK(strtab_ != nullptr); in get_string()
181 CHECK(index < strtab_size_); in get_string()
Dlinker_utils.cpp179 CHECK(a >= 0); in safe_add()
Dlinker_config.cpp109 CHECK(!was_end_of_file_); in next_token()
428 CHECK(cached != resolved_paths_.end()); in get_paths()
Ddlfcn.cpp310 CHECK((linker_si.flags_ & FLAG_GNU_HASH) != 0); in get_libdl_info()
Dlinker_main.cpp102 CHECK(prev != nullptr); in solist_remove_soinfo()
/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()
Datexit.cpp83 CHECK(result > capacity); in next_capacity()
/bionic/libc/async_safe/include/async_safe/
DCHECK.h39 #define CHECK(predicate) \ macro
/bionic/libc/kernel/
DREADME.md52 WHEN UPDATING THE HEADERS, ALWAYS CHECK THAT THE NEW CLEAN HEADERS DO