Home
last modified time | relevance | path

Searched refs:TypeInfo (Results 1 – 25 of 141) sorted by relevance

123456

/external/v8/src/
Dtype-info.h52 class TypeInfo {
54 TypeInfo() : type_(kUninitialized) { } in TypeInfo() function
56 static TypeInfo Unknown() { return TypeInfo(kUnknown); } in Unknown()
58 static TypeInfo Primitive() { return TypeInfo(kPrimitive); } in Primitive()
60 static TypeInfo Number() { return TypeInfo(kNumber); } in Number()
62 static TypeInfo Integer32() { return TypeInfo(kInteger32); } in Integer32()
64 static TypeInfo Smi() { return TypeInfo(kSmi); } in Smi()
66 static TypeInfo Double() { return TypeInfo(kDouble); } in Double()
68 static TypeInfo String() { return TypeInfo(kString); } in String()
70 static TypeInfo NonPrimitive() { return TypeInfo(kNonPrimitive); } in NonPrimitive()
[all …]
Dtype-info.cc44 TypeInfo TypeInfo::TypeFromValue(Handle<Object> value) { in TypeFromValue()
45 TypeInfo info; in TypeFromValue()
47 info = TypeInfo::Smi(); in TypeFromValue()
49 info = TypeInfo::IsInt32Double(HeapNumber::cast(*value)->value()) in TypeFromValue()
50 ? TypeInfo::Integer32() in TypeFromValue()
51 : TypeInfo::Double(); in TypeFromValue()
53 info = TypeInfo::String(); in TypeFromValue()
55 info = TypeInfo::Unknown(); in TypeFromValue()
215 TypeInfo TypeFeedbackOracle::CompareType(CompareOperation* expr) { in CompareType()
217 TypeInfo unknown = TypeInfo::Unknown(); in CompareType()
[all …]
Dframe-element.h57 inline TypeInfo type_info() { in type_info()
61 return TypeInfo::FromInt(TypeInfoField::decode(value_)); in type_info()
64 inline void set_type_info(TypeInfo info) { in set_type_info()
77 | TypeInfoField::encode(TypeInfo::Uninitialized().ToInt()) in FrameElement()
88 static FrameElement MemoryElement(TypeInfo info) { in MemoryElement()
96 TypeInfo info) { in RegisterElement()
104 TypeInfo info = TypeInfo::TypeFromValue(value); in ConstantElement()
215 TypeInfo info) { in FrameElement()
224 FrameElement(Handle<Object> value, SyncFlag is_synced, TypeInfo info) { in FrameElement()
Dic.h583 enum TypeInfo { enum
597 static const char* GetName(TypeInfo type_info);
599 static State ToState(TypeInfo type_info);
601 static TypeInfo GetTypeInfo(Handle<Object> left, Handle<Object> right);
603 static TypeInfo JoinTypes(TypeInfo x, TypeInfo y);
/external/v8/test/cctest/
Dtest-type-info.cc38 CHECK(TypeInfo::ExpandedRepresentation( in TEST()
39 TypeInfo::Unknown().ThreeBitRepresentation()).IsUnknown()); in TEST()
40 CHECK(TypeInfo::ExpandedRepresentation( in TEST()
41 TypeInfo::Number().ThreeBitRepresentation()).IsNumber()); in TEST()
42 CHECK(TypeInfo::ExpandedRepresentation( in TEST()
43 TypeInfo::Integer32().ThreeBitRepresentation()).IsInteger32()); in TEST()
44 CHECK(TypeInfo::ExpandedRepresentation( in TEST()
45 TypeInfo::Smi().ThreeBitRepresentation()).IsSmi()); in TEST()
46 CHECK(TypeInfo::ExpandedRepresentation( in TEST()
47 TypeInfo::Double().ThreeBitRepresentation()).IsDouble()); in TEST()
[all …]
/external/doclava/src/com/google/doclava/
DTypeInfo.java23 public class TypeInfo implements Resolvable { class
28 public TypeInfo(boolean isPrimitive, String dimension, String simpleTypeName, in TypeInfo() method in TypeInfo
37 public TypeInfo(String typeString) { in TypeInfo() method in TypeInfo
46 ArrayList<TypeInfo> generics = new ArrayList<TypeInfo>(); in TypeInfo()
55 TypeInfo info = new TypeInfo(entry); in TypeInfo()
65 TypeInfo info = new TypeInfo(typeString.substring(entryStartPos, paramEndPos).trim()); in TypeInfo()
133 public static String typeArgumentsName(ArrayList<TypeInfo> args, HashSet<String> typeVars) { in typeArgumentsName()
137 for (TypeInfo arg : args) { in typeArgumentsName()
170 for (TypeInfo superBound : mSuperBounds) { in fullNameNoDimension()
178 for (TypeInfo extendsBound : mExtendsBounds) { in fullNameNoDimension()
[all …]
DConverter.java80 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.interfaceTypes()))), in initClass()
100 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.typeParameters()))), in initClass()
192 private static TypeInfo[] convertTypes(Type[] p) { in convertTypes()
195 TypeInfo[] q = new TypeInfo[len]; in convertTypes()
338 new ArrayList<TypeInfo>(Arrays.asList(
359 new ArrayList<TypeInfo>(Arrays.asList(
380 …new MethodInfo(m.getRawCommentText(), new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes…
443 private static TypeInfo obtainType(Type o) { in obtainType()
444 return (TypeInfo) mTypes.obtain(o); in obtainType()
457 TypeInfo ti =
[all …]
DInfoBuilder.java134 Iterator<TypeInfo> it = cl.realInterfaceTypes().iterator(); in printClassInfo()
136 TypeInfo outerType = it.next(); in printClassInfo()
285 private static void printTypeName(TypeInfo type) { in printTypeName()
290 for (TypeInfo t : type.extendsBounds()) { in printTypeName()
300 for (TypeInfo t : type.superBounds()) { in printTypeName()
321 private static void printTypeVariables(TypeInfo type) { in printTypeVariables()
325 private static void printTypeVariableList(ArrayList<TypeInfo> typeList) { in printTypeVariableList()
328 for (TypeInfo type : typeList) { in printTypeVariableList()
484 TypeInfo type = buildType(child); in buildClass()
523 TypeInfo type = buildType((ParseTree) o); in parseInterfaces()
[all …]
DParameterInfo.java24 public ParameterInfo(String name, String typeName, TypeInfo type, boolean isVarArg, in ParameterInfo()
33 TypeInfo type() { in type()
78 TypeInfo mType;
DClassInfo.java110 public void init(TypeInfo typeInfo, ArrayList<ClassInfo> interfaces, in init()
111 ArrayList<TypeInfo> interfaceTypes, ArrayList<ClassInfo> innerClasses, in init()
116 TypeInfo superclassType, ArrayList<AnnotationInstanceInfo> annotations) { in init()
153 public void init3(ArrayList<TypeInfo> types, ArrayList<ClassInfo> realInnerClasses) { in init3()
162 public ArrayList<TypeInfo> getTypeParameters() { in getTypeParameters()
256 HashSet<String> result = TypeInfo.typeVariables(mTypeInfo.typeArguments()); in typeVariables()
259 ArrayList<TypeInfo> types = cl.asTypeInfo().typeArguments(); in typeVariables()
261 TypeInfo.typeVariables(types, result); in typeVariables()
302 ArrayList<TypeInfo> realInterfaceTypes() { in realInterfaceTypes()
306 public void addInterfaceType(TypeInfo type) { in addInterfaceType()
[all …]
DMethodInfo.java235 public ArrayList<TypeInfo> getTypeParameters() { in getTypeParameters()
251 public MethodInfo(String rawCommentText, ArrayList<TypeInfo> typeParameters, String name, in MethodInfo()
256 MethodInfo overriddenMethod, TypeInfo returnType, ArrayList<ParameterInfo> parameters, in MethodInfo()
318 public TypeInfo returnType() { in returnType()
511 TypeInfo myType = mine.type(); in matchesParams()
572 TypeInfo.makeHDF(data, base + ".generic.typeArguments", mTypeParameters, false); in makeHDF()
579 HashSet<String> result = TypeInfo.typeVariables(mTypeParameters); in typeVariables()
582 ArrayList<TypeInfo> types = cl.asTypeInfo().typeArguments(); in typeVariables()
584 TypeInfo.typeVariables(types, result); in typeVariables()
604 return TypeInfo.typeArgumentsName(mTypeParameters, typeVars); in typeArgumentsName()
[all …]
DStubs.java80 TypeInfo t = p.type(); in writeStubsAndApi()
104 TypeInfo t = p.type(); in writeStubsAndApi()
172 for (TypeInfo tTypeInfo : fInfo.type().typeArguments()) { in cantStripThis()
184 for (TypeInfo tInfo : cl.asTypeInfo().typeArguments()) { in cantStripThis()
226 for (TypeInfo tInfo : mInfo.getTypeParameters()) { in cantStripThis()
239 for (TypeInfo tInfoType : pInfo.type().typeArguments()) { in cantStripThis()
266 for (TypeInfo tyInfo : mInfo.returnType().typeArguments()) { in cantStripThis()
354 TypeInfo base = cl.superclassType(); in writeClass()
362 List<TypeInfo> usedInterfaces = new ArrayList<TypeInfo>(); in writeClass()
363 for (TypeInfo iface : cl.realInterfaceTypes()) { in writeClass()
[all …]
/external/llvm/test/Bitcode/
Dmetadata-2.ll11 …Interface[]", %object.ClassInfo*, i8*, i8*, i32, i8*, %"OffsetTypeInfo[]", i8*, %object.TypeInfo* }
17 %object.OffsetTypeInfo = type { i64, %object.TypeInfo* }
18 %object.TypeInfo = type { %object.TypeInfo.__vtbl*, i8* }
19TypeInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Object*)*,…
/external/webkit/Source/JavaScriptCore/runtime/
DJSTypeInfo.h48 class TypeInfo {
50 TypeInfo(JSType type, unsigned flags = 0)
77 return OBJECT_OFFSETOF(TypeInfo, m_flags); in flagsOffset()
82 return OBJECT_OFFSETOF(TypeInfo, m_type); in typeOffset()
DStructure.h61 …static Structure* create(JSGlobalData& globalData, JSValue prototype, const TypeInfo& typeInfo, un… in create()
97 const TypeInfo& typeInfo() const { return m_typeInfo; } in typeInfo()
145 return OBJECT_OFFSETOF(Structure, m_typeInfo) + TypeInfo::flagsOffset(); in typeInfoFlagsOffset()
150 return OBJECT_OFFSETOF(Structure, m_typeInfo) + TypeInfo::typeOffset(); in typeInfoTypeOffset()
160 …Structure(JSGlobalData&, JSValue prototype, const TypeInfo&, unsigned anonymousSlotCount, const Cl…
210 TypeInfo m_typeInfo;
278 … return Structure::create(globalData, jsNull(), TypeInfo(UnspecifiedType), AnonymousSlotCount, 0); in createDummyStructure()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java27 import com.google.doclava.TypeInfo;
119 TypeInfo typeInfo = Converter.obtainTypeFromString(qualifiedName) ; in startElement()
124 ArrayList<TypeInfo> typeParameters = new ArrayList<TypeInfo>(); in startElement()
144 TypeInfo returnType = Converter.obtainTypeFromString(attributes.getValue("return")); in startElement()
163 new MethodInfo(""/*rawCommentText*/, new ArrayList<TypeInfo>()/*typeParameters*/, in startElement()
180 TypeInfo type = Converter.obtainTypeFromString(typeName); in startElement()
202 TypeInfo type = Converter.obtainTypeFromString(typeName); in startElement()
/external/v8/src/x64/
Dcode-stubs-x64.h87 TRBinaryOpIC::TypeInfo operands_type,
88 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED)
105 TRBinaryOpIC::TypeInfo operands_type_;
106 TRBinaryOpIC::TypeInfo result_type_;
126 class OperandTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 9, 3> {};
127 class ResultTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 12, 3> {};
/external/v8/src/mips/
Dvirtual-frame-mips.h386 void EmitPush(Register reg, TypeInfo type_info = TypeInfo::Unknown());
387 void EmitPush(Operand operand, TypeInfo type_info = TypeInfo::Unknown());
388 void EmitPush(MemOperand operand, TypeInfo type_info = TypeInfo::Unknown());
Dcodegen-mips.h200 TypeInfo info);
210 TypeInfo old_type_info_;
284 TypeInfo type_info(Slot* slot) { in type_info()
286 if (index == kInvalidSlotNumber) return TypeInfo::Unknown(); in type_info()
290 TypeInfo set_type_info(Slot* slot, TypeInfo info) { in set_type_info()
294 TypeInfo previous_value = (*type_info_)[index]; in set_type_info()
298 return TypeInfo::Unknown(); in set_type_info()
608 Vector<TypeInfo>* type_info_;
Dcode-stubs-mips.h84 GenericBinaryOpStub(int key, BinaryOpIC::TypeInfo type_info) in GenericBinaryOpStub()
101 BinaryOpIC::TypeInfo runtime_operands_type_;
234 TRBinaryOpIC::TypeInfo operands_type,
235 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED)
254 TRBinaryOpIC::TypeInfo operands_type_;
255 TRBinaryOpIC::TypeInfo result_type_;
276 class OperandTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 10, 3> {};
277 class ResultTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 13, 3> {};
Dvirtual-frame-mips.cc257 void VirtualFrame::EmitPush(Register reg, TypeInfo info) { in EmitPush()
273 void VirtualFrame::EmitPush(Operand operand, TypeInfo info) { in EmitPush()
278 void VirtualFrame::EmitPush(MemOperand operand, TypeInfo info) { in EmitPush()
/external/v8/src/ia32/
Dcode-stubs-ia32.h89 TRBinaryOpIC::TypeInfo operands_type,
90 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED)
109 TRBinaryOpIC::TypeInfo operands_type_;
110 TRBinaryOpIC::TypeInfo result_type_;
131 class OperandTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 10, 3> {};
132 class ResultTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 13, 3> {};
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc166 struct TypeInfo { struct in google::protobuf::DynamicMessage
184 DynamicMessage(const TypeInfo* type_info);
216 const TypeInfo* type_info_;
222 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage()
432 typedef hash_map<const Descriptor*, const DynamicMessage::TypeInfo*> Map;
465 const DynamicMessage::TypeInfo** target = &prototypes_->map_[type]; in GetPrototypeNoLock()
471 DynamicMessage::TypeInfo* type_info = new DynamicMessage::TypeInfo; in GetPrototypeNoLock()
/external/v8/src/arm/
Dcode-stubs-arm.h88 TRBinaryOpIC::TypeInfo operands_type,
89 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED)
108 TRBinaryOpIC::TypeInfo operands_type_;
109 TRBinaryOpIC::TypeInfo result_type_;
130 class OperandTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 10, 3> {};
131 class ResultTypeInfoBits: public BitField<TRBinaryOpIC::TypeInfo, 13, 3> {};
/external/clang/include/clang/Sema/
DInitialization.h99 TypeSourceInfo *TypeInfo; member
213 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument
215 TypeInfo->getType()); in InitializeTemporary()
216 Result.TypeInfo = TypeInfo; in InitializeTemporary()
264 return TypeInfo; in getTypeSourceInfo()

123456