Searched refs:FD (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/tip/libacu/
H A Dhayes.c106 tcgetattr(FD, &cntrl);
108 tcsetattr(FD, TCSANOW, &cntrl);
109 tcflush(FD, TCIOFLUSH);
110 write(FD, "ATv0\r", 5); /* tell modem to use short status codes */
113 write(FD, "ATTD", 4); /* send dial command */
117 write(FD, num, strlen(num));
119 write(FD, "\r", 1);
133 tcflush(FD, TCIOFLUSH);
153 ioctl(FD, TIOCCDTR, 0);
155 ioctl(FD, TIOCSDT
[all...]
H A Dcourier.c79 tcgetattr(FD, &cntrl);
81 tcsetattr(FD, TCSAFLUSH, &cntrl);
93 cour_write(FD, "AT E0\r", 6); /* turn off echoing */
99 tcflush(FD, TCIOFLUSH);
100 cour_write(FD, "AT C1 E0 H0 Q0 X6 V1\r", 21);
104 cour_write(FD, "AT D", 4);
108 cour_write(FD, num, strlen(num));
109 cour_write(FD, "\r", 1);
127 ioctl(FD, TIOCCDTR, 0);
129 ioctl(FD, TIOCSDT
[all...]
H A Dt3000.c80 tcgetattr(FD, &cntrl);
82 tcsetattr(FD, TCSANOW, &cntrl);
94 t3000_write(FD, "AT E0\r", 6); /* turn off echoing */
100 tcflush(FD, TCIOFLUSH);
101 t3000_write(FD, "AT E0 H0 Q0 X4 V1\r", 18);
105 t3000_write(FD, "AT D", 4);
109 t3000_write(FD, num, strlen(num));
110 t3000_write(FD, "\r", 1);
128 ioctl(FD, TIOCCDTR, 0);
130 ioctl(FD, TIOCSDT
[all...]
H A Dventel.c82 if (!vensync(FD)) {
92 tcgetattr(FD, &cntrl);
94 tcsetattr(FD, TCSANOW, &cntrl);
98 write(FD, cp, 1);
101 write(FD, "\r", 1);
105 tcflush(FD, TCIOFLUSH);
141 close(FD);
147 write(FD, "\03", 1);
148 close(FD);
159 read(FD,
[all...]
H A Ddn11.c91 if ((FD = open(DV, 2)) < 0) {
111 close(FD);
133 if (FD > 0)
134 ioctl(FD, TIOCCDTR, 0);
135 close(FD);
146 if (FD > 0)
147 ioctl(FD, TIOCCDTR, 0);
148 close(FD);
H A Dbiz22.c83 write(FD, cbuf, strlen(cbuf));
125 write(FD, DISCONNECT_CMD, sizeof(DISCONNECT_CMD)-1);
127 tcflush(FD, TCIOFLUSH);
133 write(FD, "\02", 1);
150 write(FD, s, strlen(s));
158 read(FD, &c, 1);
179 read(FD, &c, 1);
H A Dv831.c96 if ((FD = open(DV, O_RDWR)) < 0) {
139 printf("[disconnect: FD=%d]\n", FD);
141 if (FD > 0) {
142 ioctl(FD, TIOCCDTR, 0);
143 tcgetattr(FD, &cntrl);
146 tcsetattr(FD, TCSAFLUSH, &cntrl);
147 ioctl(FD, TIOCNXCL, NULL);
149 close(FD);
161 if (FD >
[all...]
H A Dbiz31.c69 if (!bizsync(FD)) {
128 write(FD, DISCONNECT_CMD, sizeof(DISCONNECT_CMD)-1);
130 tcflush(FD, TCIOFLUSH);
136 write(FD, "\33", 1);
147 read(FD, &c, 1);
153 write(FD, &c, 1);
157 write(FD, &c, 1);
158 read(FD, &c, 1);
185 read(FD, &c, 1);
205 read(FD,
[all...]
H A Dv3451.c79 tcgetattr(FD, &cntrl);
81 tcsetattr(FD, TCSANOW, &cntrl);
126 tcflush(FD, TCIOFLUSH);
133 close(FD);
139 close(FD);
146 write(FD, cp, 1);
175 if (read(FD, rp, 1) < 0) {
/freebsd-11-stable/usr.sbin/route6d/misc/
H A Dchkrt10 open(FD, "< $pidfile") || die "Can not open $pidfile";
11 $_ = <FD>;
13 close(FD);
28 open(FD, "< $dump") || die "Can not open $dump";
29 while (<FD>) {
60 close(FD);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h98 const FieldDecl *FD,
183 /// field FD.
184 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
185 FD = FD->getCanonicalDecl();
186 assert(FieldInfo.count(FD) && "Invalid field for record!");
187 return FieldInfo.lookup(FD);
202 /// Return the BitFieldInfo that corresponds to the field FD.
203 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
204 FD
[all...]
H A DCodeGenABITypes.cpp67 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { argument
68 assert(FD != nullptr && "Expected a non-null function declaration!");
69 llvm::Type *T = CGM.getTypes().ConvertType(FD->getType());
84 const FieldDecl *FD) {
85 return CGM.getTypes().getCGRecordLayout(RD).getLLVMFieldNo(FD);
82 getLLVMFieldNumber(CodeGenModule &CGM, const RecordDecl *RD, const FieldDecl *FD) argument
H A DCGNonTrivialStruct.cpp25 static uint64_t getFieldSize(const FieldDecl *FD, QualType FT, argument
27 if (FD && FD->isBitField())
28 return FD->getBitWidthValue(Ctx);
44 for (const FieldDecl *FD : RD->fields()) {
45 QualType FT = FD->getType();
47 asDerived().visit(FT, FD, CurStructOffset, Args...);
61 uint64_t getFieldOffsetInBits(const FieldDecl *FD) { argument
62 return FD ? Ctx.getASTRecordLayout(FD
67 getFieldOffset(const FieldDecl *FD) argument
86 preVisit(QualType::PrimitiveCopyKind PCK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, Ts &&... Args) argument
93 visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, Ts &&... Args) argument
107 visitTrivial(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, Ts... Args) argument
159 visitARCStrong(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset) argument
168 visitARCWeak(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset) argument
175 visitStruct(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset) argument
183 visitArray(FieldKind FK, const ArrayType *AT, bool IsVolatile, const FieldDecl *FD, CharUnits CurStructOffset) argument
255 visitVolatileTrivial(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset) argument
273 visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset) argument
290 visitWithKind(QualType::DestructionKind DK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset) argument
324 visitStruct(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, N> Addrs) argument
331 visitArray(FieldKind FK, const ArrayType *AT, bool IsVolatile, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, N> Addrs) argument
420 getAddrWithOffset(Address Addr, CharUnits StructFieldOffset, const FieldDecl *FD) argument
462 FunctionDecl *FD = FunctionDecl::Create( local
542 visitVolatileTrivial(QualType FT, const FieldDecl *FD, CharUnits Offset, std::array<Address, 2> Addrs) argument
575 visitWithKind(QualType::DestructionKind DK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
586 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
592 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
615 visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
627 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
633 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
640 visitArray(FieldKind FK, const ArrayType *AT, bool IsVolatile, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
673 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
683 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
703 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
715 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
735 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
745 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
766 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
781 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.cpp30 const Record::Field *Record::getField(const FieldDecl *FD) const {
31 auto It = FieldMap.find(FD);
36 const Record::Base *Record::getBase(const RecordDecl *FD) const {
37 auto It = BaseMap.find(FD);
42 const Record::Base *Record::getVirtualBase(const RecordDecl *FD) const {
43 auto It = VirtualBaseMap.find(FD);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dstore_fd.c41 #define FD(S) (((fd_storage*)(S)->data)->fd) macro
46 return net_read(FD(sp), data, size);
52 return net_write(FD(sp), data, size);
58 return lseek(FD(sp), offset, whence);
64 if (ftruncate(FD(sp), offset) == -1)
72 close(FD(sp));
125 FD(sp) = fd;
/freebsd-11-stable/usr.bin/tip/tip/
H A Dhunt.c78 * order to get an open file descriptor placed in FD.
86 FD = open(cp, (O_RDWR |
90 if (FD < 0) {
97 tcgetattr(FD, &cntrl);
100 tcsetattr(FD, TCSAFLUSH, &cntrl);
101 ioctl(FD, TIOCEXCL, 0);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/
H A DMainCallChecker.cpp21 const FunctionDecl *FD = C.getSVal(Callee).getAsFunctionDecl(); local
23 if (!FD)
27 IdentifierInfo *II = FD->getIdentifier();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DToolOutputFile.cpp44 ToolOutputFile::ToolOutputFile(StringRef Filename, int FD) argument
45 : Installer(Filename), OS(FD, true) {}
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DCoroutineStmtBuilder.h26 FunctionDecl &FD; member in class:clang::CoroutineStmtBuilder
37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h36 bool followsCreateRule(const FunctionDecl *FD);
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp47 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
48 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
51 if (FD->getIdentifier() == NSMakeCollectableII) {
59 } else if (FD->getIdentifier() == CFMakeCollectableII) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DBitWriter.h40 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp44 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument
49 unsigned BId = FD->getBuiltinID();
53 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId);
58 const IdentifierInfo *II = FD->getIdentifier();
66 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit())
72 if (!FD->isInlined() && !FD->isExternallyVisible())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp110 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F);
112 OS << "GC roots for " << FD->getFunction().getName() << ":\n";
113 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(),
114 RE = FD->roots_end();
118 OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
119 for (GCFunctionInfo::iterator PI = FD->begin(), PE = FD->end(); PI != PE;
125 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI),
126 RE = FD->live_end(PI);
/freebsd-11-stable/crypto/openssl/util/
H A Dmkrc.pl3 open FD,"crypto/opensslv.h";
4 while(<FD>) {
19 close(FD);

Completed in 160 milliseconds

1234567891011>>