Searched refs:ArgType (Results 1 - 25 of 52) sorted by relevance

123

/external/clang/lib/Analysis/
H A DScanfFormatString.cpp19 using clang::analyze_format_string::ArgType;
221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const {
225 return ArgType::Invalid();
234 return ArgType::PtrTo(Ctx.IntTy);
236 return ArgType::PtrTo(ArgType::AnyCharTy);
238 return ArgType::PtrTo(Ctx.ShortTy);
240 return ArgType::PtrTo(Ctx.LongTy);
243 return ArgType::PtrTo(Ctx.LongLongTy);
245 return ArgType
[all...]
H A DPrintfFormatString.cpp19 using clang::analyze_format_string::ArgType;
260 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx,
265 return ArgType::Invalid();
271 return ArgType(ArgType::WIntTy, "wint_t");
273 return ArgType::Invalid();
284 return ArgType(Ctx.IntTy, "__int32");
285 case LengthModifier::AsChar: return ArgType::AnyCharTy;
292 return ArgType(Ctx.LongLongTy, "__int64");
294 return ArgType(Ct
[all...]
H A DFormatString.cpp19 using clang::analyze_format_string::ArgType;
254 // Methods on ArgType.
257 bool ArgType::matchesType(ASTContext &C, QualType argTy) const {
273 llvm_unreachable("ArgType must be valid");
402 llvm_unreachable("Invalid ArgType Kind!");
405 QualType ArgType::getRepresentativeType(ASTContext &C) const {
409 llvm_unreachable("No representative type for Invalid ArgType");
411 llvm_unreachable("No representative type for Unknown ArgType");
441 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const {
449 // If ArgType i
[all...]
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Derrorcode.h57 enum ArgType { enum in class:sandbox::ErrorCode
137 ArgType width() const { return width_; }
160 ArgType width,
181 ArgType width_; // Whether we are looking at a 32/64bit value.
H A Dsandbox_bpf.h138 ErrorCode::ArgType is_32bit,
147 ErrorCode::ArgType is_32bit,
H A Derrorcode.cc44 ArgType width,
/external/clang/test/SemaTemplate/
H A Dinstantiate-expr-3.cpp94 template<typename ArgType>
100 (void)__builtin_va_arg(va, ArgType);
107 template<typename VaList, typename ArgType>
113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}}
/external/eigen/Eigen/src/Core/util/
H A DMeta.h119 template<typename Func, typename ArgType, int SizeOf=sizeof(has_none)>
120 struct unary_result_of_select {typedef ArgType type;};
122 template<typename Func, typename ArgType>
123 struct unary_result_of_select<Func, ArgType, sizeof(has_std_result_type)> {typedef typename Func::result_type type;};
125 template<typename Func, typename ArgType>
126 struct unary_result_of_select<Func, ArgType, sizeof(has_tr1_result)> {typedef typename Func::template result<Func(ArgType)>::type type;};
128 template<typename Func, typename ArgType>
129 struct result_of<Func(ArgType)> {
133 static has_tr1_result testFunctor(T const *, typename T::template result<T(ArgType)>
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h220 class ArgType { class in namespace:clang::analyze_format_string
230 ArgType(Kind k = UnknownTy, const char *n = nullptr) function in class:clang::analyze_format_string::ArgType
232 ArgType(QualType t, const char *n = nullptr) function in class:clang::analyze_format_string::ArgType
234 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} function in class:clang::analyze_format_string::ArgType
236 static ArgType Invalid() { return ArgType(InvalidTy); }
239 /// Create an ArgType which corresponds to the type pointer to A.
240 static ArgType PtrTo(const ArgType& A) {
241 assert(A.K >= InvalidTy && "ArgType canno
[all...]
/external/chromium_org/sandbox/win/src/
H A Dinternal_types.h17 enum ArgType { enum in namespace:sandbox
H A Dcrosscall_server.cc180 ArgType type;
201 ArgType* type) {
216 ArgType type;
228 ArgType type;
241 ArgType type;
263 ArgType type;
H A Dcrosscall_server.h104 void* GetRawParameter(uint32 index, uint32* size, ArgType* type);
160 ArgType args[kMaxIpcParams];
H A Dpolicy_engine_params.h98 ParameterSet(ArgType real_type, const void* address)
110 ArgType real_type_;
H A Dcrosscall_client.h80 ArgType GetType() {
119 ArgType GetType() {
164 ArgType GetType() {
205 ArgType GetType() {
235 ArgType GetType() {
284 ArgType GetType() {
H A Dcrosscall_params.h68 ArgType type_;
224 bool is_in_out, ArgType type) {
/external/clang/test/CodeGenCXX/
H A Ddestructors.cpp352 struct ArgType { struct in namespace:test9
353 ~ArgType();
356 void f1(const ArgType& = ArgType());
362 // CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
H A Dcallback.h125 template <typename ArgType>
127 INVALIDATION_CALLBACK1_TYPE(ArgType)* callback,
128 typename internal::Identity<ArgType>::type arg) {
130 &::base::Callback<void(ArgType)>::Run, base::Owned(callback), arg));
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp896 QualType ArgType) {
898 Qualifiers ArgQs = ArgType.getQualifiers();
3087 QualType ArgType = GetTypeOfFunction(S, R, Fn); local
3088 if (ArgType.isNull()) continue;
3092 ArgType->isFunctionType())
3093 ArgType = S.Context.getPointerType(ArgType);
3112 ArgType, Info, Deduced, TDF);
3115 Match = ArgType;
3130 QualType &ArgType,
895 hasInconsistentOrSupersetQualifiersOf(QualType ParamType, QualType ArgType) argument
3127 AdjustFunctionParmAndArgTypesForDeduction(Sema &S, TemplateParameterList *TemplateParams, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument
3268 QualType ArgType = Arg->getType(); local
3367 QualType ArgType = Arg->getType(); local
3438 QualType ArgType = Arg->getType(); local
[all...]
H A DSemaTemplate.cpp3002 QualType ArgType; local
3011 ArgType = Arg.getAsType();
3064 ArgType =
3067 DependentNameTypeLoc TL = TLB.push<DependentNameTypeLoc>(ArgType);
3071 TSI = TLB.getTypeSourceInfo(Context, ArgType);
3075 AL = TemplateArgumentLoc(TemplateArgument(ArgType),
3098 ArgType = Context.getCanonicalType(ArgType);
3104 ArgType->isObjCLifetimeType() &&
3105 !ArgType
3143 TypeSourceInfo *ArgType = Param->getDefaultArgumentInfo(); local
4273 CheckTemplateArgumentIsCompatibleWithParameter( Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, Expr *Arg, QualType ArgType) argument
4338 QualType ArgType = Arg->getType(); local
4850 QualType ArgType = Arg->getType(); local
4974 QualType ArgType = Arg->getType(); local
[all...]
H A DSemaChecking.cpp2739 bool checkForCStrMembers(const analyze_printf::ArgType &AT,
2788 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context);
2911 const analyze_printf::ArgType &AT, const Expr *E) {
3096 const analyze_printf::ArgType &AT = FS.getArgType(S.Context,
3474 const analyze_format_string::ArgType &AT = FS.getArgType(S.Context);
3657 static unsigned getBestAbsFunction(ASTContext &Context, QualType ArgType, argument
3660 uint64_t ArgSize = Context.getTypeSize(ArgType);
3667 else if (Context.hasSameType(ParamType, ArgType)) {
3793 unsigned AbsKind, QualType ArgType) {
3797 if (S.getLangOpts().CPlusPlus && !ArgType
3792 emitReplacement(Sema &S, SourceLocation Loc, SourceRange Range, unsigned AbsKind, QualType ArgType) argument
[all...]
/external/chromium_org/sandbox/linux/bpf_dsl/
H A Dbpf_dsl.cc167 ErrorCode::ArgType is_32bit,
183 ErrorCode::ArgType is_32bit_;
268 const ErrorCode::ArgType arg_type =
/external/clang/include/clang/AST/
H A DExprObjC.h698 QualType ArgType; local
702 ArgType = (*P)->getType();
707 ArgType = (*P)->getType();
709 if (ArgType.isNull())
710 ArgType = getType();
712 return ArgType;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp330 Type * ArgType = P.Val->getType(); local
349 ArgType, Addrspace));
/external/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp155 Type *ArgType = F.getFunctionType()->getParamType(0); local
156 switch (ArgType->getTypeID()) {
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp330 Type * ArgType = P.Val->getType(); local
349 ArgType, Addrspace));

Completed in 6277 milliseconds

123