OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [common/] [ctype.c] - Diff between revs 175 and 406

Show entire file | Details | Blame | View Log

Rev 175 Rev 406
Line 20... Line 20...
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
*/
 
 
#include <ctype.h>
#include <ctype.h>
 
 
const unsigned char __ctype_table[256] =
const unsigned char __ctype_table[256] = {
{
 
  /* only the first 128 characters are really defined                   0   1   2   3    4   5   6   7  */
  /* only the first 128 characters are really defined                   0   1   2   3    4   5   6   7  */
       0, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*0  NUL SOH STX ETX  EOT ENQ ACK BEL */
       0, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*0  NUL SOH STX ETX  EOT ENQ ACK BEL */
  __CT_c, __CT_b,  __CT_s,  __CT_b,  __CT_s,  __CT_s,  __CT_c,  __CT_c, /*1  BS  HT  LF  VT   FF  CR  SO  SI  */
  __CT_c, __CT_b,  __CT_s,  __CT_b,  __CT_s,  __CT_s,  __CT_c,  __CT_c, /*1  BS  HT  LF  VT   FF  CR  SO  SI  */
  __CT_c, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*2  DLE DC1 DC2 DC3  DC4 NAK SYN ETB */
  __CT_c, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*2  DLE DC1 DC2 DC3  DC4 NAK SYN ETB */
  __CT_c, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*3  CAN EM  SUB ESC  FS  GS  RS  US  */
  __CT_c, __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c,  __CT_c, /*3  CAN EM  SUB ESC  FS  GS  RS  US  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.