Searched refs:arc_token_list_len (Results 1 – 5 of 5) sorted by relevance
/external/srec/srec/Semproc/src/ |
D | SemanticGraphImpl.c | 555 semgraph->arc_token_list_len = (arcID)max_num_arc_tokens; in SR_SemanticGraph_LoadFromTextFiles() 1092 tmp_arc_token_list_len = impl->arc_token_list_len * FST_GROW_FACTOR; in SR_SemanticGraph_AddWordToSlot() 1093 if(tmp_arc_token_list_len - impl->arc_token_list_len <=FST_GROWARCS_MIN) in SR_SemanticGraph_AddWordToSlot() 1101 memcpy(tmp_arc_token_list,impl->arc_token_list, impl->arc_token_list_len*sizeof(arc_token)); in SR_SemanticGraph_AddWordToSlot() 1114 impl->arc_token_freelist = tmp_arc_token_list + impl->arc_token_list_len; in SR_SemanticGraph_AddWordToSlot() 1120 for (i = impl->arc_token_list_len; i < tmp_arc_token_list_len - 1; i++) in SR_SemanticGraph_AddWordToSlot() 1128 impl->arc_token_list_len = tmp_arc_token_list_len; in SR_SemanticGraph_AddWordToSlot() 1213 impl->arc_token_list_len = (size_t)(impl->arc_token_insert_start - impl->arc_token_list); in SR_SemanticGraph_Reset() 1214 tmp_arc_token_list= NEW_ARRAY(arc_token,impl->arc_token_list_len, L("semgraph.wordgraph")); in SR_SemanticGraph_Reset() 1215 memcpy(tmp_arc_token_list,impl->arc_token_list, impl->arc_token_list_len*sizeof(arc_token)); in SR_SemanticGraph_Reset() [all …]
|
/external/srec/srec/Semproc/include/ |
D | SR_SemanticGraphImpl.h | 107 arcID arc_token_list_len; member
|
/external/srec/srec/include/ |
D | srec_context.h | 142 arcID arc_token_list_len; member
|
/external/srec/srec/crec/ |
D | srec_context.c | 1886 context->arc_token_list_len = num_alloc_arc_tokens; in FST_LoadReverseWordGraph() 2746 size += sizeof(arc_token) * context->arc_token_list_len; in FST_ContextImageSize() 2927 if (pfwrite(&context->arc_token_list_len, 2, 1, fp) != 1) in serializeArcTokenInfo() 2940 for (i = 0; i < context->arc_token_list_len; ++i) in serializeArcTokenInfo() 2981 if (pfread(&context->arc_token_list_len, 2, 1, fp) != 1) { in deserializeArcTokenInfo() 2986 context->arc_token_list = NEW_ARRAY(arc_token, context->arc_token_list_len, in deserializeArcTokenInfo() 3010 for (i = 0; i < context->arc_token_list_len; ++i) in deserializeArcTokenInfo() 3499 fst->arc_token_list_len = fst->olabels->num_words + 2 - NUM_ITEMLIST_HDRWDS; in FST_LoadContextFromImageV2() 3500 atl = NEW_ARRAY(arc_token, fst->arc_token_list_len, L("srec.graph.wordgraph")); in FST_LoadContextFromImageV2() 3507 final = atl + fst->arc_token_list_len - 1; in FST_LoadContextFromImageV2() [all …]
|
D | astar.c | 666 arcID arc_token_list_len; in astar_stack_do_backwards_search() local 680 arc_token_list_len = rec->context->arc_token_list_len; in astar_stack_do_backwards_search()
|