Searched refs:ResultType (Results 1 - 25 of 55) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/parser/
H A DResultType.h31 struct ResultType { struct in namespace:JSC
46 explicit ResultType(Type type) function in struct:JSC::ResultType
81 static ResultType nullType()
83 return ResultType(TypeMaybeNull);
86 static ResultType booleanType()
88 return ResultType(TypeMaybeBool);
91 static ResultType numberType()
93 return ResultType(TypeMaybeNumber);
96 static ResultType numberTypeCanReuse()
98 return ResultType(TypeReusabl
141 OperandTypes(ResultType first = ResultType::unknownType(), ResultType second = ResultType::unknownType()) argument
[all...]
H A DNodeConstructors.h50 inline ExpressionNode::ExpressionNode(JSGlobalData* globalData, ResultType resultType)
63 : ExpressionNode(globalData, ResultType::nullType())
68 : ExpressionNode(globalData, ResultType::booleanType())
74 : ExpressionNode(globalData, ResultType::numberType())
80 : ExpressionNode(globalData, ResultType::stringType())
290 : ExpressionNode(globalData, ResultType::numberType()) // could be reusable for pre?
364 : ExpressionNode(globalData, ResultType::stringType())
370 : ExpressionNode(globalData, ResultType::stringType())
407 inline UnaryOpNode::UnaryOpNode(JSGlobalData* globalData, ResultType type, ExpressionNode* expr, OpcodeID opcodeID)
415 : UnaryOpNode(globalData, ResultType
[all...]
H A DNodes.h33 #include "ResultType.h"
146 ExpressionNode(JSGlobalData*, ResultType = ResultType::unknownType());
168 ResultType resultDescriptor() const { return m_resultType; }
171 ResultType m_resultType;
766 UnaryOpNode(JSGlobalData*, ResultType, ExpressionNode*, OpcodeID);
810 BinaryOpNode(JSGlobalData*, ResultType, ExpressionNode* expr1, ExpressionNode* expr2, OpcodeID, bool rightHasAssignments);
835 ReverseBinaryOpNode(JSGlobalData*, ResultType, ExpressionNode* expr1, ExpressionNode* expr2, OpcodeID, bool rightHasAssignments);
906 ThrowableBinaryOpNode(JSGlobalData*, ResultType, ExpressionNode* expr1, ExpressionNode* expr2, OpcodeID, bool rightHasAssignments);
/external/webkit/Source/WebCore/fileapi/
H A DSyncCallbackHelper.h60 template <typename SuccessCallback, typename ObserverType, typename CallbackArg, typename ResultType>
64 typedef SyncCallbackHelper<SuccessCallback, ObserverType, CallbackArg, ResultType> HelperType;
74 PassRefPtr<ResultType> getResult(ExceptionCode& ec)
106 m_helper->setResult(ResultType::create(arg));
149 void setResult(PassRefPtr<ResultType> result)
158 RefPtr<ResultType> m_result;
/external/clang/lib/CodeGen/
H A DCodeGenTypes.cpp298 llvm::Type *ResultType = 0;
317 ResultType = llvm::Type::getInt8Ty(getLLVMContext());
322 ResultType = llvm::Type::getInt1Ty(getLLVMContext());
341 ResultType = llvm::IntegerType::get(getLLVMContext(),
351 ResultType = llvm::Type::getInt16Ty(getLLVMContext());
356 ResultType = getTypeForFormat(getLLVMContext(),
362 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext());
367 ResultType = llvm::IntegerType::get(getLLVMContext(), 128);
381 ResultType = llvm::StructType::get(EltTy, EltTy, NULL);
390 ResultType
[all...]
H A DCGVTables.cpp179 QualType ResultType, RValue RV,
182 bool NullCheckValue = !ResultType->isReferenceType();
242 QualType ResultType = FPT->getResultType(); local
295 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk);
308 QualType ResultType = FPT->getResultType(); local
318 CGM.getCXXABI().BuildInstanceFunctionParams(*this, ResultType, FunctionArgs);
328 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, local
376 if (!ResultType->isVoidType() &&
379 Slot = ReturnValueSlot(ReturnValue, ResultType.isVolatileQualified());
385 RV = PerformReturnAdjustment(*this, ResultType, R
178 PerformReturnAdjustment(CodeGenFunction &CGF, QualType ResultType, RValue RV, const ThunkInfo &Thunk) argument
[all...]
H A DCGObjCRuntime.h156 QualType ResultType,
172 QualType ResultType,
H A DCGCXXABI.cpp143 RValue RV, QualType ResultType) {
144 CGF.EmitReturnOfRValue(RV, ResultType);
142 EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResultType) argument
H A DCGBuiltin.cpp67 QualType T, llvm::Type *ResultType) {
70 if (ResultType->isPointerTy())
71 return CGF.Builder.CreateIntToPtr(V, ResultType);
73 assert(V->getType() == ResultType);
270 llvm::Type *ResultType = ConvertType(E->getType()); local
273 if (Result->getType() != ResultType)
274 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
287 llvm::Type *ResultType = ConvertType(E->getType()); local
290 if (Result->getType() != ResultType)
291 Result = Builder.CreateIntCast(Result, ResultType, /*isSigne
66 EmitFromInt(CodeGenFunction &CGF, llvm::Value *V, QualType T, llvm::Type *ResultType) argument
304 llvm::Type *ResultType = ConvertType(E->getType()); local
325 llvm::Type *ResultType = ConvertType(E->getType()); local
341 llvm::Type *ResultType = ConvertType(E->getType()); local
[all...]
H A DCGCXXABI.h194 RValue RV, QualType ResultType);
H A DCGObjCMac.cpp926 QualType ResultType,
1082 QualType ResultType,
1092 QualType ResultType,
1256 QualType ResultType,
1339 QualType ResultType,
1349 QualType ResultType,
1633 QualType ResultType,
1684 return EmitMessageSend(CGF, Return, ResultType,
1693 QualType ResultType,
1699 return EmitMessageSend(CGF, Return, ResultType,
1631 GenerateMessageSendSuper(CodeGen::CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, const ObjCInterfaceDecl *Class, bool isCategoryImpl, llvm::Value *Receiver, bool IsClassMessage, const CodeGen::CallArgList &CallArgs, const ObjCMethodDecl *Method) argument
1691 GenerateMessageSend(CodeGen::CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, llvm::Value *Receiver, const CallArgList &CallArgs, const ObjCInterfaceDecl *Class, const ObjCMethodDecl *Method) argument
1706 EmitMessageSend(CodeGen::CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, llvm::Value *Sel, llvm::Value *Arg0, QualType Arg0Ty, bool IsSuper, const CallArgList &CallArgs, const ObjCMethodDecl *Method, const ObjCCommonTypesHelper &ObjCTypes) argument
5929 GenerateMessageSend(CodeGen::CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, llvm::Value *Receiver, const CallArgList &CallArgs, const ObjCInterfaceDecl *Class, const ObjCMethodDecl *Method) argument
6059 GenerateMessageSendSuper(CodeGen::CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, const ObjCInterfaceDecl *Class, bool isCategoryImpl, llvm::Value *Receiver, bool IsClassMessage, const CodeGen::CallArgList &CallArgs, const ObjCMethodDecl *Method) argument
[all...]
H A DCGObjCGNU.cpp439 QualType ResultType,
448 QualType ResultType,
1073 QualType ResultType,
1085 CGM.getTypes().ConvertType(ResultType)));
1101 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs);
1176 QualType ResultType,
1188 CGM.getTypes().ConvertType(ResultType)));
1206 bool isPointerSizedReturn = (ResultType->isAnyPointerType() ||
1207 ResultType->isIntegralOrEnumerationType() || ResultType
1071 GenerateMessageSendSuper(CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, const ObjCInterfaceDecl *Class, bool isCategoryImpl, llvm::Value *Receiver, bool IsClassMessage, const CallArgList &CallArgs, const ObjCMethodDecl *Method) argument
1174 GenerateMessageSend(CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, llvm::Value *Receiver, const CallArgList &CallArgs, const ObjCInterfaceDecl *Class, const ObjCMethodDecl *Method) argument
[all...]
H A DCGStmt.cpp1605 llvm::Type *ResultType; local
1607 ResultType = VoidTy;
1609 ResultType = ResultRegTypes[0];
1611 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes);
1614 llvm::FunctionType::get(ResultType, ArgTypes, false);
/external/chromium/chrome/browser/autocomplete/
H A Dkeyword_provider_unittest.cc18 template<class ResultType>
22 const ResultType output[3];
31 template<class ResultType>
32 void RunTest(test_data<ResultType>* keyword_cases,
34 ResultType AutocompleteMatch::* member);
62 template<class ResultType>
64 test_data<ResultType>* keyword_cases,
66 ResultType AutocompleteMatch::* member) {
/external/clang/lib/AST/
H A DComment.cpp174 ResultType = FD->getResultType();
195 ResultType = MD->getResultType();
208 ResultType = FD->getResultType();
290 ResultType = FTL->getResultLoc().getType();
H A DASTContext.cpp1800 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); local
1801 return getPointerType(ResultType);
6585 QualType ResultType = mergeTypes(LHSPointee, RHSPointee, false, local
6587 if (ResultType.isNull()) return QualType();
6588 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType))
6590 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType))
6592 return getPointerType(ResultType);
6603 QualType ResultType = mergeTypes(LHSPointee, RHSPointee, OfBlockPointer, local
6605 if (ResultType.isNull()) return QualType();
6606 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType))
6621 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, local
6644 QualType ResultType = mergeTypes(LHSElem, RHSElem, false, Unqualified); local
6772 QualType ResultType local
[all...]
/external/clang/lib/Sema/
H A DSemaPseudoObject.cpp985 QualType ResultType; local
988 ResultType = PTy->getPointeeType();
990 ResultType->getAsObjCQualifiedInterfaceType())
991 ResultType = iQFaceTy->getBaseType();
997 CheckKeyForObjCARCConversion(S, ResultType,
1003 if (ResultType.isNull()) {
1025 AtIndexGetter = S.LookupMethodInObjectType(AtIndexGetterSelector, ResultType,
1096 QualType ResultType; local
1099 ResultType = PTy->getPointeeType();
1101 ResultType
[all...]
H A DCodeCompleteConsumer.cpp180 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { argument
181 return Chunk(CK_ResultType, ResultType);
367 void CodeCompletionBuilder::AddResultTypeChunk(const char *ResultType) { argument
368 Chunks.push_back(Chunk::CreateResultType(ResultType));
H A DSemaInit.cpp2077 QualType ResultType = CurrentObjectType; local
2078 if (!ResultType->isArrayType())
2079 ResultType = ResultType.getNonLValueExprType(SemaRef.Context);
2080 Result->setType(ResultType);
3960 QualType ResultType; local
3963 ResultType = S.Context.getPointerType(ArgPointee);
3966 ResultType = Initializer->getType().getNonLValueExprType(S.Context);
3969 Sequence.AddConversionSequenceStep(ICS, ResultType);
4775 QualType *ResultType) {
4771 Perform(Sema &S, const InitializedEntity &Entity, const InitializationKind &Kind, MultiExprArg Args, QualType *ResultType) argument
[all...]
H A DSemaCast.cpp50 ResultType(destType.getNonLValueExprType(S.Context)),
65 QualType ResultType; member in struct:__anon171::CastOperation
259 return Op.complete(CXXConstCastExpr::Create(Context, Op.ResultType,
269 return Op.complete(CXXDynamicCastExpr::Create(Context, Op.ResultType,
280 return Op.complete(CXXReinterpretCastExpr::Create(Context, Op.ResultType,
292 return Op.complete(CXXStaticCastExpr::Create(Context, Op.ResultType,
2142 return Op.complete(CStyleCastExpr::Create(Context, Op.ResultType,
2163 return Op.complete(CXXFunctionalCastExpr::Create(Context, Op.ResultType,
H A DSemaExprCXX.cpp1151 QualType ResultType = Context.getPointerType(AllocType); local
1353 if (ResultType->isArrayType() || ArraySize) {
1437 ResultType, AllocTypeInfo,
3651 QualType ResultType; local
3653 case BTT_IsBaseOf: ResultType = Context.BoolTy; break;
3654 case BTT_IsConvertible: ResultType = Context.BoolTy; break;
3655 case BTT_IsSame: ResultType = Context.BoolTy; break;
3656 case BTT_TypeCompatible: ResultType = Context.IntTy; break;
3657 case BTT_IsConvertibleTo: ResultType = Context.BoolTy; break;
3658 case BTT_IsTriviallyAssignable: ResultType
5345 QualType ResultType = Method->getResultType(); local
[all...]
/external/chromium/chrome/browser/safe_browsing/
H A Dprotocol_manager.h166 enum ResultType { enum in class:SafeBrowsingProtocolManager
195 ResultType result_type);
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h424 static Chunk CreateResultType(const char *ResultType);
630 void AddResultTypeChunk(const char *ResultType);
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-matchers.h1792 typedef typename Functor::result_type ResultType; typedef in struct:testing::internal::CallableTraits
1797 static ResultType Invoke(Functor f, T arg) { return f(arg); }
1803 typedef ResType ResultType; typedef in struct:testing::internal::CallableTraits
1821 typedef typename CallableTraits<Callable>::ResultType ResultType; typedef in class:testing::internal::ResultOfMatcher
1823 ResultOfMatcher(Callable callable, const Matcher<ResultType>& matcher)
1839 Impl(CallableStorageType callable, const Matcher<ResultType>& matcher)
1856 ResultType result =
1868 const Matcher<ResultType> matcher_;
1874 const Matcher<ResultType> matcher
[all...]
/external/clang/include/clang/AST/
H A DExprObjC.h669 QualType ResultType; local
673 ResultType = Getter->getResultType();
675 ResultType = PDecl->getType();
679 ResultType = Getter->getResultType(); // with reference!
681 return ResultType;

Completed in 474 milliseconds

123