HomeSort by relevance Sort by last modified time
    Searched defs:FD (Results 26 - 50 of 102) sorted by null

12 3 4 5

  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineCXX.cpp 334 FunctionDecl *FD = CNE->getOperatorNew();
337 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) {
338 if (FD->getNumParams() == 2) {
339 QualType T = FD->getParamDecl(1)->getType();
346 IsStandardGlobalOpNewFunction = (FD->getNumParams() == 1);
374 if (FD && getContext().getLangOpts().CXXExceptions) {
375 QualType Ty = FD->getType();
401 if (FD && FD->isReservedGlobalPlacementOperator())
    [all...]
HTMLDiagnostics.cpp 246 int FD;
251 llvm::sys::fs::createUniqueFile(Model.str(), FD, ResultPath)) {
257 llvm::raw_fd_ostream os(FD, true);
CallEvent.cpp 105 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
106 if (!FD)
109 return CheckerContext::isCLibraryFunction(FD, FunctionName);
240 if (const FunctionDecl* FD = dyn_cast<FunctionDecl>(D))
241 return FD->getResultType();
    [all...]
  /external/clang/tools/libclang/
IndexDecl.cpp 43 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
44 for (FunctionDecl::param_const_iterator PI = FD->param_begin(),
45 PE = FD->param_end();
309 FunctionDecl *FD = D->getTemplatedDecl();
310 handleDeclarator(FD, D);
311 if (FD->isThisDeclarationADefinition()) {
312 const Stmt *Body = FD->getBody();
314 IndexCtx.indexBody(Body, D, FD);
CXType.cpp 303 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) {
304 if (FD->isBitField())
305 return FD->getBitWidthValue(getCursorContext(C));
490 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>())
491 return (unsigned)FD->isVariadic();
504 if (const FunctionType *FD = T->getAs<FunctionType>()) {
506 switch (FD->getCallConv()) {
529 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
530 return FD->getNumArgs();
545 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>())
    [all...]
  /external/clang/unittests/Tooling/
RefactoringTest.cpp 195 int FD;
197 llvm::sys::fs::createTemporaryFile(Name, "", FD, Path);
201 llvm::raw_fd_ostream OutStream(FD, true);
  /external/linux-tools-perf/util/
evlist.c 28 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y))
108 void perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd)
110 fcntl(fd, F_SETFL, O_NONBLOCK);
111 evlist->pollfd[evlist->nr_fds].fd = fd;
138 int cpu, int thread, int fd)
144 read(fd, &read_data, sizeof(read_data)) == -1)
267 int idx, int prot, int mask, int fd)
272 MAP_SHARED, fd, 0)
290 int fd = FD(evsel, cpu, thread); local
330 int fd = FD(evsel, 0, thread); local
446 int fd; local
    [all...]
evsel.c 16 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y))
55 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int));
57 if (evsel->fd) {
60 FD(evsel, cpu, thread) = -1;
65 return evsel->fd != NULL ? 0 : -ENOMEM;
93 xyarray__delete(evsel->fd);
94 evsel->fd = NULL;
111 close(FD(evsel, cpu, thread));
112 FD(evsel, cpu, thread) = -1
    [all...]
  /external/llvm/include/llvm/Support/
GraphWriter.h 322 std::string createGraphFilename(const Twine &Name, int &FD);
327 int FD;
328 std::string Filename = createGraphFilename(Name, FD);
329 raw_fd_ostream O(FD, /*shouldClose=*/ true);
331 if (FD == -1) {
raw_ostream.h 311 int FD;
352 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If
354 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false);
  /external/llvm/lib/Support/
MemoryBuffer.cpp 199 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len,
201 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
220 static error_code getMemoryBufferForStream(int FD,
229 ReadBytes = read(FD, Buffer.end(), ChunkSize);
251 static error_code getOpenFileImpl(int FD, const char *Filename,
260 int FD;
261 error_code EC = sys::fs::openFileForRead(Filename, FD);
265 error_code ret = getOpenFileImpl(FD, Filename, result, FileSize, FileSize, 0,
267 close(FD);
271 static bool shouldUseMmap(int FD,
    [all...]
  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 367 int FD;
369 OutputPrefix + "-extractblocks%%%%%%%", FD, Filename);
378 tool_output_file BlocksToNotExtractFile(Filename.c_str(), FD);
  /external/llvm/tools/lto/
LTOCodeGenerator.cpp 195 int FD;
196 error_code EC = sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename);
203 tool_output_file objFile(Filename.c_str(), FD);
  /external/protobuf/src/google/protobuf/
dynamic_message.cc 95 typedef FieldDescriptor FD; // avoid line wrapping
96 if (field->label() == FD::LABEL_REPEATED) {
98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >);
99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >);
100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >);
101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >);
102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >);
103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >);
104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >);
105 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >)
    [all...]
  /frameworks/compile/slang/
