Searched refs:CHECK (Results 1 – 22 of 22) sorted by relevance
/bionic/tests/libs/ |
D | cfi_test_helper.cpp | 36 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()
|
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 | 26 CHECK(handle != nullptr); in main()
|
D | libs_utils.h | 24 #define CHECK(e) \ macro
|
/bionic/linker/ |
D | linker_mapped_file_fragment.cpp | 50 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()
|
D | linker_cfi.cpp | 58 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 …]
|
D | linker_soinfo.cpp | 622 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()
|
D | linker_utils.cpp | 179 CHECK(a >= 0); in safe_add()
|
D | linker_phdr.cpp | 170 CHECK(did_read_); in Load() 184 CHECK(strtab_ != nullptr); in get_string() 185 CHECK(index < strtab_size_); in get_string()
|
D | linker_allocator.cpp | 91 CHECK(block_size_ != 0); in alloc()
|
D | linker.cpp | 256 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()
|
D | linker_main.cpp | 90 CHECK(prev != nullptr); in solist_remove_soinfo()
|
D | linker_config.cpp | 94 CHECK(!was_end_of_file_); in next_token()
|
/bionic/tools/relocation_packer/src/ |
D | elf_file.cc | 55 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 …]
|
D | debug_unittest.cc | 112 CHECK(0 == 0); in TEST() 113 EXPECT_DEATH(CHECK(0 == 1), "FATAL: .*:.*: .*: CHECK '0 == 1' failed"); in TEST()
|
D | packer.cc | 51 CHECK(packed.size() > 4 && in UnpackRelocations()
|
D | delta_encoder.cc | 86 CHECK((group_start + i) < relocations.size()); in Encode() 253 CHECK(group_starts_with < relocations.size()); in DetectGroup() 254 CHECK(group_flags != nullptr); in DetectGroup()
|
D | debug.h | 109 #define CHECK(predicate) (LOG_IF(FATAL, !(predicate)) \ macro
|
/bionic/libc/async_safe/include/async_safe/ |
D | log.h | 117 #define CHECK(predicate) \ macro
|
/bionic/libc/kernel/ |
D | README.TXT | 54 WHEN UPDATING THE HEADERS, ALWAYS CHECK THAT THE NEW CLEAN HEADERS DO
|
/bionic/libc/bionic/ |
D | system_properties.cpp | 551 CHECK(uint_buf_index_ < kUintBufSize); in WriteUint32() 552 CHECK(iov_index_ < kIovSize); in WriteUint32() 568 CHECK(iov_index_ < kIovSize); in WriteString()
|