Searched refs:chunk_size (Results 1 – 7 of 7) sorted by relevance
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 354 size_t chunk_size = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); in MSpaceChunkCallback() local 355 if (used_bytes < chunk_size) { in MSpaceChunkCallback() 356 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 509 size_t chunk_size = std::min<uint64_t>(buffer_size, size); in Copy() local 510 if (!input_file->ReadFully(buffer.get(), chunk_size) || in Copy() 511 !WriteFully(buffer.get(), chunk_size)) { in Copy() 514 size -= chunk_size; in Copy()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 595 size_t chunk_size = GetSpillChunkSize(dests, srcs, i, xtemp.IsValid()); in MoveArguments() local 596 DCHECK_NE(chunk_size, 0u); in MoveArguments() 597 if (chunk_size == 1u) { in MoveArguments() 606 DCHECK_EQ(chunk_size, 2u); in MoveArguments() 610 } else if (UseStrdForChunk(srcs, i, chunk_size)) { in MoveArguments() 614 } else if (UseVstrForChunk(srcs, i, chunk_size)) { in MoveArguments() 630 uint32_t core_reg_mask = GetCoreRegisterMask(srcs.SubArray(i, chunk_size)); in MoveArguments() 634 const ArgumentLocation& last_dest = dests[i + chunk_size - 1u]; in MoveArguments() 650 i += chunk_size; in MoveArguments()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 170 uint32_t chunk_size = gap_size - num_small_chunks * kSmallChunkSize; in Create2MethodsWithGap() local 173 chunk_size - CodeAlignmentSize(chunk_start) - sizeof(OatQuickMethodHeader); in Create2MethodsWithGap() 177 chunk_start += chunk_size; in Create2MethodsWithGap() 178 chunk_size = kSmallChunkSize; // For all but the first chunk. in Create2MethodsWithGap()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 137 uint32_t chunk_size = gap_size - num_small_chunks * kSmallChunkSize; in Create2MethodsWithGap() local 140 chunk_size - CodeAlignmentSize(chunk_start) - sizeof(OatQuickMethodHeader); in Create2MethodsWithGap() 144 chunk_start += chunk_size; in Create2MethodsWithGap() 145 chunk_size = kSmallChunkSize; // For all but the first chunk. in Create2MethodsWithGap()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 478 size_t chunk_size = rounded_stack_info_size + sum_frames * sizeof(jvmtiFrameInfo); in GetAllStackTraces() local 480 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data); in GetAllStackTraces() 641 size_t chunk_size = rounded_stack_info_size + sum_frames * sizeof(jvmtiFrameInfo); in GetThreadListStackTraces() local 643 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data); in GetThreadListStackTraces()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 1395 const size_t chunk_size = std::min(mark_stack_->Size() / thread_count + 1, in ProcessMarkStackParallel() local 1397 CHECK_GT(chunk_size, 0U); in ProcessMarkStackParallel() 1400 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); in ProcessMarkStackParallel()
|