1 // Copyright 2014 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file is auto-generated by build_utf8_validator_tables. 6 // DO NOT EDIT. 7 8 #include "base/i18n/utf8_validator_tables.h" 9 10 #include <iterator> 11 12 namespace base { 13 namespace internal { 14 15 const uint8_t kUtf8ValidatorTables[] = { 16 // State 0, offset 0x00 17 0x00, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x08 18 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x10 19 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x18 20 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x20 21 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x28 22 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x30 23 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x38 24 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x40 25 0x81, 0x81, 0x81, 0x83, 0x83, 0x83, 0x83, 0x83, // 0x48 26 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, // 0x50 27 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, // 0x58 28 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, // 0x60 29 0x83, 0x86, 0x8b, 0x8b, 0x8b, 0x8b, 0x8b, 0x8b, // 0x68 30 0x8b, 0x8b, 0x8b, 0x8b, 0x8b, 0x8b, 0x8e, 0x8b, // 0x70 31 0x8b, 0x93, 0x9c, 0x9c, 0x9c, 0x9f, 0x81, 0x81, // 0x78 32 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0x80 33 0x81, // 0x81 34 // State 1, offset 0x81 35 0x07, 0x81, // 0x83 36 // State 2, offset 0x83 37 0x06, 0x00, 0x81, // 0x86 38 // State 3, offset 0x86 39 0x05, 0x81, 0x83, 0x81, 0x81, // 0x8b 40 // State 4, offset 0x8b 41 0x06, 0x83, 0x81, // 0x8e 42 // State 5, offset 0x8e 43 0x05, 0x83, 0x81, 0x81, 0x81, // 0x93 44 // State 6, offset 0x93 45 0x04, 0x81, 0x8b, 0x8b, 0x8b, 0x81, 0x81, 0x81, // 0x9b 46 0x81, // 0x9c 47 // State 7, offset 0x9c 48 0x06, 0x8b, 0x81, // 0x9f 49 // State 8, offset 0x9f 50 0x04, 0x8b, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, // 0xa7 51 0x81, // 0xa8 52 }; 53 54 const size_t kUtf8ValidatorTablesSize = std::size(kUtf8ValidatorTables); 55 56 } // namespace internal 57 } // namespace base 58