Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 5 of 5) sorted by relevance

/art/runtime/base/unix_file/
Dfd_file.cc339 size_t chunk_size = std::min<uint64_t>(buffer_size, size); in Copy() local
340 if (!input_file->ReadFully(buffer.get(), chunk_size) || in Copy()
341 !WriteFully(buffer.get(), chunk_size)) { in Copy()
344 size -= chunk_size; in Copy()
/art/runtime/gc/space/
Ddlmalloc_space.cc296 size_t chunk_size = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); in MSpaceChunkCallback() local
297 if (used_bytes < chunk_size) { in MSpaceChunkCallback()
298 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
/art/runtime/openjdkjvmti/
Dti_stack.cc451 size_t chunk_size = rounded_stack_info_size + sum_frames * sizeof(jvmtiFrameInfo); in GetAllStackTraces() local
453 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data); in GetAllStackTraces()
614 size_t chunk_size = rounded_stack_info_size + sum_frames * sizeof(jvmtiFrameInfo); in GetThreadListStackTraces() local
616 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data); in GetThreadListStackTraces()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc132 uint32_t chunk_size = gap_size - num_small_chunks * kSmallChunkSize; in Create2MethodsWithGap() local
135 chunk_size - CodeAlignmentSize(chunk_start) - sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
139 chunk_start += chunk_size; in Create2MethodsWithGap()
140 chunk_size = kSmallChunkSize; // For all but the first chunk. in Create2MethodsWithGap()
/art/runtime/gc/collector/
Dmark_sweep.cc1371 const size_t chunk_size = std::min(mark_stack_->Size() / thread_count + 1, in ProcessMarkStackParallel() local
1373 CHECK_GT(chunk_size, 0U); in ProcessMarkStackParallel()
1376 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); in ProcessMarkStackParallel()