#include <sent/stddefs.h>
mybmalloc.cのインクルード依存関係図

マクロ定義 | |
| #define | MYBMALLOC_LINKED 1 | 
| Use improved version that enables freeing.  | |
型定義 | |
| typedef _linked_buffer * | LINKED_BUFFER | 
| Linked data structure to hold malloced areas.  | |
関数 | |
| void | mybmalloc_set_param () | 
| void * | mybmalloc (int size) | 
| void | mybmalloc_free (void) | 
| char * | mybstrdup (char *s) | 
| void * | mybmalloc2 (int size, BMALLOC_BASE **list) | 
| void | mybfree2 (BMALLOC_BASE **list) | 
変数 | |
| static boolean | mybmalloc_initialized = FALSE | 
| TRUE if mybmalloc has already initialized.  | |
| static char * | current = NULL | 
| Pointer to the current block.  | |
| static char * | nowp = NULL | 
| Pointer to the current allocating point in the block.  | |
| static char * | endp = NULL | 
| Pointer at the end of the current block.  | |
| static unsigned int | blocksize | 
| Block size in bytes.  | |
| static int | align | 
| Allocation alignment size in bytes.  | |
| static unsigned int | align_mask | 
| Bit mask to compute the actual aligned memory size.  | |
| static LINKED_BUFFER | first_linked_buffer = NULL | 
| Pointer to the first linked buffer.  | |
| static LINKED_BUFFER | last_linked_buffer = NULL | 
| Pointer to the last linked buffer.  | |
mybmalloc.c で定義されています。
      
  | 
  
| 
 Set block size and memory alignment factor. mybmalloc.c の 70 行で定義されています。 参照元 mybmalloc(), mybmalloc2(), と system_bootup().  | 
  
      
  | 
  
| 
 Malloc specified size and return the pointer. 
 
 
 mybmalloc.c の 102 行で定義されています。 参照元 add_to_error(), calc_tied_mix_init(), cdset_new(), dens_new(), dens_read(), gms_gprune_init(), hmm_add_physical_to_logical(), hmm_add_pseudo_phones_sub(), htk_hmmdata_new(), htk_hmmdata_read(), make_hmm_basephone_list(), mybstrdup(), rd_data(), rd_dens(), rd_state(), rd_tmix(), rd_trans(), rd_var(), rdhmmlist(), rdn_str(), state_new(), state_read(), tmix_create_codebook_index(), tmix_read(), trans_new(), trans_read(), と var_read().  | 
  
      
  | 
  
| 
 Free all the allocated area. mybmalloc.c の 180 行で定義されています。  | 
  
      
  | 
  
| 
 String duplication using mybmalloc(). 
 
 
 mybmalloc.c の 210 行で定義されています。 参照元 rdhmmdef(), rdhmmlist(), regist_cdset(), と tmix_read().  | 
  
      
  | 
  ||||||||||||
| 
 Another version of memory block allocation, used for tree lexicon. 
 
 
 mybmalloc.c の 228 行で定義されています。 参照元 add_wacc(), wchmm_add_word(), と wchmm_duplicate_state().  | 
  
      
  | 
  
| 
 Free all memories allocated by mybmalloc2() 
 
 mybmalloc.c の 262 行で定義されています。 参照元 wchmm_free().  | 
  
 1.4.2