Searched refs:index_leftContinuity (Results 1 – 1 of 1) sorted by relevance
454 int32 index_leftContinuity = -1, index_rightContinuity = -1; in reclaim() local455 searchSegmentContinuity(aMemChunk, index_leftContinuity, index_rightContinuity); in reclaim()458 return doMerge(aMemChunk, index_leftContinuity, index_rightContinuity); in reclaim()473 …void searchSegmentContinuity(OsclMemoryFragment *aMemChunk, int32 &index_leftContinuity, int32 &in… in searchSegmentContinuity() argument482 index_leftContinuity = (int32)i; in searchSegmentContinuity()490 if (index_leftContinuity >= 0 && index_rightContinuity >= 0) break; in searchSegmentContinuity()504 …bool doMerge(OsclMemoryFragment *aMemChunk, const int32 index_leftContinuity, const int32 index_ri… in doMerge() argument506 if (index_leftContinuity < 0 && index_rightContinuity < 0) in doMerge()515 if (index_leftContinuity >= 0 && index_rightContinuity >= 0) // merge three segments in doMerge()518 …iFreeMemChunkList[index_leftContinuity].len += (aMemChunk->len + iFreeMemChunkList[index_rightCont… in doMerge()[all …]