/external/skia/src/animator/ |
D | SkDump.cpp | 42 bool hasAttr = false; in enable() local 44 hasAttr |= maker.fDumpEvents = true; in enable() 46 hasAttr |= maker.fDumpPosts = true; in enable() 48 hasAttr |= maker.fDumpGConditions = true; in enable() 49 if ((hasAttr |= (eventList > 0)) == true) in enable() 51 if ((hasAttr |= (name.size() > 0)) == true) in enable() 53 if (displayList > 0 || (displayList != 0 && hasAttr == false)) in enable()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 740 if (FD->hasAttr<DLLImportAttr>()) in setFunctionDLLStorageClass() 742 else if (FD->hasAttr<DLLExportAttr>()) in setFunctionDLLStorageClass() 823 if (D->hasAttr<NakedAttr>()) { in SetLLVMFunctionAttributesForDefinition() 827 } else if (D->hasAttr<NoDuplicateAttr>()) { in SetLLVMFunctionAttributesForDefinition() 829 } else if (D->hasAttr<NoInlineAttr>()) { in SetLLVMFunctionAttributesForDefinition() 831 } else if (D->hasAttr<AlwaysInlineAttr>() && in SetLLVMFunctionAttributesForDefinition() 838 if (D->hasAttr<ColdAttr>()) { in SetLLVMFunctionAttributesForDefinition() 839 if (!D->hasAttr<OptimizeNoneAttr>()) in SetLLVMFunctionAttributesForDefinition() 844 if (D->hasAttr<MinSizeAttr>()) in SetLLVMFunctionAttributesForDefinition() 851 if (D->hasAttr<OptimizeNoneAttr>()) { in SetLLVMFunctionAttributesForDefinition() [all …]
|
D | CGDecl.cpp | 191 if (D.hasAttr<AsmLabelAttr>()) in getOrCreateStaticVarDecl() 223 if (D.hasAttr<DLLImportAttr>()) in getOrCreateStaticVarDecl() 225 else if (D.hasAttr<DLLExportAttr>()) in getOrCreateStaticVarDecl() 372 if (D.hasAttr<AnnotateAttr>()) in EmitStaticVarDecl() 378 if (D.hasAttr<UsedAttr>()) in EmitStaticVarDecl() 546 (var.hasAttr<ObjCPreciseLifetimeAttr>() in EmitAutoVarWithLifetime() 947 bool isByRef = D.hasAttr<BlocksAttr>(); in EmitAutoVarAlloca() 1096 if (D.hasAttr<AnnotateAttr>()) in EmitAutoVarAlloca() 1352 if (!var->hasAttr<ObjCPreciseLifetimeAttr>()) in emitAutoVarTypeCleanup() 1398 D.hasAttr<ObjCPreciseLifetimeAttr>()) { in EmitAutoVarCleanups() [all …]
|
D | CGCall.cpp | 116 if (FD->getParamDecl(I)->hasAttr<PassObjectSizeAttr>()) in appendParameterTypes() 149 if (D->hasAttr<StdCallAttr>()) in getCallingConventionForDecl() 152 if (D->hasAttr<FastCallAttr>()) in getCallingConventionForDecl() 155 if (D->hasAttr<ThisCallAttr>()) in getCallingConventionForDecl() 158 if (D->hasAttr<VectorCallAttr>()) in getCallingConventionForDecl() 161 if (D->hasAttr<PascalAttr>()) in getCallingConventionForDecl() 167 if (D->hasAttr<IntelOclBiccAttr>()) in getCallingConventionForDecl() 170 if (D->hasAttr<MSABIAttr>()) in getCallingConventionForDecl() 173 if (D->hasAttr<SysVABIAttr>()) in getCallingConventionForDecl() 340 MD->hasAttr<NSReturnsRetainedAttr>()) in arrangeObjCMessageSendSignature() [all …]
|
D | CGVTables.cpp | 593 ? MD->hasAttr<CUDADeviceAttr>() in CreateVTableInitializer() 594 : (MD->hasAttr<CUDAHostAttr>() || in CreateVTableInitializer() 595 !MD->hasAttr<CUDADeviceAttr>()); in CreateVTableInitializer() 733 if (keyFunction && !RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage() 780 if (RD->hasAttr<DLLExportAttr>()) { in getVTableLinkage() 783 } else if (RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage() 897 if (RD->hasAttr<UuidAttr>() && in IsCFIBlacklistedRecord()
|
D | CodeGenTBAA.cpp | 74 return TTy->getDecl()->hasAttr<MayAliasAttr>(); in TypeHasMayAlias() 78 if (TTy->getDecl()->hasAttr<MayAliasAttr>()) in TypeHasMayAlias()
|
D | CodeGenFunction.cpp | 394 if (!CurFuncDecl || CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) in ShouldInstrumentFunction() 577 if (!FD->hasAttr<OpenCLKernelAttr>()) in EmitOpenCLKernelMetadata() 693 } else if (!FD->hasAttr<AlwaysInlineAttr>()) in StartFunction() 907 if (FD->hasAttr<NoDebugAttr>()) in GenerateCode() 925 if (!Param->hasAttr<PassObjectSizeAttr>()) in GenerateCode() 967 FD->hasAttr<CUDAGlobalAttr>()) in GenerateCode() 1793 assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); in EmitVarAnnotations() 1804 assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); in EmitFieldAnnotations() 1925 } else if (TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 42 if (D->hasAttr<CUDAInvalidTargetAttr>()) in IdentifyCUDATarget() 45 if (D->hasAttr<CUDAGlobalAttr>()) in IdentifyCUDATarget() 48 if (D->hasAttr<CUDADeviceAttr>()) { in IdentifyCUDATarget() 49 if (D->hasAttr<CUDAHostAttr>()) in IdentifyCUDATarget() 52 } else if (D->hasAttr<CUDAHostAttr>()) { in IdentifyCUDATarget()
|
D | SemaAttr.cpp | 478 if (D->hasAttr<CFAuditedTransferAttr>() || in AddCFAuditedAttribute() 479 D->hasAttr<CFUnknownTransferAttr>()) in AddCFAuditedAttribute() 502 if (FD->hasAttr<MinSizeAttr>() || FD->hasAttr<AlwaysInlineAttr>()) in AddOptnoneAttributeIfNoConflicts() 507 if (!FD->hasAttr<OptimizeNoneAttr>()) in AddOptnoneAttributeIfNoConflicts() 509 if (!FD->hasAttr<NoInlineAttr>()) in AddOptnoneAttributeIfNoConflicts()
|
D | SemaDeclObjC.cpp | 161 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() != in CheckObjCMethodOverride() 162 Overridden->hasAttr<NSReturnsRetainedAttr>())) { in CheckObjCMethodOverride() 168 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() != in CheckObjCMethodOverride() 169 Overridden->hasAttr<NSReturnsNotRetainedAttr>())) { in CheckObjCMethodOverride() 182 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride() 183 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride() 233 if (method->hasAttr<NSReturnsRetainedAttr>()) in CheckARCMethodDecl() 241 if (method->hasAttr<NSReturnsRetainedAttr>() || in CheckARCMethodDecl() 242 method->hasAttr<NSReturnsNotRetainedAttr>() || in CheckARCMethodDecl() 243 method->hasAttr<NSReturnsAutoreleasedAttr>()) in CheckARCMethodDecl() [all …]
|
D | SemaDecl.cpp | 1200 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction() 1382 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl() 1454 if (D->isReferenced() || D->isUsed() || D->hasAttr<UnusedAttr>() || in ShouldDiagnoseUnusedDecl() 1455 D->hasAttr<ObjCPreciseLifetimeAttr>()) in ShouldDiagnoseUnusedDecl() 1486 if (TT->getDecl()->hasAttr<UnusedAttr>()) in ShouldDiagnoseUnusedDecl() 1497 if (Tag->hasAttr<UnusedAttr>()) in ShouldDiagnoseUnusedDecl() 1501 if (!RD->hasTrivialDestructor() && !RD->hasAttr<WarnUnusedAttr>()) in ShouldDiagnoseUnusedDecl() 1512 if (!CD->isTrivial() && !RD->hasAttr<WarnUnusedAttr>()) in ShouldDiagnoseUnusedDecl() 2451 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes() 2570 return ((FD->hasAttr<GNUInlineAttr>() || LangOpts.GNUInline) && in canRedefineFunction() [all …]
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 57 bool isDeviceSideDecl = D->hasAttr<CUDADeviceAttr>() || in DeclAttrsMatchCUDAMode() 58 D->hasAttr<CUDASharedAttr>() || in DeclAttrsMatchCUDAMode() 59 D->hasAttr<CUDAGlobalAttr>(); in DeclAttrsMatchCUDAMode() 93 assert(!(D->hasAttr<DLLImportAttr>() && D->hasAttr<DLLExportAttr>()) && in getDLLAttr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 122 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() || in checkObjCUnusedIvar() 123 Ivar->hasAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
|
D | VirtualCallChecker.cpp | 156 if (base->getBestDynamicClassType()->hasAttr<FinalAttr>()) in VisitCXXMemberCallExpr() 163 if (MD && MD->isVirtual() && !callIsNonVirtual && !MD->hasAttr<FinalAttr>() && in VisitCXXMemberCallExpr() 164 !MD->getParent()->hasAttr<FinalAttr>()) in VisitCXXMemberCallExpr()
|
D | DeadStoresChecker.cpp | 220 !(VD->hasAttr<UnusedAttr>() || VD->hasAttr<BlocksAttr>() || in CheckVarDecl() 221 VD->hasAttr<ObjCPreciseLifetimeAttr>())) { in CheckVarDecl() 346 !V->hasAttr<UnusedAttr>() && in observeStmt() 347 !V->hasAttr<ObjCPreciseLifetimeAttr>()) { in observeStmt()
|
D | NoReturnFunctionChecker.cpp | 46 BuildSinks = FD->hasAttr<AnalyzerNoReturnAttr>() || FD->isNoReturn(); in checkPostCall() 92 if (MD->hasAttr<AnalyzerNoReturnAttr>()) { in checkPostObjCMessage()
|
D | NonNullParamChecker.cpp | 88 haveAttrNonNull = parms[idx]->hasAttr<NonNullAttr>(); in checkPreCall() 112 if (!UT || !UT->getDecl()->hasAttr<TransparentUnionAttr>()) in checkPreCall()
|
D | CheckObjCDealloc.cpp | 99 Ivar->hasAttr<IBOutletAttr>() || // Skip IBOutlets. in checkObjCDealloc() 100 Ivar->hasAttr<IBOutletCollectionAttr>()) // Skip IBOutletCollections. in checkObjCDealloc()
|
D | RetainCountChecker.cpp | 1191 if (FD->hasAttr<CFAuditedTransferAttr>()) { in getFunctionSummary() 1303 if (D->hasAttr<NSReturnsRetainedAttr>()) in getRetEffectFromAnnotations() 1306 if (D->hasAttr<NSReturnsNotRetainedAttr>() || in getRetEffectFromAnnotations() 1307 D->hasAttr<NSReturnsAutoreleasedAttr>()) in getRetEffectFromAnnotations() 1314 if (D->hasAttr<CFReturnsRetainedAttr>()) in getRetEffectFromAnnotations() 1317 if (D->hasAttr<CFReturnsNotRetainedAttr>()) in getRetEffectFromAnnotations() 1337 if (pd->hasAttr<NSConsumedAttr>()) in updateSummaryFromAnnotations() 1339 else if (pd->hasAttr<CFConsumedAttr>()) in updateSummaryFromAnnotations() 1341 else if (pd->hasAttr<CFReturnsRetainedAttr>()) { in updateSummaryFromAnnotations() 1346 } else if (pd->hasAttr<CFReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations() [all …]
|
D | UndefCapturedBlockVarChecker.cpp | 71 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 21 if (dom.hasAttr(node, "type", "linear-gradient")) in inflate_shader() 42 else if (dom.hasAttr(node, "type", "bitmap")) in inflate_shader()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 1263 OM->hasAttr<ObjCReturnsInnerPointerAttr>()) in migrateNsReturnsInnerPointer() 1434 if (Decl->hasAttr<CFAuditedTransferAttr>()) { in migrateCFAnnotation() 1497 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>() && in AddCFAnnotations() 1503 else if (AE == DecRefMsg && !pd->hasAttr<NSConsumedAttr>() && in AddCFAnnotations() 1521 bool FuncIsReturnAnnotated = (FuncDecl->hasAttr<CFReturnsRetainedAttr>() || in migrateAddFunctionAnnotation() 1522 FuncDecl->hasAttr<CFReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation() 1523 FuncDecl->hasAttr<NSReturnsRetainedAttr>() || in migrateAddFunctionAnnotation() 1524 FuncDecl->hasAttr<NSReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation() 1525 FuncDecl->hasAttr<NSReturnsAutoreleasedAttr>()); in migrateAddFunctionAnnotation() 1551 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>()) in migrateAddFunctionAnnotation() [all …]
|
D | TransUnbridgedCasts.cpp | 137 if (FD->hasAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast() 141 if (FD->hasAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast() 188 if (!method->hasAttr<NSReturnsRetainedAttr>()) { in transformNonObjCToObjCCast() 443 if (PD->hasAttr<CFConsumedAttr>()) { in isPassedToCParamWithKnownOwnership()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 373 return !fn->hasAttr<VisibilityAttr>(); in shouldConsiderTemplateVisibility() 409 if (D->hasAttr<TypeVisibilityAttr>()) in hasDirectVisibilityAttribute() 414 if (D->hasAttr<VisibilityAttr>()) in hasDirectVisibilityAttribute() 562 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden() 1227 if (D->hasAttr<InternalLinkageAttr>()) in computeLVForDecl() 1349 if (D->hasAttr<InternalLinkageAttr>()) in getLVForDecl() 1818 if (!hasAttr<ThreadAttr>() && in getTLSKind() 1821 hasAttr<OMPThreadPrivateDeclAttr>())) in getTLSKind() 1825 hasAttr<OMPThreadPrivateDeclAttr>()) in getTLSKind() 1945 if (hasAttr<AliasAttr>()) in isThisDeclarationADefinition() [all …]
|
/external/skia/include/xml/ |
D | SkDOM.h | 72 bool hasAttr(const Node*, const char name[], const char value[]) const;
|