utf8_validator_tables.cc 2.4 KB

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