Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 76) sorted by relevance

1234

/art/test/StackWalk/
Dstack_walk_jni.cc59 CHECK_EQ(GetDexPc(), DexFile::kDexNoIndex); in VisitFrame()
75 CHECK_EQ(1U, GetDexPc()); in VisitFrame()
78 CHECK_EQ(gJava_StackWalk_refmap_calls, 2); in VisitFrame()
79 CHECK_EQ(5U, GetDexPc()); in VisitFrame()
84 CHECK_EQ(0xcU, GetDexPc()); in VisitFrame()
87 CHECK_EQ(gJava_StackWalk_refmap_calls, 2); in VisitFrame()
88 CHECK_EQ(0xcU, GetDexPc()); in VisitFrame()
93 CHECK_EQ(0x380U, GetDexPc()); in VisitFrame()
96 CHECK_EQ(gJava_StackWalk_refmap_calls, 2); in VisitFrame()
97 CHECK_EQ(0x380U, GetDexPc()); in VisitFrame()
[all …]
/art/runtime/arch/x86/
Dthread_x86.cc82 CHECK_EQ((size_t)LDT_ENTRY_SIZE, sizeof(uint64_t)); in InitCpu()
108 CHECK_EQ(0, syscall(__NR_modify_ldt, 1, &ldt_entry, sizeof(ldt_entry))); in InitCpu()
128 CHECK_EQ(THREAD_SELF_OFFSET, OFFSETOF_MEMBER(Thread, self_)); in InitCpu()
133 CHECK_EQ(self_check, this); in InitCpu()
136 CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_)); in InitCpu()
/art/compiler/utils/
Dassembler.cc48 CHECK_EQ(Capacity(), kInitialBufferCapacity); in AssemblerBuffer()
49 CHECK_EQ(Size(), 0U); in AssemblerBuffer()
99 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
100 CHECK_EQ(Size(), old_size); in ExtendCapacity()
/art/runtime/arch/mips/
Dthread_mips.cc25 CHECK_EQ(THREAD_FLAGS_OFFSET, OFFSETOF_MEMBER(Thread, state_and_flags_)); in InitCpu()
26 CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_)); in InitCpu()
/art/runtime/arch/arm/
Dthread_arm.cc25 CHECK_EQ(THREAD_FLAGS_OFFSET, OFFSETOF_MEMBER(Thread, state_and_flags_)); in InitCpu()
26 CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_)); in InitCpu()
/art/runtime/
Dimage.cc49 CHECK_EQ(image_begin, RoundUp(image_begin, kPageSize)); in ImageHeader()
50 CHECK_EQ(oat_file_begin, RoundUp(oat_file_begin, kPageSize)); in ImageHeader()
51 CHECK_EQ(oat_data_begin, RoundUp(oat_data_begin, kPageSize)); in ImageHeader()
Delf_file.cc197CHECK_EQ(static_cast<unsigned char>(llvm::ELF::ELFCLASS32), header_->e_ident[llvm::ELF::EI_CLASS]… in SetMap()
198CHECK_EQ(static_cast<unsigned char>(llvm::ELF::ELFDATA2LSB), header_->e_ident[llvm::ELF::EI_DATA])… in SetMap()
199CHECK_EQ(static_cast<unsigned char>(llvm::ELF::EV_CURRENT), header_->e_ident[llvm::ELF::EI_VERSIO… in SetMap()
202CHECK_EQ(static_cast<llvm::ELF::Elf32_Half>(llvm::ELF::ET_DYN), header_->e_type) << file_->GetPath… in SetMap()
203CHECK_EQ(static_cast<llvm::ELF::Elf32_Word>(llvm::ELF::EV_CURRENT), header_->e_version) << file_->… in SetMap()
204 CHECK_EQ(0U, header_->e_entry) << file_->GetPath(); in SetMap()
464 CHECK_EQ(symbol.st_value, result.first->second->st_value); in FindSymbolByName()
465 CHECK_EQ(symbol.st_size, result.first->second->st_size); in FindSymbolByName()
466 CHECK_EQ(symbol.st_info, result.first->second->st_info); in FindSymbolByName()
467 CHECK_EQ(symbol.st_other, result.first->second->st_other); in FindSymbolByName()
[all …]
Dclass_linker.cc200 CHECK_EQ(arraysize(class_roots_descriptors_), size_t(kClassRootsMax)); in ClassLinker()
342 CHECK_EQ(java_lang_Object.get(), Object_class); in InitFromCompiler()
343 CHECK_EQ(java_lang_Object->GetObjectSize(), sizeof(mirror::Object)); in InitFromCompiler()
346 CHECK_EQ(java_lang_String.get(), String_class); in InitFromCompiler()
347 CHECK_EQ(java_lang_String->GetObjectSize(), sizeof(mirror::String)); in InitFromCompiler()
350 CHECK_EQ(java_lang_String.get(), String_class); in InitFromCompiler()
351 CHECK_EQ(java_lang_DexCache.get(), DexCache_class); in InitFromCompiler()
352 CHECK_EQ(java_lang_DexCache->GetObjectSize(), sizeof(mirror::DexCache)); in InitFromCompiler()
362 CHECK_EQ(char_array_class.get(), found_char_array_class); in InitFromCompiler()
368 CHECK_EQ(int_array_class.get(), found_int_array_class); in InitFromCompiler()
[all …]
Dstack.cc282 CHECK_EQ(cur_depth_, 0U); in WalkStack()
319 CHECK_EQ(GetMethod(), callee) << "Expected: " << PrettyMethod(callee) << " Found: " in WalkStack()
361 CHECK_EQ(cur_depth_, num_frames_); in WalkStack()
/art/compiler/utils/arm/
Dconstants_arm.h352 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1. in IsDataProcessing()
363 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1. in IsMiscellaneous()
367 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1. in IsMultiplyOrSyncPrimitive()
404 CHECK_EQ(TypeField(), 7); in IsVFPDataProcessingOrSingleTransfer()
413 CHECK_EQ(TypeField(), 6); in IsVFPDoubleTransfer()
421 CHECK_EQ(TypeField(), 6); in IsVFPLoadStore()
Dmanaged_register_arm.h209 CHECK_EQ(0, (r_low % 2)); in FromCoreRegisterPair()
221 CHECK_EQ(0, (r_low % 2)); in FromSRegisterPair()
/art/compiler/
Delf_stripper.cc76 CHECK_EQ(0U, i); in Strip()
90 CHECK_EQ(section_headers.size(), section_headers_original_indexes.size()); in Strip()
97 CHECK_EQ(new_sh.sh_name, old_sh.sh_name); in Strip()
Doat_test.cc57 CHECK_EQ(0, memcmp(oat_code, &code[0], code_size)); in CheckMethod()
116 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F()
/art/compiler/utils/x86/
Dmanaged_register_x86.cc92 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdLow()
101 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdHigh()
Dassembler_x86.cc1322 CHECK_EQ(operand.encoding_[0] & 0x38, 0); in EmitOperand()
1397 CHECK_EQ(shifter, ECX); in EmitGenericShift()
1442 CHECK_EQ(0u, size); in Store()
1444 CHECK_EQ(4u, size); in Store()
1447 CHECK_EQ(8u, size); in Store()
1514 CHECK_EQ(0u, size); in Load()
1516 CHECK_EQ(4u, size); in Load()
1519 CHECK_EQ(8u, size); in Load()
1541 CHECK_EQ(0u, size); in Load()
1543 CHECK_EQ(4u, size); in Load()
[all …]
/art/runtime/gc/accounting/
Datomic_stack.h138 CHECK_EQ(start_back_index, back_index_.load()); in Sort()
139 CHECK_EQ(start_front_index, front_index_.load()); in Sort()
Dcard_table.cc77 CHECK_EQ(reinterpret_cast<int>(biased_begin) & 0xff, kCardDirty); in Create()
/art/runtime/base/
Dmutex.cc321 CHECK_EQ(exclusive_owner_, 0U) << "unexpectedly found an owner on unlocked mutex " << name_; in ~Mutex()
322 CHECK_EQ(num_contenders_, 0) << "unexpectedly found a contender on mutex " << name_; in ~Mutex()
470 CHECK_EQ(self->GetHeldMutex(level_), this); in IsExclusiveHeld()
526 CHECK_EQ(state_, 0); in ~ReaderWriterMutex()
527 CHECK_EQ(exclusive_owner_, 0U); in ~ReaderWriterMutex()
528 CHECK_EQ(num_pending_readers_, 0); in ~ReaderWriterMutex()
529 CHECK_EQ(num_pending_writers_, 0); in ~ReaderWriterMutex()
696 CHECK_EQ(self->GetHeldMutex(level_), this); in IsExclusiveHeld()
Dlogging.h41 #define CHECK_EQ(x, y) CHECK_OP(x, y, ==) macro
70 #define DCHECK_EQ(x, y) CHECK_EQ(x, y)
87 CHECK_EQ(val1, val2)
/art/runtime/verifier/
Dreg_type_cache.h48 CHECK_EQ(RegTypeCache::primitive_count_, 0); in Init()
50 CHECK_EQ(RegTypeCache::primitive_count_, kNumPrimitives); in Init()
/art/runtime/entrypoints/quick/
Dquick_instrumentation_entrypoints.cc54 CHECK_EQ(*return_pc, 0U); in artInstrumentationMethodExitFromCode()
/art/runtime/jdwp/
Djdwp_main.cc431 CHECK_EQ(thread_->GetState(), kNative); in Run()
476 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
534 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
/art/compiler/dex/quick/
Dcodegen_util.cc523 CHECK_EQ(pc2dex_mapping_table_.size() & 1, 0U); in CreateMappingTables()
524 CHECK_EQ(dex2pc_mapping_table_.size() & 1, 0U); in CreateMappingTables()
534 CHECK_EQ(table.TotalSize(), total_entries); in CreateMappingTables()
535 CHECK_EQ(table.PcToDexSize(), pc2dex_entries); in CreateMappingTables()
536 CHECK_EQ(table.DexToPcSize(), dex2pc_mapping_table_.size() / 2); in CreateMappingTables()
539 CHECK_EQ(pc2dex_mapping_table_.at(i), it.NativePcOffset()); in CreateMappingTables()
541 CHECK_EQ(pc2dex_mapping_table_.at(i), it.DexPc()); in CreateMappingTables()
545 CHECK_EQ(dex2pc_mapping_table_.at(i), it2.NativePcOffset()); in CreateMappingTables()
547 CHECK_EQ(dex2pc_mapping_table_.at(i), it2.DexPc()); in CreateMappingTables()
/art/compiler/utils/mips/
Dassembler_mips.cc473 CHECK_EQ(0u, size) << dst; in EmitLoad()
475 CHECK_EQ(4u, size) << dst; in EmitLoad()
478 CHECK_EQ(8u, size) << dst; in EmitLoad()
611 CHECK_EQ(0u, size); in Store()
613 CHECK_EQ(4u, size); in Store()
616 CHECK_EQ(8u, size); in Store()
801 CHECK_EQ(size, 4u); in Copy()
809 CHECK_EQ(size, 4u); in Copy()
822 CHECK_EQ(size, 4u); in Copy()
/art/compiler/jni/quick/
Djni_compiler.cc430 CHECK_EQ(param_size, jni_conv->CurrentParamSize()); in CopyParameter()
442 CHECK_EQ(param_size, jni_conv->CurrentParamSize()); in CopyParameter()
457 CHECK_EQ(param_size, jni_conv->CurrentParamSize()); in CopyParameter()
463 CHECK_EQ(param_size, 8u); in CopyParameter()

1234