Home
last modified time | relevance | path

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

12345678910>>...15

/external/valgrind/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.cpp87 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
98 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
99 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
100 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
101 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
102 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
[all …]
DVirtualCallChecker.cpp71 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Enqueue() local
72 if (!FD || !FD->getBody()) in Enqueue()
74 Kind &K = VisitedFunctions[FD]; in Enqueue()
90 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Execute() local
91 assert(FD && FD->getBody()); in Execute()
93 if (VisitedFunctions[FD] == PreVisited) { in Execute()
97 Visit(FD->getBody()); in Execute()
101 VisitedFunctions[FD] = PostVisited; in Execute()
107 assert(VisitedFunctions[FD] == PostVisited); in Execute()
184 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()
DStreamChecker.cpp109 const FunctionDecl *FD = C.getCalleeDecl(CE); in REGISTER_MAP_WITH_PROGRAMSTATE() local
110 if (!FD || FD->getKind() != Decl::Function) in REGISTER_MAP_WITH_PROGRAMSTATE()
143 if (FD->getIdentifier() == II_fopen) { in REGISTER_MAP_WITH_PROGRAMSTATE()
147 if (FD->getIdentifier() == II_tmpfile) { in REGISTER_MAP_WITH_PROGRAMSTATE()
151 if (FD->getIdentifier() == II_fclose) { in REGISTER_MAP_WITH_PROGRAMSTATE()
155 if (FD->getIdentifier() == II_fread) { in REGISTER_MAP_WITH_PROGRAMSTATE()
159 if (FD->getIdentifier() == II_fwrite) { in REGISTER_MAP_WITH_PROGRAMSTATE()
163 if (FD->getIdentifier() == II_fseek) { in REGISTER_MAP_WITH_PROGRAMSTATE()
167 if (FD->getIdentifier() == II_ftell) { in REGISTER_MAP_WITH_PROGRAMSTATE()
171 if (FD->getIdentifier() == II_rewind) { in REGISTER_MAP_WITH_PROGRAMSTATE()
[all …]
DCStringSyntaxChecker.cpp58 const FunctionDecl *FD = CE->getDirectCallee(); in isStrlen() local
59 if (!FD) in isStrlen()
61 return (CheckerContext::isCLibraryFunction(FD, "strlen") && in isStrlen()
136 const FunctionDecl *FD = CE->getDirectCallee(); in VisitCallExpr() local
137 if (!FD) in VisitCallExpr()
140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { in VisitCallExpr()
160 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr()
/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/clang/lib/CodeGen/
DCGRecordLayout.h99 const FieldDecl *FD,
185 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo() argument
186 FD = FD->getCanonicalDecl(); in getLLVMFieldNo()
187 assert(FieldInfo.count(FD) && "Invalid field for record!"); in getLLVMFieldNo()
188 return FieldInfo.lookup(FD); in getLLVMFieldNo()
204 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo() argument
205 FD = FD->getCanonicalDecl(); in getBitFieldInfo()
206 assert(FD->isBitField() && "Invalid call for non-bit-field decl!"); in getBitFieldInfo()
208 it = BitFields.find(FD); in getBitFieldInfo()
DCGRecordLayoutBuilder.cpp83 const FieldDecl *FD; member
87 const FieldDecl *FD = nullptr) in MemberInfo()
88 : Offset(Offset), Kind(Kind), Data(Data), FD(FD) {} in MemberInfo()
120 llvm::Type *getStorageType(const FieldDecl *FD) { in getStorageType()
121 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
122 return useMSABI() || !FD->isBitField() ? Type : in getStorageType()
123 getIntNType(std::min(FD->getBitWidthValue(Context), in getStorageType()
139 bool isZeroInitializable(const FieldDecl *FD) { in isZeroInitializable()
140 const Type *Type = FD->getType()->getBaseElementTypeUnsafe(); in isZeroInitializable()
154 uint64_t getFieldBitOffset(const FieldDecl *FD) { in getFieldBitOffset()
[all …]
DCodeGenFunction.cpp376 static void GenOpenCLArgMetadata(const FunctionDecl *FD, llvm::Function *Fn, in GenOpenCLArgMetadata() argument
411 for (unsigned i = 0, e = FD->getNumParams(); i != e; ++i) { in GenOpenCLArgMetadata()
412 const ParmVarDecl *parm = FD->getParamDecl(i); in GenOpenCLArgMetadata()
516 void CodeGenFunction::EmitOpenCLKernelMetadata(const FunctionDecl *FD, in EmitOpenCLKernelMetadata() argument
519 if (!FD->hasAttr<OpenCLKernelAttr>()) in EmitOpenCLKernelMetadata()
527 GenOpenCLArgMetadata(FD, Fn, CGM, Context, kernelMDArgs, Builder, in EmitOpenCLKernelMetadata()
530 if (const VecTypeHintAttr *A = FD->getAttr<VecTypeHintAttr>()) { in EmitOpenCLKernelMetadata()
546 if (const WorkGroupSizeHintAttr *A = FD->getAttr<WorkGroupSizeHintAttr>()) { in EmitOpenCLKernelMetadata()
555 if (const ReqdWorkGroupSizeAttr *A = FD->getAttr<ReqdWorkGroupSizeAttr>()) { in EmitOpenCLKernelMetadata()
573 if (auto *FD = dyn_cast_or_null<FunctionDecl>(F)) in endsWithReturn() local
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1720 typedef FieldDescriptor FD; // avoid ugly line wrapping in TEST_F() typedef
1722 EXPECT_STREQ("double" , GetTypeNameForFieldType(FD::TYPE_DOUBLE )); in TEST_F()
1723 EXPECT_STREQ("float" , GetTypeNameForFieldType(FD::TYPE_FLOAT )); in TEST_F()
1724 EXPECT_STREQ("int64" , GetTypeNameForFieldType(FD::TYPE_INT64 )); in TEST_F()
1725 EXPECT_STREQ("uint64" , GetTypeNameForFieldType(FD::TYPE_UINT64 )); in TEST_F()
1726 EXPECT_STREQ("int32" , GetTypeNameForFieldType(FD::TYPE_INT32 )); in TEST_F()
1727 EXPECT_STREQ("fixed64" , GetTypeNameForFieldType(FD::TYPE_FIXED64 )); in TEST_F()
1728 EXPECT_STREQ("fixed32" , GetTypeNameForFieldType(FD::TYPE_FIXED32 )); in TEST_F()
1729 EXPECT_STREQ("bool" , GetTypeNameForFieldType(FD::TYPE_BOOL )); in TEST_F()
1730 EXPECT_STREQ("string" , GetTypeNameForFieldType(FD::TYPE_STRING )); in TEST_F()
[all …]
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 …]
/external/llvm/lib/Support/
DMemoryBuffer.cpp204 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, in MemoryBufferMMapFile() argument
206 : MFR(FD, sys::fs::mapped_file_region::readonly, in MemoryBufferMMapFile()
226 getMemoryBufferForStream(int FD, const Twine &BufferName) { in getMemoryBufferForStream() argument
233 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
253 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
260 int FD; in getFileAux() local
261 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux()
266 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset, in getFileAux()
268 close(FD); in getFileAux()
272 static bool shouldUseMmap(int FD, in shouldUseMmap() argument
[all …]
Draw_ostream.cpp504 int FD; in getFD() local
505 EC = sys::fs::openFileForWrite(Filename, FD, Flags); in getFD()
509 return FD; in getFD()
519 : raw_pwrite_stream(unbuffered), FD(fd), ShouldClose(shouldClose), in raw_fd_ostream()
521 if (FD < 0 ) { in raw_fd_ostream()
527 off_t loc = ::lseek(FD, 0, SEEK_CUR); in raw_fd_ostream()
531 std::error_code EC = status(FD, Status); in raw_fd_ostream()
543 if (FD >= 0) { in ~raw_fd_ostream()
545 if (ShouldClose && sys::Process::SafelyCloseFileDescriptor(FD)) in ~raw_fd_ostream()
554 if (FD == 2) return; in ~raw_fd_ostream()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction() argument
44 unsigned BId = FD->getBuiltinID(); in isCLibraryFunction()
48 StringRef BName = FD->getASTContext().BuiltinInfo.GetName(BId); in isCLibraryFunction()
53 const IdentifierInfo *II = FD->getIdentifier(); in isCLibraryFunction()
60 const DeclContext *DC = FD->getDeclContext(); in isCLibraryFunction()
71 if (!FD->isInlined() && !FD->isExternallyVisible()) in isCLibraryFunction()
/external/valgrind/none/tests/mips64/
Dmove_instructions.c93 #define TEST3(instruction, FD, FS, cc, offset) \ argument
101 "dmtc1 $zero, $"#FD "\n\t" \
107 "mfc1 %0, $"#FD "\n\t" \
110 : "t0", "t1", "$"#FD, "$"#FS, "$f0", "$f2" \
117 #define TEST3d(instruction, FD, FS, cc, offset) \ argument
125 "dmtc1 $zero, $"#FD "\n\t" \
130 "dmfc1 %0, $"#FD "\n\t" \
133 : "t0", "t1", "$"#FD, "$"#FS, "$f0", "$f2" \
140 #define TEST4(instruction, offset, RTval, FD, FS, RT) \ argument
145 "dmtc1 $zero, $"#FD "\n\t" \
[all …]
/external/llvm/lib/CodeGen/
DGCMetadata.cpp114 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F); in runOnFunction() local
116 OS << "GC roots for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
117 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(), in runOnFunction()
118 RE = FD->roots_end(); in runOnFunction()
122 OS << "GC safe points for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
123 for (GCFunctionInfo::iterator PI = FD->begin(), PE = FD->end(); PI != PE; in runOnFunction()
129 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), in runOnFunction()
130 RE = FD->live_end(PI); in runOnFunction()
/external/valgrind/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/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp136 if (FunctionDecl *FD = callE->getDirectCallee()) { in transformNonObjCToObjCCast() local
137 if (FD->hasAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()
141 if (FD->hasAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()
145 if (FD->isGlobal() && in transformNonObjCToObjCCast()
146 FD->getIdentifier() && in transformNonObjCToObjCCast()
148 FD->getIdentifier()->getName())) { in transformNonObjCToObjCCast()
149 StringRef fname = FD->getIdentifier()->getName(); in transformNonObjCToObjCCast()
156 if (FD->getName() == "CFRetain" && in transformNonObjCToObjCCast()
157 FD->getNumParams() == 1 && in transformNonObjCToObjCCast()
158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
[all …]
/external/libcxx/test/support/
Dplatform_support.h70 int FD = -1; in get_temp_file_name()
73 FD = mkstemp(&Name[0]); in get_temp_file_name()
74 if (FD == -1 && errno == EINVAL) { in get_temp_file_name()
78 } while (FD == -1); in get_temp_file_name()
79 close(FD); in get_temp_file_name()
/external/clang/tools/libclang/
DCXType.cpp310 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { in clang_getFieldDeclBitWidth() local
311 if (FD->isBitField()) in clang_getFieldDeclBitWidth()
312 return FD->getBitWidthValue(getCursorContext(C)); in clang_getFieldDeclBitWidth()
501 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) in clang_isFunctionTypeVariadic() local
502 return (unsigned)FD->isVariadic(); in clang_isFunctionTypeVariadic()
515 if (const FunctionType *FD = T->getAs<FunctionType>()) { in clang_getFunctionTypeCallingConv() local
517 switch (FD->getCallConv()) { in clang_getFunctionTypeCallingConv()
544 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getNumArgTypes() local
545 return FD->getNumParams(); in clang_getNumArgTypes()
560 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getArgType() local
[all …]
/external/clang/lib/Sema/
DSemaDecl.cpp1134 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext() local
1135 if (!FD) in ActOnReenterFunctionContext()
1140 assert(CurContext == FD->getLexicalParent() && in ActOnReenterFunctionContext()
1142 CurContext = FD; in ActOnReenterFunctionContext()
1145 for (unsigned P = 0, NumParams = FD->getNumParams(); P < NumParams; ++P) { in ActOnReenterFunctionContext()
1146 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext()
1374 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldWarnIfUnusedFileScopedDecl() local
1375 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) in ShouldWarnIfUnusedFileScopedDecl()
1378 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { in ShouldWarnIfUnusedFileScopedDecl()
1383 if (FD->isInlined() && !isMainFileLoc(*this, FD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
[all …]
/external/valgrind/none/tests/mips32/
DMoveIns.c101 #define TESTINSNMOVE1s(instruction, offset, FD, FS) \ argument
109 "mov.s %0, $" #FD"\n\t" \
110 "mfc1 %1, $" #FD"\n\t" \
120 #define TESTINSNMOVE1d(instruction, offset, FD, FS) \ argument
128 "mov.d %0, $" #FD"\n\t" \
129 "mfc1 %1, $" #FD"\n\t" \
161 #define TESTINSNMOVE2s(instruction, FD, FS, cc, offset) \ argument
171 "lwc1 $" #FD ", 4($t0)\n\t" \
174 "mov.s %0, $" #FD"\n\t" \
185 #define TESTINSNMOVE2d(instruction, FD, FS, cc, offset) \ argument
[all …]
/external/clang/include/clang/Analysis/
DCallGraph.h97 bool VisitFunctionDecl(FunctionDecl *FD) { in VisitFunctionDecl() argument
100 if (includeInGraph(FD)) { in VisitFunctionDecl()
102 addNodesForBlocks(FD); in VisitFunctionDecl()
106 addNodeForDecl(FD, FD->isGlobal()); in VisitFunctionDecl()
139 Decl *FD;
145 CallGraphNode(Decl *D) : FD(D) {} in CallGraphNode()
163 Decl *getDecl() const { return FD; } in getDecl()

12345678910>>...15