/dalvik/dx/src/com/android/dx/rop/code/ |
D | AccessFlags.java | 152 public static String classString(int flags) { in classString() argument 153 return humanHelper(flags, CLASS_FLAGS, CONV_CLASS); in classString() 163 public static String innerClassString(int flags) { in innerClassString() argument 164 return humanHelper(flags, INNER_CLASS_FLAGS, CONV_CLASS); in innerClassString() 174 public static String fieldString(int flags) { in fieldString() argument 175 return humanHelper(flags, FIELD_FLAGS, CONV_FIELD); in fieldString() 185 public static String methodString(int flags) { in methodString() argument 186 return humanHelper(flags, METHOD_FLAGS, CONV_METHOD); in methodString() 196 public static boolean isPublic(int flags) { in isPublic() argument 197 return (flags & ACC_PUBLIC) != 0; in isPublic() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | AccessFlags.java | 152 public static String classString(int flags) { in classString() argument 153 return humanHelper(flags, CLASS_FLAGS, CONV_CLASS); in classString() 163 public static String innerClassString(int flags) { in innerClassString() argument 164 return humanHelper(flags, INNER_CLASS_FLAGS, CONV_CLASS); in innerClassString() 174 public static String fieldString(int flags) { in fieldString() argument 175 return humanHelper(flags, FIELD_FLAGS, CONV_FIELD); in fieldString() 185 public static String methodString(int flags) { in methodString() argument 186 return humanHelper(flags, METHOD_FLAGS, CONV_METHOD); in methodString() 196 public static boolean isPublic(int flags) { in isPublic() argument 197 return (flags & ACC_PUBLIC) != 0; in isPublic() [all …]
|
/dalvik/vm/compiler/codegen/arm/ |
D | CodegenCommon.cpp | 39 assert(EncodingMap[lir->opcode].flags & (IS_LOAD | IS_STORE)); in setMemRefType() 61 assert(!(EncodingMap[lir->opcode].flags & IS_STORE)); in setMemRefType() 129 int flags; in setupResourceMasks() local 136 flags = EncodingMap[lir->opcode].flags; in setupResourceMasks() 139 if (flags & (IS_LOAD | IS_STORE)) { in setupResourceMasks() 141 setMemRefType(lir, flags & IS_LOAD, kHeapRef); in setupResourceMasks() 148 if (flags & IS_BRANCH) { in setupResourceMasks() 153 if (flags & REG_DEF0) { in setupResourceMasks() 157 if (flags & REG_DEF1) { in setupResourceMasks() 161 if (flags & REG_DEF_SP) { in setupResourceMasks() [all …]
|
D | LocalOptimizations.cpp | 102 if ((thisLIR->flags.isNop == true) || in applyLoadStoreElimination() 104 !(EncodingMap[thisLIR->opcode].flags & (IS_LOAD | IS_STORE))) { in applyLoadStoreElimination() 109 bool isThisLIRLoad = EncodingMap[thisLIR->opcode].flags & IS_LOAD; in applyLoadStoreElimination() 138 if (checkLIR->flags.isNop) continue; in applyLoadStoreElimination() 149 bool isCheckLIRLoad = EncodingMap[checkLIR->opcode].flags & in applyLoadStoreElimination() 156 assert(!(EncodingMap[checkLIR->opcode].flags & in applyLoadStoreElimination() 170 checkLIR->flags.isNop = true; in applyLoadStoreElimination() 194 checkLIR->flags.isNop = true; in applyLoadStoreElimination() 208 thisLIR->flags.isNop = true; in applyLoadStoreElimination() 226 } else if (checkLIR->flags.isNop) { in applyLoadStoreElimination() [all …]
|
D | ArchUtility.cpp | 372 if (lir->flags.isNop && !dumpNop) { in dvmDumpLIRInsn() 381 lir->flags.isNop ? "(nop)" : ""); in dvmDumpLIRInsn() 385 if (lir->useMask && (!lir->flags.isNop || dumpNop)) { in dvmDumpLIRInsn() 389 if (lir->defMask && (!lir->flags.isNop || dumpNop)) { in dvmDumpLIRInsn() 424 int dvmCompilerCacheFlush(long start, long end, long flags) in dvmCompilerCacheFlush() argument 426 return cacheflush(start, end, flags); in dvmCompilerCacheFlush()
|
D | GlobalOptimizations.cpp | 44 thisLIR->flags.isNop = true; in applyRedundantBranchElimination()
|
/dalvik/vm/native/ |
D | InternalNative.cpp | 240 u4 dvmFixMethodFlags(u4 flags) in dvmFixMethodFlags() argument 242 if ((flags & ACC_ABSTRACT) != 0) { in dvmFixMethodFlags() 243 flags &= ~ACC_NATIVE; in dvmFixMethodFlags() 246 flags &= ~ACC_SYNCHRONIZED; in dvmFixMethodFlags() 248 if ((flags & ACC_DECLARED_SYNCHRONIZED) != 0) { in dvmFixMethodFlags() 249 flags |= ACC_SYNCHRONIZED; in dvmFixMethodFlags() 252 return flags & JAVA_FLAGS_MASK; in dvmFixMethodFlags()
|
D | dalvik_bytecode_OpcodeInfo.cpp | 35 int flags = dexGetFlagsFromOpcode(opcode); in Dalvik_dalvik_bytecode_OpcodeInfo_isInvoke() local 36 bool result = (flags & kInstrInvoke) != 0; in Dalvik_dalvik_bytecode_OpcodeInfo_isInvoke()
|
/dalvik/vm/alloc/ |
D | Alloc.h | 54 void* dvmMalloc(size_t size, int flags); 64 extern "C" Object* dvmAllocObject(ClassObject* clazz, int flags); 94 Object* dvmCloneObject(Object* obj, int flags);
|
D | Alloc.cpp | 181 Object* dvmAllocObject(ClassObject* clazz, int flags) in dvmAllocObject() argument 189 newObj = (Object*)dvmMalloc(clazz->objectSize, flags); in dvmAllocObject() 204 Object* dvmCloneObject(Object* obj, int flags) in dvmCloneObject() argument 222 Object* copy = (Object*)dvmMalloc(size, flags); in dvmCloneObject()
|
/dalvik/tests/046-reflect/ |
D | expected.txt | 7 Access flags are 0x1 12 Access flags are 0x1 16 Access flags are 0x9 23 Access flags are 0x1 39 Access flags are 0x1 52 Access flags are 0x1 65 Access flags are 0x9 70 Access flags are 0x9 77 Access flags are 0x19 82 Access flags are 0x11
|
/dalvik/libdex/ |
D | InstrUtils.h | 117 OpcodeFlags* flags; member 161 return gDexOpcodeInfo.flags[opcode]; in dexGetFlagsFromOpcode() 167 DEX_INLINE bool dexIsGoto(OpcodeFlags flags) in dexIsGoto() argument 169 return (flags & (kInstrCanBranch | kInstrCanContinue)) == kInstrCanBranch; in dexIsGoto()
|
D | DexFile.cpp | 289 DexFile* dexFileParse(const u1* data, size_t length, int flags) in dexFileParse() argument 319 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags); in dexFileParse() 348 if (flags & kDexParseVerifyChecksum) { in dexFileParse() 353 if (!(flags & kDexParseContinueOnError)) in dexFileParse() 365 if (!(flags & kDexParseContinueOnError)) in dexFileParse() 391 if (!(flags & kDexParseContinueOnError)) in dexFileParse() 401 if (!(flags & kDexParseContinueOnError)) in dexFileParse()
|
/dalvik/dexopt/ |
D | OptMain.cpp | 421 int fd, flags, vmBuildVersion; in fromDex() local 456 GET_ARG(flags, strtol, "bad flags"); in fromDex() 459 fd, offset, length, debugFileName, modWhen, crc, flags, argc); in fromDex() 496 if ((flags & DEXOPT_VERIFY_ENABLED) != 0) { in fromDex() 497 if ((flags & DEXOPT_VERIFY_ALL) != 0) in fromDex() 504 if ((flags & DEXOPT_OPT_ENABLED) != 0) { in fromDex() 505 if ((flags & DEXOPT_OPT_ALL) != 0) in fromDex() 513 if (dvmPrepForDexOpt(bootClassPath, dexOptMode, verifyMode, flags) != 0) { in fromDex() 522 modWhen, crc, (flags & DEXOPT_IS_BOOTSTRAP) != 0)) in fromDex()
|
/dalvik/vm/compiler/codegen/x86/ |
D | ArchUtility.cpp | 27 int dvmCompilerCacheFlush(long start, long end, long flags) in dvmCompilerCacheFlush() argument
|
D | CalloutHelper.h | 51 Object* dvmAllocObject(ClassObject* clazz, int flags); // OP_NEW_INSTANCE
|
/dalvik/vm/mterp/x86/ |
D | OP_INVOKE_STATIC.S | 26 movl %eax,OUT_ARG2(%esp) # arg2<- flags 27 call dvmResolveMethod # call(clazz,ref,flags)
|
D | OP_INVOKE_VIRTUAL.S | 26 movl $$METHOD_VIRTUAL,OUT_ARG2(%esp) # arg2<- flags 27 call dvmResolveMethod # eax<- call(clazz, ref, flags)
|
/dalvik/vm/compiler/ |
D | Frontend.cpp | 214 int flags = dexGetFlagsFromOpcode(dalvikInsn->opcode); in analyzeInlineTarget() local 217 if (flags & kInstrInvoke) { in analyzeInlineTarget() 221 if (!(flags & kInstrCanReturn)) { in analyzeInlineTarget() 237 if (flags & kInstrCanReturn) { in analyzeInlineTarget() 246 if (flags & kInstrCanThrow) { in analyzeInlineTarget() 903 MIR *insn, int curOffset, int width, int flags, in processCanBranch() argument 945 if (flags & kInstrCanContinue) { in processCanBranch() 983 MIR *insn, int curOffset, int width, int flags) in processCanSwitch() argument 1069 MIR *insn, int curOffset, int width, int flags, in processCanThrow() argument 1239 int flags = dexGetFlagsFromOpcode(insn->dalvikInsn.opcode); in dvmCompileMethod() local [all …]
|
/dalvik/vm/ |
D | Profile.h | 45 int flags; member 86 int flags, bool directToDdms);
|
/dalvik/vm/mterp/armv5te/ |
D | OP_GOTO_16.S | 11 adds r1, r0, r0 @ r1<- byte offset, flags set
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
D | Factory.cpp | 400 if (EncodingMap[opcode].flags & IS_BINARY_OP) in opRegRegShift() 402 else if (EncodingMap[opcode].flags & IS_TERTIARY_OP) { in opRegRegShift() 407 } else if (EncodingMap[opcode].flags & IS_QUAD_OP) in opRegRegShift() 477 if (EncodingMap[opcode].flags & IS_QUAD_OP) in opRegRegRegShift() 480 assert(EncodingMap[opcode].flags & IS_TERTIARY_OP); in opRegRegRegShift() 604 if (EncodingMap[altOpcode].flags & IS_QUAD_OP) in opRegRegImm() 744 load->flags.insertWrapper = true; in loadBaseIndexed() 772 load->flags.insertWrapper = true; in loadBaseIndexed() 808 store->flags.insertWrapper = true; in storeBaseIndexed() 832 store->flags.insertWrapper = true; in storeBaseIndexed() [all …]
|
/dalvik/opcode-gen/ |
D | opcode-gen.awk | 299 flags[idx] = parts[6]; 330 if (flagsToC(flags[idx]) == "") { 331 printf("bogus flags: %s\n", flags[idx]) >"/dev/stderr"; 416 packedFlags[i] = flags[op]; 528 split(flags[idx], parts, /\|/); # Split flags[idx] at pipes.
|
/dalvik/vm/analysis/ |
D | DexPrepare.cpp | 388 int flags; in dvmOptimizeDexFile() local 441 flags = 0; in dvmOptimizeDexFile() 443 flags |= DEXOPT_OPT_ENABLED; in dvmOptimizeDexFile() 445 flags |= DEXOPT_OPT_ALL; in dvmOptimizeDexFile() 448 flags |= DEXOPT_VERIFY_ENABLED; in dvmOptimizeDexFile() 450 flags |= DEXOPT_VERIFY_ALL; in dvmOptimizeDexFile() 453 flags |= DEXOPT_IS_BOOTSTRAP; in dvmOptimizeDexFile() 455 flags |= DEXOPT_GEN_REGISTER_MAPS; in dvmOptimizeDexFile() 456 sprintf(values[9], "%d", flags); in dvmOptimizeDexFile() 726 optHdr.flags = DEX_OPT_FLAG_BIG; in dvmContinueOptimization() [all …]
|
/dalvik/vm/oo/ |
D | Class.h | 176 void dvmDumpClass(const ClassObject* clazz, int flags); 177 void dvmDumpAllClasses(int flags);
|