HomeSort by: relevance | last modified time | path
    Searched refs:FD (Results 1 - 25 of 325) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/usr.bin/tip/
hunt.c 67 * order to get an open file descriptor placed in FD.
75 FD = open(cp, (O_RDWR | (DC ? O_NONBLOCK : 0)));
78 if (FD < 0) {
84 if (flock(FD, (LOCK_EX|LOCK_NB)) != 0) {
85 (void)close(FD);
86 FD = -1;
90 (void)tcgetattr(FD, &cntrl);
93 (void)tcsetattr(FD, TCSAFLUSH, &cntrl);
94 (void)ioctl(FD, TIOCEXCL, 0);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AutoConvert.h 26 std::error_code disableAutoConversion(int FD);
31 std::error_code enableAutoConversion(int FD);
34 std::error_code setFileTag(int FD, int CCSID, bool Text);
  /src/usr.bin/tip/aculib/
hayes.c 92 (void)tcgetattr(FD, &cntrl);
94 (void)tcsetattr(FD, TCSANOW, &cntrl);
95 (void)tcflush(FD, TCIOFLUSH);
96 (void)write(FD, "ATv0\r", 5); /* tell modem to use short status codes */
99 (void)write(FD, "ATTD", 4); /* send dial command */
103 (void)write(FD, num, strlen(num));
104 (void)write(FD, "\r", 1);
114 (void)tcflush(FD, TCIOFLUSH);
129 (void)ioctl(FD, TIOCCDTR, 0);
131 (void)ioctl(FD, TIOCSDTR, 0)
    [all...]
courier.c 72 (void)tcgetattr(FD, &cntrl);
74 (void)tcsetattr(FD, TCSAFLUSH, &cntrl);
83 cour_write(FD, "AT E0\r", 6); /* turn off echoing */
89 (void)tcflush(FD, TCIOFLUSH);
90 cour_write(FD, "AT C1 E0 H0 Q0 X6 V1\r", 21);
94 cour_write(FD, "AT D", 4);
98 cour_write(FD, num, (int)strlen(num));
99 cour_write(FD, "\r", 1);
111 (void)ioctl(FD, TIOCCDTR, 0);
113 (void)ioctl(FD, TIOCSDTR, 0)
    [all...]
t3000.c 69 (void)tcgetattr(FD, &cntrl);
71 (void)tcsetattr(FD, TCSANOW, &cntrl);
80 t3000_write(FD, "AT E0\r", 6); /* turn off echoing */
86 (void)tcflush(FD, TCIOFLUSH);
87 t3000_write(FD, "AT E0 H0 Q0 X4 V1\r", 18);
91 t3000_write(FD, "AT D", 4);
95 t3000_write(FD, num, (int)strlen(num));
96 t3000_write(FD, "\r", 1);
107 (void)ioctl(FD, TIOCCDTR, 0);
109 (void)ioctl(FD, TIOCSDTR, 0)
    [all...]
ventel.c 75 if (!vensync(FD)) {
82 (void)tcgetattr(FD, &cntrl);
84 (void)tcsetattr(FD, TCSANOW, &cntrl);
88 (void)write(FD, cp, 1);
91 (void)write(FD, "\r", 1);
95 (void)tcflush(FD, TCIOFLUSH);
125 (void)close(FD);
132 (void)write(FD, "\03", 1);
133 (void)close(FD);
144 (void)read(FD, &c, 1)
    [all...]
biz31.c 64 if (!bizsync(FD)) {
118 (void)write(FD, DISCONNECT_CMD, 4);
120 (void)tcflush(FD, TCIOFLUSH);
127 (void)write(FD, "\33", 1);
138 (void)read(FD, &c, 1);
144 (void)write(FD, &c, 1);
148 (void)write(FD, &c, 1);
149 (void)read(FD, &c, 1);
177 (void)read(FD, &c, 1);
197 (void)read(FD, &c, 1)
    [all...]
dn11.c 88 if ((FD = open(DV, O_RDWR)) < 0) {
108 (void)close(FD);
132 if (FD > 0)
133 (void)ioctl(FD, TIOCCDTR, 0);
134 (void)close(FD);
146 if (FD > 0)
147 (void)ioctl(FD, TIOCCDTR, 0);
148 (void)close(FD);
biz22.c 80 (void)write(FD, cbuf, strlen(cbuf));
118 (void)write(FD, DISCONNECT_CMD, 4);
120 (void)tcflush(FD, TCIOFLUSH);
127 (void)write(FD, "\02", 1);
145 (void)write(FD, s, strlen(s));
153 (void)read(FD, &c, 1);
174 (void)read(FD, &c, 1);
v831.c 91 if ((FD = open(DV, O_RDWR)) < 0) {
135 (void)printf("[disconnect: FD=%d]\n", FD);
137 if (FD > 0) {
138 (void)ioctl(FD, TIOCCDTR, 0);
139 (void)tcgetattr(FD, &cntrl);
142 (void)tcsetattr(FD, TCSAFLUSH, &cntrl);
143 (void)ioctl(FD, TIOCNXCL, NULL);
145 (void)close(FD);
159 (void)ioctl(FD, TIOCNXCL, NULL)
    [all...]
v3451.c 74 (void)tcgetattr(FD, &cntrl);
76 (void)tcsetattr(FD, TCSANOW, &cntrl);
109 (void)tcflush(FD, TCIOFLUSH);
117 (void)close(FD);
124 (void)close(FD);
132 (void)write(FD, cp, 1);
168 if (read(FD, rp, 1) < 0) {
  /src/external/apache2/llvm/dist/llvm/lib/Support/
AutoConvert.cpp 20 std::error_code llvm::disableAutoConversion(int FD) {
26 if (fcntl(FD, F_CONTROL_CVT, &Convert) == -1)
31 std::error_code llvm::enableAutoConversion(int FD) {
38 if (fcntl(FD, F_CONTROL_CVT, &Query) == -1)
43 (FD == STDIN_FILENO || FD == STDOUT_FILENO || FD == STDERR_FILENO)
48 if (fcntl(FD, F_CONTROL_CVT, &Query) == -1)
53 std::error_code llvm::setFileTag(int FD, int CCSID, bool Text) {
62 if (fcntl(FD, F_SETTAG, &Tag) == -1
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaSYCL.cpp 24 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext());
25 SemaDiagnosticBuilder::Kind DiagKind = [this, FD] {
26 if (!FD)
28 if (getEmissionStatus(FD) == Sema::FunctionEmissionStatus::Emitted)
32 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, FD, *this);
CoroutineStmtBuilder.h 26 FunctionDecl &FD;
37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGRecordLayout.h 111 const FieldDecl *FD,
196 /// field FD.
197 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
198 FD = FD->getCanonicalDecl();
199 assert(FieldInfo.count(FD) && "Invalid field for record!");
200 return FieldInfo.lookup(FD);
215 /// Return the BitFieldInfo that corresponds to the field FD.
216 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
217 FD = FD->getCanonicalDecl()
    [all...]
CGNonTrivialStruct.cpp 25 static uint64_t getFieldSize(const FieldDecl *FD, QualType FT,
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) {
62 return FD ? Ctx.getASTRecordLayout(FD->getParent()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Record.cpp 30 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);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/
MainCallChecker.cpp 21 const FunctionDecl *FD = C.getSVal(Callee).getAsFunctionDecl();
23 if (!FD)
27 IdentifierInfo *II = FD->getIdentifier();
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/bitwriter/
bitwriter_ocaml.c 31 value llvm_write_bitcode_to_fd(value U, LLVMModuleRef M, value FD) {
41 Result = LLVMWriteBitcodeToFD(M, Int_val(FD), 0, Unbuffered);
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/DomainSpecific/
CocoaConventions.h 36 bool followsCreateRule(const FunctionDecl *FD);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransGCCalls.cpp 47 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) {
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
BitWriter.h 40 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
  /src/external/apache2/llvm/dist/clang/examples/PrintFunctionNames/
PrintFunctionNames.cpp 59 bool VisitFunctionDecl(FunctionDecl *FD) {
60 if (FD->isLateTemplateParsed() &&
61 ParsedTemplates.count(FD->getNameAsString()))
62 LateParsedDecls.insert(FD);
70 for (const FunctionDecl *FD : v.LateParsedDecls) {
72 *sema.LateParsedTemplateMap.find(FD)->second;
74 llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 44 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD,
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())
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
GCMetadata.cpp 110 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;
126 for (const GCRoot &R : make_range(FD->live_begin(PI), FD->live_end(PI)))

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011>>