/art/test/137-cfi/ |
D | run | 19 ${RUN} "$@" -Xcompiler-option --generate-debug-info \ 25 ${RUN} "$@" -Xcompiler-option --generate-debug-info \ 33 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info \
|
/art/tools/veridex/ |
D | precise_hidden_api_finder.cc | 53 for (const ReflectAccessInfo& info : accesses) { in AddUsesAt() local 54 if (info.IsConcrete()) { in AddUsesAt() 55 concrete_uses_[ref].push_back(info); in AddUsesAt() 57 abstract_uses_[ref].push_back(info); in AddUsesAt() 98 for (const ReflectAccessInfo& info : it.second) { in Dump() local 99 std::string cls(info.cls.ToString()); in Dump() 100 std::string name(info.name.ToString()); in Dump()
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | ConstantValueChanger.java | 82 if (mInsn.insn.info.format instanceof ContainsConst) { in generateCachedConstInsns() 91 if (mInsn.insn.info.format instanceof ContainsConst) { in canMutate() 109 long oldConstant = ((ContainsConst)constInsn.insn.info.format).getConst(constInsn.insn); in generateMutation() 116 % ((ContainsConst)constInsn.insn.info.format).getConstRange(); in generateMutation() 136 long oldConstant = ((ContainsConst)constInsn.insn.info.format).getConst(constInsn.insn); in applyMutation() 138 Log.info("Changed constant value #" + oldConstant + " to #" + mutation.newConstant in applyMutation() 144 ((ContainsConst)constInsn.insn.info.format).setConst(constInsn.insn, mutation.newConstant); in applyMutation()
|
D | PoolIndexChanger.java | 83 if (mInsn.insn.info.format instanceof ContainsPoolIndex) { in generateCachedPoolIndexInsns() 95 if (mInsn.insn.info.format instanceof ContainsPoolIndex) { in canMutate() 98 (ContainsPoolIndex)mInsn.insn.info.format; in canMutate() 101 containsPoolIndex.getPoolIndexKind(mInsn.insn.info); in canMutate() 145 (ContainsPoolIndex)poolIndexInsn.insn.info.format; in generateMutation() 153 containsPoolIndex.getPoolIndexKind(poolIndexInsn.insn.info); in generateMutation() 184 (ContainsPoolIndex) poolIndexInsn.insn.info.format; in applyMutation() 188 Log.info("Changed pool index " + oldPoolIndex + " to " + mutation.newPoolIndex in applyMutation()
|
D | NewInstanceChanger.java | 90 if (mInsn.insn.info.opcode == Opcode.NEW_INSTANCE) { in generateCachedNewInstanceInsns() 105 if (mInsn.insn.info.opcode == Opcode.NEW_INSTANCE) { in canMutate() 147 ContainsPoolIndex poolIndex = ((ContainsPoolIndex)newInstanceInsn.insn.info.format); in applyMutation() 151 Log.info("Changed the type of " + newInstanceInsn.toString() + in applyMutation() 181 ContainsPoolIndex poolIndex =((ContainsPoolIndex)insn.insn.info.format); in changeInvokeDirect() 197 Log.info("Changed " + oldMethodIdx + " to " + methodId); in changeInvokeDirect() 202 return (mInsn.insn.info.opcode == Opcode.INVOKE_DIRECT || in isInvokeInst() 203 mInsn.insn.info.opcode == Opcode.INVOKE_DIRECT_RANGE); in isInvokeInst()
|
D | FieldFlagChanger.java | 111 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) insn.info.format; in generateMutation() 137 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) insn.info.format; in applyMutation() 143 Log.info("Set field idx " + fieldIdx + " as volatile"); in applyMutation() 146 Log.info("Set field idx " + fieldIdx + " as not volatile"); in applyMutation() 156 Opcode opcode = mInsn.insn.info.opcode; in isFileDefinedFieldInstruction() 159 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) insn.info.format; in isFileDefinedFieldInstruction()
|
D | NewMethodCaller.java | 148 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_VIRTUAL); in applyMutation() 151 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_DIRECT); in applyMutation() 154 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_SUPER); in applyMutation() 157 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_STATIC); in applyMutation() 160 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_INTERFACE); in applyMutation() 179 Log.info(String.format("Called new method %s %s %s, inserting at %s", in applyMutation()
|
D | CodeMutator.java | 75 Log.info("Set mutation likelihood to " + likelihood in CodeMutator() 93 Log.info("Skipping mutation."); in attemptToMutate() 98 Log.info("Forcing mutation."); in forceMutate()
|
D | RandomInstructionGenerator.java | 223 newInsn.insn.info = Instruction.getOpcodeInfo(mutation.newOpcode); in applyMutation() 224 AbstractFormat fmt = newInsn.insn.info.format; in applyMutation() 259 Log.info("Generated random instruction: " + newInsn in applyMutation() 267 if (newInsn.insn.info.opcode == Opcode.MONITOR_ENTER) { in applyMutation() 269 exitInsn.insn.info = Instruction.getOpcodeInfo(Opcode.MONITOR_EXIT); in applyMutation() 271 Log.info("Generated matching monitor-exit: " + exitInsn); in applyMutation() 272 } else if (newInsn.insn.info.opcode == Opcode.MONITOR_EXIT) { in applyMutation() 274 enterInsn.insn.info = Instruction.getOpcodeInfo(Opcode.MONITOR_ENTER); in applyMutation() 276 Log.info("Generated matching monitor-enter: " + enterInsn); in applyMutation()
|
D | CmpBiasChanger.java | 123 cmpBiasInsn.insn.info = Instruction.getOpcodeInfo(newOpcode); in applyMutation() 125 Log.info("Changed " + oldInsnString + " to " + cmpBiasInsn); in applyMutation() 134 Opcode opcode = mInsn.insn.info.opcode; in getLegalDifferentOpcode() 148 Opcode opcode = mInsn.insn.info.opcode; in isCmpBiasOperation()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 57 jvmtiThreadInfo info; in AgentMain() local 58 jvmtiError info_result = jenv->GetThreadInfo(this_thread, &info); in AgentMain() 60 CHECK(info.is_daemon); in AgentMain() 61 CheckJvmtiError(jenv, jenv->Deallocate(reinterpret_cast<unsigned char*>(info.name))); in AgentMain() 62 if (info.thread_group != nullptr) { in AgentMain() 63 env->DeleteLocalRef(info.thread_group); in AgentMain() 65 if (info.context_class_loader != nullptr) { in AgentMain() 66 env->DeleteLocalRef(info.context_class_loader); in AgentMain()
|
/art/compiler/optimizing/ |
D | induction_var_analysis.cc | 357 InductionInfo* info = nullptr; in ClassifyTrivial() local 359 info = TransferPhi(loop, instruction, /*input_index*/ 0, /*adjust_input_size*/ 0); in ClassifyTrivial() 361 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial() 364 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial() 367 info = TransferNeg(LookupInfo(loop, instruction->InputAt(0))); in ClassifyTrivial() 369 info = TransferMul(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial() 374 info = TransferMul(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial() 378 info = TransferPhi(loop, instruction, /*input_index*/ 0, /*adjust_input_size*/ 1); in ClassifyTrivial() 380 info = TransferConversion(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial() 384 info = LookupInfo(loop, instruction->InputAt(0)); // Pass-through. in ClassifyTrivial() [all …]
|
D | licm.cc | 33 HLoopInformation* info = instruction->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop() local 38 if (input_loop != nullptr && input_loop->IsIn(*info)) { in InputsAreDefinedBeforeLoop() 50 if (input_loop != nullptr && input_loop->IsIn(*info)) { in InputsAreDefinedBeforeLoop() 53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); in InputsAreDefinedBeforeLoop() 67 static void UpdateLoopPhisIn(HEnvironment* environment, HLoopInformation* info) { in UpdateLoopPhisIn() argument 71 if (input != nullptr && IsPhiOf(input, info->GetHeader())) { in UpdateLoopPhisIn()
|
D | optimizing_compiler.cc | 1266 debug::MethodDebugInfo info = {}; in JitCompile() local 1267 info.custom_name = "art_jni_trampoline"; in JitCompile() 1268 info.dex_file = dex_file; in JitCompile() 1269 info.class_def_index = class_def_idx; in JitCompile() 1270 info.dex_method_index = method_idx; in JitCompile() 1271 info.access_flags = access_flags; in JitCompile() 1272 info.code_item = code_item; in JitCompile() 1273 info.isa = jni_compiled_method.GetInstructionSet(); in JitCompile() 1274 info.deduped = false; in JitCompile() 1275 info.is_native_debuggable = compiler_options.GetNativeDebuggable(); in JitCompile() [all …]
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | SiteTest.java | 112 for (Site.ObjectsInfo info : siteStrong.getObjectsInfos()) { in objectsInfos() 113 if (info.heap == refStrong.getHeap() && info.classObj == refStrong.getClassObj()) { in objectsInfos() 114 numReferenceStrong = info.numInstances; in objectsInfos() 127 for (Site.ObjectsInfo info : siteSoft.getObjectsInfos()) { in objectsInfos() 128 if (info.heap == refSoft.getHeap() && info.classObj == refSoft.getClassObj()) { in objectsInfos() 129 numReferenceSoft = info.numInstances; in objectsInfos()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 341 ProfilingInfo* info = method->GetProfilingInfo(kRuntimePointerSize); in FindCompiledCodeForInstrumentation() local 342 if (info == nullptr) { in FindCompiledCodeForInstrumentation() 348 return info->GetSavedEntryPoint(); in FindCompiledCodeForInstrumentation() 462 for (ProfilingInfo* info : profiling_infos_) { in SweepRootTables() 463 for (size_t i = 0; i < info->number_of_inline_caches_; ++i) { in SweepRootTables() 464 InlineCache* cache = &info->cache_[i]; in SweepRootTables() 570 ProfilingInfo* info = *it; in RemoveMethodsIn() local 571 if (alloc.ContainsUnsafe(info->GetMethod())) { in RemoveMethodsIn() 572 info->GetMethod()->SetProfilingInfo(nullptr); in RemoveMethodsIn() 573 private_region_.FreeWritableData(reinterpret_cast<uint8_t*>(info)); in RemoveMethodsIn() [all …]
|
D | profiling_info_test.cc | 72 ProfileCompilationInfo info; in SaveProfilingInfo() local 79 if (!info.AddMethods(profile_methods, flags)) { in SaveProfilingInfo() 82 if (info.GetNumberOfMethods() != profile_methods.size()) { in SaveProfilingInfo() 89 if (!info.MergeWith(file_profile)) { in SaveProfilingInfo() 93 return info.Save(filename, nullptr); in SaveProfilingInfo() 104 ProfileCompilationInfo info; in SaveProfilingInfoWithFakeInlineCaches() local 143 if (!info.AddMethods(profile_methods, flags) in SaveProfilingInfoWithFakeInlineCaches() 144 || info.GetNumberOfMethods() != profile_methods.size()) { in SaveProfilingInfoWithFakeInlineCaches() 147 return info.Save(filename, nullptr); in SaveProfilingInfoWithFakeInlineCaches() 279 ProfileCompilationInfo info; in TEST_F() local [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
D | Format22c.java | 29 file.writeByte((byte) insn.info.value); in writeToFile() 66 public PoolIndexKind getPoolIndexKind(OpcodeInfo info) { in getPoolIndexKind() argument 67 if (info.opcode == Opcode.INSTANCE_OF || info.opcode == Opcode.NEW_ARRAY) { in getPoolIndexKind()
|
D | Format3rc.java | 29 file.writeByte((byte) insn.info.value); in writeToFile() 62 public PoolIndexKind getPoolIndexKind(OpcodeInfo info) { in getPoolIndexKind() argument 63 if (info.opcode == Opcode.FILLED_NEW_ARRAY_RANGE) { in getPoolIndexKind()
|
D | Format35c.java | 29 file.writeByte((byte) insn.info.value); in writeToFile() 69 public PoolIndexKind getPoolIndexKind(OpcodeInfo info) { in getPoolIndexKind() argument 70 if (info.opcode == Opcode.FILLED_NEW_ARRAY) { in getPoolIndexKind()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatClassInstance.java | 284 BitmapInfo info = getBitmapInfo(); in asBitmap() local 285 if (info == null) { in asBitmap() 291 int[] abgr = new int[info.height * info.width]; in asBitmap() 294 (((int) info.buffer[i * 4 + 3] & 0xFF) << 24) in asBitmap() 295 + (((int) info.buffer[i * 4 + 0] & 0xFF) << 16) in asBitmap() 296 + (((int) info.buffer[i * 4 + 1] & 0xFF) << 8) in asBitmap() 297 + ((int) info.buffer[i * 4 + 2] & 0xFF)); in asBitmap() 301 info.width, info.height, BufferedImage.TYPE_4BYTE_ABGR); in asBitmap() 302 bitmap.setRGB(0, 0, info.width, info.height, abgr, 0, info.width); in asBitmap()
|
/art/openjdkjvmti/ |
D | ti_object.cc | 98 art::MonitorInfo info(target.Ptr()); in GetObjectMonitorUsage() local 99 usage->owner = info.owner_ != nullptr ? in GetObjectMonitorUsage() 100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; in GetObjectMonitorUsage() 101 usage->entry_count = info.entry_count_; in GetObjectMonitorUsage() 102 for (art::Thread* thd : info.waiters_) { in GetObjectMonitorUsage() 112 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
|
/art/runtime/ |
D | class_loader_context.h | 255 ClassLoaderInfo* info = class_loader_chain_.get(); in GetParentChainSize() local 256 while (info != nullptr) { in GetParentChainSize() 258 info = info->parent.get(); in GetParentChainSize() 308 void EncodeContextInternal(const ClassLoaderInfo& info, 323 void EncodeSharedLibAndParent(const ClassLoaderInfo& info, 329 bool ClassLoaderInfoMatch(const ClassLoaderInfo& info,
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 77 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 78 if (!IsValidImplicitCheck(info)) { in Action() 91 sc->regs[30] = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 106 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() 158 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action()
|
/art/test/595-profile-saving/ |
D | profile-saving.cc | 72 ProfileCompilationInfo info; in Java_Main_isForBootImage() local 73 info.Load(std::string(filename_chars.c_str()), /*clear_if_invalid=*/ false); in Java_Main_isForBootImage() 74 return info.IsForBootImage(); in Java_Main_isForBootImage()
|