/external/srec/srec/include/ |
srec_context.h | 191 int FST_DumpWordMap(PFile* fp, wordmap* wmap); 222 int wordmap_whether_in_rule(wordmap* wmap, wordID word, wordID rule); 223 wordID wordmap_find_index(wordmap* wmap, const char* word); 224 wordID wordmap_find_index_in_rule(wordmap* wmap, const char* word, wordID rule); 225 wordID wordmap_find_rule_index(wordmap* wmap, const char* rule); 228 wordID wordmap_add_word(wordmap* wmap, const char* word); 229 void wordmap_reset(wordmap* wmap); 230 void wordmap_setbase(wordmap* wmap); 231 void wordmap_ceiling(wordmap* wmap); 232 wordID wordmap_add_word_in_rule(wordmap* wmap, const char* word, wordID rule) [all...] |
/external/srec/srec/crec/ |
srec_context.c | 340 /* *pwmap->words = (ptr32*) CALLOC_CLR(wmap->max_words, sizeof(ptr32), "graph.wordmap.words"); */ 369 wordID wordmap_add_word(wordmap* wmap, const char* word); 379 wordmap* wmap; local 394 wordmap_create(&wmap, num_chars, num_words, num_words_to_add); 405 wm_wID = wordmap_add_word(wmap, word); 408 ASSERT(wmap->num_words == num_words); 412 if (!IS_SLOT_OLABEL(wmap->words[my_wID])) 415 wmap->num_slots = my_wID; 416 wordmap_setbase(wmap); 417 *pwmap = wmap; [all...] |
astar.c | 74 wordmap* wmap = context->olabels; local 104 else if (atoken->ilabel < wmap->num_slots) 106 if (wordmap_whether_in_rule(wmap, word, atoken->ilabel)) 146 printf(" W%d(%s)", tmp->ilabel, tmp->ilabel != MAXwordID ? wmap->words[tmp->ilabel] : ""); 155 else if (tmp->ilabel < wmap->num_slots) 157 if (wordmap_whether_in_rule(wmap, word, tmp->ilabel)) 175 wordmap* wmap = context->olabels; local 176 wordID wdid = wordmap_find_index(wmap, word); 219 else if (tmp->ilabel < wmap->num_slots) 221 wdid = wordmap_find_index_in_rule(wmap, word, tmp->ilabel) [all...] |
/external/srec/tools/parseStringTest/ |
parseStringTest.c | 111 wordmap* wmap; local 119 wmap = pgrammar->syntax->synx->olabels; 121 for (id = 4; id < wmap->num_words; id++) 123 trans = wmap->words[id]; 144 wmap = pgrammar->syntax->synx->olabels; 149 for (i = 0; i < wmap->num_words; i++) 150 if (!strcmp(wmap->words[i], p)) 155 if (i == wmap->num_words) 165 printf(" %d/%s", *wordIDptr, wmap->words[*wordIDptr]);
|
/external/grub/stage2/ |
jfs.h | 596 u32 wmap[EXTSPERIAG]; /* 512: working allocation map */ member in struct:__anon21187
|