/aosp12/frameworks/compile/slang/ |
H A D | slang_rs_special_func.cpp | 33 if (!FD->getName().equals("root")) { in isGraphicsRootRSFunc() 37 if (FD->getNumParams() == 0) { in isGraphicsRootRSFunc() 57 slangAssert(Context && FD); in validateSpecialFuncDecl() 62 if (isGraphicsRootRSFunc(targetAPI, FD)) { in validateSpecialFuncDecl() 78 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl() 83 } else if (isInitRSFunc(FD) || isDtorRSFunc(FD)) { in validateSpecialFuncDecl() 84 if (FD->getNumParams() != 0) { in validateSpecialFuncDecl() 85 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl() 88 << FD->getName(); in validateSpecialFuncDecl() 93 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl() [all …]
|
H A D | slang_rs_export_foreach.cpp | 42 if (!FD) { in isRootRSFunc() 56 slangAssert(Context && FD); in validateAndConstructParams() 63 if (!isRootRSFunc(FD)) { in validateAndConstructParams() 88 slangAssert(Context && FD); in validateAndConstructOldStyleParams() 100 << FD->getName(); in validateAndConstructOldStyleParams() 157 << FD->getName(); in validateAndConstructOldStyleParams() 166 slangAssert(Context && FD); in validateAndConstructKernelParams() 354 clang::FieldDecl *FD = in Create() local 365 RD->addDecl(FD); in Create() 436 if (!FD) { in isRSForEachFunc() [all …]
|
H A D | slang_rs_special_func.h | 30 inline bool isInitRSFunc(const clang::FunctionDecl *FD) { in isInitRSFunc() argument 31 if (!FD) { in isInitRSFunc() 34 const llvm::StringRef Name = FD->getName(); in isInitRSFunc() 39 inline bool isDtorRSFunc(const clang::FunctionDecl *FD) { in isDtorRSFunc() argument 40 if (!FD) { in isDtorRSFunc() 43 const llvm::StringRef Name = FD->getName(); in isDtorRSFunc() 49 const clang::FunctionDecl *FD); 52 const clang::FunctionDecl *FD) { in isSpecialRSFunc() argument 53 return isGraphicsRootRSFunc(targetAPI, FD) || isInitRSFunc(FD) || in isSpecialRSFunc() 54 isDtorRSFunc(FD); in isSpecialRSFunc() [all …]
|
H A D | slang_rs_context.cpp | 97 const clang::StringRef& funcName = FD->getName(); in getForEachSlotNumber() 112 if (!FD->isThisDeclarationADefinition()) { in processExportFunc() 132 if (FD->getName().equals("root")) { in processExportFunc() 153 if (auto *EF = RSExportFunc::Create(this, FD)) { in processExportFunc() 162 const llvm::StringRef& funcName = FD->getName(); in addForEach() 268 if (!processExportFunc(FD)) { in processExports() 331 auto NameMatches = [this, FD]() { in markUsedByReducePragma() 333 if ((*I)->matchName(FD->getName())) in markUsedByReducePragma() 342 mUsedByReducePragmaFns.insert(FD); in markUsedByReducePragma() 347 FD->setIsUsed(); in markUsedByReducePragma() [all …]
|
H A D | slang_rs_export_func.cpp | 37 slangAssert(Context && FD); in ValidateFuncDecl() 38 const clang::ASTContext &C = FD->getASTContext(); in ValidateFuncDecl() 39 if (FD->getReturnType().getCanonicalType() != C.VoidTy) { in ValidateFuncDecl() 41 FD->getLocation(), in ValidateFuncDecl() 52 llvm::StringRef Name = FD->getName(); in Create() 57 if (!ValidateFuncDecl(Context, FD)) { in Create() 61 F = new RSExportFunc(Context, Name, FD); in Create() 64 if (FD->getNumParams() <= 0) { in Create() 78 for (unsigned i = 0; i < FD->getNumParams(); i++) { in Create() 88 clang::FieldDecl *FD = in Create() local [all …]
|
H A D | slang_rs_check_ast.cpp | 150 if (!FD) { in ValidateFunctionDecl() 156 FD->getStorageClass() == clang::SC_Static) { in ValidateFunctionDecl() 157 Context->ReportError(FD->getLocation(), in ValidateFunctionDecl() 160 << FD->getName(); in ValidateFunctionDecl() 174 size_t numParams = FD->getNumParams(); in ValidateFunctionDecl() 176 clang::ParmVarDecl *PVD = FD->getParamDecl(i); in ValidateFunctionDecl() 187 if (clang::Stmt *Body = FD->getBody()) { in ValidateFunctionDecl() 239 } else if (clang::FunctionDecl *FD = in VisitDeclStmt() local 241 ValidateFunctionDecl(FD); in VisitDeclStmt() 302 } else if (clang::FunctionDecl *FD = in Validate() local [all …]
|
H A D | slang_backend.cpp | 546 FD->setImplicit(true); in PadStruct() 547 RD->addDecl(FD); in PadStruct() 602 if (FD && in AnnotateFunction() 603 FD->hasBody() && in AnnotateFunction() 604 !FD->isImplicit() && in AnnotateFunction() 635 if (FD == nullptr) in HandleTopLevelDecl() 649 if (FD) { in HandleTopLevelDecl() 653 if (FD->isGlobal()) { in HandleTopLevelDecl() 672 if (FD && FD->hasBody() && !FD->isImplicit() && in HandleTopLevelDecl() 732 if (FD) { in HandleTranslationUnitPre() [all …]
|
H A D | slang_rs_foreach_lowering.cpp | 67 const clang::FunctionDecl* FD = in matchFunctionDesignator() local 70 if (FD == nullptr) { in matchFunctionDesignator() 74 return FD; in matchFunctionDesignator() 100 if (FD == nullptr) { in matchKernelLaunchCall() 104 const clang::StringRef& funcName = FD->getName(); in matchKernelLaunchCall() 172 clang::FunctionDecl* FD = clang::FunctionDecl::Create( in CreateForEachInternalFunctionDecl() local 184 FD->setParams(llvm::makeArrayRef(ParamDecls, kNumParams)); in CreateForEachInternalFunctionDecl() 188 FD->setImplicit(); in CreateForEachInternalFunctionDecl() 190 return FD; in CreateForEachInternalFunctionDecl() 386 slangAssert(FD && FD->hasBody()); in handleForEachCalls() [all …]
|
H A D | slang_rs_export_foreach.h | 86 const clang::FunctionDecl *FD); 89 const clang::FunctionDecl *FD); 92 const clang::FunctionDecl *FD); 95 const clang::FunctionDecl *FD, 99 const clang::FunctionDecl *FD); 102 const clang::FunctionDecl *FD); 182 const clang::FunctionDecl *FD); 185 const clang::FunctionDecl *FD);
|
H A D | slang_rs_object_ref_count.cpp | 84 RSObjectFD[DT] = FD; in GetRSRefCountingFunctions() 587 clang::FieldDecl *FD = *FI; in ClearStructRSObject() local 922 clang::FieldDecl *FD = *FI; in CreateStructRSSetObject() local 1473 FD->setBody(NewBody); in HandleParamsAndLocals() 1543 if (FD) { in VisitCallExpr() 1578 (FD && FD->getName() == "rsGetAllocation")) { in VisitCallExpr() 1757 if (!FD) { in CreateStaticGlobalDtor() 1781 slangAssert(FD); in CreateStaticGlobalDtor() 1782 FD->setBody(CS); in CreateStaticGlobalDtor() 1784 FD->setImplicit(); in CreateStaticGlobalDtor() [all …]
|
H A D | slang_rs_export_func.h | 50 const clang::FunctionDecl *FD) in RSExportFunc() argument 51 : RSExportable(Context, RSExportable::EX_FUNC, FD->getLocation()), in RSExportFunc() 57 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD); in RSExportFunc() 61 Context->getMangleContext().mangleName(FD, BufStm); in RSExportFunc() 68 const clang::FunctionDecl *FD);
|
H A D | slang_rs_export_type.cpp | 323 const clang::FieldDecl *FD = *FI; in TypeExportableHelper() local 335 if (FD->isBitField()) { in TypeExportableHelper() 337 FD->getLocation(), in TypeExportableHelper() 339 << RD->getName() << FD->getName(); in TypeExportableHelper() 558 const clang::FieldDecl *FD = *FI; in ValidateTypeHelper() local 1058 const clang::FieldDecl *FD = *FI; in IsStructureTypeWithRSObject() local 1377 const clang::FieldDecl *FD = *FIT; in Create() local 1523 clang::FieldDecl *FD = *FI; in Create() local 1525 if (FD->isBitField()) { in Create() 1529 if (FD->isImplicit() && (FD->getName() == RS_PADDING_FIELD_NAME)) in Create() [all …]
|
H A D | slang_rs_special_kernel_param.cpp | 99 const clang::FunctionDecl *FD, in processSpecialKernelParameters() argument 111 size_t NumParams = FD->getNumParams(); in processSpecialKernelParameters() 115 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in processSpecialKernelParameters()
|
H A D | slang_rs_context.h | 108 bool processExportFunc(const clang::FunctionDecl *FD); 205 bool addForEach(const clang::FunctionDecl* FD); 254 int getForEachSlotNumber(const clang::FunctionDecl* FD); 275 void markUsedByReducePragma(clang::FunctionDecl *FD, CheckName Check);
|
H A D | slang_backend.h | 111 void AnnotateFunction(clang::FunctionDecl *FD); 124 void LowerRSForEachCall(clang::FunctionDecl* FD, bool isKernel);
|
H A D | slang_rs_special_kernel_param.h | 36 const clang::FunctionDecl *FD,
|
H A D | slang_rs_foreach_lowering.h | 42 void handleForEachCalls(clang::FunctionDecl* FD, unsigned int targetAPI);
|
H A D | slang_rs_check_ast.h | 70 void ValidateFunctionDecl(clang::FunctionDecl *FD);
|
/aosp12/frameworks/av/media/codec2/tests/ |
H A D | C2SampleComponent_test.cpp | 34 using FD=C2FieldDescriptor; in PrintTo() typedef 36 case FD::INT32: *os << "i32"; break; in PrintTo() 37 case FD::INT64: *os << "i64"; break; in PrintTo() 38 case FD::UINT32: *os << "u32"; break; in PrintTo() 39 case FD::UINT64: *os << "u64"; break; in PrintTo() 40 case FD::FLOAT: *os << "float"; break; in PrintTo() 41 case FD::STRING: *os << "char"; break; in PrintTo() 42 case FD::BLOB: *os << "u8"; break; in PrintTo() 44 if (fd.type() & FD::STRUCT_FLAG) { in PrintTo() 45 *os << "struct-" << (fd.type() & ~FD::STRUCT_FLAG); in PrintTo()
|
H A D | C2Param_test.cpp | 32 using FD=C2FieldDescriptor; in PrintTo() typedef 34 case FD::INT32: *os << "i32"; break; in PrintTo() 40 case FD::BLOB: *os << "u8"; break; in PrintTo() 71 typedef C2FieldDescriptor FD; typedef 98 const static FD::type_t TYPE = (FD::type_t)(CORE_INDEX | FD::STRUCT_FLAG); 268 using type_t=FD::type_t; 319 { FD::INT32, 0, "flex", 0, 4 } 337 { FD::INT32, 1, "s32", 0, 4 }, 396 { FD::INT64, 0, "flex", 0, 8 } 415 { FD::INT32, 1, "s32", 0, 4 }, [all …]
|
/aosp12/art/test/ |
H A D | run-test | 543 FD=3 544 while [ -e /dev/fd/$FD ]; do FD=$((FD + 1)); done 545 real_stderr=$FD
|
/aosp12/bionic/tools/versioner/src/ |
H A D | DeclarationDatabase.cpp | 41 if (auto FD = dyn_cast<FunctionDecl>(decl)) { in shouldMangle() local 42 if (FD->isExternC()) { in shouldMangle() 46 if (FD->isInExternCContext()) { in shouldMangle()
|
/aosp12/system/core/debuggerd/proto/ |
H A D | tombstone.proto | 32 repeated FD open_fds = 19; 182 message FD { message
|
/aosp12/system/ca-certificates/files/ |
H A D | cf701eeb.0 | 65 42:32:B6:16:FA:04:FD:FE:5D:4B:7A:C3:FD:F7:4C:40:1D:5A:43:AF
|
/aosp12/system/ca-certificates/google/files/ |
H A D | e268a4c5.0 | 60 95:B1:B4:F0:94:B6:BD:C7:DA:D1:11:09:21:BE:C1:AF:49:FD:10:7B 66 keyid:95:B1:B4:F0:94:B6:BD:C7:DA:D1:11:09:21:BE:C1:AF:49:FD:10:7B
|