Searched refs:spelling_buf_ (Results 1 – 6 of 6) sorted by relevance
59 spelling_buf_ = NULL; in SpellingTrie()81 if (NULL != spelling_buf_) in ~SpellingTrie()82 delete [] spelling_buf_; in ~SpellingTrie()288 if (spelling_arr != spelling_buf_) { in construct()289 if (NULL != spelling_buf_) in construct()290 delete [] spelling_buf_; in construct()291 spelling_buf_ = new char[item_size * item_num]; in construct()292 if (NULL == spelling_buf_) in construct()294 memcpy(spelling_buf_, spelling_arr, sizeof(char) * item_size * item_num); in construct()316 qsort(spelling_buf_, spelling_num_, spelling_size_, compare_spl); in construct()[all …]
70 spelling_buf_ = NULL; in SpellingTable()103 if (NULL != spelling_buf_) in free_resource()104 delete [] spelling_buf_; in free_resource()105 spelling_buf_ = NULL; in free_resource()124 spelling_buf_ = new char[spelling_max_num_ * (spelling_size_)]; in init_table()125 if (NULL == raw_spellings_ || NULL == spelling_buf_) { in init_table()131 memset(spelling_buf_, 0, spelling_max_num_ * (spelling_size_)); in init_table()186 if (NULL == spelling_str || NULL == spelling_buf_ || frozen_) in contain()218 if (NULL == raw_spellings_ || NULL == spelling_buf_ || in arrange()228 strncpy(spelling_buf_ + pos * spelling_size_, raw_spellings_[pos].str, in arrange()[all …]
52 char *spelling_buf_; variable
59 char *spelling_buf_; variable