Home
last modified time | relevance | path

Searched refs:ArgType (Results 1 – 25 of 54) sorted by relevance

123

/external/clang/lib/Analysis/
DScanfFormatString.cpp19 using clang::analyze_format_string::ArgType;
221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { in getArgType()
225 return ArgType::Invalid(); in getArgType()
234 return ArgType::PtrTo(Ctx.IntTy); in getArgType()
236 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType()
238 return ArgType::PtrTo(Ctx.ShortTy); in getArgType()
240 return ArgType::PtrTo(Ctx.LongTy); in getArgType()
243 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType()
245 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType()
247 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getArgType()
[all …]
DPrintfFormatString.cpp19 using clang::analyze_format_string::ArgType;
260 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType()
265 return ArgType::Invalid(); in getArgType()
271 return ArgType(ArgType::WIntTy, "wint_t"); in getArgType()
273 return ArgType::Invalid(); in getArgType()
284 return ArgType(Ctx.IntTy, "__int32"); in getArgType()
285 case LengthModifier::AsChar: return ArgType::AnyCharTy; in getArgType()
292 return ArgType(Ctx.LongLongTy, "__int64"); in getArgType()
294 return ArgType(Ctx.getIntMaxType(), "intmax_t"); in getArgType()
297 return ArgType(); in getArgType()
[all …]
DFormatString.cpp19 using clang::analyze_format_string::ArgType;
257 bool ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType()
405 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType()
441 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName()
467 ArgType
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h220 class ArgType {
230 ArgType(Kind k = UnknownTy, const char *n = nullptr)
232 ArgType(QualType t, const char *n = nullptr)
234 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} in ArgType() function
236 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid()
240 static ArgType PtrTo(const ArgType& A) { in PtrTo()
242 ArgType Res = A; in PtrTo()
299 ArgType getArgType(ASTContext &Ctx) const;
413 using analyze_format_string::ArgType;
488 ArgType getArgType(ASTContext &Ctx, bool IsObjCLiteral) const;
[all …]
/external/eigen/Eigen/src/Core/util/
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::r…
125 template<typename Func, typename ArgType>
126 …ruct unary_result_of_select<Func, ArgType, sizeof(has_tr1_result)> {typedef typename Func::templat…
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)>::type co…
138 typedef typename unary_result_of_select<Func, ArgType, FunctorType>::type type;
/external/chromium_org/sandbox/linux/seccomp-bpf/
Derrorcode.h57 enum ArgType { enum
137 ArgType width() const { return width_; } in width()
160 ArgType width,
181 ArgType width_; // Whether we are looking at a 32/64bit value.
Dsandbox_bpf.h138 ErrorCode::ArgType is_32bit,
147 ErrorCode::ArgType is_32bit,
Derrorcode.cc44 ArgType width, in ErrorCode()
/external/clang/test/SemaTemplate/
Dinstantiate-expr-3.cpp94 template<typename ArgType>
100 (void)__builtin_va_arg(va, ArgType); in f()
107 template<typename VaList, typename ArgType>
113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f()
/external/chromium_org/sandbox/win/src/
Dcrosscall_server.cc180 ArgType type; in CreateFromBuffer()
201 ArgType* type) { in GetRawParameter()
216 ArgType type; in GetParameter32()
228 ArgType type; in GetParameterVoidPtr()
241 ArgType type; in GetParameterStr()
263 ArgType type; in GetParameterPtr()
Dcrosscall_client.h80 ArgType GetType() { in GetType()
119 ArgType GetType() { in GetType()
164 ArgType GetType() { in GetType()
205 ArgType GetType() { in GetType()
235 ArgType GetType() { in GetType()
284 ArgType GetType() { in GetType()
Dpolicy_engine_params.h98 ParameterSet(ArgType real_type, const void* address) in ParameterSet()
110 ArgType real_type_;
Dcrosscall_server.h104 void* GetRawParameter(uint32 index, uint32* size, ArgType* type);
160 ArgType args[kMaxIpcParams];
Dcrosscall_params.h68 ArgType type_;
224 bool is_in_out, ArgType type) { in CopyParamIn()
Dinternal_types.h17 enum ArgType { enum
/external/clang/test/CodeGenCXX/
Ddestructors.cpp352 struct ArgType { struct
353 ~ArgType();
356 void f1(const ArgType& = ArgType());
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
Dcallback.h125 template <typename ArgType>
127 INVALIDATION_CALLBACK1_TYPE(ArgType)* callback, in NewPermanentCallback()
128 typename internal::Identity<ArgType>::type arg) { in NewPermanentCallback()
130 &::base::Callback<void(ArgType)>::Run, base::Owned(callback), arg)); in NewPermanentCallback()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dtypewrapping.h.pump125 typename ArgType$j]]>
131 typedef SMART_UNWRAPPER_TYPE_(Unwrapper, ArgType$j) OriginalArgType$j;
145 ArgType$j v$j]]) {
149 SMART_UNWRAPPER_(Unwrapper, ArgType$j, v$j)]]));
160 typename ArgType$j]]>
165 ArgType$j]]> {
170 typedef SMART_UNWRAPPER_TYPE_(Unwrapper, ArgType$j) OriginalArgType$j;
184 ArgType$j v$j]]) {
187 SMART_UNWRAPPER_(Unwrapper, ArgType$j, v$j)]]);
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp896 QualType ArgType) { in hasInconsistentOrSupersetQualifiersOf() argument
898 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
3087 QualType ArgType = GetTypeOfFunction(S, R, Fn); in ResolveOverloadForDeduction() local
3088 if (ArgType.isNull()) continue; in ResolveOverloadForDeduction()
3092 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
3093 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction()
3112 ArgType, Info, Deduced, TDF); in ResolveOverloadForDeduction()
3115 Match = ArgType; in ResolveOverloadForDeduction()
3130 QualType &ArgType, in AdjustFunctionParmAndArgTypesForDeduction() argument
3143 if (ArgType->isIncompleteArrayType() && !S.RequireCompleteExprType(Arg, 0)) in AdjustFunctionParmAndArgTypesForDeduction()
[all …]
DSemaTemplate.cpp3002 QualType ArgType; in CheckTemplateTypeArgument() local
3011 ArgType = Arg.getAsType(); in CheckTemplateTypeArgument()
3064 ArgType = in CheckTemplateTypeArgument()
3067 DependentNameTypeLoc TL = TLB.push<DependentNameTypeLoc>(ArgType); in CheckTemplateTypeArgument()
3071 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
3075 AL = TemplateArgumentLoc(TemplateArgument(ArgType), in CheckTemplateTypeArgument()
3098 ArgType = Context.getCanonicalType(ArgType); in CheckTemplateTypeArgument()
3104 ArgType->isObjCLifetimeType() && in CheckTemplateTypeArgument()
3105 !ArgType.getObjCLifetime()) { in CheckTemplateTypeArgument()
3108 ArgType = Context.getQualifiedType(ArgType, Qs); in CheckTemplateTypeArgument()
[all …]
/external/chromium_org/sandbox/linux/bpf_dsl/
Dbpf_dsl.cc167 ErrorCode::ArgType is_32bit, in PrimitiveBoolExprImpl()
183 ErrorCode::ArgType is_32bit_;
268 const ErrorCode::ArgType arg_type = in ArgEq()
/external/llvm/utils/
Dllvm.grm213 ArgType ::= Types OptParamAttrs ;
217 ArgTypeList ::= ArgType | ArgTypeList ^ "," ArgType ;
/external/clang/include/clang/AST/
DExprObjC.h698 QualType ArgType;
702 ArgType = (*P)->getType();
707 ArgType = (*P)->getType();
709 if (ArgType.isNull())
710 ArgType = getType();
712 return ArgType;
/external/clang/lib/ARCMigrate/
DObjCMT.cpp324 static const char *PropertyMemoryAttribute(ASTContext &Context, QualType ArgType) { in PropertyMemoryAttribute() argument
325 Qualifiers::ObjCLifetime propertyLifetime = ArgType.getObjCLifetime(); in PropertyMemoryAttribute()
326 bool RetainableObject = ArgType->isObjCRetainableType(); in PropertyMemoryAttribute()
331 ArgType->getAs<ObjCObjectPointerType>()) { in PropertyMemoryAttribute()
339 else if (ArgType->isBlockPointerType()) in PropertyMemoryAttribute()
346 return ArgType->isBlockPointerType() ? "copy" : "strong"; in PropertyMemoryAttribute()
397 QualType ArgType = Context.getCanonicalType(argDecl->getType()); in rewriteToObjCProperty() local
398 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ArgType)) in rewriteToObjCProperty()
1097 QualType ArgType = argDecl->getType(); in migrateProperty() local
1098 if (!Ctx.hasSameUnqualifiedType(ArgType, GRT)) in migrateProperty()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp330 Type * ArgType = P.Val->getType(); in ConstantRead() local
349 ArgType, Addrspace)); in ConstantRead()

123