/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 …]
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | automatic_profile_resetter_unittest.cc | 246 std::string bytecode; in ConstructProgram() local 247 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit1"), in ConstructProgram() 249 bytecode += OP_END_OF_SENTENCE; in ConstructProgram() 250 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit2"), in ConstructProgram() 252 bytecode += OP_END_OF_SENTENCE; in ConstructProgram() 253 bytecode += OP_STORE_BOOL(GetHash("should_prompt"), in ConstructProgram() 256 bytecode += OP_END_OF_SENTENCE; in ConstructProgram() 257 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"), in ConstructProgram() 260 bytecode += OP_END_OF_SENTENCE; in ConstructProgram() 261 bytecode += OP_NAVIGATE(GetHash("memento_value_in_prefs")); in ConstructProgram() [all …]
|
/external/chromium_org/chrome/tools/profile_reset/ |
D | jtl_compiler_unittest.cc | 26 std::string bytecode; in EncodeUint32() local 28 bytecode.push_back(static_cast<char>(value & 0xFFu)); in EncodeUint32() 31 return bytecode; in EncodeUint32() 81 std::string bytecode; in TEST() local 83 cases[i].source_code, kTestHashSeed, &bytecode, NULL)); in TEST() 84 EXPECT_EQ(cases[i].expected_bytecode, bytecode); in TEST() 103 std::string bytecode; in TEST() local 105 JtlCompiler::Compile(kSourceCode, kTestHashSeed, &bytecode, NULL)); in TEST() 106 EXPECT_EQ(expected_bytecode, bytecode); in TEST() 112 std::string bytecode; in TEST() local [all …]
|
D | jtl_compiler_frontend.cc | 87 std::string bytecode; in main() local 90 if (!JtlCompiler::Compile(source_code, hash_seed, &bytecode, &error)) { in main() 104 bytecode.data(), in main() 105 static_cast<int>(bytecode.size())); in main() 106 if (bytes_written != static_cast<int>(bytecode.size())) { in main()
|
/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 | 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 | 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 | 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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/WebKit/Tools/Scripts/ |
D | display-profiler-output | 182 def bytecode(bytecodeIndex) method in Bytecodes 212 | bytecode | 213 max = [max, bytecode.totalTopExecutionCount].max 221 | bytecode | 222 max = [max, bytecode.topExecutionCount(engine)].max 230 | bytecode | 231 max = [max, bytecode.totalBottomExecutionCount].max 239 | bytecode | 240 max = [max, bytecode.bottomExecutionCount(engine)].max 248 | bytecode | [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;
|
/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;
|
/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 …]
|