Searched refs:awtoken (Results 1 – 5 of 5) sorted by relevance
272 altword_token* awtoken = NULL; in initialize_free_altword_tokens() local275 awtoken = rec->altword_token_array + i; in initialize_free_altword_tokens()276 awtoken->next_token = awtoken + 1; in initialize_free_altword_tokens()277 awtoken->costdelta = MAXcostdata; in initialize_free_altword_tokens()278 awtoken->refcount = 0; in initialize_free_altword_tokens()279 awtoken->costbasis = 0; in initialize_free_altword_tokens()282 awtoken->next_token = NULL; in initialize_free_altword_tokens()302 altword_token* awtoken = rec->altword_token_freelist; in get_free_altword_token() local307 if (!awtoken /*&& what_to_do_if_fails==NULL_IF_NO_TOKENS*/) in get_free_altword_token()308 return awtoken; in get_free_altword_token()[all …]
82 altword_token *awtoken, *next_awtoken; in reprune_altword_token_batch() local95 for (awtoken = batch->next_token; awtoken != AWTNULL; awtoken = next_awtoken) in reprune_altword_token_batch()97 next_awtoken = awtoken->next_token; in reprune_altword_token_batch()98 if ((bigcostdata)batch->costbasis + awtoken->costdelta > costlimit) in reprune_altword_token_batch()100 (*awtokenp) = awtoken->next_token; in reprune_altword_token_batch()101 awtoken->refcount = 1; /* to make sure it frees */ in reprune_altword_token_batch()102 free_altword_token(rec, awtoken); in reprune_altword_token_batch()105 awtokenp = &awtoken->next_token; in reprune_altword_token_batch()117 awtoken = batch->next_token; in reprune_altword_token_batch()118 batch->costdelta = awtoken->costdelta; in reprune_altword_token_batch()[all …]
26 static char* sprint_altwords(srec* rec, altword_token* awtoken, char* buf) in sprint_altwords() argument30 if (awtoken == AWTNULL) buf[0] = 0; in sprint_altwords()33 for (; awtoken; awtoken = awtoken->next_token) in sprint_altwords()35 bufp += sprintf(bufp, "%d,", awtoken->word); in sprint_altwords()36 ASSERT(awtoken->costdelta != MAXcostdata); in sprint_altwords()
87 altword_token* awtoken; in srec_stats_update() local128 for (num = 0, awtoken = rec->altword_token_freelist; awtoken; awtoken = awtoken->next_token) in srec_stats_update()
690 altword_token* awtoken; local726 for (awtoken = stoken->aword_backtrace[i]; awtoken;727 awtoken = awtoken->next_token)729 btindex = awtoken->word_backtrace;