"Fossies" - the Fresh Open Source Software Archive

Member "xorriso-1.5.4/libisofs/hfsplus_classes_old.c" (30 Jan 2021, 6483 Bytes) of package /linux/misc/xorriso-1.5.4.pl02.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "hfsplus_classes_old.c" see the Fossies "Dox" file reference documentation.

    1 #ifdef HAVE_CONFIG_H
    2 #include "../config.h"
    3 #endif
    4 
    5 #include "hfsplus.h"
    6 
    7 /* Based on Unicode 3.2.0.  */
    8 
    9 static uint16_t page03[256] = {
   10   [0x00] = 0x230,
   11   [0x01] = 0x230,
   12   [0x02] = 0x230,
   13   [0x03] = 0x230,
   14   [0x04] = 0x230,
   15   [0x05] = 0x230,
   16   [0x06] = 0x230,
   17   [0x07] = 0x230,
   18   [0x08] = 0x230,
   19   [0x09] = 0x230,
   20   [0x0a] = 0x230,
   21   [0x0b] = 0x230,
   22   [0x0c] = 0x230,
   23   [0x0d] = 0x230,
   24   [0x0e] = 0x230,
   25   [0x0f] = 0x230,
   26   [0x10] = 0x230,
   27   [0x11] = 0x230,
   28   [0x12] = 0x230,
   29   [0x13] = 0x230,
   30   [0x14] = 0x230,
   31   [0x15] = 0x232,
   32   [0x16] = 0x220,
   33   [0x17] = 0x220,
   34   [0x18] = 0x220,
   35   [0x19] = 0x220,
   36   [0x1a] = 0x232,
   37   [0x1b] = 0x216,
   38   [0x1c] = 0x220,
   39   [0x1d] = 0x220,
   40   [0x1e] = 0x220,
   41   [0x1f] = 0x220,
   42   [0x20] = 0x220,
   43   [0x21] = 0x202,
   44   [0x22] = 0x202,
   45   [0x23] = 0x220,
   46   [0x24] = 0x220,
   47   [0x25] = 0x220,
   48   [0x26] = 0x220,
   49   [0x27] = 0x202,
   50   [0x28] = 0x202,
   51   [0x29] = 0x220,
   52   [0x2a] = 0x220,
   53   [0x2b] = 0x220,
   54   [0x2c] = 0x220,
   55   [0x2d] = 0x220,
   56   [0x2e] = 0x220,
   57   [0x2f] = 0x220,
   58   [0x30] = 0x220,
   59   [0x31] = 0x220,
   60   [0x32] = 0x220,
   61   [0x33] = 0x220,
   62   [0x34] = 0x1,
   63   [0x35] = 0x1,
   64   [0x36] = 0x1,
   65   [0x37] = 0x1,
   66   [0x38] = 0x1,
   67   [0x39] = 0x220,
   68   [0x3a] = 0x220,
   69   [0x3b] = 0x220,
   70   [0x3c] = 0x220,
   71   [0x3d] = 0x230,
   72   [0x3e] = 0x230,
   73   [0x3f] = 0x230,
   74   [0x40] = 0x230,
   75   [0x41] = 0x230,
   76   [0x42] = 0x230,
   77   [0x43] = 0x230,
   78   [0x44] = 0x230,
   79   [0x45] = 0x240,
   80   [0x46] = 0x230,
   81   [0x47] = 0x220,
   82   [0x48] = 0x220,
   83   [0x49] = 0x220,
   84   [0x4a] = 0x230,
   85   [0x4b] = 0x230,
   86   [0x4c] = 0x230,
   87   [0x4d] = 0x220,
   88   [0x4e] = 0x220,
   89   [0x60] = 0x234,
   90   [0x61] = 0x234,
   91   [0x62] = 0x233,
   92   [0x63] = 0x230,
   93   [0x64] = 0x230,
   94   [0x65] = 0x230,
   95   [0x66] = 0x230,
   96   [0x67] = 0x230,
   97   [0x68] = 0x230,
   98   [0x69] = 0x230,
   99   [0x6a] = 0x230,
  100   [0x6b] = 0x230,
  101   [0x6c] = 0x230,
  102   [0x6d] = 0x230,
  103   [0x6e] = 0x230,
  104   [0x6f] = 0x230,
  105 };
  106 
  107 static uint16_t page04[256] = {
  108   [0x83] = 0x230,
  109   [0x84] = 0x230,
  110   [0x85] = 0x230,
  111   [0x86] = 0x230,
  112 };
  113 
  114 static uint16_t page05[256] = {
  115   [0x91] = 0x220,
  116   [0x92] = 0x230,
  117   [0x93] = 0x230,
  118   [0x94] = 0x230,
  119   [0x95] = 0x230,
  120   [0x96] = 0x220,
  121   [0x97] = 0x230,
  122   [0x98] = 0x230,
  123   [0x99] = 0x230,
  124   [0x9a] = 0x222,
  125   [0x9b] = 0x220,
  126   [0x9c] = 0x230,
  127   [0x9d] = 0x230,
  128   [0x9e] = 0x230,
  129   [0x9f] = 0x230,
  130   [0xa0] = 0x230,
  131   [0xa1] = 0x230,
  132   [0xa3] = 0x220,
  133   [0xa4] = 0x220,
  134   [0xa5] = 0x220,
  135   [0xa6] = 0x220,
  136   [0xa7] = 0x220,
  137   [0xa8] = 0x230,
  138   [0xa9] = 0x230,
  139   [0xaa] = 0x220,
  140   [0xab] = 0x230,
  141   [0xac] = 0x230,
  142   [0xad] = 0x222,
  143   [0xae] = 0x228,
  144   [0xaf] = 0x230,
  145   [0xb0] = 0x10,
  146   [0xb1] = 0x11,
  147   [0xb2] = 0x12,
  148   [0xb3] = 0x13,
  149   [0xb4] = 0x14,
  150   [0xb5] = 0x15,
  151   [0xb6] = 0x16,
  152   [0xb7] = 0x17,
  153   [0xb8] = 0x18,
  154   [0xb9] = 0x19,
  155   [0xbb] = 0x20,
  156   [0xbc] = 0x21,
  157   [0xbd] = 0x22,
  158   [0xbf] = 0x23,
  159   [0xc1] = 0x24,
  160   [0xc2] = 0x25,
  161   [0xc4] = 0x230,
  162 };
  163 
  164 static uint16_t page06[256] = {
  165   [0x4b] = 0x27,
  166   [0x4c] = 0x28,
  167   [0x4d] = 0x29,
  168   [0x4e] = 0x30,
  169   [0x4f] = 0x31,
  170   [0x50] = 0x32,
  171   [0x51] = 0x33,
  172   [0x52] = 0x34,
  173   [0x53] = 0x230,
  174   [0x54] = 0x230,
  175   [0x55] = 0x220,
  176   [0x70] = 0x35,
  177   [0xd6] = 0x230,
  178   [0xd7] = 0x230,
  179   [0xd8] = 0x230,
  180   [0xd9] = 0x230,
  181   [0xda] = 0x230,
  182   [0xdb] = 0x230,
  183   [0xdc] = 0x230,
  184   [0xdf] = 0x230,
  185   [0xe0] = 0x230,
  186   [0xe1] = 0x230,
  187   [0xe2] = 0x230,
  188   [0xe3] = 0x220,
  189   [0xe4] = 0x230,
  190   [0xe7] = 0x230,
  191   [0xe8] = 0x230,
  192   [0xea] = 0x220,
  193   [0xeb] = 0x230,
  194   [0xec] = 0x230,
  195   [0xed] = 0x220,
  196 };
  197 
  198 static uint16_t page07[256] = {
  199   [0x11] = 0x36,
  200   [0x30] = 0x230,
  201   [0x31] = 0x220,
  202   [0x32] = 0x230,
  203   [0x33] = 0x230,
  204   [0x34] = 0x220,
  205   [0x35] = 0x230,
  206   [0x36] = 0x230,
  207   [0x37] = 0x220,
  208   [0x38] = 0x220,
  209   [0x39] = 0x220,
  210   [0x3a] = 0x230,
  211   [0x3b] = 0x220,
  212   [0x3c] = 0x220,
  213   [0x3d] = 0x230,
  214   [0x3e] = 0x220,
  215   [0x3f] = 0x230,
  216   [0x40] = 0x230,
  217   [0x41] = 0x230,
  218   [0x42] = 0x220,
  219   [0x43] = 0x230,
  220   [0x44] = 0x220,
  221   [0x45] = 0x230,
  222   [0x46] = 0x220,
  223   [0x47] = 0x230,
  224   [0x48] = 0x220,
  225   [0x49] = 0x230,
  226   [0x4a] = 0x230,
  227 };
  228 
  229 static uint16_t page09[256] = {
  230   [0x3c] = 0x7,
  231   [0x4d] = 0x9,
  232   [0x51] = 0x230,
  233   [0x52] = 0x220,
  234   [0x53] = 0x230,
  235   [0x54] = 0x230,
  236   [0xbc] = 0x7,
  237   [0xcd] = 0x9,
  238 };
  239 
  240 static uint16_t page0a[256] = {
  241   [0x3c] = 0x7,
  242   [0x4d] = 0x9,
  243   [0xbc] = 0x7,
  244   [0xcd] = 0x9,
  245 };
  246 
  247 static uint16_t page0b[256] = {
  248   [0x3c] = 0x7,
  249   [0x4d] = 0x9,
  250   [0xcd] = 0x9,
  251 };
  252 
  253 static uint16_t page0c[256] = {
  254   [0x4d] = 0x9,
  255   [0x55] = 0x84,
  256   [0x56] = 0x91,
  257   [0xcd] = 0x9,
  258 };
  259 
  260 static uint16_t page0d[256] = {
  261   [0x4d] = 0x9,
  262   [0xca] = 0x9,
  263 };
  264 
  265 static uint16_t page0e[256] = {
  266   [0x38] = 0x103,
  267   [0x39] = 0x103,
  268   [0x3a] = 0x9,
  269   [0x48] = 0x107,
  270   [0x49] = 0x107,
  271   [0x4a] = 0x107,
  272   [0x4b] = 0x107,
  273   [0xb8] = 0x118,
  274   [0xb9] = 0x118,
  275   [0xc8] = 0x122,
  276   [0xc9] = 0x122,
  277   [0xca] = 0x122,
  278   [0xcb] = 0x122,
  279 };
  280 
  281 static uint16_t page0f[256] = {
  282   [0x18] = 0x220,
  283   [0x19] = 0x220,
  284   [0x35] = 0x220,
  285   [0x37] = 0x220,
  286   [0x39] = 0x216,
  287   [0x71] = 0x129,
  288   [0x72] = 0x130,
  289   [0x74] = 0x132,
  290   [0x7a] = 0x130,
  291   [0x7b] = 0x130,
  292   [0x7c] = 0x130,
  293   [0x7d] = 0x130,
  294   [0x80] = 0x130,
  295   [0x82] = 0x230,
  296   [0x83] = 0x230,
  297   [0x84] = 0x9,
  298   [0x86] = 0x230,
  299   [0x87] = 0x230,
  300   [0xc6] = 0x220,
  301 };
  302 
  303 static uint16_t page10[256] = {
  304   [0x37] = 0x7,
  305   [0x39] = 0x9,
  306 };
  307 
  308 static uint16_t page17[256] = {
  309   [0x14] = 0x9,
  310   [0x34] = 0x9,
  311   [0xd2] = 0x9,
  312 };
  313 
  314 static uint16_t page18[256] = {
  315   [0xa9] = 0x228,
  316 };
  317 
  318 static uint16_t page20[256] = {
  319   [0xd0] = 0x230,
  320   [0xd1] = 0x230,
  321   [0xd2] = 0x1,
  322   [0xd3] = 0x1,
  323   [0xd4] = 0x230,
  324   [0xd5] = 0x230,
  325   [0xd6] = 0x230,
  326   [0xd7] = 0x230,
  327   [0xd8] = 0x1,
  328   [0xd9] = 0x1,
  329   [0xda] = 0x1,
  330   [0xdb] = 0x230,
  331   [0xdc] = 0x230,
  332   [0xe1] = 0x230,
  333   [0xe5] = 0x1,
  334   [0xe6] = 0x1,
  335   [0xe7] = 0x230,
  336   [0xe8] = 0x220,
  337   [0xe9] = 0x230,
  338   [0xea] = 0x1,
  339 };
  340 
  341 static uint16_t page30[256] = {
  342   [0x2a] = 0x218,
  343   [0x2b] = 0x228,
  344   [0x2c] = 0x232,
  345   [0x2d] = 0x222,
  346   [0x2e] = 0x224,
  347   [0x2f] = 0x224,
  348   [0x99] = 0x8,
  349   [0x9a] = 0x8,
  350 };
  351 
  352 static uint16_t pagefb[256] = {
  353   [0x1e] = 0x26,
  354 };
  355 
  356 static uint16_t pagefe[256] = {
  357   [0x20] = 0x230,
  358   [0x21] = 0x230,
  359   [0x22] = 0x230,
  360   [0x23] = 0x230,
  361 };
  362 
  363 uint16_t *hfsplus_class_pages[256] = {
  364   [0x03] = page03,
  365   [0x04] = page04,
  366   [0x05] = page05,
  367   [0x06] = page06,
  368   [0x07] = page07,
  369   [0x09] = page09,
  370   [0x0a] = page0a,
  371   [0x0b] = page0b,
  372   [0x0c] = page0c,
  373   [0x0d] = page0d,
  374   [0x0e] = page0e,
  375   [0x0f] = page0f,
  376   [0x10] = page10,
  377   [0x17] = page17,
  378   [0x18] = page18,
  379   [0x20] = page20,
  380   [0x30] = page30,
  381   [0xfb] = pagefb,
  382   [0xfe] = pagefe,
  383 };
  384 
  385 
  386 void make_hfsplus_class_pages()
  387 {
  388  return;
  389 }