Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
symmtable.h File Reference

Go to the source code of this file.

Functions

static PRUint32 Mirrored (PRUint32 u)

Variables

static const PRUint8 symmtable_index [256]
static const PRUint16 symmtable [13][256]

Function Documentation

static PRUint32 Mirrored ( PRUint32  u) [static]

Definition at line 327 of file symmtable.h.

{
  if (u < 0x10000) {
    PRUint8 index = symmtable_index[(u & 0xFFFFFF00) >> 8];
    if (index) {
      return symmtable[index - 1] [u & 0xFF];
    }
  }
  return u;
}

Variable Documentation

const PRUint16 symmtable[13][256] [static]

Definition at line 64 of file symmtable.h.

const PRUint8 symmtable_index[256] [static]
Initial value:
 {

  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2,
  0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4, 0, 5, 6, 0, 0, 0, 7, 0, 8, 9, 0, 0, 0, 10, 0,
  11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 13,
}

Definition at line 45 of file symmtable.h.