xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hfsplus_decompose_ts_test.c File Reference
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include "hfsplus.h"
Include dependency graph for hfsplus_decompose_ts_test.c:

Go to the source code of this file.

Macros

#define HFSPLUS_DECOMPOSE_PAGE_SIZE   (256 * (HFSPLUS_MAX_DECOMPOSE_LEN + 1))
 

Functions

void make_hfsplus_decompose_pages ()
 
static int compare_decompose_pages ()
 
 main ()
 

Variables

static const uint16_t page00 [256][4+1]
 
static const uint16_t page01 [256][4+1]
 
static const uint16_t page02 [256][4+1]
 
static const uint16_t page03 [256][4+1]
 
static const uint16_t page04 [256][4+1]
 
static const uint16_t page09 [256][4+1]
 
static const uint16_t page0a [256][4+1]
 
static const uint16_t page0b [256][4+1]
 
static const uint16_t page0c [256][4+1]
 
static const uint16_t page0d [256][4+1]
 
static const uint16_t page0e [256][4+1]
 
static const uint16_t page0f [256][4+1]
 
static const uint16_t page1e [256][4+1]
 
static const uint16_t page1f [256][4+1]
 
static const uint16_t page30 [256][4+1]
 
static const uint16_t pagefb [256][4+1]
 
const uint16_t(*[256] hfsplus_decompose_pages_old )[4+1]
 
static const uint16_t decompose_page_data []
 
static uint16_t decompose_pages [16 *256][4+1]
 
uint16_t(*[256] hfsplus_decompose_pages )[4+1]
 

Macro Definition Documentation

◆ HFSPLUS_DECOMPOSE_PAGE_SIZE

#define HFSPLUS_DECOMPOSE_PAGE_SIZE   (256 * (HFSPLUS_MAX_DECOMPOSE_LEN + 1))

Definition at line 2054 of file hfsplus_decompose_ts_test.c.

Function Documentation

◆ compare_decompose_pages()

static int compare_decompose_pages ( )
static

◆ main()

main ( )

◆ make_hfsplus_decompose_pages()

void make_hfsplus_decompose_pages ( )

Variable Documentation

◆ decompose_page_data

const uint16_t decompose_page_data[]
static

Definition at line 1042 of file hfsplus_decompose_ts_test.c.

Referenced by make_hfsplus_decompose_pages().

◆ decompose_pages

uint16_t decompose_pages[16 *256][4+1]
static

Definition at line 2056 of file hfsplus_decompose_ts_test.c.

Referenced by make_hfsplus_decompose_pages().

◆ hfsplus_decompose_pages

uint16_t(*[256] hfsplus_decompose_pages)[4+1]

◆ hfsplus_decompose_pages_old

const uint16_t(*[256] hfsplus_decompose_pages_old)[4+1]
Initial value:
= {
[0x00] = page00,
[0x01] = page01,
[0x02] = page02,
[0x03] = page03,
[0x04] = page04,
[0x09] = page09,
[0x0a] = page0a,
[0x0b] = page0b,
[0x0c] = page0c,
[0x0d] = page0d,
[0x0e] = page0e,
[0x0f] = page0f,
[0x1e] = page1e,
[0x1f] = page1f,
[0x30] = page30,
[0xfb] = pagefb,
}
static const uint16_t page0a[256][4+1]
static const uint16_t page09[256][4+1]
static const uint16_t page01[256][4+1]
static const uint16_t page1e[256][4+1]
static const uint16_t page04[256][4+1]
static const uint16_t page0d[256][4+1]
static const uint16_t page03[256][4+1]
static const uint16_t page0f[256][4+1]
static const uint16_t page02[256][4+1]
static const uint16_t page1f[256][4+1]
static const uint16_t page00[256][4+1]
static const uint16_t page0e[256][4+1]
static const uint16_t pagefb[256][4+1]
static const uint16_t page0b[256][4+1]
static const uint16_t page0c[256][4+1]
static const uint16_t page30[256][4+1]

Definition at line 1010 of file hfsplus_decompose_ts_test.c.

Referenced by compare_decompose_pages().

◆ page00

const uint16_t page00[256][4+1]
static

Definition at line 20 of file hfsplus_decompose_ts_test.c.

◆ page01

const uint16_t page01[256][4+1]
static

