Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 30) sorted by relevance

12

/art/runtime/base/
Dtiming_logger.h60 void AddPair(const std::string &label, uint64_t delta_time)
159 explicit ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() argument
160 logger_->StartTiming(label); in ScopedTiming()
166 void NewTiming(const char* label) { in NewTiming() argument
167 logger_->NewTiming(label); in NewTiming()
Dtiming_logger.cc91 void CumulativeLogger::AddPair(const std::string& label, uint64_t delta_time) { in AddPair() argument
96 Histogram<uint64_t> dummy(label.c_str()); in AddPair()
101 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets); in AddPair()
138 void TimingLogger::StartTiming(const char* label) { in StartTiming() argument
139 DCHECK(label != nullptr); in StartTiming()
140 timings_.push_back(Timing(NanoTime(), label)); in StartTiming()
141 ATRACE_BEGIN(label); in StartTiming()
/art/runtime/
Ddex_file_verifier.h45 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label);
48 bool CheckList(size_t element_size, const char* label, const byte* *ptr);
51 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, const char* label);
52 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
Ddex_file_verifier.cc174 const char* label) { in CheckListSize() argument
186 ErrorStringPrintf("Overflow in range for %s: %zx for %zu@%zu", label, in CheckListSize()
196 ErrorStringPrintf("Bad range for %s: %zx to %zx", label, in CheckListSize()
204 bool DexFileVerifier::CheckList(size_t element_size, const char* label, const byte* *ptr) { in CheckList() argument
206 if (!CheckListSize(*ptr, 1, 4U, label)) { in CheckList()
212 if (!CheckListSize(*ptr + 4, count, element_size, label)) { in CheckList()
221 bool DexFileVerifier::CheckIndex(uint32_t field, uint32_t limit, const char* label) { in CheckIndex() argument
223 ErrorStringPrintf("Bad index for %s: %x >= %x", label, field, limit); in CheckIndex()
229 bool DexFileVerifier::CheckValidOffsetAndSize(uint32_t offset, uint32_t size, const char* label) { in CheckValidOffsetAndSize() argument
232 ErrorStringPrintf("Offset(%d) should be zero when size is zero for %s.", offset, label); in CheckValidOffsetAndSize()
[all …]
Delf_file.h149 bool CheckAndSet(Elf32_Off offset, const char* label, byte** target, std::string* error_msg);
Delf_file.cc327 bool ElfFile::CheckAndSet(Elf32_Off offset, const char* label, in CheckAndSet() argument
330 *error_msg = StringPrintf("Offset %d is out of range for %s in ELF file: '%s'", offset, label, in CheckAndSet()
/art/compiler/dex/
Dcompiler_ir.h44 void StartTimingSplit(const char* label);
45 void NewTimingSplit(const char* label);
Dfrontend.cc513 void CompilationUnit::StartTimingSplit(const char* label) { in StartTimingSplit() argument
515 timings.StartTiming(label); in StartTimingSplit()
519 void CompilationUnit::NewTimingSplit(const char* label) { in NewTimingSplit() argument
522 timings.StartTiming(label); in NewTimingSplit()
/art/compiler/utils/x86/
Dassembler_x86.cc49 void X86Assembler::call(Label* label) { in call() argument
53 EmitLabel(label, kSize); in call()
57 void X86Assembler::call(const ExternalLabel& label) { in call() argument
61 EmitInt32(label.address()); in call()
1150 void X86Assembler::j(Condition condition, Label* label) { in j() argument
1152 if (label->IsBound()) { in j()
1155 int offset = label->Position() - buffer_.Size(); in j()
1168 EmitLabelLink(label); in j()
1185 void X86Assembler::jmp(Label* label) { in jmp() argument
1187 if (label->IsBound()) { in jmp()
[all …]
Dassembler_x86.h222 void call(Label* label);
223 void call(const ExternalLabel& label);
420 void j(Condition condition, Label* label);
424 void jmp(Label* label);
456 void Bind(Label* label);
585 void EmitLabel(Label* label, int instruction_size);
586 void EmitLabelLink(Label* label);
587 void EmitNearLabelLink(Label* label);
/art/compiler/utils/mips/
Dassembler_mips.cc92 void MipsAssembler::EmitBranch(Register rt, Register rs, Label* label, bool equal) { in EmitBranch() argument
94 if (label->IsBound()) { in EmitBranch()
95 offset = label->Position() - buffer_.Size(); in EmitBranch()
98 offset = label->position_; in EmitBranch()
99 label->LinkTo(buffer_.Size()); in EmitBranch()
108 void MipsAssembler::EmitJump(Label* label, bool link) { in EmitJump() argument
110 if (label->IsBound()) { in EmitJump()
111 offset = label->Position() - buffer_.Size(); in EmitJump()
114 offset = label->position_; in EmitJump()
115 label->LinkTo(buffer_.Size()); in EmitJump()
[all …]
Dassembler_mips.h150 void EmitBranch(Register rt, Register rs, Label* label, bool equal);
151 void EmitJump(Label* label, bool link);
152 void Bind(Label* label, bool is_jump);
/art/compiler/utils/arm/
Dassembler_thumb2.cc574 void Thumb2Assembler::b(Label* label, Condition cond) { in b() argument
575 EmitBranch(cond, label, false, false); in b()
579 void Thumb2Assembler::bl(Label* label, Condition cond) { in bl() argument
581 EmitBranch(cond, label, true, false); in bl()
585 void Thumb2Assembler::blx(Label* label) { in blx() argument
586 EmitBranch(AL, label, true, true); in blx()
590 void Thumb2Assembler::MarkExceptionHandler(Label* label) { in MarkExceptionHandler() argument
594 EmitBranch(AL, label, false, false); in MarkExceptionHandler()
1467 void Thumb2Assembler::EmitBranch(Condition cond, Label* label, bool link, bool x) { in EmitBranch() argument
1484 if (label->IsBound()) { in EmitBranch()
[all …]
Dassembler_arm32.cc489 void Arm32Assembler::b(Label* label, Condition cond) { in b() argument
490 EmitBranch(cond, label, false); in b()
494 void Arm32Assembler::bl(Label* label, Condition cond) { in bl() argument
495 EmitBranch(cond, label, true); in bl()
499 void Arm32Assembler::MarkExceptionHandler(Label* label) { in MarkExceptionHandler() argument
503 EmitBranch(AL, label, false); in MarkExceptionHandler()
650 void Arm32Assembler::EmitBranch(Condition cond, Label* label, bool link) { in EmitBranch() argument
651 if (label->IsBound()) { in EmitBranch()
652 EmitType5(cond, label->Position() - buffer_.Size(), link); in EmitBranch()
656 EmitType5(cond, label->position_, link); in EmitBranch()
[all …]
Dassembler_arm32.h196 void b(Label* label, Condition cond = AL);
197 void bl(Label* label, Condition cond = AL);
228 void CompareAndBranchIfZero(Register r, Label* label) OVERRIDE;
229 void CompareAndBranchIfNonZero(Register r, Label* label) OVERRIDE;
247 void MarkExceptionHandler(Label* label) OVERRIDE;
281 void Bind(Label* label) OVERRIDE;
356 void EmitBranch(Condition cond, Label* label, bool link);
Dassembler_thumb2.h225 void b(Label* label, Condition cond = AL);
226 void bl(Label* label, Condition cond = AL);
227 void blx(Label* label);
259 void CompareAndBranchIfZero(Register r, Label* label) OVERRIDE;
260 void CompareAndBranchIfNonZero(Register r, Label* label) OVERRIDE;
277 void MarkExceptionHandler(Label* label) OVERRIDE;
312 void Bind(Label* label) OVERRIDE;
414 void EmitBranch(Condition cond, Label* label, bool link, bool x);
Dassembler_arm.h521 virtual void b(Label* label, Condition cond = AL) = 0;
522 virtual void bl(Label* label, Condition cond = AL) = 0;
545 virtual void MarkExceptionHandler(Label* label) = 0;
605 virtual void Bind(Label* label) = 0;
607 virtual void CompareAndBranchIfZero(Register r, Label* label) = 0;
608 virtual void CompareAndBranchIfNonZero(Register r, Label* label) = 0;
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc55 void X86_64Assembler::call(Label* label) { in call() argument
59 EmitLabel(label, kSize); in call()
1344 void X86_64Assembler::j(Condition condition, Label* label) { in j() argument
1346 if (label->IsBound()) { in j()
1349 int offset = label->Position() - buffer_.Size(); in j()
1362 EmitLabelLink(label); in j()
1381 void X86_64Assembler::jmp(Label* label) { in jmp() argument
1383 if (label->IsBound()) { in jmp()
1386 int offset = label->Position() - buffer_.Size(); in jmp()
1397 EmitLabelLink(label); in jmp()
[all …]
Dassembler_x86_64.h264 void call(Label* label);
461 void j(Condition condition, Label* label);
465 void jmp(Label* label);
498 void Bind(Label* label);
629 void EmitLabel(Label* label, int instruction_size);
630 void EmitLabelLink(Label* label);
631 void EmitNearLabelLink(Label* label);
/art/test/023-many-interfaces/src/
DManyInterfaces.java173 private static void report(String label, long start, long end, int iter, in report() argument
176 System.out.println(label + ": " + (end - start) / 1000 + "us" in report()
179 System.out.println(label + ": done"); in report()
/art/compiler/optimizing/
Dcode_generator_x86_64.h130 virtual void Bind(Label* label) OVERRIDE;
Dcode_generator.h93 virtual void Bind(Label* label) = 0;
Dcode_generator_x86.h133 virtual void Bind(Label* label) OVERRIDE;
Dcode_generator_arm.h131 virtual void Bind(Label* label) OVERRIDE;
/art/runtime/arch/x86/
Dmemcmp16_x86.S24 # define L(label) .L##label argument

12