sxbitsmatrix.c File Reference

#include "sxversion.h"
#include "sxcommon.h"
#include "sxba.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for sxbitsmatrix.c:

Go to the source code of this file.

Functions

SXBA * sxbm_calloc (SXBA_INDEX lines_number, SXBA_INDEX bits_number)
SXBA * sxbm_resize (SXBA *bits_matrix, SXBA_INDEX old_lines_number, SXBA_INDEX new_lines_number, SXBA_INDEX new_bits_number)
void sxbm_free (SXBA *bits_matrix)
SXBOOLEAN sxbm_write (sxfiledesc_t file, SXBA *bits_matrix, SXBA_INDEX line_nb)
SXBOOLEAN sxbm_read (sxfiledesc_t file, SXBA *bits_matrix, SXBA_INDEX line_nb)
void sxbm_to_c (FILE *file_descr, SXBA *bits_matrix, SXBA_INDEX line_nb, char *name1, char *name2, SXBOOLEAN is_static)
void sxbm2_to_c (FILE *file_descr, SXBA *bits_matrix, SXBA_INDEX line_nb, char *name1, char *name2, SXBOOLEAN is_static)
void sxbm3header_to_c (SXBA_INDEX *repr, FILE *file_descr, SXBA *bits_matrix, SXBA_INDEX line_nb, char *name1, char *name2)
void sxbm3core_to_c (SXBA_INDEX *repr, FILE *file_descr, SXBA_INDEX line_nb, char *name1, char *name2, SXBOOLEAN is_static)
void sxbm3_to_c (FILE *file_descr, SXBA *bits_matrix, SXBA_INDEX line_nb, char *name1, char *name2, SXBOOLEAN is_static)
void sxbm_empty (SXBA *bits_matrix, SXBA_INDEX line_nb)

Variables

char WHAT_SXBITSMATRIX [] = "@(#)SYNTAX - $Id: sxbitsmatrix.c 1602 2008-09-22 14:50:08Z syntax $" WHAT_DEBUG

Function Documentation

void sxbm2_to_c ( FILE *  file_descr,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb,
char name1,
char name2,
SXBOOLEAN  is_static 
)

Definition at line 205 of file sxbitsmatrix.c.

References sxba32_to_c(), sxba64_to_c(), sxba_cast(), SXBITS_PER_LONG, and sxtrap().

void sxbm3_to_c ( FILE *  file_descr,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb,
char name1,
char name2,
SXBOOLEAN  is_static 
)

Definition at line 359 of file sxbitsmatrix.c.

References sxbm3core_to_c(), and sxbm3header_to_c().

void sxbm3core_to_c ( SXBA_INDEX *  repr,
FILE *  file_descr,
SXBA_INDEX  line_nb,
char name1,
char name2,
SXBOOLEAN  is_static 
)

Definition at line 337 of file sxbitsmatrix.c.

Referenced by sxbm3_to_c().

void sxbm3header_to_c ( SXBA_INDEX *  repr,
FILE *  file_descr,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb,
char name1,
char name2 
)
SXBA* sxbm_calloc ( SXBA_INDEX  lines_number,
SXBA_INDEX  bits_number 
)
void sxbm_empty ( SXBA *  bits_matrix,
SXBA_INDEX  line_nb 
)

Definition at line 374 of file sxbitsmatrix.c.

void sxbm_free ( SXBA *  bits_matrix  ) 
SXBOOLEAN sxbm_read ( sxfiledesc_t  file,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb 
)

Definition at line 158 of file sxbitsmatrix.c.

References sxba_read(), SXBOOLEAN, and SXTRUE.

Referenced by sxre_read(), and sxsubset_read().

SXBA* sxbm_resize ( SXBA *  bits_matrix,
SXBA_INDEX  old_lines_number,
SXBA_INDEX  new_lines_number,
SXBA_INDEX  new_bits_number 
)
void sxbm_to_c ( FILE *  file_descr,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb,
char name1,
char name2,
SXBOOLEAN  is_static 
)

Definition at line 171 of file sxbitsmatrix.c.

References sxba_to_c(), and SXTRUE.

Referenced by sxre_array_to_c(), and sxsubset_array_to_c().

SXBOOLEAN sxbm_write ( sxfiledesc_t  file,
SXBA *  bits_matrix,
SXBA_INDEX  line_nb 
)

Definition at line 146 of file sxbitsmatrix.c.

References sxba_write(), SXBOOLEAN, and SXTRUE.

Referenced by sxre_write(), and sxsubset_write().


Variable Documentation

char WHAT_SXBITSMATRIX[] = "@(#)SYNTAX - $Id: sxbitsmatrix.c 1602 2008-09-22 14:50:08Z syntax $" WHAT_DEBUG

Definition at line 39 of file sxbitsmatrix.c.


Generated on Wed Apr 21 16:39:37 2010 for syntax-6.0b7 by  doxygen 1.6.1