Lines Matching full:solution
260 dictItem solution; in ZDICT_analyzePos() local
263 memset(&solution, 0, sizeof(solution)); in ZDICT_analyzePos()
277 return solution; in ZDICT_analyzePos()
301 return solution; in ZDICT_analyzePos()
384 if (maxLength < MINMATCHLENGTH) return solution; /* skip : no long-enough solution */ in ZDICT_analyzePos()
394 solution.pos = (U32)pos; in ZDICT_analyzePos()
395 solution.length = (U32)maxLength; in ZDICT_analyzePos()
396 solution.savings = savings[maxLength]; in ZDICT_analyzePos()
404 length = solution.length; in ZDICT_analyzePos()
407 if (length > solution.length) length = solution.length; in ZDICT_analyzePos()
414 return solution; in ZDICT_analyzePos()
599 dictItem solution; in ZDICT_trainBuffer_legacy() local
601 …solution = ZDICT_analyzePos(doneMarks, suffix, reverseSuffix[cursor], buffer, minRatio, notificati… in ZDICT_trainBuffer_legacy()
602 if (solution.length==0) { cursor++; continue; } in ZDICT_trainBuffer_legacy()
603 ZDICT_insertDictItem(dictList, dictListSize, solution, buffer); in ZDICT_trainBuffer_legacy()
604 cursor += solution.length; in ZDICT_trainBuffer_legacy()