/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/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);
|
LockFileManagerTest.cpp | 62 int FD; 63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); 66 int Ret = close(FD);
|
MemoryBufferTest.cpp | 138 // immediately visible through the fd. 182 int FD; 184 sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath); 185 raw_fd_ostream OF(FD, true, /*unbuffered=*/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); }
|
SpecialCaseListTest.cpp | 36 int FD; 38 sys::fs::createTemporaryFile("SpecialCaseListTest", "temp", FD, Path); 39 raw_fd_ostream OF(FD, true, true);
|
/external/clang/lib/AST/ |
DeclFriend.cpp | 50 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, 52 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 53 return FD;
|
InheritViz.cpp | 140 int FD; 143 Self.getAsString(), "dot", FD, Filename)) { 150 llvm::raw_fd_ostream O(FD, true);
|
Comment.cpp | 158 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl); 160 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams()); 161 ReturnType = FD->getReturnType(); 162 unsigned NumLists = FD->getNumTemplateParameterLists(); 166 FD->getTemplateParameterList(NumLists - 1); 191 const FunctionDecl *FD = FTD->getTemplatedDecl(); 192 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams()); 193 ReturnType = FD->getReturnType() [all...] |
Mangle.cpp | 60 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) 61 return FD->isExternC(); 78 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); 79 if (!FD) 81 QualType T = FD->getType(); 163 const FunctionDecl *FD = cast<FunctionDecl>(D); 164 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); 175 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
|
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); 24 if (!FD) 28 IdentifierInfo *II = FD->getIdentifier();
|
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 72 int FD; 73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD, 86 EC = sys::fs::resize_file(FD, Size); 92 FD, mapped_file_region::readwrite, Size, 0, EC); 93 int Ret = close(FD);
|
/external/llvm/tools/llvm-cov/ |
TestingSupport.cpp | 76 int FD; 78 sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) { 83 raw_fd_ostream OS(FD, true);
|
/libcore/ojluni/src/main/native/ |
io_util_md.h | 32 #define FD jint 35 * Macros to set/get fd from the java.io.FileDescriptor. These 42 #define SET_FD(this, fd, fid) \ 44 (*env)->SetIntField(env, (*env)->GetObjectField(env, (this), (fid)),IO_fd_fdID, (fd)) 51 * Macros to set/get fd when inside java.io.FileDescriptor 68 #define SET_HANDLE(fd) return (jlong)-1
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
BuiltinFunctionChecker.cpp | 35 const FunctionDecl *FD = C.getCalleeDecl(CE); 37 if (!FD) 40 switch (FD->getBuiltinID()) {
|
CStringSyntaxChecker.cpp | 58 const FunctionDecl *FD = CE->getDirectCallee(); 59 if (!FD) 61 return (CheckerContext::isCLibraryFunction(FD, "strlen") && 136 const FunctionDecl *FD = CE->getDirectCallee(); 137 if (!FD) 140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { 160 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument",
|
ChrootChecker.cpp | 65 const FunctionDecl *FD = C.getCalleeDecl(CE); 66 if (!FD) 75 if (FD->getIdentifier() == II_chroot) { 79 if (FD->getIdentifier() == II_chdir) { 125 const FunctionDecl *FD = C.getCalleeDecl(CE); 126 if (!FD) 136 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
|
NonNullParamChecker.cpp | 49 const Decl *FD = Call.getDecl(); 50 if (!FD) 56 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
|
ObjCContainersASTChecker.cpp | 87 const FunctionDecl *FD = CE->getDirectCallee(); 88 if (!FD) 91 IdentifierInfo *II = FD->getIdentifier();
|
VforkChecker.cpp | 84 auto FD = dyn_cast_or_null<FunctionDecl>(D); 85 if (!FD || !C.isCLibraryFunction(FD)) 93 return FD->getIdentifier() == II_vfork;
|
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/llvm/tools/dsymutil/ |
dsymutil.cpp | 182 int FD; 184 if (auto EC = getUniqueFile(OutputFile, FD, UniqueFile)) { 193 llvm::raw_fd_ostream CloseImmediately(FD, true /* shouldClose */, true);
|
/frameworks/compile/slang/ |
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...] |
/external/clang/tools/libclang/ |
IndexDecl.cpp | 44 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 45 for (auto PI : FD->params()) { 297 FunctionDecl *FD = D->getTemplatedDecl(); 298 handleDeclarator(FD, D); 299 if (FD->isThisDeclarationADefinition()) { 300 const Stmt *Body = FD->getBody(); 302 IndexCtx.indexBody(Body, D, FD);
|
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 69 int FD; 70 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 74 llvm::raw_fd_ostream OutStream(FD, true);
|