/art/benchmark/scoped-primitive-array/ |
H A D | scoped_primitive_array.cc | 22 jlong ret = 0; local 25 ret += sc[0] + sc[sc.size() - 1]; 27 return ret; 32 jlong ret = 0; local 35 ret += sc[0] + sc[sc.size() - 1]; 37 return ret; 42 jlong ret = 0; local 45 ret += sc[0] + sc[sc.size() - 1]; 47 return ret; 52 jlong ret local [all...] |
/art/runtime/mirror/ |
H A D | field-inl.h | 52 auto ret = hs.NewHandle(static_cast<Field*>(StaticClass()->AllocObject(self))); local 53 if (UNLIKELY(ret.Get() == nullptr)) { 76 ret->SetType<kTransactionActive>(type.Get()); 77 ret->SetDeclaringClass<kTransactionActive>(field->GetDeclaringClass()); 78 ret->SetAccessFlags<kTransactionActive>(field->GetAccessFlags()); 79 ret->SetDexFieldIndex<kTransactionActive>(dex_field_index); 80 ret->SetOffset<kTransactionActive>(field->GetOffset().Int32Value()); 81 return ret.Get();
|
H A D | method.cc | 57 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self)); local 58 if (LIKELY(ret != nullptr)) { 59 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); 61 return ret; 102 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); local 103 if (LIKELY(ret != nullptr)) { 104 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); 106 return ret;
|
/art/runtime/ |
H A D | oat_file_test.cc | 67 std::vector<const DexFile*> ret; local 69 ret.push_back(d.get()); 71 return ret;
|
H A D | class_table.cc | 175 const size_t ret = combined.WriteToMemory(ptr); local 182 return ret;
|
H A D | thread-inl.h | 239 mirror::Object* ret = reinterpret_cast<mirror::Object*>(tlsPtr_.thread_local_pos); local 241 return ret;
|
H A D | oat_file_manager.cc | 57 const OatFile* ret = oat_file.get(); local 59 return ret;
|
/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 31 mirror::Object* ret = AllocNonvirtual(num_bytes); local 32 if (LIKELY(ret != nullptr)) { 39 return ret; 81 mirror::Object* ret = AllocNonvirtualWithoutAccounting(num_bytes); local 82 if (ret != nullptr) { 86 return ret;
|
/art/runtime/base/ |
H A D | stringpiece.cc | 38 size_type ret = std::min(length_ - pos, n); local 39 memcpy(buf, ptr_ + pos, ret); 40 return ret;
|
H A D | timing_logger.cc | 167 TimingLogger::TimingData ret; local 168 ret.data_.resize(timings_.size()); 175 ret.data_[open_idx].exclusive_time += time; 176 DCHECK_EQ(ret.data_[open_idx].total_time, 0U); 177 ret.data_[open_idx].total_time += time; 184 ret.data_[open_stack.back()].exclusive_time -= time; 192 return ret; // No need to fear, C++11 move semantics are here.
|
H A D | arena_allocator.cc | 233 Arena* ret = nullptr; local 237 ret = free_arenas_; 241 if (ret == nullptr) { 242 ret = use_malloc_ ? static_cast<Arena*>(new MallocArena(size)) : 245 ret->Reset(); 246 return ret; 324 uint8_t* ret; local 326 ret = AllocFromNewArena(rounded_bytes); 327 uint8_t* noaccess_begin = ret + bytes; 329 if (ret [all...] |
H A D | arena_allocator.h | 312 uint8_t* ret = ptr_; variable 314 return ret;
|
/art/compiler/ |
H A D | compiled_method.cc | 134 CompiledMethod* ret = alloc.allocate(1); local 135 alloc.construct(ret, 145 return ret;
|
H A D | image_test.cc | 94 std::vector<size_t> ret; local 101 ret.push_back(image_header.GetImageSize()); 103 return ret;
|
/art/compiler/utils/ |
H A D | swap_space.cc | 125 void* ret = old_chunk.ptr; local 133 return ret;
|
/art/runtime/arch/ |
H A D | instruction_set.h | 253 TwoWordReturn ret; local 254 ret.lo = 0; 255 return ret; 260 TwoWordReturn ret; local 261 ret.lo = lo; 262 ret.hi = hi; 263 return ret;
|
/art/runtime/gc/ |
H A D | heap-inl.h | 248 mirror::Object* ret; local 253 ret = bump_pointer_space_->AllocNonvirtual(alloc_size); 254 if (LIKELY(ret != nullptr)) { 269 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, 282 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, 290 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, 294 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, 300 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, 305 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, 310 DCHECK(ret [all...] |
/art/compiler/optimizing/ |
H A D | register_allocator_test.cc | 312 HReturn* ret = return_block->GetLastInstruction()->AsReturn(); local 313 ASSERT_EQ(phi_interval->GetRegister(), ret->InputAt(0)->GetLiveInterval()->GetRegister()); 612 HInstruction** ret) { 636 *ret = new (allocator) HReturn(*field); 637 block->AddInstruction(*ret); 651 HInstruction *field, *ret; local 654 HGraph* graph = BuildFieldReturn(&allocator, &field, &ret); 669 HGraph* graph = BuildFieldReturn(&allocator, &field, &ret); 678 ret->GetLocations()->inputs_[0] = Location::RegisterLocation(2); 610 BuildFieldReturn(ArenaAllocator* allocator, HInstruction** field, HInstruction** ret) argument
|
H A D | graph_checker.cc | 513 void GraphChecker::VisitReturn(HReturn* ret) { argument 514 VisitInstruction(ret); 515 HBasicBlock* successor = ret->GetBlock()->GetSingleSuccessor(); 518 ret->DebugName(), 519 ret->GetId())); 523 void GraphChecker::VisitReturnVoid(HReturnVoid* ret) { argument 524 VisitInstruction(ret); 525 HBasicBlock* successor = ret->GetBlock()->GetSingleSuccessor(); 528 ret->DebugName(), 529 ret [all...] |
/art/patchoat/ |
H A D | patchoat.h | 169 auto ret = reinterpret_cast<uintptr_t>(obj) + delta_; local 172 ret = static_cast<uintptr_t>(static_cast<uint32_t>(ret)); 174 return reinterpret_cast<T*>(ret); 182 T ret = obj + delta_; local 185 ret = static_cast<T>(static_cast<uint32_t>(ret)); 187 return ret;
|
/art/profman/ |
H A D | profman.cc | 264 int ret = DumpOneProfile(kOrdinaryProfile, local 269 if (ret != 0) { 270 return ret; 276 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); local 277 if (ret != 0) { 278 return ret; 284 int ret = DumpOneProfile(kReferenceProfile, local 289 if (ret != 0) { 290 return ret; 294 int ret local [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_adb.cc | 225 int ret = connect(control_sock_, &control_addr_.controlAddrPlain, control_addr_len_); local 226 if (!ret) { 237 ret = TEMP_FAILURE_RETRY(send(control_sock_, buff, 4, 0)); 238 if (ret >= 0) {
|
/art/runtime/gc/collector/ |
H A D | mark_compact.cc | 453 mirror::Object* ret = local 455 DCHECK(ret != nullptr); 456 return ret;
|
/art/runtime/native/ |
H A D | java_lang_Class.cc | 394 auto ret = hs.NewHandle(mirror::ObjectArray<mirror::Method>::Alloc( local 406 ret->SetWithoutChecks<false>(num_methods++, method); 409 return soa.AddLocalReference<jobjectArray>(ret.Get());
|
/art/runtime/jit/ |
H A D | offline_profiling_info.cc | 643 std::set<DexCacheResolvedClasses> ret; local 650 ret.insert(classes); 652 return ret;
|