Definition at line 76 of file hfsplus_decompose_ts_test.c.

◆ page02

const uint16_t page02[256][4+1]
static
Initial value:
= {
[0x00] = { 0x0041, 0x030F, 0x0000 },
[0x01] = { 0x0061, 0x030F, 0x0000 },
[0x02] = { 0x0041, 0x0311, 0x0000 },
[0x03] = { 0x0061, 0x0311, 0x0000 },
[0x04] = { 0x0045, 0x030F, 0x0000 },
[0x05] = { 0x0065, 0x030F, 0x0000 },
[0x06] = { 0x0045, 0x0311, 0x0000 },
[0x07] = { 0x0065, 0x0311, 0x0000 },
[0x08] = { 0x0049, 0x030F, 0x0000 },
[0x09] = { 0x0069, 0x030F, 0x0000 },
[0x0a] = { 0x0049, 0x0311, 0x0000 },
[0x0b] = { 0x0069, 0x0311, 0x0000 },
[0x0c] = { 0x004F, 0x030F, 0x0000 },
[0x0d] = { 0x006F, 0x030F, 0x0000 },
[0x0e] = { 0x004F, 0x0311, 0x0000 },
[0x0f] = { 0x006F, 0x0311, 0x0000 },
[0x10] = { 0x0052, 0x030F, 0x0000 },
[0x11] = { 0x0072, 0x030F, 0x0000 },
[0x12] = { 0x0052, 0x0311, 0x0000 },
[0x13] = { 0x0072, 0x0311, 0x0000 },
[0x14] = { 0x0055, 0x030F, 0x0000 },
[0x15] = { 0x0075, 0x030F, 0x0000 },
[0x16] = { 0x0055, 0x0311, 0x0000 },
[0x17] = { 0x0075, 0x0311, 0x0000 },
}

Definition at line 232 of file hfsplus_decompose_ts_test.c.

◆ page03

const uint16_t page03[256][4+1]
static

Definition at line 259 of file hfsplus_decompose_ts_test.c.

◆ page04

const uint16_t page04[256][4+1]
static

Definition at line 293 of file hfsplus_decompose_ts_test.c.

◆ page09

const uint16_t page09[256][4+1]
static
Initial value:
= {
[0x29] = { 0x0928, 0x093C, 0x0000 },
[0x31] = { 0x0930, 0x093C, 0x0000 },
[0x34] = { 0x0933, 0x093C, 0x0000 },
[0x58] = { 0x0915, 0x093C, 0x0000 },
[0x59] = { 0x0916, 0x093C, 0x0000 },
[0x5a] = { 0x0917, 0x093C, 0x0000 },
[0x5b] = { 0x091C, 0x093C, 0x0000 },
[0x5c] = { 0x0921, 0x093C, 0x0000 },
[0x5d] = { 0x0922, 0x093C, 0x0000 },
[0x5e] = { 0x092B, 0x093C, 0x0000 },
[0x5f] = { 0x092F, 0x093C, 0x0000 },
[0xb0] = { 0x09AC, 0x09BC, 0x0000 },
[0xcb] = { 0x09C7, 0x09BE, 0x0000 },
[0xcc] = { 0x09C7, 0x09D7, 0x0000 },
[0xdc] = { 0x09A1, 0x09BC, 0x0000 },
[0xdd] = { 0x09A2, 0x09BC, 0x0000 },
[0xdf] = { 0x09AF, 0x09BC, 0x0000 },
}

Definition at line 350 of file hfsplus_decompose_ts_test.c.

◆ page0a

const uint16_t page0a[256][4+1]
static
Initial value:
= {
[0x59] = { 0x0A16, 0x0A3C, 0x0000 },
[0x5a] = { 0x0A17, 0x0A3C, 0x0000 },
[0x5b] = { 0x0A1C, 0x0A3C, 0x0000 },
[0x5c] = { 0x0A21, 0x0A3C, 0x0000 },
[0x5e] = { 0x0A2B, 0x0A3C, 0x0000 },
}

Definition at line 370 of file hfsplus_decompose_ts_test.c.

◆ page0b

