Lines Matching refs:SLICER_CHECK
91 SLICER_CHECK(ir_class != nullptr); in CreateClassIr()
122 SLICER_CHECK(index != dex::kNoIndex); in GetClass()
128 SLICER_CHECK(p == placeholder); in GetClass()
132 SLICER_CHECK(p != placeholder); in GetClass()
139 SLICER_CHECK(index != dex::kNoIndex); in GetType()
145 SLICER_CHECK(p == placeholder); in GetType()
149 SLICER_CHECK(p != placeholder); in GetType()
156 SLICER_CHECK(index != dex::kNoIndex); in GetFieldDecl()
162 SLICER_CHECK(p == placeholder); in GetFieldDecl()
166 SLICER_CHECK(p != placeholder); in GetFieldDecl()
173 SLICER_CHECK(index != dex::kNoIndex); in GetMethodDecl()
179 SLICER_CHECK(p == placeholder); in GetMethodDecl()
183 SLICER_CHECK(p != placeholder); in GetMethodDecl()
190 SLICER_CHECK(index != dex::kNoIndex); in GetProto()
196 SLICER_CHECK(p == placeholder); in GetProto()
200 SLICER_CHECK(p != placeholder); in GetProto()
207 SLICER_CHECK(index != dex::kNoIndex); in GetString()
213 SLICER_CHECK(p == placeholder); in GetString()
217 SLICER_CHECK(p != placeholder); in GetString()
285 SLICER_CHECK(offset % 4 == 0); in ExtractAnnotations()
315 SLICER_CHECK(offset != 0); in ExtractAnnotationItem()
333 SLICER_CHECK(offset % 4 == 0); in ExtractAnnotationSet()
351 SLICER_CHECK(offset % 4 == 0); in ExtractAnnotationSetRefList()
360 SLICER_CHECK(ir_annotation_set != nullptr); in ExtractAnnotationSetRefList()
376 SLICER_CHECK(ir_field_annotation->annotations != nullptr); in ParseFieldAnnotation()
391 SLICER_CHECK(ir_method_annotation->annotations != nullptr); in ParseMethodAnnotation()
406 SLICER_CHECK(ir_param_annotation->annotations != nullptr); in ParseParamAnnotation()
416 SLICER_CHECK(field_index != dex::kNoIndex); in ParseEncodedField()
418 SLICER_CHECK(field_index != 0); in ParseEncodedField()
435 SLICER_CHECK(size > 0); in ParseIntValue()
436 SLICER_CHECK(size <= sizeof(T)); in ParseIntValue()
456 SLICER_CHECK(size > 0); in ParseFloatValue()
457 SLICER_CHECK(size <= sizeof(T)); in ParseFloatValue()
534 SLICER_CHECK(arg == 0); in ParseEncodedValue()
539 SLICER_CHECK(arg == 0); in ParseEncodedValue()
544 SLICER_CHECK(arg == 0); in ParseEncodedValue()
548 SLICER_CHECK(arg < 2); in ParseEncodedValue()
553 SLICER_CHECK(!"unexpected value type"); in ParseEncodedValue()
706 SLICER_CHECK(offset % 4 == 0); in ExtractCode()
772 SLICER_CHECK(method_index != dex::kNoIndex); in ParseEncodedMethod()
774 SLICER_CHECK(method_index != 0); in ParseEncodedMethod()
923 SLICER_CHECK(isize > 0); in ParseInstructions()
926 SLICER_CHECK(ptr == code.end()); in ParseInstructions()
931 SLICER_CHECK(size_ > sizeof(dex::Header)); in ValidateHeader()
935 SLICER_CHECK(header_->file_size <= size_); in ValidateHeader()
936 SLICER_CHECK(header_->header_size == sizeof(dex::Header)); in ValidateHeader()
937 SLICER_CHECK(header_->endian_tag == dex::kEndianConstant); in ValidateHeader()
938 SLICER_CHECK(header_->data_size % 4 == 0); in ValidateHeader()
943 SLICER_CHECK(header_->string_ids_off % 4 == 0); in ValidateHeader()
944 SLICER_CHECK(header_->type_ids_size < 65536); in ValidateHeader()
945 SLICER_CHECK(header_->type_ids_off % 4 == 0); in ValidateHeader()
946 SLICER_CHECK(header_->proto_ids_size < 65536); in ValidateHeader()
947 SLICER_CHECK(header_->proto_ids_off % 4 == 0); in ValidateHeader()
948 SLICER_CHECK(header_->field_ids_off % 4 == 0); in ValidateHeader()
949 SLICER_CHECK(header_->method_ids_off % 4 == 0); in ValidateHeader()
950 SLICER_CHECK(header_->class_defs_off % 4 == 0); in ValidateHeader()
951 SLICER_CHECK(header_->map_off >= header_->data_off && header_->map_off < size_); in ValidateHeader()
952 SLICER_CHECK(header_->link_size == 0); in ValidateHeader()
953 SLICER_CHECK(header_->link_off == 0); in ValidateHeader()
954 SLICER_CHECK(header_->data_off % 4 == 0); in ValidateHeader()
955 SLICER_CHECK(header_->map_off % 4 == 0); in ValidateHeader()
972 SLICER_CHECK(map_list->size > 0); in ValidateHeader()
975 SLICER_CHECK(header_->map_off + map_section_size <= size_); in ValidateHeader()