slang_rs_backend.cpp 76 void RSBackend::AnnotateFunction(clang::FunctionDecl *FD) {
77 if (FD &&
78 FD->hasBody() &&
79 !SlangRS::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) {
81 mRefCount.Visit(FD->getBody());
92 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I);
93 if (FD == NULL)
95 if (!FD->getName().startswith("rs")) // Check prefix
97 if (!SlangRS::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr))
99 clang::FullSourceLoc(FD->getLocation(), mSourceMgr)
    [all...]
  /external/clang/lib/AST/
APValue.cpp 515 if (const FieldDecl *FD = getUnionField()) {
516 Out << "." << *FD << " = ";
517 getUnionValue().printPretty(Out, Ctx, FD->getType());
DeclPrinter.cpp 505 FieldDecl *FD = BMInitializer->getAnyMember();
506 Out << *FD;
599 else if (FunctionDecl *FD =
602 VisitFunctionDecl(FD);
    [all...]
  /external/clang/lib/Rewrite/Core/
Rewriter.cpp 435 int FD;
436 if (llvm::sys::fs::createUniqueFile(TempFilename.str(), FD, TempFilename)) {
441 FileStream.reset(new llvm::raw_fd_ostream(FD, /*shouldClose=*/true));
  /external/clang/lib/StaticAnalyzer/Checkers/
CheckSecuritySyntaxOnly.cpp 76 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
83 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
84 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
85 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
86 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
87 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
88 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
89 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
90 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
91 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
    [all...]
MacOSKeychainAPIChecker.cpp 284 const FunctionDecl *FD = C.getCalleeDecl(CE);
285 if (!FD || FD->getKind() != Decl::Function)
288 StringRef funName = C.getCalleeName(FD);
446 const FunctionDecl *FD = C.getCalleeDecl(CE);
447 if (!FD || FD->getKind() != Decl::Function)
450 StringRef funName = C.getCalleeName(FD);
StreamChecker.cpp 107 const FunctionDecl *FD = C.getCalleeDecl(CE);
108 if (!FD || FD->getKind() != Decl::Function)
141 if (FD->getIdentifier() == II_fopen) {
145 if (FD->getIdentifier() == II_tmpfile) {
149 if (FD->getIdentifier() == II_fclose) {
153 if (FD->getIdentifier() == II_fread) {
157 if (FD->getIdentifier() == II_fwrite) {
161 if (FD->getIdentifier() == II_fseek) {
165 if (FD->getIdentifier() == II_ftell)
    [all...]
  /external/clang/test/SemaTemplate/
default-expr-arguments.cpp 35 struct FD : F<int> { };
39 FD fd; local
  /external/clang/include/clang/AST/
RecursiveASTVisitor.h     [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h 225 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
226 return FD->isOverloadedOperator() && FD->isImplicit() && FD->isGlobal();
406 const FunctionDecl *FD = getDecl();
409 if (FD) {
412 getManager()->getContext(FD);
    [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.cpp 325 bool VisitFunctionDecl(FunctionDecl *FD) {
326 IdentifierInfo *II = FD->getIdentifier();
332 if (FD->isThisDeclarationADefinition() &&
333 !FD->isDependentContext()) {
335 HandleCode(FD, RecVisitorMode);
702 int FD;
703 llvm::sys::fs::createTemporaryFile("llvm_ubi", "", FD, P);
707 Stream.reset(new llvm::raw_fd_ostream(FD, true));

Completed in 961 milliseconds

12 3 4 5