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

1 2

  /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);
cmds.c 103 int fd, argc; local in function:cu_take
115 if ((fd = open(cp, O_RDWR|O_CREAT, 0666)) < 0) {
120 transfer(line, fd, "\01");
129 transfer(char *buf, int fd, const char *eofchars)
140 xpwrite(FD, buf, strlen(buf));
149 xpwrite(FD, &r, 1);
151 (void)read(FD, &c, 1);
159 eof = read(FD, &c, 1) <= 0;
174 if (write(fd, buffer, (size_t)cnt) != cnt) {
182 if (write(fd, buffer, (size_t)cnt) != cnt
260 FILE *fd; local in function:sendfile
392 FILE *fd; local in function:cu_put
    [all...]
acu.c 70 FILE *fd; local in function:tip_connect
78 xpwrite(FD, CM, strlen(CM));
111 xpwrite(FD, CM, strlen(CM));
117 if ((fd = fopen(PH, "r")) == NULL) {
121 while (fgets(string, sizeof(string), fd) != NULL) {
125 (void)fclose(fd);
134 (void)fclose(fd);
143 (void)fclose(fd);
145 xpwrite(FD, CM, strlen(CM));
150 (void)fclose(fd);
    [all...]
tip.c 66 int FD;
265 ((fcarg = fcntl(FD, F_GETFL, 0)) < 0 ||
266 fcntl(FD, F_SETFL, fcarg & ~O_NONBLOCK) < 0)) {
443 xpwrite(FD, &gch, 1);
452 xpwrite(FD, &gch, 1);
480 xpwrite(FD, &c, 1);
562 (void)tcgetattr(FD, &cntrl);
580 return tcsetattr(FD, TCSAFLUSH, &cntrl);
591 xpwrite(int fd, char *buf, size_t n)
602 if (write(fd, buf, n) < 0)
    [all...]
tipout.c 133 pfd[0].fd = attndes[0];
135 pfd[1].fd = FD;
161 cnt = read(FD, buf, BUFSIZ);
tip.h 235 extern int FD; /* open file descriptor to remote host */
  /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) {
df.c 69 int f = FD;
124 (void)write(FD, "\001", 1);
126 (void)tcflush(FD, TCIOFLUSH);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/
amdgpu_dce120_timing_generator.c 54 CRTC_REG_UPDATE_N(reg, 1, FD(reg##__##field), val)
57 CRTC_REG_UPDATE_N(reg, 2, FD(reg##__##field1), val1, FD(reg##__##field2), val2)
60 CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3)
63 CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3, FD(reg##__##field4), val4
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/src/
dmub_reg.h 47 #define FD(reg_field) (REGS)->shift.reg_field, (REGS)->mask.reg_field
49 #define FN(reg_name, field) FD(reg_name##__##field)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dcn10/
amdgpu_rv1_clk_mgr_vbios_smu.c 71 FD(reg_name##__##field)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dcn21/
amdgpu_rn_clk_mgr_vbios_smu.c 44 FD(reg_name##__##field)
  /src/libexec/getty/
gettytab.h 104 #define FD gettynums[6].value
  /src/sys/external/bsd/sljit/dist/sljit_src/
sljitNativeMIPS_common.c 85 #define FD(d) ((d) << 6)
1288 FAIL_IF(push_inst(compiler, (TRUNC_W_S ^ (flags >> 19)) | FMT(op) | FS(src) | FD(TMP_FREG1), MOVABLE_INS));
1331 FAIL_IF(push_inst(compiler, CVT_S_S | flags | (4 << 21) | (((op & SLJIT_F32_OP) ^ SLJIT_F32_OP) >> 8) | FS(TMP_FREG1) | FD(dst_r), MOVABLE_INS));
1413 FAIL_IF(push_inst(compiler, MOV_S | FMT(op) | FS(src) | FD(dst_r), MOVABLE_INS));
1419 FAIL_IF(push_inst(compiler, NEG_S | FMT(op) | FS(src) | FD(dst_r), MOVABLE_INS));
1422 FAIL_IF(push_inst(compiler, ABS_S | FMT(op) | FS(src) | FD(dst_r), MOVABLE_INS));
1425 FAIL_IF(push_inst(compiler, CVT_S_S | ((op & SLJIT_F32_OP) ? 1 : (1 << 21)) | FS(src) | FD(dst_r), MOVABLE_INS));
1495 FAIL_IF(push_inst(compiler, ADD_S | FMT(op) | FT(src2) | FS(src1) | FD(dst_r), MOVABLE_INS));
1499 FAIL_IF(push_inst(compiler, SUB_S | FMT(op) | FT(src2) | FS(src1) | FD(dst_r), MOVABLE_INS));
1503 FAIL_IF(push_inst(compiler, MUL_S | FMT(op) | FT(src2) | FS(src1) | FD(dst_r), MOVABLE_INS))
    [all...]
sljitNativePPC_common.c 122 #define FD(fd) ((fd) << 21)
739 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
743 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
1742 FAIL_IF(push_inst(compiler, (op == SLJIT_CONV_S32_FROM_F64 ? FCTIWZ : FCTIDZ) | FD(TMP_FREG1) | FB(src)));
1756 FAIL_IF(push_inst(compiler, FCTIWZ | FD(TMP_FREG1) | FB(src)));
1827 FAIL_IF(push_inst(compiler, FCFID | FD(dst_r) | FB(TMP_FREG1)));
1832 return push_inst(compiler, FRSP | FD(dst_r) | FB(dst_r));
1865 FAIL_IF(push_inst(compiler, FSUB | FD(dst_r) | FA(TMP_FREG1) | FB(TMP_FREG2)))
    [all...]
  /src/sys/arch/x68k/stand/common/
chkfmt.s 2 | check FD format
  /src/sys/arch/x68k/stand/xxboot/
boot.S 5 | bootloader to (*). (*) is 0x2000 (from FD) or 0x2400 (from SASI/SCSI).
174 | Check fd format.

Completed in 46 milliseconds

1 2