Home
last modified time | relevance | path

Searched refs:bestSegment (Results 1 – 2 of 2) sorted by relevance

/external/zstd/lib/dictBuilder/
Dcover.c414 COVER_segment_t bestSegment = {0, 0, 0}; in COVER_selectSegment() local
455 if (activeSegment.score > bestSegment.score) { in COVER_selectSegment()
456 bestSegment = activeSegment; in COVER_selectSegment()
461 U32 newBegin = bestSegment.end; in COVER_selectSegment()
462 U32 newEnd = bestSegment.begin; in COVER_selectSegment()
464 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in COVER_selectSegment()
471 bestSegment.begin = newBegin; in COVER_selectSegment()
472 bestSegment.end = newEnd; in COVER_selectSegment()
477 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in COVER_selectSegment()
481 return bestSegment; in COVER_selectSegment()
Dfastcover.c159 COVER_segment_t bestSegment = {0, 0, 0}; in FASTCOVER_selectSegment() local
196 if (activeSegment.score > bestSegment.score) { in FASTCOVER_selectSegment()
197 bestSegment = activeSegment; in FASTCOVER_selectSegment()
211 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in FASTCOVER_selectSegment()
217 return bestSegment; in FASTCOVER_selectSegment()