/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/ |
D | BuilderInstruction35c.java | 46 protected final int registerCount; field in BuilderInstruction35c 55 int registerCount, in BuilderInstruction35c() argument 63 this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); in BuilderInstruction35c() 64 this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; in BuilderInstruction35c() 65 this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; in BuilderInstruction35c() 66 this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; in BuilderInstruction35c() 67 this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; in BuilderInstruction35c() 68 this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; in BuilderInstruction35c() 72 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | BuilderInstruction45cc.java | 46 protected final int registerCount; field in BuilderInstruction45cc 56 int registerCount, in BuilderInstruction45cc() argument 65 this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); in BuilderInstruction45cc() 66 this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; in BuilderInstruction45cc() 67 this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; in BuilderInstruction45cc() 68 this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; in BuilderInstruction45cc() 69 this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; in BuilderInstruction45cc() 70 this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; in BuilderInstruction45cc() 75 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | BuilderInstruction3rc.java | 47 protected final int registerCount; field in BuilderInstruction3rc 53 int registerCount, in BuilderInstruction3rc() argument 57 this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); in BuilderInstruction3rc() 62 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | BuilderInstruction4rcc.java | 47 protected final int registerCount; field in BuilderInstruction4rcc 54 int registerCount, in BuilderInstruction4rcc() argument 59 this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); in BuilderInstruction4rcc() 65 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | RegisterFormatter.java | 42 public final int registerCount; field in RegisterFormatter 45 …public RegisterFormatter(@Nonnull BaksmaliOptions options, int registerCount, int parameterRegiste… in RegisterFormatter() argument 47 this.registerCount = registerCount; in RegisterFormatter() 64 if (startRegister >= registerCount - parameterRegisterCount) { in writeRegisterRange() 66 … writer.printSignedIntAsDec(startRegister - (registerCount - parameterRegisterCount)); in writeRegisterRange() 68 writer.printSignedIntAsDec(lastRegister - (registerCount - parameterRegisterCount)); in writeRegisterRange() 90 if (register >= registerCount - parameterRegisterCount) { in writeTo() 92 writer.printSignedIntAsDec((register - (registerCount - parameterRegisterCount))); in writeTo()
|
D | PreInstructionRegisterInfoMethodItem.java | 67 int registerCount = analyzedInstruction.getRegisterCount(); in writeTo() local 68 BitSet registers = new BitSet(registerCount); in writeTo() 72 registers.set(0, registerCount); in writeTo() 75 registers.set(0, registerCount); in writeTo() 82 addParamRegs(registers, registerCount); in writeTo() 84 mergeRegisters = new BitSet(registerCount); in writeTo() 85 addMergeRegs(mergeRegisters, registerCount); in writeTo() 88 addParamRegs(registers, registerCount); in writeTo() 95 mergeRegisters = new BitSet(registerCount); in writeTo() 96 addMergeRegs(mergeRegisters, registerCount); in writeTo() [all …]
|
D | PostInstructionRegisterInfoMethodItem.java | 60 int registerCount = analyzedInstruction.getRegisterCount(); in writeTo() local 61 BitSet registers = new BitSet(registerCount); in writeTo() 64 registers.set(0, registerCount); in writeTo() 67 registers.set(0, registerCount); in writeTo() 69 addDestRegs(registers, registerCount); in writeTo() 76 private void addDestRegs(BitSet printPostRegister, int registerCount) { in addDestRegs() argument 77 for (int registerNum=0; registerNum<registerCount; registerNum++) { in addDestRegs()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
D | ImmutableInstruction35mi.java | 44 protected final int registerCount; field in ImmutableInstruction35mi 53 int registerCount, in ImmutableInstruction35mi() argument 61 this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); in ImmutableInstruction35mi() 62 this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; in ImmutableInstruction35mi() 63 this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; in ImmutableInstruction35mi() 64 this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; in ImmutableInstruction35mi() 65 this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; in ImmutableInstruction35mi() 66 this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; in ImmutableInstruction35mi() 85 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstruction35ms.java | 44 protected final int registerCount; field in ImmutableInstruction35ms 53 int registerCount, in ImmutableInstruction35ms() argument 61 this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); in ImmutableInstruction35ms() 62 this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; in ImmutableInstruction35ms() 63 this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; in ImmutableInstruction35ms() 64 this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; in ImmutableInstruction35ms() 65 this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; in ImmutableInstruction35ms() 66 this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; in ImmutableInstruction35ms() 85 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstruction35c.java | 47 protected final int registerCount; field in ImmutableInstruction35c 56 int registerCount, in ImmutableInstruction35c() argument 64 this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); in ImmutableInstruction35c() 65 this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; in ImmutableInstruction35c() 66 this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; in ImmutableInstruction35c() 67 this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; in ImmutableInstruction35c() 68 this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; in ImmutableInstruction35c() 69 this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; in ImmutableInstruction35c() 88 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstruction3rms.java | 45 protected final int registerCount; field in ImmutableInstruction3rms 50 int registerCount, in ImmutableInstruction3rms() argument 54 this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); in ImmutableInstruction3rms() 70 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstruction3rmi.java | 45 protected final int registerCount; field in ImmutableInstruction3rmi 50 int registerCount, in ImmutableInstruction3rmi() argument 54 this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); in ImmutableInstruction3rmi() 70 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstruction3rc.java | 48 protected final int registerCount; field in ImmutableInstruction3rc 54 int registerCount, in ImmutableInstruction3rc() argument 58 this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); in ImmutableInstruction3rc() 74 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
D | ImmutableInstructionFactory.java | 187 int registerCount, in makeInstruction35c() argument 194 …return new ImmutableInstruction35c(opcode, registerCount, registerC, registerD, registerE, registe… in makeInstruction35c() 200 int registerCount, in makeInstruction3rc() argument 202 return new ImmutableInstruction3rc(opcode, startRegister, registerCount, reference); in makeInstruction3rc()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | Preconditions.java | 128 public static int check35cAnd45ccRegisterCount(int registerCount) { in check35cAnd45ccRegisterCount() argument 129 if (registerCount < 0 || registerCount > 5) { in check35cAnd45ccRegisterCount() 131 … String.format("Invalid register count: %d. Must be between 0 and 5, inclusive.", registerCount)); in check35cAnd45ccRegisterCount() 133 return registerCount; in check35cAnd45ccRegisterCount() 136 public static int checkRegisterRangeCount(int registerCount) { in checkRegisterRangeCount() argument 137 if ((registerCount & 0xFFFFFF00) != 0) { in checkRegisterRangeCount() 139 …String.format("Invalid register count: %d. Must be between 0 and 255, inclusive.", registerCount)); in checkRegisterRangeCount() 141 return registerCount; in checkRegisterRangeCount()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableMethodImplementation.java | 49 protected final int registerCount; field in ImmutableMethodImplementation 54 public ImmutableMethodImplementation(int registerCount, in ImmutableMethodImplementation() argument 58 this.registerCount = registerCount; in ImmutableMethodImplementation() 64 public ImmutableMethodImplementation(int registerCount, in ImmutableMethodImplementation() argument 68 this.registerCount = registerCount; in ImmutableMethodImplementation() 89 @Override public int getRegisterCount() { return registerCount; } in getRegisterCount()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliRegistersStatement.java | 62 long registerCount = literal.getIntegralValue(); in getRegisterCount() local 66 return (int)registerCount + parentMethod.getParameterRegisterCount(); in getRegisterCount() 68 return (int)registerCount; in getRegisterCount()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Program.cpp | 67 int Uniform::registerCount() const in registerCount() function in gl::Uniform 1406 if(registerIndex + uniform->registerCount() > MAX_VERTEX_UNIFORM_VECTORS) in defineUniform() 1414 if(registerIndex + uniform->registerCount() > MAX_FRAGMENT_UNIFORM_VECTORS) in defineUniform() 1443 …xelShaderConstantF(targetUniform->psRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform1bv() 1448 …texShaderConstantF(targetUniform->vsRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform1bv() 1472 …xelShaderConstantF(targetUniform->psRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform2bv() 1477 …texShaderConstantF(targetUniform->vsRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform2bv() 1501 …xelShaderConstantF(targetUniform->psRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform3bv() 1506 …texShaderConstantF(targetUniform->vsRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform3bv() 1530 …xelShaderConstantF(targetUniform->psRegisterIndex, (float*)vector, targetUniform->registerCount()); in applyUniform4bv() [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Types.h | 325 int registerCount = 0; in elementRegisterCount() local 330 registerCount += fields[i]->type()->totalRegisterCount(); in elementRegisterCount() 333 return registerCount; in elementRegisterCount() 351 int registerCount = 0; in blockRegisterCount() local 356 registerCount += fieldType.totalRegisterCount(); in blockRegisterCount() 358 return registerCount; in blockRegisterCount()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
D | DebugInfo.java | 107 int registerCount = methodImpl.getRegisterCount(); in iterator() local 110 final LocalInfo[] locals = new LocalInfo[registerCount]; in iterator() 138 if (parameterIndex < registerCount) { in iterator() 140 int localIndex = registerCount-1; in iterator()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | CodeItem.java | 256 int registerCount = instruction.getRegisterCount(); in makeAnnotator() local 257 if (registerCount == 1) { in makeAnnotator() 259 } else if (registerCount == 2) { in makeAnnotator() 262 } else if (registerCount == 3) { in makeAnnotator() 266 } else if (registerCount == 4) { in makeAnnotator() 271 } else if (registerCount == 5) { in makeAnnotator()
|
/external/smali/smali/src/main/antlr/ |
D | smaliTreeWalker.g | 662 register_list returns[byte[\] registers, byte registerCount] 666 $registerCount = 0; 671 if ($registerCount == 5) { 675 $registers[$registerCount++] = parseRegister_nibble($REGISTER.text); 692 int registerCount = $endRegister-$startRegister+1; 693 if (registerCount < 1) { 1062 byte registerCount = $register_list.registerCount; 1066 …$method::methodBuilder.addInstruction(new BuilderInstruction35c(opcode, registerCount, registers[0… 1078 byte registerCount = $register_list.registerCount; 1080 …$method::methodBuilder.addInstruction(new BuilderInstruction35c(opcode, registerCount, registers[0… [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | MethodImplementationBuilder.java | 51 public MethodImplementationBuilder(int registerCount) { in MethodImplementationBuilder() argument 52 this.impl = new MutableMethodImplementation(registerCount); in MethodImplementationBuilder()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | InstructionFactory.java | 68 …Instruction makeInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int regis… in makeInstruction35c() argument 70 Instruction makeInstruction3rc(@Nonnull Opcode opcode, int startRegister, int registerCount, in makeInstruction3rc() argument
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | AnalyzedInstruction.java | 104 int instructionIndex, int registerCount) { in AnalyzedInstruction() argument 109 this.postRegisterMap = new RegisterType[registerCount]; in AnalyzedInstruction() 110 this.preRegisterMap = new RegisterType[registerCount]; in AnalyzedInstruction() 112 for (int i=0; i<registerCount; i++) { in AnalyzedInstruction()
|