Home
last modified time | relevance | path

Searched refs:num_words (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/
Dv8utils.h124 inline void CopyWords(T* dst, T* src, int num_words) { in CopyWords() argument
126 ASSERT(Min(dst, src) + num_words <= Max(dst, src)); in CopyWords()
127 ASSERT(num_words > 0); in CopyWords()
133 if (num_words >= kBlockCopyLimit) { in CopyWords()
134 memcpy(dst, src, num_words * kPointerSize); in CopyWords()
136 int remaining = num_words; in CopyWords()
/external/srec/srec/crec/
Dsrec_context.c140 static ESR_ReturnCode wordmap_populate ( wordmap *word_map, wordID num_words );
151 if (context->olabels->num_words < 2) return 0; in FST_IsVoiceEnrollment()
331 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add) in wordmap_create() argument
338 Interface->max_words = (wordID)(num_words + num_words_to_add); in wordmap_create()
339 Interface->num_words = (wordID)0; in wordmap_create()
351 hashArgs.capacity = num_words + num_words_to_add + 10; in wordmap_create()
375 int num_words; in FST_LoadWordMap() local
382 for (num_words = 0, num_chars = 0; pfgets(buf, MAX_LINE_LENGTH, fp); num_words++) in FST_LoadWordMap()
387 num_chars += num_words * 2; /* for null terminators */ in FST_LoadWordMap()
394 wordmap_create(&wmap, num_chars, num_words, num_words_to_add); in FST_LoadWordMap()
[all …]
Dsrec_results.c371 frameID num_words; in srec_nbest_get_choice_info() local
373 for (num_words = 0 ; parp; parp = parp->next) in srec_nbest_get_choice_info()
381 num_words--; in srec_nbest_get_choice_info()
389 num_words--; in srec_nbest_get_choice_info()
391 num_words++; in srec_nbest_get_choice_info()
399 …speech_frames_cost = speech_frames_cost - (num_words + 1) * (rec->context->wtw_average - WTW_AT_NN… in srec_nbest_get_choice_info()
422 *infoval = num_words; in srec_nbest_get_choice_info()
Dsrec_debug.c60 if (ftoken->word < rec->context->olabels->num_words) in print_fsmnode_token()
111 if (wordids[i] < context->olabels->num_words) p = context->olabels->words[wordids[i]]; in print_fsmarc_token()
Dword_lattice.c123 if (wtoken->word < rec->context->olabels->num_words) in print_word_token_backtrace()
160 if (wtoken->word < rec->context->olabels->num_words) in sprint_bword_token_backtrace()
258 if (wtoken->word < rec->context->olabels->num_words) in sprint_word_token_backtrace()
315 if (wtoken->word < rec->context->olabels->num_words) in print_word_token()
/external/srec/srec/ca/
Dcnfd_scr.c212 asr_int32_t gsm_cost = 0, am_index = 0, num_words = 0; in CA_ConfScorerGetFeatures() local
262 srec_nbest_get_choice_info(nbestlist, choice_number, &num_words, "num_words"); in CA_ConfScorerGetFeatures()
282 srec_nbest_get_choice_info(nbestlist, 0, &num_words, "num_words"); in CA_ConfScorerGetFeatures()
290 printf(" nwords0(%d)", num_words); in CA_ConfScorerGetFeatures()
/external/chromium/chrome/browser/history/
Dquery_parser.cc188 int num_words = 0; in AppendChildrenToString() local
193 num_words += (*node)->AppendToSQLiteQuery(query); in AppendChildrenToString()
195 return num_words; in AppendChildrenToString()
203 int num_words = AppendChildrenToString(query); in AppendToSQLiteQuery() local
205 return num_words; in AppendToSQLiteQuery()
/external/srec/srec/include/
Dsrec_context.h49 wordID num_words; member
226 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add);
/external/chromium/net/disk_cache/
Dbitmap.h25 Bitmap(uint32* map, int num_bits, int num_words);
Dbitmap.cc54 Bitmap::Bitmap(uint32* map, int num_bits, int num_words) in Bitmap() argument
59 array_size_(std::min(RequiredArraySize(num_bits), num_words)), in Bitmap()
/external/srec/tools/test_g2g/
Dtest_g2g.c227 fst->olabels->num_words, fst->olabels->max_words, in CheckG2G()
240 if(wordid >= fst->olabels->num_words) { in CheckG2G()
242 fst->olabels->num_words, wordid); in CheckG2G()
/external/srec/tools/parseStringTest/
DparseStringTest.c121 for (id = 4; id < wmap->num_words; id++) in Parse()
149 for (i = 0; i < wmap->num_words; i++) in Parse()
155 if (i == wmap->num_words) in Parse()
/external/srec/srec/Semproc/src/
DSemanticProcessorImpl.c1188 if (wdID < mid_offset && wdID < semgraph->ilabels->num_words) in lookUpWord()
1195 if (wdID >= 0 && wdID < mid_words->num_words) in lookUpWord()
1201 if (wdID >= 0 && wdID < upper_words->num_words) in lookUpWord()
1214 if (index > semgraph->scripts->num_words) in lookUpScript()
DSemanticGraphImpl.c663 if (expected_ilabel != impl->ilabels->num_words) in sr_semanticgraph_get_type()
728 for (i = NUM_ITEMLIST_HDRWDS; i < impl->ilabels->num_words; i++) in sr_semanticgraph_saveV2()
1210 if(impl->ilabels->num_words == impl->ilabels->num_base_words) in SR_SemanticGraph_Reset()