Home
last modified time | relevance | path

Searched refs:cst (Results 1 – 25 of 85) sorted by relevance

1234

/external/annotation-tools/asmx/src/org/objectweb/asm/util/
DASMifierAbstractVisitor.java158 void appendConstant(final Object cst) { in appendConstant() argument
159 appendConstant(buf, cst); in appendConstant()
170 static void appendConstant(final StringBuffer buf, final Object cst) { in appendConstant() argument
171 if (cst == null) { in appendConstant()
173 } else if (cst instanceof String) { in appendConstant()
174 appendString(buf, (String) cst); in appendConstant()
175 } else if (cst instanceof Type) { in appendConstant()
177 buf.append(((Type) cst).getDescriptor()); in appendConstant()
179 } else if (cst instanceof Byte) { in appendConstant()
180 buf.append("new Byte((byte)").append(cst).append(")"); in appendConstant()
[all …]
DASMifierClassVisitor.java611 static void appendConstant(final StringBuffer buf, final Object cst) { in appendConstant() argument
612 if (cst == null) { in appendConstant()
614 } else if (cst instanceof String) { in appendConstant()
615 AbstractVisitor.appendString(buf, (String) cst); in appendConstant()
616 } else if (cst instanceof Type) { in appendConstant()
618 .append(((Type) cst).getDescriptor()) in appendConstant()
620 } else if (cst instanceof Integer) { in appendConstant()
621 buf.append("new Integer(").append(cst).append(")"); in appendConstant()
622 } else if (cst instanceof Float) { in appendConstant()
623 buf.append("new Float(\"").append(cst).append("\")"); in appendConstant()
[all …]
DCheckMethodAdapter.java459 public void visitLdcInsn(final Object cst) { in visitLdcInsn() argument
462 if (!(cst instanceof Type)) { in visitLdcInsn()
463 checkConstant(cst); in visitLdcInsn()
465 mv.visitLdcInsn(cst); in visitLdcInsn()
680 static void checkConstant(final Object cst) { in checkConstant() argument
681 if (!(cst instanceof Integer) && !(cst instanceof Float) in checkConstant()
682 && !(cst instanceof Long) && !(cst instanceof Double) in checkConstant()
683 && !(cst instanceof String)) in checkConstant()
685 throw new IllegalArgumentException("Invalid constant: " + cst); in checkConstant()
DTraceMethodVisitor.java316 public void visitLdcInsn(final Object cst) { in visitLdcInsn() argument
319 if (cst instanceof String) { in visitLdcInsn()
320 AbstractVisitor.appendString(buf, (String) cst); in visitLdcInsn()
321 } else if (cst instanceof Type) { in visitLdcInsn()
322 buf.append(((Type) cst).getDescriptor() + ".class"); in visitLdcInsn()
324 buf.append(cst); in visitLdcInsn()
330 mv.visitLdcInsn(cst); in visitLdcInsn()
/external/annotation-tools/asmx/src/org/objectweb/asm/optimizer/
DConstantPool.java121 public Constant newConst(final Object cst) { in newConst() argument
122 if (cst instanceof Integer) { in newConst()
123 int val = ((Integer) cst).intValue(); in newConst()
125 } else if (cst instanceof Float) { in newConst()
126 float val = ((Float) cst).floatValue(); in newConst()
128 } else if (cst instanceof Long) { in newConst()
129 long val = ((Long) cst).longValue(); in newConst()
131 } else if (cst instanceof Double) { in newConst()
132 double val = ((Double) cst).doubleValue(); in newConst()
134 } else if (cst instanceof String) { in newConst()
[all …]
DMethodConstantsCollector.java118 public void visitLdcInsn(final Object cst) { in visitLdcInsn() argument
119 cp.newConst(cst); in visitLdcInsn()
120 mv.visitLdcInsn(cst); in visitLdcInsn()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DConstants.java19 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 …]
DFieldId.java19 import com.android.dx.rop.cst.CstFieldRef;
20 import com.android.dx.rop.cst.CstNat;
21 import com.android.dx.rop.cst.CstString;
DMethodId.java19 import com.android.dx.rop.cst.CstMethodRef;
20 import com.android.dx.rop.cst.CstNat;
21 import com.android.dx.rop.cst.CstString;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineRelocation.h83 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/annotation-tools/asmx/src/org/objectweb/asm/tree/
DLdcInsnNode.java47 public Object cst; field in LdcInsnNode
56 public LdcInsnNode(final Object cst) { in LdcInsnNode() argument
58 this.cst = cst; in LdcInsnNode()
62 mv.visitLdcInsn(cst); in accept()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c189 cs->cst = &cs->csc2; in radeon_drm_cs_create()
450 struct radeon_cs_context *csc = ((struct radeon_drm_cs*)job)->cst; in radeon_drm_cs_emit_ioctl_oneshot()
618 cs->csc = cs->cst; in radeon_drm_cs_flush()
619 cs->cst = tmp; in radeon_drm_cs_flush()
625 num_relocs = cs->cst->num_relocs; in radeon_drm_cs_flush()
627 cs->cst->chunks[0].length_dw = cs->base.current.cdw; in radeon_drm_cs_flush()
631 p_atomic_inc(&cs->cst->relocs_bo[i].bo->num_active_ioctls); in radeon_drm_cs_flush()
636 cs->cst->flags[0] = 0; in radeon_drm_cs_flush()
637 cs->cst->flags[1] = RADEON_CS_RING_DMA; in radeon_drm_cs_flush()
638 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
[all …]
/external/annotation-tools/asmx/src/org/objectweb/asm/
DClassWriter.java953 Item newConstItem(final Object cst) { in newConstItem() argument
954 if (cst instanceof Integer) { in newConstItem()
955 int val = ((Integer) cst).intValue(); in newConstItem()
957 } else if (cst instanceof Byte) { in newConstItem()
958 int val = ((Byte) cst).intValue(); in newConstItem()
960 } else if (cst instanceof Character) { in newConstItem()
961 int val = ((Character) cst).charValue(); in newConstItem()
963 } else if (cst instanceof Short) { in newConstItem()
964 int val = ((Short) cst).intValue(); in newConstItem()
966 } else if (cst instanceof Boolean) { in newConstItem()
[all …]
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/analysis/
DBasicInterpreter.java105 Object cst = ((LdcInsnNode) insn).cst; in newOperation() local
106 if (cst instanceof Integer) { in newOperation()
108 } else if (cst instanceof Float) { in newOperation()
110 } else if (cst instanceof Long) { in newOperation()
112 } else if (cst instanceof Double) { in newOperation()
114 } else if (cst instanceof Type) { in newOperation()
117 return newValue(Type.getType(cst.getClass())); in newOperation()
DDataflowInterpreter.java64 Object cst = ((LdcInsnNode) insn).cst; in newOperation() local
65 size = cst instanceof Long || cst instanceof Double ? 2 : 1; in newOperation()
/external/boringssl/src/crypto/asn1/
Dtasn_dec.c78 char *inf, char *cst,
168 char seq_eoc, seq_nolen, cst, isopt; in ASN1_item_ex_d2i() local
371 ret = asn1_check_tlen(&len, NULL, NULL, &seq_eoc, &cst, in ASN1_item_ex_d2i()
385 if (!cst) { in ASN1_item_ex_d2i()
541 char cst; in asn1_template_ex_d2i() local
546 ret = asn1_check_tlen(&len, NULL, NULL, &exp_eoc, &cst, in asn1_template_ex_d2i()
554 if (!cst) { in asn1_template_ex_d2i()
716 char cst, inf, free_cont = 0; in asn1_d2i_ex_primitive() local
759 ret = asn1_check_tlen(&plen, NULL, NULL, &inf, &cst, in asn1_d2i_ex_primitive()
778 else if (!cst) { in asn1_d2i_ex_primitive()
[all …]
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/commons/
DGASMifierMethodVisitor.java757 public void visitLdcInsn(final Object cst) { in visitLdcInsn() argument
760 if (cst == null) { in visitLdcInsn()
762 } else if (cst instanceof Long) { in visitLdcInsn()
763 buf.append(cst + "L"); in visitLdcInsn()
764 } else if (cst instanceof Float) { in visitLdcInsn()
765 float f = ((Float) cst).floatValue(); in visitLdcInsn()
773 buf.append(cst + "f"); in visitLdcInsn()
775 } else if (cst instanceof Double) { in visitLdcInsn()
776 double d = ((Double) cst).doubleValue(); in visitLdcInsn()
784 buf.append(cst + "d"); in visitLdcInsn()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_ra.cpp1962 RegAlloc::InsertConstraintsPass::detectConflict(Instruction *cst, int s) in detectConflict() argument
1964 Value *v = cst->getSrc(s); in detectConflict()
1969 if (cst != (*it)->getInsn()) in detectConflict()
1974 for (int c = s + 1; cst->srcExists(c); ++c) in detectConflict()
1975 if (v == cst->getSrc(c)) in detectConflict()
1986 Instruction *cst; in addConstraint() local
1993 cst = (*it); in addConstraint()
1994 if (!i->bb->dominatedBy(cst->bb)) in addConstraint()
1997 if (cst->getSrc(d) != i->getSrc(d + s)) in addConstraint()
2001 i->setSrc(s, cst->getDef(d)); in addConstraint()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dminmax-fp.ll160 ; CHECK: %[[cst:.*]] = sitofp i32 %x to double
161 ; CHECK: %[[sel:.*]] = select i1 %[[cmp]], double %[[cst]], double 5.000000e-01
166 %cst = sitofp i32 %x to double
167 %sel = select i1 %cmp, double %cst, double 5.000000e-01
174 ; CHECK: %[[cst:.*]] = sitofp i32 %[[sel]] to double
175 ; CHECK: ret double %[[cst]]
179 %cst = sitofp i32 %x to double
180 %sel = select i1 %cmp, double %cst, double 2.0
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCalendarHandler.java107 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() local
111 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
225 TimeZone cst = TimeZone.getTimeZone("Africa/Cairo"); in getTestObjects() local
229 calendars[i] = new IslamicCalendar(cst, locales[i]); in getTestObjects()
274 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() local
278 calendars[i] = new TaiwanCalendar(cst, locales[i]); in getTestObjects()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCalendarHandler.java108 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() local
112 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
226 TimeZone cst = TimeZone.getTimeZone("Africa/Cairo"); in getTestObjects() local
230 calendars[i] = new IslamicCalendar(cst, locales[i]); in getTestObjects()
275 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() local
279 calendars[i] = new TaiwanCalendar(cst, locales[i]); in getTestObjects()
/external/syslinux/gpxe/src/drivers/net/
D3c595.c235 short status, cst; in t595_poll() local
238 cst=inw(BASE + VX_STATUS); in t595_poll()
241 if(cst & 0x1FFF) in t595_poll()
242 printf("-%hX-",cst); in t595_poll()
245 if( (cst & S_RX_COMPLETE)==0 ) { in t595_poll()
247 outw(ACK_INTR | cst, BASE + VX_COMMAND); in t595_poll()
D3c5x9.c203 short status, cst; in t509_poll() local
206 cst=inw(nic->ioaddr + EP_STATUS); in t509_poll()
209 if(cst & 0x1FFF) in t509_poll()
210 printf("-%hX-",cst); in t509_poll()
213 if( (cst & S_RX_COMPLETE)==0 ) { in t509_poll()
215 outw(ACK_INTR| (cst & S_5_INTS), nic->ioaddr + EP_COMMAND); in t509_poll()
/external/desugar/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInference.java547 public void visitLdcInsn(Object cst) { in visitLdcInsn() argument
548 if (cst instanceof Integer) { in visitLdcInsn()
550 } else if (cst instanceof Float) { in visitLdcInsn()
552 } else if (cst instanceof Long) { in visitLdcInsn()
555 } else if (cst instanceof Double) { in visitLdcInsn()
558 } else if (cst instanceof String) { in visitLdcInsn()
560 } else if (cst instanceof Type) { in visitLdcInsn()
561 pushDescriptor(((Type) cst).getDescriptor()); in visitLdcInsn()
562 } else if (cst instanceof Handle) { in visitLdcInsn()
565 throw new RuntimeException("Cannot handle constant " + cst + " for LDC instruction"); in visitLdcInsn()
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dunsized-pointee-crash.ll16 ; CHECK: %[[cst:.*]] = bitcast i32 (...)* {{.*}} to i8*
17 ; CHECK-NEXT: %[[gep:.*]] = getelementptr i8, i8* %[[cst]], i64 1

1234