Lines Matching defs:dst
93 static inline PolyWord *FindFreeAndAllocate(LocalMemSpace *dst, POLYUNSIGNED limit, POLYUNSIGNED n)
95 if (dst == 0) return 0; // No current space
109 for (unsigned i = dst->start_index; i < truncated_n; i ++)
111 if (dst->start[i] < dst->start[i+1])
112 dst->start[i+1] = dst->start[i];
115 dst->start_index = truncated_n;
116 POLYUNSIGNED start = dst->start[truncated_n];
121 POLYUNSIGNED free = dst->bitmap.FindFree(limit, start, n);
127 dst->start[n] = free == start ? 0 : free;
133 dst->bitmap.SetBits(free, n);
135 PolyWord *newp = dst->wordAddr(free); /* New object address */
137 // Update dst->upperAllocPtr, so the new object doesn't get trampled.
138 if (newp < dst->upperAllocPtr)
139 dst->upperAllocPtr = newp;
187 static bool FindNextSpace(LocalMemSpace *src, LocalMemSpace **dst, bool isMutable, GCTaskId *id)
191 if (*dst == src)
193 if (*dst != 0)
196 while (*m != *dst) m++;
205 *dst = src;
216 *dst = lSpace; // Return the space