Searched refs:expected_size (Results 1 – 6 of 6) sorted by relevance
/art/runtime/ |
D | dex_file_verifier.cc | 245 uint32_t expected_size = header_->file_size_; in CheckHeader() local 246 if (size_ != expected_size) { in CheckHeader() 247 ErrorStringPrintf("Bad file size (%zd, expected %ud)", size_, expected_size); in CheckHeader() 255 adler_checksum = adler32(adler_checksum, non_sum_ptr, expected_size - non_sum); in CheckHeader() 1250 uint32_t expected_size; in CheckIntraIdSection() local 1256 expected_size = header_->string_ids_size_; in CheckIntraIdSection() 1260 expected_size = header_->type_ids_size_; in CheckIntraIdSection() 1264 expected_size = header_->proto_ids_size_; in CheckIntraIdSection() 1268 expected_size = header_->field_ids_size_; in CheckIntraIdSection() 1272 expected_size = header_->method_ids_size_; in CheckIntraIdSection() [all …]
|
D | dex_file_verifier_test.cc | 161 uint32_t expected_size = header->file_size_; in FixUpChecksum() local 165 adler_checksum = adler32(adler_checksum, non_sum_ptr, expected_size - non_sum); in FixUpChecksum()
|
D | class_linker_test.cc | 396 size_t expected_size = is_static ? klass->GetClassSize(): klass->GetObjectSize(); in Check() local 397 if (sizeof(T) != expected_size) { in Check() 400 << " Java=" << expected_size in Check()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 259 Thread* self, size_t expected_size) { in FindFieldFromCode() argument 297 resolved_field->FieldSize() != expected_size)) { in FindFieldFromCode() 302 expected_size * (32 / sizeof(int32_t)), in FindFieldFromCode() 334 Thread* self, size_t expected_size) \ 481 FindFieldType type, size_t expected_size) { in FindFieldFast() argument 528 resolved_field->FieldSize() != expected_size)) { in FindFieldFast()
|
D | entrypoint_utils.h | 136 Thread* self, size_t expected_size) 148 FindFieldType type, size_t expected_size)
|
/art/runtime/gc/ |
D | heap.cc | 3218 size_t expected_size; in RegisterNativeFree() local 3220 expected_size = native_bytes_allocated_.LoadRelaxed(); in RegisterNativeFree() 3221 if (UNLIKELY(bytes > expected_size)) { in RegisterNativeFree() 3225 "registered as allocated", bytes, expected_size).c_str()); in RegisterNativeFree() 3228 } while (!native_bytes_allocated_.CompareExchangeWeakRelaxed(expected_size, in RegisterNativeFree() 3229 expected_size - bytes)); in RegisterNativeFree()
|