const uint16_t page0b[256][4+1]
static
Initial value:
= {
[0x48] = { 0x0B47, 0x0B56, 0x0000 },
[0x4b] = { 0x0B47, 0x0B3E, 0x0000 },
[0x4c] = { 0x0B47, 0x0B57, 0x0000 },
[0x5c] = { 0x0B21, 0x0B3C, 0x0000 },
[0x5d] = { 0x0B22, 0x0B3C, 0x0000 },
[0x5f] = { 0x0B2F, 0x0B3C, 0x0000 },
[0x94] = { 0x0B92, 0x0BD7, 0x0000 },
[0xca] = { 0x0BC6, 0x0BBE, 0x0000 },
[0xcb] = { 0x0BC7, 0x0BBE, 0x0000 },
[0xcc] = { 0x0BC6, 0x0BD7, 0x0000 },
}

Definition at line 378 of file hfsplus_decompose_ts_test.c.

◆ page0c

const uint16_t page0c[256][4+1]
static
Initial value:
= {
[0x48] = { 0x0C46, 0x0C56, 0x0000 },
[0xc0] = { 0x0CBF, 0x0CD5, 0x0000 },
[0xc7] = { 0x0CC6, 0x0CD5, 0x0000 },
[0xc8] = { 0x0CC6, 0x0CD6, 0x0000 },
[0xca] = { 0x0CC6, 0x0CC2, 0x0000 },
[0xcb] = { 0x0CC6, 0x0CC2, 0x0CD5, 0x0000 },
}

Definition at line 391 of file hfsplus_decompose_ts_test.c.

◆ page0d

const uint16_t page0d[256][4+1]
static
Initial value:
= {
[0x4a] = { 0x0D46, 0x0D3E, 0x0000 },
[0x4b] = { 0x0D47, 0x0D3E, 0x0000 },
[0x4c] = { 0x0D46, 0x0D57, 0x0000 },
}

Definition at line 400 of file hfsplus_decompose_ts_test.c.

◆ page0e

const uint16_t page0e[256][4+1]
static
Initial value:
= {
[0x33] = { 0x0E4D, 0x0E32, 0x0000 },
[0xb3] = { 0x0ECD, 0x0EB2, 0x0000 },
}

Definition at line 406 of file hfsplus_decompose_ts_test.c.

◆ page0f

const uint16_t page0f[256][4+1]
static
Initial value:
= {
[0x43] = { 0x0F42, 0x0FB7, 0x0000 },
[0x4d] = { 0x0F4C, 0x0FB7, 0x0000 },
[0x52] = { 0x0F51, 0x0FB7, 0x0000 },
[0x57] = { 0x0F56, 0x0FB7, 0x0000 },
[0x5c] = { 0x0F5B, 0x0FB7, 0x0000 },
[0x69] = { 0x0F40, 0x0FB5, 0x0000 },
[0x73] = { 0x0F72, 0x0F71, 0x0000 },
[0x75] = { 0x0F74, 0x0F71, 0x0000 },
[0x76] = { 0x0FB2, 0x0F80, 0x0000 },
[0x77] = { 0x0FB2, 0x0F80, 0x0F71, 0x0000 },
[0x78] = { 0x0FB3, 0x0F80, 0x0000 },
[0x79] = { 0x0FB3, 0x0F80, 0x0F71, 0x0000 },
[0x81] = { 0x0F80, 0x0F71, 0x0000 },
[0x93] = { 0x0F92, 0x0FB7, 0x0000 },
[0x9d] = { 0x0F9C, 0x0FB7, 0x0000 },
[0xa2] = { 0x0FA1, 0x0FB7, 0x0000 },
[0xa7] = { 0x0FA6, 0x0FB7, 0x0000 },
[0xac] = { 0x0FAB, 0x0FB7, 0x0000 },
[0xb9] = { 0x0F90, 0x0FB5, 0x0000 },
}

Definition at line 411 of file hfsplus_decompose_ts_test.c.

◆ page1e

const uint16_t page1e[256][4+1]
static

Definition at line 433 of file hfsplus_decompose_ts_test.c.

◆ page1f

const uint16_t page1f[256][4+1]
static

Definition at line 681 of file hfsplus_decompose_ts_test.c.

◆ page30

const uint16_t page30[256][4+1]
static

Definition at line 913 of file hfsplus_decompose_ts_test.c.

◆ pagefb

const uint16_t pagefb[256][4+1]
static

Definition at line 974 of file hfsplus_decompose_ts_test.c.