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

Side by Side Diff: third_party/libcxx/include/cstdint

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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
(Empty)
1 // -*- C++ -*-
2 //===--------------------------- cstdint ----------------------------------===//
3 //
4 // The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef _LIBCPP_CSTDINT
12 #define _LIBCPP_CSTDINT
13
14 /*
15 cstdint synopsis
16
17 Macros:
18
19 INT8_MIN
20 INT16_MIN
21 INT32_MIN
22 INT64_MIN
23
24 INT8_MAX
25 INT16_MAX
26 INT32_MAX
27 INT64_MAX
28
29 UINT8_MAX
30 UINT16_MAX
31 UINT32_MAX
32 UINT64_MAX
33
34 INT_LEAST8_MIN
35 INT_LEAST16_MIN
36 INT_LEAST32_MIN
37 INT_LEAST64_MIN
38
39 INT_LEAST8_MAX
40 INT_LEAST16_MAX
41 INT_LEAST32_MAX
42 INT_LEAST64_MAX
43
44 UINT_LEAST8_MAX
45 UINT_LEAST16_MAX
46 UINT_LEAST32_MAX
47 UINT_LEAST64_MAX
48
49 INT_FAST8_MIN
50 INT_FAST16_MIN
51 INT_FAST32_MIN
52 INT_FAST64_MIN
53
54 INT_FAST8_MAX
55 INT_FAST16_MAX
56 INT_FAST32_MAX
57 INT_FAST64_MAX
58
59 UINT_FAST8_MAX
60 UINT_FAST16_MAX
61 UINT_FAST32_MAX
62 UINT_FAST64_MAX
63
64 INTPTR_MIN
65 INTPTR_MAX
66 UINTPTR_MAX
67
68 INTMAX_MIN
69 INTMAX_MAX
70
71 UINTMAX_MAX
72
73 PTRDIFF_MIN
74 PTRDIFF_MAX
75
76 SIG_ATOMIC_MIN
77 SIG_ATOMIC_MAX
78
79 SIZE_MAX
80
81 WCHAR_MIN
82 WCHAR_MAX
83
84 WINT_MIN
85 WINT_MAX
86
87 INT8_C(value)
88 INT16_C(value)
89 INT32_C(value)
90 INT64_C(value)
91
92 UINT8_C(value)
93 UINT16_C(value)
94 UINT32_C(value)
95 UINT64_C(value)
96
97 INTMAX_C(value)
98 UINTMAX_C(value)
99
100 namespace std
101 {
102
103 Types:
104
105 int8_t
106 int16_t
107 int32_t
108 int64_t
109
110 uint8_t
111 uint16_t
112 uint32_t
113 uint64_t
114
115 int_least8_t
116 int_least16_t
117 int_least32_t
118 int_least64_t
119
120 uint_least8_t
121 uint_least16_t
122 uint_least32_t
123 uint_least64_t
124
125 int_fast8_t
126 int_fast16_t
127 int_fast32_t
128 int_fast64_t
129
130 uint_fast8_t
131 uint_fast16_t
132 uint_fast32_t
133 uint_fast64_t
134
135 intptr_t
136 uintptr_t
137
138 intmax_t
139 uintmax_t
140
141 } // std
142 */
143
144 #include <__config>
145 #include <stdint.h>
146
147 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
148 #pragma GCC system_header
149 #endif
150
151 _LIBCPP_BEGIN_NAMESPACE_STD
152
153 using::int8_t;
154 using::int16_t;
155 using::int32_t;
156 using::int64_t;
157
158 using::uint8_t;
159 using::uint16_t;
160 using::uint32_t;
161 using::uint64_t;
162
163 using::int_least8_t;
164 using::int_least16_t;
165 using::int_least32_t;
166 using::int_least64_t;
167
168 using::uint_least8_t;
169 using::uint_least16_t;
170 using::uint_least32_t;
171 using::uint_least64_t;
172
173 using::int_fast8_t;
174 using::int_fast16_t;
175 using::int_fast32_t;
176 using::int_fast64_t;
177
178 using::uint_fast8_t;
179 using::uint_fast16_t;
180 using::uint_fast32_t;
181 using::uint_fast64_t;
182
183 using::intptr_t;
184 using::uintptr_t;
185
186 using::intmax_t;
187 using::uintmax_t;
188
189 _LIBCPP_END_NAMESPACE_STD
190
191 #endif // _LIBCPP_CSTDINT
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698