area_stuff.c File Reference

#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include "gen.h"

Defines

#define rec_free   __rec_free
#define EXPECT_NAME   "expect"

Functions

t_recrec_alloc (void)
int cmp (t_rec *rec1, t_rec *rec2)
void __rec_free (t_rec *rec)
void rec_alloc_multi (t_rec **recs, int nalloc)
void rec_free_multi (t_rec **recs, int nalloc)
void rec_free_unused (t_rec **recs, int nunused)
int coalesce (void *data1, void *data2)
void print (void *data)
void copy (void *data_src, void *data_dst)
void del_area (u_int32_t addr, int nb_blks)
void mod_area (u_int32_t addr, int nb_blks)
void raw_add_area (u_int32_t addr, int nb_blks)
void add_area ()
void coal_area ()
void try_coal_area ()
int add_cmd (t_list *args, void *data)
int coal_cmd (t_list *args, void *data)
int try_coal_cmd (t_list *args, void *data)
int del_cmd (t_list *args, void *data)
int del_rand_area_foreach_fn (t_area *tmp, void *val)
int del_rand_area (int nb)
int del_rand_cmd (t_list *args, void *data)
int mod_cmd (t_list *args, void *data)
int raw_add_cmd (t_list *args, void *data)
int gen_foreach_fn (t_area *tmp, void *val)
int gen ()
int check_foreach_fn (t_area *tmp, void *val)
int check ()
int status (int do_fatal, int do_print)
int status_cmd (t_list *args, void *data)
int fit_cmd (t_list *args, void *data)
int fitopts_cmd (t_list *args, void *data)
int rand_color_cmd (t_list *args, void *data)
int rand_nb_blks_cmd (t_list *args, void *data)
int color_cmd (t_list *args, void *data)
int nb_blks_cmd (t_list *args, void *data)
int expect_cmd (t_list *args, void *data)
int line_parse (t_list *args, void *data)
void do_script (char *fname)

Variables

int vflag
t_area_setarea_set
Widget area_setw
Boolean do_rand_color
int selected_color
Boolean do_rand_nb_blks
int selected_nb_blks
t_area_fit_method fit_method
int stop_at
u_int32_t fitopts = 0u
t_list * recs = NULL
t_line_parse_context * lpc
Boolean auto_status = True
t_area_status gl_area_status = 0
int gl_count = 0
int found
int gl_i
int gl_pos
t_areagl_prv = NULL
struct {
   char *   name
   t_line_parse_fun   fn
   t_sys_fn   fn
   char *   name
cmds []

Define Documentation

#define EXPECT_NAME   "expect"
 

#define rec_free   __rec_free
 


Function Documentation

void __rec_free t_rec rec  ) 
 

void add_area  ) 
 

int add_cmd t_list *  args,
void *  data
 

int check void   ) 
 

int check_foreach_fn t_area tmp,
void *  val
 

int cmp t_rec rec1,
t_rec rec2
 

void coal_area  ) 
 

int coal_cmd t_list *  args,
void *  data
 

int coalesce void *  data1,
void *  data2
 

int color_cmd t_list *  args,
void *  data
 

void copy void *  data_src,
void *  data_dst
 

void del_area u_int32_t  addr,
int  nb_blks
 

int del_cmd t_list *  args,
void *  data
 

int del_rand_area int  nb  ) 
 

int del_rand_area_foreach_fn t_area tmp,
void *  val
 

int del_rand_cmd t_list *  args,
void *  data
 

void do_script char *  fname  ) 
 

int expect_cmd t_list *  args,
void *  data
 

int fit_cmd t_list *  args,
void *  data
 

int fitopts_cmd t_list *  args,
void *  data
 

int gen  ) 
 

int gen_foreach_fn t_area tmp,
void *  val
 

int line_parse t_list *  args,
void *  data
 

void mod_area u_int32_t  addr,
int  nb_blks
 

int mod_cmd t_list *  args,
void *  data
 

int nb_blks_cmd t_list *  args,
void *  data
 

void print void *  data  ) 
 

int rand_color_cmd t_list *  args,
void *  data
 

int rand_nb_blks_cmd t_list *  args,
void *  data
 

void raw_add_area u_int32_t  addr,
int  nb_blks
 

int raw_add_cmd t_list *  args,
void *  data
 

t_rec* rec_alloc void   ) 
 

void rec_alloc_multi t_rec **  recs,
int  nalloc
 

void rec_free_multi t_rec **  recs,
int  nalloc
 

void rec_free_unused t_rec **  recs,
int  nunused
 

int status int  do_fatal,
int  do_print
 

int status_cmd t_list *  args,
void *  data
 

void try_coal_area  ) 
 

int try_coal_cmd t_list *  args,
void *  data
 


Variable Documentation

t_area_set* area_set
 

Widget area_setw
 

Boolean auto_status = True
 

struct { ... } cmds[]
 

Boolean do_rand_color
 

Boolean do_rand_nb_blks
 

t_area_fit_method fit_method
 

u_int32_t fitopts = 0u
 

t_line_parse_fun fn
 

int found
 

t_area_status gl_area_status = 0
 

int gl_count = 0
 

int gl_i
 

int gl_pos
 

t_area* gl_prv = NULL
 

t_line_parse_context* lpc
 

char* name
 

t_list* recs = NULL
 

int selected_color
 

int selected_nb_blks
 

int stop_at
 

int vflag
 


Generated on Wed May 24 23:06:00 2006 for LSE/OS by  doxygen 1.4.6