Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dmonitor_pool.cc60 void* chunk = allocator_.allocate(kChunkSize); in AllocateChunk() local
62 CHECK_NE(reinterpret_cast<uintptr_t>(nullptr), reinterpret_cast<uintptr_t>(chunk)); in AllocateChunk()
64 CHECK_EQ(0U, reinterpret_cast<uintptr_t>(chunk) % kMonitorAlignment); in AllocateChunk()
67 *(monitor_chunks_.LoadRelaxed() + num_chunks_) = reinterpret_cast<uintptr_t>(chunk); in AllocateChunk()
71 Monitor* last = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(chunk) + in AllocateChunk()
87 DCHECK(last == reinterpret_cast<Monitor*>(chunk)); in AllocateChunk()
Ddebugger.cc3779 …ScopedLocalRef<jobject> chunk(env, env->CallStaticObjectMethod(WellKnownClasses::org_apache_harmon… in DdmHandlePacket() local
3789 if (chunk.get() == NULL) { in DdmHandlePacket()
3805 …ScopedLocalRef<jbyteArray> replyData(env, reinterpret_cast<jbyteArray>(env->GetObjectField(chunk.g… in DdmHandlePacket()
3806 …jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk… in DdmHandlePacket()
3807 …length = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_leng… in DdmHandlePacket()
3808 type = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_type); in DdmHandlePacket()
/art/compiler/
Dcommon_compiler_test.cc192 std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back(); in MakeExecutable() local
196 chunk->reserve(padding + size); in MakeExecutable()
197 chunk->resize(sizeof(method_header)); in MakeExecutable()
198 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable()
199 chunk->insert(chunk->begin(), vmap_table.begin(), vmap_table.end()); in MakeExecutable()
200 chunk->insert(chunk->begin(), mapping_table.begin(), mapping_table.end()); in MakeExecutable()
201 chunk->insert(chunk->begin(), padding, 0); in MakeExecutable()
202 chunk->insert(chunk->end(), code->begin(), code->end()); in MakeExecutable()
203 CHECK_EQ(padding + size, chunk->size()); in MakeExecutable()
204 code_ptr = &(*chunk)[code_offset]; in MakeExecutable()
/art/test/074-gc-thrash/src/
DMain.java315 byte[] chunk; in run()
322 chunk = new byte[100000]; in run()
323 pretendToUse(chunk); in run()
336 public void pretendToUse(byte[] chunk) {} in pretendToUse() argument