Doxygen Source Code Documentation
killer.h File Reference
#include "mcw_malloc.h"Go to the source code of this file.
| Data Structures | |
| struct | KILL_list | 
| Defines | |
| #define | KILL_INC 32 | 
| #define | INIT_KILL(kl) ((kl).num=0, (kl).nalloc=0, (kl).kill=NULL) | 
| #define | ADDTO_KILL(kl, p) | 
| #define | SINGLE_KILL(kl, p) | 
| #define | REMOVEFROM_KILL(kl, p) | 
| #define | REPLACE_KILL(kl, pold, pnew) | 
| #define | KILL_KILL(kl) | 
Define Documentation
| 
 | 
| Value: {  if( (kl).num == (kl).nalloc ){                                 \
       (kl).nalloc += KILL_INC ;                                   \
       (kl).kill    = (char **) XtRealloc( (char *) (kl).kill ,    \
                                  sizeof(char *) * (kl).nalloc ) ; \
    }                                                              \
    (kl).kill[(kl).num++] = (char *) p ;                           \
 }Definition at line 35 of file killer.h. Referenced by adwarp_follower_dataset(), AFNI_copy_statistics(), AFNI_dataset_slice(), AFNI_follower_dataset(), AFNI_init_warp(), AFNI_make_widgets(), duplicate_dataset(), EDIT_empty_copy(), EDIT_empty_datablock(), r_fill_resampled_data_brick(), TAG_save_CB(), THD_3dim_from_block(), THD_copy_dset_subs(), THD_datablock_apply_atr(), THD_init_one_datablock(), THD_load_statistics(), THD_read_all_atr(), THD_set_atr(), THD_update_one_bstat(), and THD_update_statistics(). | 
| 
 | 
| initialize a new kill list * Definition at line 31 of file killer.h. Referenced by adwarp_follower_dataset(), AFNI_follower_dataset(), AFNI_init_warp(), AFNI_read_images(), duplicate_dataset(), EDIT_empty_copy(), EDIT_empty_datablock(), T3D_read_images(), THD_3dim_from_block(), and THD_init_one_datablock(). | 
| 
 | 
| 
 | 
| 
 | 
| Value: {                                                    \
      int qwer ;                                                           \
      for( qwer=0 ; qwer < (kl).num ; qwer++ ) myXtFree((kl).kill[qwer]) ; \
      myXtFree( (kl).kill) ;                                               \
      INIT_KILL(kl) ;                                                      \
   }Definition at line 83 of file killer.h. Referenced by THD_delete_3dim_dataset(), and THD_delete_datablock(). | 
| 
 | 
| Value: {  char * cp = (char *) (p) ;               \
      int qwer ;                               \
      for( qwer=0 ; qwer < (kl).num ; qwer++ ) \
         if( cp == (kl).kill[qwer] ){          \
            (kl).kill[qwer] = NULL ; break ;   \
         }                                     \
   }Definition at line 58 of file killer.h. Referenced by main(). | 
| 
 | 
| Value: {  char * cpold = (char *) (pold) ;               \
      char * cpnew = (char *) (pnew) ;               \
      int qwer ;                                     \
      for( qwer=0 ; qwer < (kl).num ; qwer++ )       \
         if( cpold == (kl).kill[qwer] ){             \
            (kl).kill[qwer] = cpnew ; break ;        \
         }                                           \
      if( qwer == (kl).num ) ADDTO_KILL((kl),pnew) ; \
   }Definition at line 70 of file killer.h. Referenced by THD_load_statistics(), THD_setup_mastery(), THD_update_one_bstat(), and THD_update_statistics(). | 
| 
 | 
| Value: {  char * cp = (char *) (p) ;                            \
      int qwer ;                                            \
      for( qwer=0 ; qwer < (kl).num ; qwer++ )              \
         if( cp == (kl).kill[qwer] ){                       \
            myXtFree(cp) ; (kl).kill[qwer] = NULL ; break ; \
         }                                                  \
   }Definition at line 47 of file killer.h. Referenced by AFNI_marks_transform_CB(), THD_erase_all_atr(), THD_erase_one_atr(), and THD_set_atr(). | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  