Home
last modified time | relevance | path

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

123456

/external/v8/src/
Dtype-info.h55 class TypeInfo {
57 TypeInfo() : type_(kUninitialized) { } in TypeInfo() function
59 static TypeInfo Unknown() { return TypeInfo(kUnknown); } in Unknown()
61 static TypeInfo Primitive() { return TypeInfo(kPrimitive); } in Primitive()
63 static TypeInfo Number() { return TypeInfo(kNumber); } in Number()
65 static TypeInfo Integer32() { return TypeInfo(kInteger32); } in Integer32()
67 static TypeInfo Smi() { return TypeInfo(kSmi); } in Smi()
69 static TypeInfo Symbol() { return TypeInfo(kSymbol); } in Symbol()
71 static TypeInfo Double() { return TypeInfo(kDouble); } in Double()
73 static TypeInfo String() { return TypeInfo(kString); } in String()
[all …]
Dtype-info.cc45 TypeInfo TypeInfo::TypeFromValue(Handle<Object> value) { in TypeFromValue()
46 TypeInfo info; in TypeFromValue()
48 info = TypeInfo::Smi(); in TypeFromValue()
50 info = TypeInfo::IsInt32Double(HeapNumber::cast(*value)->value()) in TypeFromValue()
51 ? TypeInfo::Integer32() in TypeFromValue()
52 : TypeInfo::Double(); in TypeFromValue()
54 info = TypeInfo::String(); in TypeFromValue()
56 info = TypeInfo::Unknown(); in TypeFromValue()
302 TypeInfo TypeFeedbackOracle::CompareType(CompareOperation* expr) { in CompareType()
304 TypeInfo unknown = TypeInfo::Unknown(); in CompareType()
[all …]
Dic.h720 enum TypeInfo { enum
731 static const char* GetName(TypeInfo type_info);
733 static State ToState(TypeInfo type_info);
735 static TypeInfo GetTypeInfo(Handle<Object> operand);
737 static TypeInfo ComputeNewType(TypeInfo type, TypeInfo previous);
744 enum TypeInfo { enum
759 static const char* GetName(TypeInfo type_info);
761 static State ToState(TypeInfo type_info);
763 static TypeInfo GetTypeInfo(Handle<Object> left, Handle<Object> right);
765 static TypeInfo JoinTypes(TypeInfo x, TypeInfo y);
/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;
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()
575 TypeInfo.makeHDF(data, base + ".generic.typeArguments", mTypeParameters, false); in makeHDF()
582 HashSet<String> result = TypeInfo.typeVariables(mTypeParameters); in typeVariables()
585 ArrayList<TypeInfo> types = cl.asTypeInfo().typeArguments(); in typeVariables()
587 TypeInfo.typeVariables(types, result); in typeVariables()
607 return TypeInfo.typeArgumentsName(mTypeParameters, typeVars); in typeArgumentsName()
[all …]
DClassInfo.java109 public void init(TypeInfo typeInfo, ArrayList<ClassInfo> interfaces, in init()
110 ArrayList<TypeInfo> interfaceTypes, ArrayList<ClassInfo> innerClasses, in init()
115 TypeInfo superclassType, ArrayList<AnnotationInstanceInfo> annotations) { in init()
152 public void init3(ArrayList<TypeInfo> types, ArrayList<ClassInfo> realInnerClasses) { in init3()
161 public ArrayList<TypeInfo> getTypeParameters() { in getTypeParameters()
259 HashSet<String> result = TypeInfo.typeVariables(mTypeInfo.typeArguments()); in typeVariables()
262 ArrayList<TypeInfo> types = cl.asTypeInfo().typeArguments(); in typeVariables()
264 TypeInfo.typeVariables(types, result); in typeVariables()
305 ArrayList<TypeInfo> realInterfaceTypes() { in realInterfaceTypes()
309 public void addInterfaceType(TypeInfo type) { in addInterfaceType()
[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/compiler-rt/lib/ubsan/
Dubsan_value.h97 u16 TypeInfo; variable
125 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy()
128 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy()
132 return 1 << (TypeInfo >> 1); in getIntegerBitWidth()
138 return TypeInfo; in getFloatBitWidth()
Dubsan_type_hash.cc193 std::type_info *TypeInfo; member
200 if (Prefix->Offset > 0 || !Prefix->TypeInfo) in getVtablePrefix()
225 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType()
244 static_cast<const abi::__class_type_info*>(Vtable->TypeInfo), in getDynamicTypeInfo()
246 return DynamicTypeInfo(Vtable->TypeInfo->__type_name, -Vtable->Offset, in getDynamicTypeInfo()
/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()
DExecutable.h68 …lobalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(CompoundType, Str… in createStructure()
119 …lobalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(LeafType, Structu… in createStructure()
235 …lobalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(CompoundType, Str… in createStructure()
282 …lobalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(CompoundType, Str… in createStructure()
375 …lobalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(CompoundType, Str… in createStructure()
/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/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/x64/
Dcode-stubs-x64.h93 UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED)
104 UnaryOpIC::TypeInfo operand_type_;
110 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {};
172 BinaryOpIC::TypeInfo operands_type,
173 BinaryOpIC::TypeInfo result_type = BinaryOpIC::UNINITIALIZED)
189 BinaryOpIC::TypeInfo operands_type_;
190 BinaryOpIC::TypeInfo result_type_;
197 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 9, 3> {};
198 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 12, 3> {};
/external/clang/include/clang/Sema/
DInitialization.h123 TypeSourceInfo *TypeInfo; member
243 Result.TypeInfo = 0; in InitializeTemporary()
248 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument
250 TypeInfo->getType()); in InitializeTemporary()
251 Result.TypeInfo = TypeInfo; in InitializeTemporary()
306 return TypeInfo; in getTypeSourceInfo()
/external/v8/src/ia32/
Dcode-stubs-ia32.h87 UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED)
98 UnaryOpIC::TypeInfo operand_type_;
104 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {};
170 BinaryOpIC::TypeInfo operands_type,
171 BinaryOpIC::TypeInfo result_type = BinaryOpIC::UNINITIALIZED)
189 BinaryOpIC::TypeInfo operands_type_;
190 BinaryOpIC::TypeInfo result_type_;
198 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {};
199 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {};
/external/v8/src/mips/
Dcode-stubs-mips.h85 UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED)
96 UnaryOpIC::TypeInfo operand_type_;
102 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {};
159 BinaryOpIC::TypeInfo operands_type,
160 BinaryOpIC::TypeInfo result_type = BinaryOpIC::UNINITIALIZED)
178 BinaryOpIC::TypeInfo operands_type_;
179 BinaryOpIC::TypeInfo result_type_;
187 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {};
188 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {};
/external/v8/src/arm/
Dcode-stubs-arm.h84 UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED)
95 UnaryOpIC::TypeInfo operand_type_;
101 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {};
158 BinaryOpIC::TypeInfo operands_type,
159 BinaryOpIC::TypeInfo result_type = BinaryOpIC::UNINITIALIZED)
177 BinaryOpIC::TypeInfo operands_type_;
178 BinaryOpIC::TypeInfo result_type_;
186 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {};
187 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {};
/external/clang/lib/Driver/
DTypes.cpp18 struct TypeInfo { struct
25 static const TypeInfo TypeInfos[] = { argument
33 static const TypeInfo &getInfo(unsigned id) { in getInfo()
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
DJSTestInterface.h46 …return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags… in createStructure()
68 …return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags… in createStructure()
DJSTestSerializedScriptValueInterface.h46 …return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags… in createStructure()
68 …return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags… in createStructure()

123456