/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | ValueEncoder.java | 21 import com.android.dx.rop.cst.Constant; 22 import com.android.dx.rop.cst.CstAnnotation; 23 import com.android.dx.rop.cst.CstArray; 24 import com.android.dx.rop.cst.CstBoolean; 25 import com.android.dx.rop.cst.CstByte; 26 import com.android.dx.rop.cst.CstChar; 27 import com.android.dx.rop.cst.CstDouble; 28 import com.android.dx.rop.cst.CstEnumRef; 29 import com.android.dx.rop.cst.CstFieldRef; 30 import com.android.dx.rop.cst.CstFloat; [all …]
|
D | DexFile.java | 21 import com.android.dx.rop.cst.Constant; 22 import com.android.dx.rop.cst.CstBaseMethodRef; 23 import com.android.dx.rop.cst.CstEnumRef; 24 import com.android.dx.rop.cst.CstFieldRef; 25 import com.android.dx.rop.cst.CstString; 26 import com.android.dx.rop.cst.CstType; 443 /*package*/ void internIfAppropriate(Constant cst) { in internIfAppropriate() argument 444 if (cst instanceof CstString) { in internIfAppropriate() 445 stringIds.intern((CstString) cst); in internIfAppropriate() 446 } else if (cst instanceof CstType) { in internIfAppropriate() [all …]
|
D | MemberIdItem.java | 19 import com.android.dx.rop.cst.CstMemberRef; 20 import com.android.dx.rop.cst.CstNat; 31 private final CstMemberRef cst; field in MemberIdItem 38 public MemberIdItem(CstMemberRef cst) { in MemberIdItem() argument 39 super(cst.getDefiningClass()); in MemberIdItem() 41 this.cst = cst; in MemberIdItem() 64 CstNat nat = cst.getNat(); in writeTo() 70 out.annotate(0, indexString() + ' ' + cst.toHuman()); in writeTo() 107 return cst; in getRef()
|
D | ClassDataItem.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstArray; 21 import com.android.dx.rop.cst.CstLiteralBits; 22 import com.android.dx.rop.cst.CstType; 23 import com.android.dx.rop.cst.Zeroes; 290 Constant cst = staticValues.get(field); in makeStaticValuesConstant() local 291 if (cst instanceof CstLiteralBits) { in makeStaticValuesConstant() 293 if (((CstLiteralBits) cst).getLongBits() != 0) { in makeStaticValuesConstant() 296 } else if (cst != null) { in makeStaticValuesConstant() 311 Constant cst = staticValues.get(field); in makeStaticValuesConstant() local [all …]
|
D | StringIdsSection.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstNat; 21 import com.android.dx.rop.cst.CstString; 58 public IndexedItem get(Constant cst) { in get() argument 59 if (cst == null) { in get() 65 IndexedItem result = strings.get((CstString) cst); in get()
|
D | TypeIdsSection.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstType; 56 public IndexedItem get(Constant cst) { in get() argument 57 if (cst == null) { in get() 63 Type type = ((CstType) cst).getClassType(); in get() 67 throw new IllegalArgumentException("not found: " + cst); in get()
|
D | MethodIdsSection.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstBaseMethodRef; 56 public IndexedItem get(Constant cst) { in get() argument 57 if (cst == null) { in get() 63 IndexedItem result = methodIds.get((CstBaseMethodRef) cst); in get()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
D | CstInsn.java | 19 import com.android.dx.rop.cst.Constant; 27 private final Constant cst; field in CstInsn 39 RegisterSpecList sources, Constant cst) { in CstInsn() argument 42 if (cst == null) { in CstInsn() 46 this.cst = cst; in CstInsn() 52 return cst.toHuman(); in getInlineString() 61 return cst; in getConstant() 72 && cst.equals(((CstInsn)b).getConstant()); in contentEquals()
|
D | PlainInsn.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstInteger; 113 Constant cst = (Constant) firstType; in withSourceLiteral() local 116 newSources, cst); in withSourceLiteral() 118 newSources, cst); in withSourceLiteral() 123 Constant cst = (Constant) lastType; in withSourceLiteral() local 131 if (opcode == RegOps.SUB && cst instanceof CstInteger) { in withSourceLiteral() 133 cst = CstInteger.make(-((CstInteger)cst).getValue()); in withSourceLiteral() 135 newRop = Rops.ropFor(opcode, getResult(), newSources, cst); in withSourceLiteral() 142 getResult(), newSources, cst); in withSourceLiteral()
|
D | ThrowingCstInsn.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstString; 44 TypeList catches, Constant cst) { in ThrowingCstInsn() argument 45 super(opcode, position, null, sources, cst); in ThrowingCstInsn() 61 Constant cst = getConstant(); in getInlineString() local 62 String constantString = cst.toHuman(); in getInlineString() 63 if (cst instanceof CstString) { in getInlineString() 64 constantString = ((CstString) cst).toQuoted(); in getInlineString()
|
D | DexTranslationAdvice.java | 19 import com.android.dx.rop.cst.CstInteger; 68 CstInteger cst = (CstInteger) sourceA.getTypeBearer(); in hasConstantOperation() local 69 return cst.fitsIn16Bits(); in hasConstantOperation() 75 CstInteger cst = (CstInteger) sourceB.getTypeBearer(); in hasConstantOperation() local 86 return cst.fitsIn16Bits(); in hasConstantOperation() 91 return cst.fitsIn8Bits(); in hasConstantOperation() 94 CstInteger cst2 = CstInteger.make(-cst.getValue()); in hasConstantOperation()
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
D | Constants.java | 19 import com.android.dx.rop.cst.CstBoolean; 20 import com.android.dx.rop.cst.CstByte; 21 import com.android.dx.rop.cst.CstChar; 22 import com.android.dx.rop.cst.CstDouble; 23 import com.android.dx.rop.cst.CstFloat; 24 import com.android.dx.rop.cst.CstInteger; 25 import com.android.dx.rop.cst.CstKnownNull; 26 import com.android.dx.rop.cst.CstLong; 27 import com.android.dx.rop.cst.CstShort; 28 import com.android.dx.rop.cst.CstString; [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | ConstCollector.java | 29 import com.android.dx.rop.cst.Constant; 30 import com.android.dx.rop.cst.CstString; 31 import com.android.dx.rop.cst.TypedConstant; 105 TypedConstant cst = constantList.get(i); in run() local 107 = RegisterSpec.make(ssaMeth.makeNewSsaReg(), cst); in run() 109 Rop constRop = Rops.opConst(cst); in run() 113 new PlainCstInsn(Rops.opConst(cst), in run() 115 RegisterSpecList.EMPTY, cst)); in run() 129 StdTypeList.EMPTY, cst)); in run() 144 newRegs.put(cst, result); in run() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRelocation.h | 83 GlobalValue *GV, intptr_t cst = 0, 89 Result.ConstantVal = cst; 103 GlobalValue *GV, intptr_t cst = 0, 109 Result.ConstantVal = cst; 122 MachineBasicBlock *MBB, intptr_t cst = 0) { 126 Result.ConstantVal = cst; 140 const char *ES, intptr_t cst = 0, 146 Result.ConstantVal = cst; 160 unsigned CPI, intptr_t cst = 0, 165 Result.ConstantVal = cst; [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
D | Form21c.java | 24 import com.android.dx.rop.cst.Constant; 25 import com.android.dx.rop.cst.CstFieldRef; 26 import com.android.dx.rop.cst.CstString; 27 import com.android.dx.rop.cst.CstType; 108 Constant cst = ci.getConstant(); in isCompatible() local 114 return (cst instanceof CstType) || in isCompatible() 115 (cst instanceof CstFieldRef) || in isCompatible() 116 (cst instanceof CstString); in isCompatible()
|
D | Form31c.java | 24 import com.android.dx.rop.cst.Constant; 25 import com.android.dx.rop.cst.CstFieldRef; 26 import com.android.dx.rop.cst.CstString; 27 import com.android.dx.rop.cst.CstType; 107 Constant cst = ci.getConstant(); in isCompatible() local 109 return (cst instanceof CstType) || in isCompatible() 110 (cst instanceof CstFieldRef) || in isCompatible() 111 (cst instanceof CstString); in isCompatible()
|
D | Form3rc.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstMethodRef; 25 import com.android.dx.rop.cst.CstType; 76 Constant cst = ci.getConstant(); in isCompatible() local 82 if (!((cst instanceof CstMethodRef) || in isCompatible() 83 (cst instanceof CstType))) { in isCompatible()
|
D | Form5rc.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstMethodRef; 25 import com.android.dx.rop.cst.CstType; 79 Constant cst = ci.getConstant(); in isCompatible() local 81 if (!((cst instanceof CstMethodRef) || in isCompatible() 82 (cst instanceof CstType))) { in isCompatible()
|
D | Form52c.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstFieldRef; 25 import com.android.dx.rop.cst.CstType; 86 Constant cst = ci.getConstant(); in isCompatible() local 88 return (cst instanceof CstType) || in isCompatible() 89 (cst instanceof CstFieldRef); in isCompatible()
|
D | Form22c.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstFieldRef; 25 import com.android.dx.rop.cst.CstType; 88 Constant cst = ci.getConstant(); in isCompatible() local 89 return (cst instanceof CstType) || in isCompatible() 90 (cst instanceof CstFieldRef); in isCompatible()
|
D | Form41c.java | 24 import com.android.dx.rop.cst.Constant; 25 import com.android.dx.rop.cst.CstFieldRef; 26 import com.android.dx.rop.cst.CstType; 110 Constant cst = ci.getConstant(); in isCompatible() local 112 return (cst instanceof CstType) || in isCompatible() 113 (cst instanceof CstFieldRef); in isCompatible()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
D | StdConstantPool.java | 17 package com.android.dx.rop.cst; 96 public void set(int n, Constant cst) { in set() argument 99 boolean cat2 = (cst != null) && cst.isCategory2(); in set() 114 if ((cst != null) && (entries[n] == null)) { in set() 125 entries[n] = cst; in set()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | ArrayData.java | 22 import com.android.dx.rop.cst.*; 122 Constant cst = values.get(i); in writeTo() local 123 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); in writeTo() 129 Constant cst = values.get(i); in writeTo() local 130 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); in writeTo() 136 Constant cst = values.get(i); in writeTo() local 137 out.writeInt(((CstLiteral32) cst).getIntBits()); in writeTo() 143 Constant cst = values.get(i); in writeTo() local 144 out.writeLong(((CstLiteral64) cst).getLongBits()); in writeTo()
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 188 cs->cst = &cs->csc2; in radeon_drm_cs_create() 429 radeon_drm_cs_emit_ioctl_oneshot(cs->cst); in PIPE_THREAD_ROUTINE() 458 cs->csc = cs->cst; in radeon_drm_cs_flush() 459 cs->cst = tmp; in radeon_drm_cs_flush() 463 unsigned i, crelocs = cs->cst->crelocs; in radeon_drm_cs_flush() 465 cs->cst->chunks[0].length_dw = cs->base.cdw; in radeon_drm_cs_flush() 469 p_atomic_inc(&cs->cst->relocs_bo[i]->num_active_ioctls); in radeon_drm_cs_flush() 472 cs->cst->flags[0] = 0; in radeon_drm_cs_flush() 473 cs->cst->flags[1] = RADEON_CS_RING_GFX; in radeon_drm_cs_flush() 474 cs->cst->cs.num_chunks = 2; in radeon_drm_cs_flush() [all …]
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 188 cs->cst = &cs->csc2; in radeon_drm_cs_create() 429 radeon_drm_cs_emit_ioctl_oneshot(cs->cst); in PIPE_THREAD_ROUTINE() 458 cs->csc = cs->cst; in radeon_drm_cs_flush() 459 cs->cst = tmp; in radeon_drm_cs_flush() 463 unsigned i, crelocs = cs->cst->crelocs; in radeon_drm_cs_flush() 465 cs->cst->chunks[0].length_dw = cs->base.cdw; in radeon_drm_cs_flush() 469 p_atomic_inc(&cs->cst->relocs_bo[i]->num_active_ioctls); in radeon_drm_cs_flush() 472 cs->cst->flags[0] = 0; in radeon_drm_cs_flush() 473 cs->cst->flags[1] = RADEON_CS_RING_GFX; in radeon_drm_cs_flush() 474 cs->cst->cs.num_chunks = 2; in radeon_drm_cs_flush() [all …]
|