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

12345678

/freebsd-9.3-release/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-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument
44 unsigned BId = FD->getBuiltinID();
48 StringRef BName = FD->getASTContext().BuiltinInfo.GetName(BId);
53 const IdentifierInfo *II = FD->getIdentifier();
60 const DeclContext *DC = FD->getDeclContext();
71 if (!FD->isInlined() && !FD->isExternallyVisible())
/freebsd-9.3-release/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-9.3-release/contrib/llvm/include/llvm-c/
H A DBitWriter.h41 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dstore_fd.c43 #define FD(S) (((fd_storage*)(S)->data)->fd) macro
48 return net_read(FD(sp), data, size);
54 return net_write(FD(sp), data, size);
60 return lseek(FD(sp), offset, whence);
66 close(FD(sp));
92 FD(sp) = fd;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp71 const FunctionDecl *FD = WLUnit->getDirectCallee(); local
72 if (!FD || !FD->getBody())
74 Kind &K = VisitedFunctions[FD];
90 const FunctionDecl *FD = WLUnit->getDirectCallee(); local
91 assert(FD && FD->getBody());
93 if (VisitedFunctions[FD] == PreVisited) {
97 Visit(FD->getBody());
101 VisitedFunctions[FD]
177 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); local
180 os << " <-- " << *FD; local
[all...]
H A DCheckSecuritySyntaxOnly.cpp76 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);
108 const FunctionDecl *FD = CE->getDirectCallee(); local
296 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
332 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
372 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
414 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
497 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
524 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
548 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
579 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
603 os1 << '\\'' << *FD << "' is a poor random number generator"; local
607 os2 << "Function '" << *FD local
622 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
650 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
677 const FunctionDecl *FD = CE->getDirectCallee(); local
718 os1 << "Return value is not checked in call to '" << *FD << '\\''; local
723 << "' is not checked. If an error occurs in '" << *FD local
[all...]
H A DChrootChecker.cpp65 const FunctionDecl *FD = C.getCalleeDecl(CE); local
66 if (!FD)
75 if (FD->getIdentifier() == II_chroot) {
79 if (FD->getIdentifier() == II_chdir) {
125 const FunctionDecl *FD = C.getCalleeDecl(CE); local
126 if (!FD)
136 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
/freebsd-9.3-release/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-9.3-release/contrib/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp30 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, argument
32 raw_fd_ostream OS(FD, ShouldClose, Unbuffered);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DToolOutputFile.cpp47 tool_output_file::tool_output_file(const char *Filename, int FD) argument
48 : Installer(Filename), OS(FD, true) {
H A DMemoryBuffer.cpp199 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument
201 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
220 static error_code getMemoryBufferForStream(int FD, argument
229 ReadBytes = read(FD, Buffer.end(), ChunkSize);
256 static error_code getOpenFileImpl(int FD, const char *Filename,
264 int FD; local
265 error_code EC = sys::fs::openFileForRead(Filename, FD);
269 error_code ret = getOpenFileImpl(FD, Filename, result, FileSize, FileSize, 0,
271 close(FD);
275 static bool shouldUseMmap(int FD, argument
326 getOpenFileImpl(int FD, const char *Filename, OwningPtr<MemoryBuffer> &result, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator) argument
406 getOpenFile(int FD, const char *Filename, OwningPtr<MemoryBuffer> &Result, uint64_t FileSize, bool RequiresNullTerminator) argument
414 getOpenFileSlice(int FD, const char *Filename, OwningPtr<MemoryBuffer> &Result, uint64_t MapSize, int64_t Offset) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h37 bool followsCreateRule(const FunctionDecl *FD);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
58 if (FD->getIdentifier() == NSMakeCollectableII) {
66 } else if (FD->getIdentifier() == CFMakeCollectableII) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayout.h99 const FieldDecl *FD,
184 /// field FD.
185 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
186 assert(FieldInfo.count(FD) && "Invalid field for record!");
187 return FieldInfo.lookup(FD);
202 /// \brief Return the BitFieldInfo that corresponds to the field FD.
203 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
204 assert(FD->isBitField() && "Invalid call for non bit-field decl!");
206 it = BitFields.find(FD);
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DGCMetadata.cpp145 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F);
147 OS << "GC roots for " << FD->getFunction().getName() << ":\n";
148 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(),
149 RE = FD->roots_end(); RI != RE; ++RI)
152 OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
153 for (GCFunctionInfo::iterator PI = FD->begin(),
154 PE = FD->end(); PI != PE; ++PI) {
159 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI),
160 RE = FD->live_end(PI);;) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclFriend.cpp52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL, local
54 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
55 return FD;

Completed in 110 milliseconds

12345678