Home
last modified time | relevance | path

Searched refs:FD (Results 1 – 25 of 266) sorted by relevance

1234567891011

/external/valgrind/main/none/tests/s390x/
Dicm.stdout.exp1FD 00 00 FC FD 00 FC 00 00 00 FC 00 55 00 FC 00 FD 00 FC 00 FD 00 FC FD 00 00 FC FD 57 00 FC FD FE…
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp82 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
89 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
90 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
91 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
92 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
93 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
[all …]
DVirtualCallChecker.cpp70 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Enqueue() local
71 if (!FD || !FD->getBody()) in Enqueue()
73 Kind &K = VisitedFunctions[FD]; in Enqueue()
89 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Execute() local
90 assert(FD && FD->getBody()); in Execute()
92 if (VisitedFunctions[FD] == PreVisited) { in Execute()
96 Visit(FD->getBody()); in Execute()
100 VisitedFunctions[FD] = PostVisited; in Execute()
106 assert(VisitedFunctions[FD] == PostVisited); in Execute()
176 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); in ReportVirtualCall() local
[all …]
DChrootChecker.cpp65 const FunctionDecl *FD = C.getCalleeDecl(CE); in evalCall() local
66 if (!FD) in evalCall()
75 if (FD->getIdentifier() == II_chroot) { in evalCall()
79 if (FD->getIdentifier() == II_chdir) { in evalCall()
125 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkPreStmt() local
126 if (!FD) in checkPreStmt()
136 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir) in checkPreStmt()
DCStringSyntaxChecker.cpp58 const FunctionDecl *FD = CE->getDirectCallee(); in isStrlen() local
59 if (!FD) in isStrlen()
61 return (CheckerContext::isCLibraryFunction(FD, "strlen", ASTC) in isStrlen()
135 const FunctionDecl *FD = CE->getDirectCallee(); in VisitCallExpr() local
136 if (!FD) in VisitCallExpr()
139 if (CheckerContext::isCLibraryFunction(FD, "strncat", ASTC)) { in VisitCallExpr()
160 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API", in VisitCallExpr()
DStreamChecker.cpp118 const FunctionDecl *FD = C.getCalleeDecl(CE); in evalCall() local
119 if (!FD) in evalCall()
152 if (FD->getIdentifier() == II_fopen) { in evalCall()
156 if (FD->getIdentifier() == II_tmpfile) { in evalCall()
160 if (FD->getIdentifier() == II_fclose) { in evalCall()
164 if (FD->getIdentifier() == II_fread) { in evalCall()
168 if (FD->getIdentifier() == II_fwrite) { in evalCall()
172 if (FD->getIdentifier() == II_fseek) { in evalCall()
176 if (FD->getIdentifier() == II_ftell) { in evalCall()
180 if (FD->getIdentifier() == II_rewind) { in evalCall()
[all …]
/external/opencv/cvaux/src/
Dcvfindface.cpp50 FaceDetection FD; in cvFindFace() local
51 FD.SetBoosting(false); in cvFindFace()
52 FD.FindFace(Image); in cvFindFace()
54 FD.CreateResults(lpSeq); in cvFindFace()
60 FaceDetection FD; in cvPostBoostingFindFace() local
61 FD.SetBoosting(true); in cvPostBoostingFindFace()
62 FD.FindFace(Image); in cvPostBoostingFindFace()
64 FD.CreateResults(lpSeq); in cvPostBoostingFindFace()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc95 typedef FieldDescriptor FD; // avoid line wrapping in FieldSpaceUsed() typedef
96 if (field->label() == FD::LABEL_REPEATED) { in FieldSpaceUsed()
98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); in FieldSpaceUsed()
99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); in FieldSpaceUsed()
100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); in FieldSpaceUsed()
101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); in FieldSpaceUsed()
102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); in FieldSpaceUsed()
103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); in FieldSpaceUsed()
104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); in FieldSpaceUsed()
105 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >); in FieldSpaceUsed()
[all …]
Ddescriptor_unittest.cc1557 typedef FieldDescriptor FD; // avoid ugly line wrapping in TEST_F() typedef
1559 EXPECT_EQ(FD::CPPTYPE_DOUBLE , GetCppTypeForFieldType(FD::TYPE_DOUBLE )); in TEST_F()
1560 EXPECT_EQ(FD::CPPTYPE_FLOAT , GetCppTypeForFieldType(FD::TYPE_FLOAT )); in TEST_F()
1561 EXPECT_EQ(FD::CPPTYPE_INT64 , GetCppTypeForFieldType(FD::TYPE_INT64 )); in TEST_F()
1562 EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_UINT64 )); in TEST_F()
1563 EXPECT_EQ(FD::CPPTYPE_INT32 , GetCppTypeForFieldType(FD::TYPE_INT32 )); in TEST_F()
1564 EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_FIXED64 )); in TEST_F()
1565 EXPECT_EQ(FD::CPPTYPE_UINT32 , GetCppTypeForFieldType(FD::TYPE_FIXED32 )); in TEST_F()
1566 EXPECT_EQ(FD::CPPTYPE_BOOL , GetCppTypeForFieldType(FD::TYPE_BOOL )); in TEST_F()
1567 EXPECT_EQ(FD::CPPTYPE_STRING , GetCppTypeForFieldType(FD::TYPE_STRING )); in TEST_F()
[all …]
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp115 if (FunctionDecl *FD = callE->getDirectCallee()) { in transformNonObjCToObjCCast() local
116 if (FD->getAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()
120 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()
124 if (FD->isGlobal() && in transformNonObjCToObjCCast()
125 FD->getIdentifier() && in transformNonObjCToObjCCast()
127 FD->getIdentifier()->getName())) { in transformNonObjCToObjCCast()
128 StringRef fname = FD->getIdentifier()->getName(); in transformNonObjCToObjCCast()
135 if (FD->getName() == "CFRetain" && in transformNonObjCToObjCCast()
136 FD->getNumParams() == 1 && in transformNonObjCToObjCCast()
137 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
[all …]
DTransGCCalls.cpp54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) { in VisitCallExpr() local
55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
58 if (FD->getIdentifier() == NSMakeCollectableII) { in VisitCallExpr()
66 } else if (FD->getIdentifier() == CFMakeCollectableII) { in VisitCallExpr()
/external/clang/lib/CodeGen/
DCGRecordLayout.h154 static CGBitFieldInfo MakeInfo(class CodeGenTypes &Types, const FieldDecl *FD,
161 static CGBitFieldInfo MakeInfo(CodeGenTypes &Types, const FieldDecl *FD,
247 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo() argument
248 assert(!FD->isBitField() && "Invalid call for bit-field decl!"); in getLLVMFieldNo()
249 assert(FieldInfo.count(FD) && "Invalid field for record!"); in getLLVMFieldNo()
250 return FieldInfo.lookup(FD); in getLLVMFieldNo()
266 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo() argument
267 assert(FD->isBitField() && "Invalid call for non bit-field decl!"); in getBitFieldInfo()
269 it = BitFields.find(FD); in getBitFieldInfo()
DCodeGenFunction.cpp271 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) in StartFunction() local
272 for (FunctionDecl::redecl_iterator RI = FD->redecls_begin(), in StartFunction()
273 RE = FD->redecls_end(); RI != RE; ++RI) in StartFunction()
281 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) in StartFunction() local
282 if (FD->hasAttr<OpenCLKernelAttr>()) { in StartFunction()
397 const FunctionDecl *FD = cast<FunctionDecl>(CurGD.getDecl()); in EmitFunctionBody() local
398 assert(FD->getBody()); in EmitFunctionBody()
399 EmitStmt(FD->getBody()); in EmitFunctionBody()
424 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode() local
427 if (CGM.getModuleDebugInfo() && !FD->hasAttr<NoDebugAttr>()) in GenerateCode()
[all …]
/external/valgrind/main/VEX/orig_ppc32/
Dloadsafp.orig11 . 7C 08 02 A6 39 60 00 4B 94 21 FD 50 7D 69 03 A6 92 E1 02 8C 90 01 02 B4 7C 77 1B 78 93 01 02 90 3…
29 …20 6F FF 3F A0 6F FF 3F 80 6F FF 7C 0B 03 78 63 E6 FF FF 63 65 00 21 63 44 FD FF 63 23 FE 34 63 BD…
44 . 55 79 08 3C 7F 2C 0E 70 7D 89 60 F8 20 0C 00 31 2B 09 00 02 40 B9 FD 1C
50 . 7C 0B 18 50 54 00 10 3A 4B FF FD 08
92 . 7C 17 03 78 4B FF FD 64
272 …81 7E 04 C0 7F 63 DB 78 80 9E 00 24 91 5D 03 E4 93 9D 01 CC 91 1D 03 30 90 FD 03 58 90 DD 03 5C 90…
275 . 7D 88 02 A6 94 21 FD E0 38 E3 00 04 48 01 7F B1
290 . 7D 6A 5B 78 38 0A FF FD 28 80 00 14 41 85 00 24
299 . 38 0A FF FD 28 80 00 14 41 85 00 24
302 . 81 3E 04 F0 2F 09 00 00 41 BA FD 84
[all …]
Dmorefp.orig11 . 7C 08 02 A6 39 60 00 4B 94 21 FD 50 7D 69 03 A6 92 E1 02 8C 90 01 02 B4 7C 77 1B 78 93 01 02 90 3…
29 …20 6F FF 3F A0 6F FF 3F 80 6F FF 7C 0B 03 78 63 E6 FF FF 63 65 00 21 63 44 FD FF 63 23 FE 34 63 BD…
44 . 55 79 08 3C 7F 2C 0E 70 7D 89 60 F8 20 0C 00 31 2B 09 00 02 40 B9 FD 1C
50 . 7C 0B 18 50 54 00 10 3A 4B FF FD 08
92 . 7C 17 03 78 4B FF FD 64
272 …81 7E 04 C0 7F 63 DB 78 80 9E 00 24 91 5D 03 E4 93 9D 01 CC 91 1D 03 30 90 FD 03 58 90 DD 03 5C 90…
275 . 7D 88 02 A6 94 21 FD E0 38 E3 00 04 48 01 7F B1
290 . 7D 6A 5B 78 38 0A FF FD 28 80 00 14 41 85 00 24
299 . 38 0A FF FD 28 80 00 14 41 85 00 24
302 . 81 3E 04 F0 2F 09 00 00 41 BA FD 84
[all …]
/external/llvm/lib/Support/
DMemoryBuffer.cpp221 int FD = ::open(Filename, OpenFlags); in getFile() local
222 if (FD == -1) in getFile()
225 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize, in getFile()
227 close(FD); in getFile()
231 static bool shouldUseMmap(int FD, in shouldUseMmap() argument
253 if (fstat(FD, &FileInfo) == -1) { in shouldUseMmap()
274 error_code MemoryBuffer::getOpenFile(int FD, const char *Filename, in getOpenFile() argument
288 if (fstat(FD, &FileInfo) == -1) { in getOpenFile()
296 if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator, in getOpenFile()
302 if (const char *Pages = sys::Path::MapInFilePages(FD, in getOpenFile()
[all …]
Draw_ostream.cpp435 FD = STDOUT_FILENO; in raw_fd_ostream()
458 while ((FD = open(Filename, OpenFlags, 0664)) < 0) { in raw_fd_ostream()
473 : raw_ostream(unbuffered), FD(fd), in raw_fd_ostream()
483 off_t loc = ::lseek(FD, 0, SEEK_CUR); in raw_fd_ostream()
491 if (FD >= 0) { in ~raw_fd_ostream()
494 while (::close(FD) != 0) in ~raw_fd_ostream()
506 if (FD == 2) return; in ~raw_fd_ostream()
519 assert(FD >= 0 && "File already closed."); in write_impl()
527 ret = ::write(FD, Ptr, Size); in write_impl()
532 ret = ::writev(FD, &IOV, 1); in write_impl()
[all …]
/external/llvm/lib/CodeGen/
DGCMetadata.cpp157 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F); in runOnFunction() local
159 OS << "GC roots for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
160 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(), in runOnFunction()
161 RE = FD->roots_end(); RI != RE; ++RI) in runOnFunction()
164 OS << "GC safe points for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
165 for (GCFunctionInfo::iterator PI = FD->begin(), in runOnFunction()
166 PE = FD->end(); PI != PE; ++PI) { in runOnFunction()
171 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), in runOnFunction()
172 RE = FD->live_end(PI);;) { in runOnFunction()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() argument
41 return isCLibraryFunction(FD, Name, getASTContext()); in isCLibraryFunction()
44 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() argument
49 unsigned BId = FD->getBuiltinID(); in isCLibraryFunction()
56 const IdentifierInfo *II = FD->getIdentifier(); in isCLibraryFunction()
/external/clang/lib/Analysis/
DCallGraph.cpp28 const Decl *FD; member in __anon3aca34610111::CGBuilder
33 : G(g), FD(D), CallerNode(N) {} in CGBuilder()
69 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in includeInGraph() local
72 if (!FD->isThisDeclarationADefinition() || in includeInGraph()
73 FD->isDependentContext()) in includeInGraph()
76 IdentifierInfo *II = FD->getIdentifier(); in includeInGraph()
154 if (const FunctionDecl *D = dyn_cast_or_null<FunctionDecl>(FD)) in getName()
/external/clang/lib/Sema/
DSemaDecl.cpp866 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); in ActOnReenterFunctionContext() local
870 FD = TFD->getTemplatedDecl(); in ActOnReenterFunctionContext()
872 if (!FD) in ActOnReenterFunctionContext()
877 assert(CurContext == FD->getLexicalParent() && in ActOnReenterFunctionContext()
879 CurContext = FD; in ActOnReenterFunctionContext()
882 for (unsigned P = 0, NumParams = FD->getNumParams(); P < NumParams; ++P) { in ActOnReenterFunctionContext()
883 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext()
1081 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldWarnIfUnusedFileScopedDecl() local
1082 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) in ShouldWarnIfUnusedFileScopedDecl()
1085 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { in ShouldWarnIfUnusedFileScopedDecl()
[all …]
/external/linux-tools-perf/util/
Devsel.c16 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) macro
60 FD(evsel, cpu, thread) = -1; in perf_evsel__alloc_fd()
111 close(FD(evsel, cpu, thread)); in perf_evsel__close_fd()
112 FD(evsel, cpu, thread) = -1; in perf_evsel__close_fd()
138 if (FD(evsel, cpu, thread) < 0) in __perf_evsel__read_on_cpu()
144 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) < 0) in __perf_evsel__read_on_cpu()
170 if (FD(evsel, cpu, thread) < 0) in __perf_evsel__read()
173 if (readn(FD(evsel, cpu, thread), in __perf_evsel__read()
229 FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr, in __perf_evsel__open()
233 if (FD(evsel, cpu, thread) < 0) in __perf_evsel__open()
[all …]
/external/clang/lib/AST/
DMicrosoftMangle.cpp42 void mangleFunctionEncoding(const FunctionDecl *FD);
70 void mangleFunctionClass(const FunctionDecl *FD);
133 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); in shouldMangleDeclName() local
134 if (FD && (FD->hasAttr<OverloadableAttr>() || isa<CXXMethodDecl>(FD) || in shouldMangleDeclName()
135 !FD->getDeclName().isIdentifier())) in shouldMangleDeclName()
143 if (!FD) { in shouldMangleDeclName()
150 if ((FD && FD->isMain()) || isInCLinkageSpecification(D)) in shouldMangleDeclName()
175 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) in mangle() local
176 mangleFunctionEncoding(FD); in mangle()
182 void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD) { in mangleFunctionEncoding() argument
[all …]
DRecordLayoutBuilder.cpp87 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset);
114 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD,
137 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset);
164 const FieldDecl *FD = *I; in ComputeEmptySubobjectSizes() local
167 Context.getBaseElementType(FD->getType())->getAs<RecordType>(); in ComputeEmptySubobjectSizes()
264 const FieldDecl *FD = *I; in CanPlaceBaseSubobjectAtOffset() local
265 if (FD->isBitField()) in CanPlaceBaseSubobjectAtOffset()
269 if (!CanPlaceFieldSubobjectAtOffset(FD, FieldOffset)) in CanPlaceBaseSubobjectAtOffset()
313 const FieldDecl *FD = *I; in UpdateEmptyBaseSubobjects() local
314 if (FD->isBitField()) in UpdateEmptyBaseSubobjects()
[all …]
/external/clang/include/clang/Analysis/
DCallGraph.h106 bool VisitFunctionDecl(FunctionDecl *FD) { in VisitFunctionDecl() argument
109 if (includeInGraph(FD)) in VisitFunctionDecl()
113 addNodeForDecl(FD, FD->isGlobal()); in VisitFunctionDecl()
138 Decl *FD;
146 CallGraphNode(Decl *D) : FD(D) {} in CallGraphNode()
165 Decl *getDecl() const { return FD; } in getDecl()

1234567891011