Lines Matching refs:CHECK

79   CHECK(::stat(gold::program_name, &st) == 0);  in Sized_binary_test()
81 CHECK(o >= 0); in Sized_binary_test()
83 CHECK(read_all(o, filedata, st.st_size) == static_cast<ssize_t>(st.st_size)); in Sized_binary_test()
84 CHECK(::close(o) == 0); in Sized_binary_test()
89 CHECK(binary.convert(task)); in Sized_binary_test()
96 CHECK(object != NULL); in Sized_binary_test()
100 CHECK(!object->is_dynamic()); in Sized_binary_test()
101 CHECK(object->shnum() == 5); in Sized_binary_test()
102 CHECK(object->section_name(1) == ".data"); in Sized_binary_test()
103 CHECK(object->section_flags(1) == (elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE)); in Sized_binary_test()
106 CHECK(len == convert_to_section_size_type(st.st_size)); in Sized_binary_test()
107 CHECK(memcmp(filedata, contents, len) == 0); in Sized_binary_test()
126 CHECK(relobj->symbol_section_and_value(0, &value, &is_ordinary) == 0); in Sized_binary_test()
127 CHECK(is_ordinary); in Sized_binary_test()
128 CHECK(value == 0); in Sized_binary_test()
129 CHECK(relobj->symbol_section_and_value(1, &value, &is_ordinary) == 1); in Sized_binary_test()
130 CHECK(is_ordinary); in Sized_binary_test()
131 CHECK(value == 0); in Sized_binary_test()
132 CHECK(relobj->symbol_section_and_value(2, &value, &is_ordinary) == 1); in Sized_binary_test()
133 CHECK(is_ordinary); in Sized_binary_test()
134 CHECK(static_cast<off_t>(value) == st.st_size); in Sized_binary_test()
135 CHECK(relobj->symbol_section_and_value(3, &value, &is_ordinary) in Sized_binary_test()
137 CHECK(!is_ordinary); in Sized_binary_test()
138 CHECK(static_cast<off_t>(value) == st.st_size); in Sized_binary_test()
158 CHECK(&parameters->target() == target_test_pointer_32_little); in Binary_test()
164 CHECK(&parameters->target() == target_test_pointer_32_big); in Binary_test()
170 CHECK(&parameters->target() == target_test_pointer_64_little); in Binary_test()
176 CHECK(&parameters->target() == target_test_pointer_64_big); in Binary_test()