Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/__cxx03/cinttypes is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP___CXX03_CINTTYPES
0011 #define _LIBCPP___CXX03_CINTTYPES
0012 
0013 /*
0014     cinttypes synopsis
0015 
0016 This entire header is C99 / C++0X
0017 
0018 #include <__cxx03/cstdint>  // <cinttypes> includes <cstdint>
0019 
0020 Macros:
0021 
0022     PRId8
0023     PRId16
0024     PRId32
0025     PRId64
0026 
0027     PRIdLEAST8
0028     PRIdLEAST16
0029     PRIdLEAST32
0030     PRIdLEAST64
0031 
0032     PRIdFAST8
0033     PRIdFAST16
0034     PRIdFAST32
0035     PRIdFAST64
0036 
0037     PRIdMAX
0038     PRIdPTR
0039 
0040     PRIi8
0041     PRIi16
0042     PRIi32
0043     PRIi64
0044 
0045     PRIiLEAST8
0046     PRIiLEAST16
0047     PRIiLEAST32
0048     PRIiLEAST64
0049 
0050     PRIiFAST8
0051     PRIiFAST16
0052     PRIiFAST32
0053     PRIiFAST64
0054 
0055     PRIiMAX
0056     PRIiPTR
0057 
0058     PRIo8
0059     PRIo16
0060     PRIo32
0061     PRIo64
0062 
0063     PRIoLEAST8
0064     PRIoLEAST16
0065     PRIoLEAST32
0066     PRIoLEAST64
0067 
0068     PRIoFAST8
0069     PRIoFAST16
0070     PRIoFAST32
0071     PRIoFAST64
0072 
0073     PRIoMAX
0074     PRIoPTR
0075 
0076     PRIu8
0077     PRIu16
0078     PRIu32
0079     PRIu64
0080 
0081     PRIuLEAST8
0082     PRIuLEAST16
0083     PRIuLEAST32
0084     PRIuLEAST64
0085 
0086     PRIuFAST8
0087     PRIuFAST16
0088     PRIuFAST32
0089     PRIuFAST64
0090 
0091     PRIuMAX
0092     PRIuPTR
0093 
0094     PRIx8
0095     PRIx16
0096     PRIx32
0097     PRIx64
0098 
0099     PRIxLEAST8
0100     PRIxLEAST16
0101     PRIxLEAST32
0102     PRIxLEAST64
0103 
0104     PRIxFAST8
0105     PRIxFAST16
0106     PRIxFAST32
0107     PRIxFAST64
0108 
0109     PRIxMAX
0110     PRIxPTR
0111 
0112     PRIX8
0113     PRIX16
0114     PRIX32
0115     PRIX64
0116 
0117     PRIXLEAST8
0118     PRIXLEAST16
0119     PRIXLEAST32
0120     PRIXLEAST64
0121 
0122     PRIXFAST8
0123     PRIXFAST16
0124     PRIXFAST32
0125     PRIXFAST64
0126 
0127     PRIXMAX
0128     PRIXPTR
0129 
0130     SCNd8
0131     SCNd16
0132     SCNd32
0133     SCNd64
0134 
0135     SCNdLEAST8
0136     SCNdLEAST16
0137     SCNdLEAST32
0138     SCNdLEAST64
0139 
0140     SCNdFAST8
0141     SCNdFAST16
0142     SCNdFAST32
0143     SCNdFAST64
0144 
0145     SCNdMAX
0146     SCNdPTR
0147 
0148     SCNi8
0149     SCNi16
0150     SCNi32
0151     SCNi64
0152 
0153     SCNiLEAST8
0154     SCNiLEAST16
0155     SCNiLEAST32
0156     SCNiLEAST64
0157 
0158     SCNiFAST8
0159     SCNiFAST16
0160     SCNiFAST32
0161     SCNiFAST64
0162 
0163     SCNiMAX
0164     SCNiPTR
0165 
0166     SCNo8
0167     SCNo16
0168     SCNo32
0169     SCNo64
0170 
0171     SCNoLEAST8
0172     SCNoLEAST16
0173     SCNoLEAST32
0174     SCNoLEAST64
0175 
0176     SCNoFAST8
0177     SCNoFAST16
0178     SCNoFAST32
0179     SCNoFAST64
0180 
0181     SCNoMAX
0182     SCNoPTR
0183 
0184     SCNu8
0185     SCNu16
0186     SCNu32
0187     SCNu64
0188 
0189     SCNuLEAST8
0190     SCNuLEAST16
0191     SCNuLEAST32
0192     SCNuLEAST64
0193 
0194     SCNuFAST8
0195     SCNuFAST16
0196     SCNuFAST32
0197     SCNuFAST64
0198 
0199     SCNuMAX
0200     SCNuPTR
0201 
0202     SCNx8
0203     SCNx16
0204     SCNx32
0205     SCNx64
0206 
0207     SCNxLEAST8
0208     SCNxLEAST16
0209     SCNxLEAST32
0210     SCNxLEAST64
0211 
0212     SCNxFAST8
0213     SCNxFAST16
0214     SCNxFAST32
0215     SCNxFAST64
0216 
0217     SCNxMAX
0218     SCNxPTR
0219 
0220 namespace std
0221 {
0222 
0223 Types:
0224 
0225     imaxdiv_t
0226 
0227 intmax_t  imaxabs(intmax_t j);
0228 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
0229 intmax_t  strtoimax(const char* restrict nptr, char** restrict endptr, int base);
0230 uintmax_t strtoumax(const char* restrict nptr, char** restrict endptr, int base);
0231 intmax_t  wcstoimax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
0232 uintmax_t wcstoumax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
0233 
0234 }  // std
0235 */
0236 
0237 #include <__cxx03/__config>
0238 
0239 // standard-mandated includes
0240 
0241 // [cinttypes.syn]
0242 #include <__cxx03/cstdint>
0243 
0244 #include <__cxx03/inttypes.h>
0245 
0246 #ifndef _LIBCPP___CXX03_INTTYPES_H
0247 #   error <cinttypes> tried including <inttypes.h> but didn't find libc++'s <inttypes.h> header. \
0248           This usually means that your header search paths are not configured properly. \
0249           The header search paths should contain the C++ Standard Library headers before \
0250           any C Standard Library, and you are probably using compiler flags that make that \
0251           not be the case.
0252 #endif
0253 
0254 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0255 #  pragma GCC system_header
0256 #endif
0257 
0258 _LIBCPP_BEGIN_NAMESPACE_STD
0259 
0260 using ::imaxdiv_t _LIBCPP_USING_IF_EXISTS;
0261 using ::imaxabs _LIBCPP_USING_IF_EXISTS;
0262 using ::imaxdiv _LIBCPP_USING_IF_EXISTS;
0263 using ::strtoimax _LIBCPP_USING_IF_EXISTS;
0264 using ::strtoumax _LIBCPP_USING_IF_EXISTS;
0265 using ::wcstoimax _LIBCPP_USING_IF_EXISTS;
0266 using ::wcstoumax _LIBCPP_USING_IF_EXISTS;
0267 
0268 _LIBCPP_END_NAMESPACE_STD
0269 
0270 #endif // _LIBCPP___CXX03_CINTTYPES