]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/json/detail/utf8.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / json / detail / utf8.hpp
index ddbd5a019ac5f5174cf834c0542e5bf0919859ff..523b8d19a0dc7681ac3c0f9d3868c78f4606084c 100644 (file)
@@ -47,23 +47,23 @@ classify_utf8(char c)
     // 0x704 = 4 bytes, second byte [80, 8F]
     static constexpr uint16_t first[128]
     {
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,  
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,  
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,  
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
-                                       
-       0x000, 0x000, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 
-       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 
-       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 
-       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 
-       0x203, 0x303, 0x303, 0x303, 0x303, 0x303, 0x303, 0x303, 
-       0x303, 0x303, 0x303, 0x303, 0x303, 0x403, 0x303, 0x303, 
-       0x504, 0x604, 0x604, 0x604, 0x704, 0x000, 0x000, 0x000, 
-       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
+
+       0x000, 0x000, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102,
+       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102,
+       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102,
+       0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102, 0x102,
+       0x203, 0x303, 0x303, 0x303, 0x303, 0x303, 0x303, 0x303,
+       0x303, 0x303, 0x303, 0x303, 0x303, 0x403, 0x303, 0x303,
+       0x504, 0x604, 0x604, 0x604, 0x704, 0x000, 0x000, 0x000,
+       0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000,
     };
     return first[static_cast<unsigned char>(c)];
 }
@@ -136,7 +136,7 @@ public:
         std::memcpy(seq_, p, size_);
     }
 
-    uint8_t 
+    uint8_t
     length() const noexcept
     {
         return first_ & 0xFF;
@@ -151,7 +151,7 @@ public:
     // returns true if complete
     bool
     append(
-        const char* p, 
+        const char* p,
         std::size_t remain) noexcept
     {
         if(BOOST_JSON_UNLIKELY(needed() == 0))