Lines Matching refs:to_trim
2295 static void ZapEndOfFixedArray(Address new_end, int to_trim) {
2299 for (int i = 1; i < to_trim; i++) {
2306 static void RightTrimFixedArray(Heap* heap, FixedArray* elms, int to_trim) {
2313 ASSERT(to_trim < len);
2315 Address new_end = elms->address() + FixedArray::SizeFor(len - to_trim);
2318 ZapEndOfFixedArray(new_end, to_trim);
2321 int size_delta = to_trim * kPointerSize;
2328 elms->set_length(len - to_trim);
9329 int to_trim = enum_cache->length() - live_enum;
9330 if (to_trim <= 0) return;
9331 RightTrimFixedArray<FROM_GC>(heap, descriptors->GetEnumCache(), to_trim);
9335 RightTrimFixedArray<FROM_GC>(heap, enum_indices_cache, to_trim);
9344 int to_trim = number_of_descriptors - number_of_own_descriptors;
9345 if (to_trim == 0) return;
9348 heap, descriptors, to_trim * DescriptorArray::kDescriptorSize);