/frameworks/compile/slang/ |
slang_rs_special_func.cpp | 28 const clang::FunctionDecl *FD) { 29 if (FD->hasAttr<clang::RenderScriptKernelAttr>()) { 33 if (!FD->getName().equals("root")) { 37 if (FD->getNumParams() == 0) { 43 if ((targetAPI < SLANG_ICS_TARGET_API) && (FD->getNumParams() == 1)) { 44 const clang::QualType &IntType = FD->getASTContext().IntTy; 45 if (FD->getReturnType().getCanonicalType() == IntType) { 56 clang::FunctionDecl const *FD) { 57 slangAssert(Context && FD); 59 const clang::ASTContext &C = FD->getASTContext() [all...] |
slang_rs_special_func.h | 30 inline bool isInitRSFunc(const clang::FunctionDecl *FD) { 31 if (!FD) { 34 const llvm::StringRef Name = FD->getName(); 39 inline bool isDtorRSFunc(const clang::FunctionDecl *FD) { 40 if (!FD) { 43 const llvm::StringRef Name = FD->getName(); 49 const clang::FunctionDecl *FD); 52 const clang::FunctionDecl *FD) { 53 return isGraphicsRootRSFunc(targetAPI, FD) || isInitRSFunc(FD) || [all...] |
slang_rs_export_foreach.cpp | 41 bool isRootRSFunc(const clang::FunctionDecl *FD) { 42 if (!FD) { 45 return FD->getName().equals("root"); 55 RSContext *Context, const clang::FunctionDecl *FD) { 56 slangAssert(Context && FD); 59 numParams = FD->getNumParams(); 63 if (!isRootRSFunc(FD)) { 64 Context->ReportError(FD->getLocation(), 67 << FD->getName() << SLANG_MINIMUM_TARGET_API 73 mResultType = FD->getReturnType().getCanonicalType() [all...] |
slang_rs_context.cpp | 96 int RSContext::getForEachSlotNumber(const clang::FunctionDecl* FD) { 97 const clang::StringRef& funcName = FD->getName(); 109 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { 110 slangAssert(!FD->getName().empty() && "Function name should not be empty"); 112 if (!FD->isThisDeclarationADefinition()) { 116 slangAssert(FD->getStorageClass() == clang::SC_None); 119 if (RSSpecialFunc::isSpecialRSFunc(mTargetAPI, FD)) { 121 return RSSpecialFunc::validateSpecialFuncDecl(mTargetAPI, this, FD); 125 if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) { 126 RSExportForEach *EFE = RSExportForEach::Create(this, FD); [all...] |
slang_rs_export_func.cpp | 36 const clang::FunctionDecl *FD) { 37 slangAssert(Context && FD); 38 const clang::ASTContext &C = FD->getASTContext(); 39 if (FD->getReturnType().getCanonicalType() != C.VoidTy) { 41 FD->getLocation(), 51 const clang::FunctionDecl *FD) { 52 llvm::StringRef Name = FD->getName(); 57 if (!ValidateFuncDecl(Context, FD)) { 61 F = new RSExportFunc(Context, Name, FD); 64 if (FD->getNumParams() <= 0) [all...] |
slang_rs_export_func.h | 50 const clang::FunctionDecl *FD) 51 : RSExportable(Context, RSExportable::EX_FUNC, FD->getLocation()), 57 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD); 61 Context->getMangleContext().mangleName(FD, BufStm); 68 const clang::FunctionDecl *FD);
|
slang_rs_check_ast.cpp | 149 void RSCheckAST::ValidateFunctionDecl(clang::FunctionDecl *FD) { 150 if (!FD) { 155 if (FD->hasAttr<clang::RenderScriptKernelAttr>() && 156 FD->getStorageClass() == clang::SC_Static) { 157 Context->ReportError(FD->getLocation(), 160 << FD->getName(); 164 clang::QualType resultType = FD->getReturnType().getCanonicalType(); 165 bool isExtern = (FD->getFormalLinkage() == clang::ExternalLinkage); 167 // We use FD as our NamedDecl in the case of a bad return type. 168 if (!RSExportType::ValidateType(Context, C, resultType, FD, [all...] |
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);
|
/external/opencv/cvaux/src/ |
cvfindface.cpp | 50 FaceDetection FD; 51 FD.SetBoosting(false); 52 FD.FindFace(Image); 54 FD.CreateResults(lpSeq); 60 FaceDetection FD; 61 FD.SetBoosting(true); 62 FD.FindFace(Image); 64 FD.CreateResults(lpSeq);
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
result_of11.pass.cpp | 28 struct FD : public F {}; 62 test_result_of_imp<PMD(FD &), char &>(); 63 test_result_of_imp<PMD(FD const &), char const &>(); 64 test_result_of_imp<PMD(FD volatile &), char volatile &>(); 65 test_result_of_imp<PMD(FD const volatile &), char const volatile &>(); 67 test_result_of_imp<PMD(FD &&), char &&>(); 68 test_result_of_imp<PMD(FD const &&), char const &&>(); 69 test_result_of_imp<PMD(FD volatile &&), char volatile &&>(); 70 test_result_of_imp<PMD(FD const volatile &&), char const volatile &&>(); 72 test_result_of_imp<PMD(FD ), char &&>() [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.other/ |
result_of11.pass.cpp | 28 struct FD : public F {}; 64 test_result_of_imp<PMD(FD &), char &>(); 65 test_result_of_imp<PMD(FD const &), char const &>(); 66 test_result_of_imp<PMD(FD volatile &), char volatile &>(); 67 test_result_of_imp<PMD(FD const volatile &), char const volatile &>(); 69 test_result_of_imp<PMD(FD &&), char &&>(); 70 test_result_of_imp<PMD(FD const &&), char const &&>(); 71 test_result_of_imp<PMD(FD volatile &&), char volatile &&>(); 72 test_result_of_imp<PMD(FD const volatile &&), char const volatile &&>(); 74 test_result_of_imp<PMD(FD ), char &&>() [all...] |
/external/libcxx/test/support/ |
platform_support.h | 84 int FD = -1; 87 FD = mkstemp(&Name[0]); 88 if (FD == -1 && errno == EINVAL) { 92 } while (FD == -1); 93 close(FD);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/ |
platform_support.h | 84 int FD = -1; 87 FD = mkstemp(&Name[0]); 88 if (FD == -1 && errno == EINVAL) { 92 } while (FD == -1); 93 close(FD);
|
/external/libmicrohttpd/src/include/ |
autoinit_funcs.h | 81 #define GNUC_SET_INIT_AND_DEINIT(FI,FD) \ 84 void __attribute__ ((destructor)) _GNUC_deinit_helper_##FD(void) \ 85 { (void)(FD)(); } \ 88 #define _SET_INIT_AND_DEINIT_FUNCS(FI,FD) GNUC_SET_INIT_AND_DEINIT(FI,FD) 196 #define W32_SET_INIT_AND_DEINIT(FI,FD) \ 197 void __cdecl _W32_deinit_helper_##FD(void) \ 198 { (void)(FD)(); } \ 200 { (void)(FI)(); atexit(_W32_deinit_helper_##FD); return 0; } \ 207 #define W32_SET_INIT_AND_DEINIT(FI,FD) \ [all...] |
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
BitWriter.h | 35 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
|
/external/clang/lib/CodeGen/ |
CGRecordLayout.h | 99 const FieldDecl *FD, 184 /// field FD. 185 unsigned getLLVMFieldNo(const FieldDecl *FD) const { 186 FD = FD->getCanonicalDecl(); 187 assert(FieldInfo.count(FD) && "Invalid field for record!"); 188 return FieldInfo.lookup(FD); 203 /// \brief Return the BitFieldInfo that corresponds to the field FD. 204 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { 205 FD = FD->getCanonicalDecl() [all...] |
/external/llvm/unittests/Support/ |
raw_pwrite_stream_test.cpp | 37 int FD; 38 sys::fs::createTemporaryFile("foo", "bar", FD, Path); 39 raw_fd_ostream OS(FD, true); 55 int FD; 56 sys::fs::openFileForWrite("/dev/null", FD, sys::fs::F_None); 57 raw_fd_ostream OS(FD, true);
|
ReplaceFileTest.cpp | 33 int FD = 0; 34 if (std::error_code ec = fs::openFileForWrite(FilePath, FD, fs::F_None)) 38 raw_fd_ostream OS(FD, ShouldClose); 45 int FD; 51 explicit ScopedFD(int Descriptor) : FD(Descriptor) {} 52 ~ScopedFD() { Process::SafelyCloseFileDescriptor(FD); }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
VirtualCallChecker.cpp | 71 const FunctionDecl *FD = WLUnit->getDirectCallee(); 72 if (!FD || !FD->getBody()) 74 Kind &K = VisitedFunctions[FD]; 90 const FunctionDecl *FD = WLUnit->getDirectCallee(); 91 assert(FD && FD->getBody()); 93 if (VisitedFunctions[FD] == PreVisited) { 97 Visit(FD->getBody()); 101 VisitedFunctions[FD] = PostVisited [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 46 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, 51 unsigned BId = FD->getBuiltinID(); 55 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId); 60 const IdentifierInfo *II = FD->getIdentifier(); 68 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit()) 74 if (!FD->isInlined() && !FD->isExternallyVisible())
|
/external/llvm/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 31 CAMLprim value llvm_write_bitcode_to_fd(value U, LLVMModuleRef M, value FD) { 41 Result = LLVMWriteBitcodeToFD(M, Int_val(FD), 0, Unbuffered);
|
/external/llvm/lib/Support/ |
ToolOutputFile.cpp | 45 tool_output_file::tool_output_file(StringRef Filename, int FD) 46 : Installer(Filename), OS(FD, true) {}
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 33 CAMLprim value llvm_write_bitcode_to_fd(value U, value M, value FD) { 43 res = LLVMWriteBitcodeToFD((LLVMModuleRef) M, Int_val(FD), 0, Unbuffered);
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
BitWriter.cpp | 30 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, 32 raw_fd_ostream OS(FD, ShouldClose, Unbuffered);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
fileobject.h | 79 int _PyVerify_fd(int fd);
81 /* fdopen doesn't set errno EBADF and crashes for large fd on debug build */
82 #define _PyVerify_fd(fd) (_get_osfhandle(fd) >= 0)
89 #define _PyIsSelectable_fd(FD) (((FD) >= 0) && ((FD) < FD_SETSIZE))
91 #define _PyIsSelectable_fd(FD) (1)
|