Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: fusl/arch/powerpc/bits/termios.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #undef NCCS 1 #undef NCCS
2 #define NCCS 19 2 #define NCCS 19
3 struct termios 3 struct termios {
4 { 4 tcflag_t c_iflag;
5 » tcflag_t c_iflag; 5 tcflag_t c_oflag;
6 » tcflag_t c_oflag; 6 tcflag_t c_cflag;
7 » tcflag_t c_cflag; 7 tcflag_t c_lflag;
8 » tcflag_t c_lflag; 8 cc_t c_cc[NCCS];
9 » cc_t c_cc[NCCS]; 9 cc_t c_line;
10 » cc_t c_line; 10 speed_t __c_ispeed;
11 » speed_t __c_ispeed; 11 speed_t __c_ospeed;
12 » speed_t __c_ospeed;
13 }; 12 };
14 13
15 #define VINTR 0 14 #define VINTR 0
16 #define VQUIT 1 15 #define VQUIT 1
17 #define VERASE 2 16 #define VERASE 2
18 #define VKILL 3 17 #define VKILL 3
19 #define VEOF 4 18 #define VEOF 4
20 #define VMIN 5 19 #define VMIN 5
21 #define VEOL 6 20 #define VEOL 6
22 #define VTIME 7 21 #define VTIME 7
23 #define VEOL2 8 22 #define VEOL2 8
24 #define VSWTC 9 23 #define VSWTC 9
25 #define VWERASE 10 24 #define VWERASE 10
26 #define VREPRINT 11 25 #define VREPRINT 11
27 #define VSUSP 12 26 #define VSUSP 12
28 #define VSTART 13 27 #define VSTART 13
29 #define VSTOP 14 28 #define VSTOP 14
30 #define VLNEXT 15 29 #define VLNEXT 15
31 #define VDISCARD 16 30 #define VDISCARD 16
32 31
33 #define IGNBRK 0000001 32 #define IGNBRK 0000001
34 #define BRKINT 0000002 33 #define BRKINT 0000002
35 #define IGNPAR 0000004 34 #define IGNPAR 0000004
36 #define PARMRK 0000010 35 #define PARMRK 0000010
37 #define INPCK 0000020 36 #define INPCK 0000020
38 #define ISTRIP 0000040 37 #define ISTRIP 0000040
39 #define INLCR 0000100 38 #define INLCR 0000100
40 #define IGNCR 0000200 39 #define IGNCR 0000200
41 #define ICRNL 0000400 40 #define ICRNL 0000400
42 #define IXON 0001000 41 #define IXON 0001000
43 #define IXOFF 0002000 42 #define IXOFF 0002000
44 #define IXANY 0004000 43 #define IXANY 0004000
45 #define IUCLC 0010000 44 #define IUCLC 0010000
46 #define IMAXBEL 0020000 45 #define IMAXBEL 0020000
47 #define IUTF8 0040000 46 #define IUTF8 0040000
48 47
49 #define OPOST 0000001 48 #define OPOST 0000001
50 #define ONLCR 0000002 49 #define ONLCR 0000002
51 #define OLCUC 0000004 50 #define OLCUC 0000004
52 #define OCRNL 0000010 51 #define OCRNL 0000010
53 #define ONOCR 0000020 52 #define ONOCR 0000020
54 #define ONLRET 0000040 53 #define ONLRET 0000040
55 #define OFILL 0000100 54 #define OFILL 0000100
56 #define OFDEL 0000200 55 #define OFDEL 0000200
57 #define NLDLY 0001400 56 #define NLDLY 0001400
58 #define NL0 0000000 57 #define NL0 0000000
59 #define NL1 0000400 58 #define NL1 0000400
60 #define NL2 0001000 59 #define NL2 0001000
61 #define NL3 0001400 60 #define NL3 0001400
62 #define TABDLY 0006000 61 #define TABDLY 0006000
63 #define TAB0 0000000 62 #define TAB0 0000000
64 #define TAB1 0002000 63 #define TAB1 0002000
65 #define TAB2 0004000 64 #define TAB2 0004000
66 #define TAB3 0006000 65 #define TAB3 0006000
67 #define CRDLY 0030000 66 #define CRDLY 0030000
68 #define CR0 0000000 67 #define CR0 0000000
69 #define CR1 0010000 68 #define CR1 0010000
70 #define CR2 0020000 69 #define CR2 0020000
71 #define CR3 0030000 70 #define CR3 0030000
72 #define FFDLY 0040000 71 #define FFDLY 0040000
73 #define FF0 0000000 72 #define FF0 0000000
74 #define FF1 0040000 73 #define FF1 0040000
75 #define BSDLY 0100000 74 #define BSDLY 0100000
76 #define BS0 0000000 75 #define BS0 0000000
77 #define BS1 0100000 76 #define BS1 0100000
78 77
79 #define VTDLY 0200000 78 #define VTDLY 0200000
80 #define VT0 0000000 79 #define VT0 0000000
81 #define VT1 0200000 80 #define VT1 0200000
82 81
83 #define B0 0000000 82 #define B0 0000000
84 #define B50 0000001 83 #define B50 0000001
85 #define B75 0000002 84 #define B75 0000002
86 #define B110 0000003 85 #define B110 0000003
87 #define B134 0000004 86 #define B134 0000004
88 #define B150 0000005 87 #define B150 0000005
89 #define B200 0000006 88 #define B200 0000006
90 #define B300 0000007 89 #define B300 0000007
91 #define B600 0000010 90 #define B600 0000010
92 #define B1200 0000011 91 #define B1200 0000011
93 #define B1800 0000012 92 #define B1800 0000012
94 #define B2400 0000013 93 #define B2400 0000013
95 #define B4800 0000014 94 #define B4800 0000014
96 #define B9600 0000015 95 #define B9600 0000015
97 #define B19200 0000016 96 #define B19200 0000016
98 #define B38400 0000017 97 #define B38400 0000017
99 #define EXTA 0000016 98 #define EXTA 0000016
100 #define EXTB 0000017 99 #define EXTB 0000017
101 100
102 #define B57600 00020 101 #define B57600 00020
103 #define B115200 00021 102 #define B115200 00021
104 #define B230400 00022 103 #define B230400 00022
105 #define B460800 00023 104 #define B460800 00023
106 #define B500000 00024 105 #define B500000 00024
107 #define B576000 00025 106 #define B576000 00025
108 #define B921600 00026 107 #define B921600 00026
109 #define B1000000 00027 108 #define B1000000 00027
110 #define B1152000 00030 109 #define B1152000 00030
111 #define B1500000 00031 110 #define B1500000 00031
112 #define B2000000 00032 111 #define B2000000 00032
113 #define B2500000 00033 112 #define B2500000 00033
114 #define B3000000 00034 113 #define B3000000 00034
115 #define B3500000 00035 114 #define B3500000 00035
116 #define B4000000 00036 115 #define B4000000 00036
117 #define BOTHER 00037 116 #define BOTHER 00037
118 117
119 #define CBAUD 00377 118 #define CBAUD 00377
120 119
121 #define CSIZE 00001400 120 #define CSIZE 00001400
122 #define CS5 00000000 121 #define CS5 00000000
123 #define CS6 00000400 122 #define CS6 00000400
124 #define CS7 00001000 123 #define CS7 00001000
125 #define CS8 00001400 124 #define CS8 00001400
126 #define CSTOPB 00002000 125 #define CSTOPB 00002000
127 #define CREAD 00004000 126 #define CREAD 00004000
128 #define PARENB 00010000 127 #define PARENB 00010000
129 #define PARODD 00020000 128 #define PARODD 00020000
130 #define HUPCL 00040000 129 #define HUPCL 00040000
131 #define CLOCAL 00100000 130 #define CLOCAL 00100000
132 131
133 #define ECHOKE 0x00000001 132 #define ECHOKE 0x00000001
134 #define ECHOE 0x00000002 133 #define ECHOE 0x00000002
135 #define ECHOK 0x00000004 134 #define ECHOK 0x00000004
136 #define ECHO 0x00000008 135 #define ECHO 0x00000008
137 #define ECHONL 0x00000010 136 #define ECHONL 0x00000010
138 #define ECHOPRT 0x00000020 137 #define ECHOPRT 0x00000020
139 #define ECHOCTL 0x00000040 138 #define ECHOCTL 0x00000040
140 #define ISIG 0x00000080 139 #define ISIG 0x00000080
141 #define ICANON 0x00000100 140 #define ICANON 0x00000100
142 #define IEXTEN 0x00000400 141 #define IEXTEN 0x00000400
143 #define XCASE 0x00004000 142 #define XCASE 0x00004000
144 #define TOSTOP 0x00400000 143 #define TOSTOP 0x00400000
145 #define FLUSHO 0x00800000 144 #define FLUSHO 0x00800000
146 #define PENDIN 0x20000000 145 #define PENDIN 0x20000000
147 #define NOFLSH 0x80000000 146 #define NOFLSH 0x80000000
148 147
149 #define TCOOFF 0 148 #define TCOOFF 0
150 #define TCOON 1 149 #define TCOON 1
151 #define TCIOFF 2 150 #define TCIOFF 2
152 #define TCION 3 151 #define TCION 3
153 152
154 #define TCIFLUSH 0 153 #define TCIFLUSH 0
155 #define TCOFLUSH 1 154 #define TCOFLUSH 1
156 #define TCIOFLUSH 2 155 #define TCIOFLUSH 2
157 156
158 #define TCSANOW 0 157 #define TCSANOW 0
159 #define TCSADRAIN 1 158 #define TCSADRAIN 1
160 #define TCSAFLUSH 2 159 #define TCSAFLUSH 2
161 160
162 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 161 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
163 #define CBAUDEX 0000000 162 #define CBAUDEX 0000000
164 #define CIBAUD 077600000 163 #define CIBAUD 077600000
165 #define IBSHIFT 16 164 #define IBSHIFT 16
166 #define CMSPAR 010000000000 165 #define CMSPAR 010000000000
167 #define CRTSCTS 020000000000 166 #define CRTSCTS 020000000000
168 #define EXTPROC 0x10000000 167 #define EXTPROC 0x10000000
169 #define XTABS 00006000 168 #define XTABS 00006000
170 #endif 169 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698