/external/javassist/src/main/javassist/compiler/ |
D | CodeGen.java | 21 import javassist.bytecode.*; 35 protected Bytecode bytecode; field in CodeGen 83 bytecode = b; in CodeGen() 105 public int getMaxLocals() { return bytecode.getMaxLocals(); } in getMaxLocals() 108 bytecode.setMaxLocals(n); in setMaxLocals() 112 bytecode.incMaxLocals(size); in incMaxLocals() 294 bytecode.addOpcode(Opcode.RETURN); in atMethodBody() 339 bytecode.addOpcode(POP2); in atStmnt() 341 bytecode.addOpcode(POP); in atStmnt() 384 int pc = bytecode.currentPc(); in atIfStmnt() [all …]
|
D | MemberCodeGen.java | 19 import javassist.bytecode.*; 79 bytecode.addAload(0); in insertDefaultSuperCall() 80 bytecode.addInvokespecial(MemberResolver.getSuperclass(thisClass), in insertDefaultSuperCall() 189 Bytecode bc = bytecode; in atTryStmnt() 275 Bytecode bc = bytecode; in addFinally() 298 bytecode.addNew(cname); in atNewExpr() 299 bytecode.addOpcode(DUP); in atNewExpr() 339 bytecode.addIconst(s); in atNewArrayExpr2() 347 bytecode.addAnewarray(MemberResolver.jvmToJavaName(elementClass)); in atNewArrayExpr2() 382 bytecode.addOpcode(NEWARRAY); in atNewArrayExpr2() [all …]
|
D | JvstCodeGen.java | 19 import javassist.bytecode.*; 70 bytecode.addOpcode(ACONST_NULL); in addNullIfVoid() 83 compileParameterList(bytecode, paramTypeList, indexOfParam1()); in atMember() 89 bytecode.addLdc(Descriptor.ofMethod(returnType, paramTypeList)); in atMember() 90 bytecode.addInvokestatic("javassist/runtime/Desc", "getParams", in atMember() 100 bytecode.addLdc(Descriptor.of(dollarType)); in atMember() 107 bytecode.addLdc(param0Type); in atMember() 115 bytecode.addInvokestatic("javassist/runtime/Desc", method, in callGetType() 134 atAssignParamList(paramTypeList, bytecode); in atFieldAssign() 136 bytecode.addOpcode(POP); in atFieldAssign() [all …]
|
D | Javac.java | 27 import javassist.bytecode.Bytecode; 28 import javassist.bytecode.CodeAttribute; 29 import javassist.bytecode.LocalVariableAttribute; 30 import javassist.bytecode.BadBytecode; 31 import javassist.bytecode.Opcode; 39 private Bytecode bytecode; field in Javac 67 bytecode = b; in Javac() 73 public Bytecode getBytecode() { return bytecode; } in getBytecode() 156 bytecode.toCodeAttribute()); in compileMethod() 171 bytecode.toCodeAttribute()); in compileMethod() [all …]
|
/external/javassist/src/main/javassist/expr/ |
D | Expr.java | 25 import javassist.bytecode.AccessFlag; 26 import javassist.bytecode.BadBytecode; 27 import javassist.bytecode.Bytecode; 28 import javassist.bytecode.ClassFile; 29 import javassist.bytecode.CodeAttribute; 30 import javassist.bytecode.CodeIterator; 31 import javassist.bytecode.ConstPool; 32 import javassist.bytecode.ExceptionTable; 33 import javassist.bytecode.ExceptionsAttribute; 34 import javassist.bytecode.MethodInfo; [all …]
|
D | FieldAccess.java | 19 import javassist.bytecode.*; 195 Bytecode bytecode = jc.getBytecode(); in replace() local 196 storeStack(params, isStatic(), paramVar, bytecode); in replace() 201 bytecode.addOpcode(ACONST_NULL); in replace() 202 bytecode.addAstore(retVar); in replace() 205 bytecode.addConstZero(retType); in replace() 206 bytecode.addStore(retVar, retType); // initialize $_ in replace() 211 bytecode.addLoad(retVar, retType); in replace() 213 replace0(pos, bytecode, 3); in replace() 236 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() argument [all …]
|
D | Cast.java | 19 import javassist.bytecode.*; 114 Bytecode bytecode = jc.getBytecode(); in replace() local 115 storeStack(params, true, paramVar, bytecode); in replace() 118 bytecode.addConstZero(retType); in replace() 119 bytecode.addStore(retVar, retType); // initialize $_ in replace() 122 bytecode.addLoad(retVar, retType); in replace() 124 replace0(pos, bytecode, 3); in replace() 144 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() argument 153 bytecode.addOpcode(Opcode.CHECKCAST); in doit() 154 bytecode.addIndex(index); in doit()
|
D | Instanceof.java | 19 import javassist.bytecode.*; 120 Bytecode bytecode = jc.getBytecode(); in replace() local 121 storeStack(params, true, paramVar, bytecode); in replace() 124 bytecode.addConstZero(retType); in replace() 125 bytecode.addStore(retVar, retType); // initialize $_ in replace() 128 bytecode.addLoad(retVar, retType); in replace() 130 replace0(pos, bytecode, 3); in replace() 148 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() argument 157 bytecode.addOpcode(Opcode.INSTANCEOF); in doit() 158 bytecode.addIndex(index); in doit()
|
D | NewArray.java | 19 import javassist.bytecode.*; 225 Bytecode bytecode = jc.getBytecode(); in replace2() local 226 storeStack(params, true, paramVar, bytecode); in replace2() 229 bytecode.addOpcode(ACONST_NULL); // initialize $_ in replace2() 230 bytecode.addAstore(retVar); in replace2() 233 bytecode.addAload(retVar); in replace2() 235 replace0(pos, bytecode, codeLength); in replace2() 252 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() argument 262 bytecode.addOpcode(opcode); in doit() 264 bytecode.addIndex(index); in doit() [all …]
|
D | NewExpr.java | 19 import javassist.bytecode.*; 199 Bytecode bytecode = jc.getBytecode(); in replace() local 200 storeStack(params, true, paramVar, bytecode); in replace() 203 bytecode.addConstZero(newType); in replace() 204 bytecode.addStore(retVar, newType); // initialize $_ in replace() 208 bytecode.addAload(retVar); in replace() 210 replace0(pos, bytecode, bytecodeSize); in replace() 229 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit() argument 232 bytecode.addOpcode(NEW); in doit() 233 bytecode.addIndex(newIndex); in doit() [all …]
|
D | MethodCall.java | 19 import javassist.bytecode.*; 225 Bytecode bytecode = jc.getBytecode(); in replace() local 226 storeStack(params, c == INVOKESTATIC, paramVar, bytecode); in replace() 230 bytecode.addConstZero(retType); in replace() 231 bytecode.addStore(retVar, retType); // initialize $_ in replace() 236 bytecode.addLoad(retVar, retType); in replace() 238 replace0(pos, bytecode, opcodeSize); in replace()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | eg_asm.c | 41 bc->bytecode[id++] = in eg_bytecode_cf_build() 49 bc->bytecode[id++] = EG_V_SQ_CF_ALU_WORD1_SQ_CF_INST_EXTENDED | in eg_bytecode_cf_build() 56 bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) | in eg_bytecode_cf_build() 60 bc->bytecode[id++] = cf->inst | in eg_bytecode_cf_build() 69 bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in eg_bytecode_cf_build() 70 bc->bytecode[id++] = cf->inst | in eg_bytecode_cf_build() 76 bc->bytecode[id++] = S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(cf->output.gpr) | in eg_bytecode_cf_build() 80 bc->bytecode[id] = S_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(cf->output.burst_count - 1) | in eg_bytecode_cf_build() 88 bc->bytecode[id] |= S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(cf->output.end_of_program); in eg_bytecode_cf_build() 107 bc->bytecode[id++] = S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(cf->output.gpr) | in eg_bytecode_cf_build() [all …]
|
D | r700_asm.c | 26 void r700_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf) in r700_bytecode_cf_vtx_build() argument 29 *bytecode++ = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in r700_bytecode_cf_vtx_build() 30 *bytecode++ = cf->inst | in r700_bytecode_cf_vtx_build() 38 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) | in r700_bytecode_alu_build() 51 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build() 62 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build()
|
D | r600_asm.c | 1708 bc->bytecode[id] = S_SQ_VTX_WORD0_BUFFER_ID(vtx->buffer_id) | in r600_bytecode_vtx_build() 1713 bc->bytecode[id] |= S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(vtx->mega_fetch_count); in r600_bytecode_vtx_build() 1715 bc->bytecode[id++] = S_SQ_VTX_WORD1_DST_SEL_X(vtx->dst_sel_x) | in r600_bytecode_vtx_build() 1725 bc->bytecode[id] = S_SQ_VTX_WORD2_OFFSET(vtx->offset)| in r600_bytecode_vtx_build() 1728 bc->bytecode[id] |= S_SQ_VTX_WORD2_MEGA_FETCH(1); in r600_bytecode_vtx_build() 1730 bc->bytecode[id++] = 0; in r600_bytecode_vtx_build() 1737 bc->bytecode[id++] = S_SQ_TEX_WORD0_TEX_INST(tex->inst) | in r600_bytecode_tex_build() 1741 bc->bytecode[id++] = S_SQ_TEX_WORD1_DST_GPR(tex->dst_gpr) | in r600_bytecode_tex_build() 1752 bc->bytecode[id++] = S_SQ_TEX_WORD2_OFFSET_X(tex->offset_x) | in r600_bytecode_tex_build() 1760 bc->bytecode[id++] = 0; in r600_bytecode_tex_build() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | ttProgram.py | 208 def fromBytecode(self, bytecode): argument 209 self.bytecode = array.array("B", bytecode) 216 del self.bytecode 221 return self.bytecode.tostring() 274 bytecode = [] 275 push = bytecode.append 388 if bytecode: 389 assert max(bytecode) < 256 and min(bytecode) >= 0 390 self.bytecode = array.array("B", bytecode) 395 bytecode = self.bytecode [all …]
|
/external/javassist/src/main/javassist/convert/ |
D | Transformer.java | 20 import javassist.bytecode.BadBytecode; 21 import javassist.bytecode.CodeAttribute; 22 import javassist.bytecode.CodeIterator; 23 import javassist.bytecode.ConstPool; 24 import javassist.bytecode.MethodInfo; 25 import javassist.bytecode.Opcode;
|
D | TransformAccessArrayField.java | 22 import javassist.bytecode.BadBytecode; 23 import javassist.bytecode.CodeIterator; 24 import javassist.bytecode.ConstPool; 25 import javassist.bytecode.Descriptor; 26 import javassist.bytecode.MethodInfo; 27 import javassist.bytecode.analysis.Analyzer; 28 import javassist.bytecode.analysis.Frame;
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
D | FramePrinter.java | 15 package javassist.bytecode.analysis; 23 import javassist.bytecode.BadBytecode; 24 import javassist.bytecode.CodeAttribute; 25 import javassist.bytecode.CodeIterator; 26 import javassist.bytecode.ConstPool; 27 import javassist.bytecode.Descriptor; 28 import javassist.bytecode.InstructionPrinter; 29 import javassist.bytecode.MethodInfo;
|
D | SubroutineScanner.java | 15 package javassist.bytecode.analysis; 22 import javassist.bytecode.BadBytecode; 23 import javassist.bytecode.CodeAttribute; 24 import javassist.bytecode.CodeIterator; 25 import javassist.bytecode.ExceptionTable; 26 import javassist.bytecode.MethodInfo; 27 import javassist.bytecode.Opcode;
|
D | Analyzer.java | 15 package javassist.bytecode.analysis; 23 import javassist.bytecode.AccessFlag; 24 import javassist.bytecode.BadBytecode; 25 import javassist.bytecode.CodeAttribute; 26 import javassist.bytecode.CodeIterator; 27 import javassist.bytecode.ConstPool; 28 import javassist.bytecode.Descriptor; 29 import javassist.bytecode.ExceptionTable; 30 import javassist.bytecode.MethodInfo; 31 import javassist.bytecode.Opcode;
|
D | Util.java | 15 package javassist.bytecode.analysis; 17 import javassist.bytecode.CodeIterator; 18 import javassist.bytecode.Opcode;
|
/external/fonttools/Lib/fontTools/misc/ |
D | psCharStrings.py | 236 def __init__(self, bytecode=None, program=None, private=None, globalSubrs=None): argument 239 self.bytecode = bytecode 245 if self.bytecode is None: 271 if self.bytecode is not None: 276 bytecode = [] 289 bytecode.extend(bytechr(b) for b in opcodes[token]) 293 bytecode.append(program[i]) # hint mask 296 bytecode.append(encodeInt(token)) 298 bytecode.append(encodeFixed(token)) 302 bytecode = bytesjoin(bytecode) [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | ParameterAnnotationsAttribute.java | 16 package javassist.bytecode; 24 import javassist.bytecode.AnnotationsAttribute.Copier; 25 import javassist.bytecode.AnnotationsAttribute.Parser; 26 import javassist.bytecode.AnnotationsAttribute.Renamer; 27 import javassist.bytecode.annotation.*;
|
D | CodeIterator.java | 16 package javassist.bytecode; 36 protected byte[] bytecode; field in CodeIterator 43 bytecode = ca.getCode(); in CodeIterator() 106 return bytecode.length; in getCodeLength() 112 public int byteAt(int index) { return bytecode[index] & 0xff; } in byteAt() 118 bytecode[index] = (byte)value; in writeByte() 125 return ByteArray.readU16bit(bytecode, index); in u16bitAt() 132 return ByteArray.readS16bit(bytecode, index); in s16bitAt() 139 ByteArray.write16bit(value, bytecode, index); in write16bit() 146 return ByteArray.read32bit(bytecode, index); in s32bitAt() [all …]
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
D | ScannerTest.java | 1 package test.javassist.bytecode.analysis; 10 import javassist.bytecode.AccessFlag; 11 import javassist.bytecode.Bytecode; 12 import javassist.bytecode.MethodInfo; 13 import javassist.bytecode.Opcode; 14 import javassist.bytecode.analysis.Subroutine; 15 import javassist.bytecode.analysis.SubroutineScanner;
|