Home
last modified time | relevance | path

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

/bionic/tests/libs/
Dcfi_test_helper.cpp36 CHECK(g_count == 0); in preinit_ctor()
38 CHECK(g_count == 1); in preinit_ctor()
44 CHECK(g_count == 1); in ctor()
46 CHECK(g_count == 2); in ctor()
50 CHECK(g_count == 2); in main()
52 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()
Dcfi_test_helper2.cpp26 CHECK(handle != nullptr); in main()
Dlibs_utils.h24 #define CHECK(e) \ macro
/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()
76 CHECK(res != MAP_FAILED); in ~ShadowWrite()
101 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_soinfo.cpp622 CHECK(has_min_version(3)); in add_secondary_namespace()
627 CHECK(has_min_version(3)); in get_secondary_namespaces()
716 CHECK(has_min_version(3)); in get_handle()
717 CHECK(handle_ != 0); in get_handle()
730 CHECK(has_min_version(3)); in generate_handle()
731 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle()
Dlinker_utils.cpp179 CHECK(a >= 0); in safe_add()
Dlinker_phdr.cpp170 CHECK(did_read_); in Load()
184 CHECK(strtab_ != nullptr); in get_string()
185 CHECK(index < strtab_size_); in get_string()
Dlinker_allocator.cpp91 CHECK(block_size_ != 0); in alloc()
Dlinker.cpp256 CHECK(map->l_name != nullptr); in notify_gdb_of_load()
257 CHECK(map->l_name[0] != '\0'); in notify_gdb_of_load()
622 CHECK(si_ != nullptr); in get_elf_reader()
627 CHECK(si_ != nullptr); in get_elf_reader()
833 CHECK (it != soinfo_list.end()); in ElfW()
3562 CHECK(it_from != namespaces.end()); in init_default_namespaces()
3566 CHECK(it_to != namespaces.end()); in init_default_namespaces()
Dlinker_main.cpp90 CHECK(prev != nullptr); in solist_remove_soinfo()
Dlinker_config.cpp94 CHECK(!was_end_of_file_); in next_token()
/bionic/tools/relocation_packer/src/
Delf_file.cc55 CHECK(data && elf_getdata(section, data) == NULL); in GetSectionData()
65 CHECK(size == data->d_size); in RewriteSectionData()
139 CHECK(elf); in Load()
160 CHECK(endian == ELFDATA2LSB); in Load()
161 CHECK(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__); in Load()
168 CHECK(elf_program_header != nullptr); in Load()
176 CHECK(dynamic_program_header == NULL); in Load()
180 CHECK(dynamic_program_header != nullptr); in Load()
227 CHECK(section_header->sh_addralign <= kPreserveAlignment); in Load()
231 CHECK(data->d_align <= kPreserveAlignment); in Load()
[all …]
Ddebug_unittest.cc112 CHECK(0 == 0); in TEST()
113 EXPECT_DEATH(CHECK(0 == 1), "FATAL: .*:.*: .*: CHECK '0 == 1' failed"); in TEST()
Dpacker.cc51 CHECK(packed.size() > 4 && in UnpackRelocations()
Ddelta_encoder.cc86 CHECK((group_start + i) < relocations.size()); in Encode()
253 CHECK(group_starts_with < relocations.size()); in DetectGroup()
254 CHECK(group_flags != nullptr); in DetectGroup()
Ddebug.h109 #define CHECK(predicate) (LOG_IF(FATAL, !(predicate)) \ macro
/bionic/libc/async_safe/include/async_safe/
Dlog.h117 #define CHECK(predicate) \ macro
/bionic/libc/kernel/
DREADME.TXT54 WHEN UPDATING THE HEADERS, ALWAYS CHECK THAT THE NEW CLEAN HEADERS DO
/bionic/libc/bionic/
Dsystem_properties.cpp551 CHECK(uint_buf_index_ < kUintBufSize); in WriteUint32()
552 CHECK(iov_index_ < kIovSize); in WriteUint32()
568 CHECK(iov_index_ < kIovSize); in WriteString()