Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 47) sorted by relevance

12

/art/test/117-nopatchoat/src/
DMain.java37 String ret = ""; in functionCall() local
39 ret = ret + arr[i] + " "; in functionCall()
41 return ret.substring(0, ret.length() - 1); in functionCall()
/art/runtime/gc/
Dheap-inl.h202 mirror::Object* ret; in TryToAllocate() local
207 ret = bump_pointer_space_->AllocNonvirtual(alloc_size); in TryToAllocate()
208 if (LIKELY(ret != nullptr)) { in TryToAllocate()
217 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
220 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
227 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
230 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
235 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
239 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size); in TryToAllocate()
243 DCHECK(ret == nullptr || large_object_space_->Contains(ret)); in TryToAllocate()
[all …]
/art/runtime/gc/space/
Dbump_pointer_space-inl.h29 mirror::Object* ret = AllocNonvirtual(num_bytes); in Alloc() local
30 if (LIKELY(ret != nullptr)) { in Alloc()
36 return ret; in Alloc()
76 mirror::Object* ret = AllocNonvirtualWithoutAccounting(num_bytes); in AllocNonvirtual() local
77 if (ret != nullptr) { in AllocNonvirtual()
81 return ret; in AllocNonvirtual()
/art/compiler/utils/
Darena_allocator.cc165 Arena* ret = nullptr; in AllocArena() local
169 ret = free_arenas_; in AllocArena()
173 if (ret == nullptr) { in AllocArena()
174 ret = new Arena(size); in AllocArena()
176 ret->Reset(); in AllocArena()
177 return ret; in AllocArena()
238 uint8_t* ret = ptr_; in AllocValgrind() local
241 for (uint8_t* ptr = ret; ptr < ptr_; ++ptr) { in AllocValgrind()
244 VALGRIND_MAKE_MEM_NOACCESS(ret + bytes, rounded_bytes - bytes); in AllocValgrind()
245 return ret; in AllocValgrind()
Ddedupe_set.h149 StoreKey* ret = allocator_.allocate(1); in CreateStoreKey() local
150 allocator_.construct(ret, key.begin(), key.end(), allocator_); in CreateStoreKey()
151 return ret; in CreateStoreKey()
Darena_allocator.h181 uint8_t* ret = ptr_; in Alloc() local
183 return ret; in Alloc()
/art/runtime/arch/x86/
Dportable_entrypoints_x86.S60 ret
63 ret
66 ret
90 ret
115 ret
134 ret
Dquick_entrypoints_x86.S246 ret
308 ret
311 ret
314 ret
399 ret // return
407 ret // return
416 ret // return
547 ret
558 ret
588 ret
[all …]
Djni_entrypoints_x86.S38 ret
/art/runtime/
Dinstruction_set.h275 TwoWordReturn ret; in GetTwoWordFailureValue() local
276 ret.lo = 0; in GetTwoWordFailureValue()
277 return ret; in GetTwoWordFailureValue()
282 TwoWordReturn ret; in GetTwoWordSuccessValue() local
283 ret.lo = lo; in GetTwoWordSuccessValue()
284 ret.hi = hi; in GetTwoWordSuccessValue()
285 return ret; in GetTwoWordSuccessValue()
/art/runtime/hprof/
Dhprof.cc716 HprofBasicType ret; in SignatureToBasicTypeAndSize() local
721 case 'L': ret = hprof_basic_object; size = 4; break; in SignatureToBasicTypeAndSize()
722 case 'Z': ret = hprof_basic_boolean; size = 1; break; in SignatureToBasicTypeAndSize()
723 case 'C': ret = hprof_basic_char; size = 2; break; in SignatureToBasicTypeAndSize()
724 case 'F': ret = hprof_basic_float; size = 4; break; in SignatureToBasicTypeAndSize()
725 case 'D': ret = hprof_basic_double; size = 8; break; in SignatureToBasicTypeAndSize()
726 case 'B': ret = hprof_basic_byte; size = 1; break; in SignatureToBasicTypeAndSize()
727 case 'S': ret = hprof_basic_short; size = 2; break; in SignatureToBasicTypeAndSize()
729 case 'I': ret = hprof_basic_int; size = 4; break; in SignatureToBasicTypeAndSize()
730 case 'J': ret = hprof_basic_long; size = 8; break; in SignatureToBasicTypeAndSize()
[all …]
/art/runtime/base/
Dtiming_logger.cc167 TimingLogger::TimingData ret; in CalculateTimingData() local
168 ret.data_.resize(timings_.size()); in CalculateTimingData()
175 ret.data_[open_idx].exclusive_time += time; in CalculateTimingData()
176 DCHECK_EQ(ret.data_[open_idx].total_time, 0U); in CalculateTimingData()
177 ret.data_[open_idx].total_time += time; in CalculateTimingData()
184 ret.data_[open_stack.back()].exclusive_time -= time; in CalculateTimingData()
192 return ret; // No need to fear, C++11 move semantics are here. in CalculateTimingData()
Dstringpiece.cc29 int ret = std::min(length_ - pos, n); in copy() local
30 memcpy(buf, ptr_ + pos, ret); in copy()
31 return ret; in copy()
Dhash_set.h161 Iterator ret(this, 0); in begin()
162 if (num_buckets_ != 0 && IsFreeSlot(ret.GetIndex())) { in begin()
163 ++ret; // Skip all the empty slots. in begin()
165 return ret; in begin()
/art/runtime/arch/arm64/
Dquick_entrypoints_arm64.S186 ret
326 ret // return
332 ret // return
353 ret
369 ret // return
595 ret
971 ret
985 ret
1016 ret
1020 ret
[all …]
Dmemcmp16_arm64.S103 ret
127 ret
140 ret
Djni_entrypoints_arm64.S56 ret // restore regs and return to caller to handle exception.
/art/compiler/
Dcompiled_method.cc209 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod() local
210 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask, in SwapAllocCompiledMethod()
212 return ret; in SwapAllocCompiledMethod()
222 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod() local
223 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask, in SwapAllocCompiledMethod()
225 return ret; in SwapAllocCompiledMethod()
Delf_writer_quick.cc649 std::vector<Elf32_Dyn> ret; in GetDynamics() local
653 ret.push_back( in GetDynamics()
656 ret.push_back({it->tag_, {it->off_}}); in GetDynamics()
659 ret.push_back({DT_STRSZ, {strsz}}); in GetDynamics()
660 ret.push_back({DT_SONAME, {soname}}); in GetDynamics()
661 ret.push_back({DT_NULL, {0}}); in GetDynamics()
662 return ret; in GetDynamics()
666 std::vector<Elf32_Sym> ret; in GenerateSymtab() local
670 ret.push_back(undef_sym); in GenerateSymtab()
686 ret.push_back(sym); in GenerateSymtab()
[all …]
Delf_patcher.cc135 uintptr_t ret = reinterpret_cast<uintptr_t>(oat_header_) + off; in GetPatchLocation() local
137 CHECK_GE(ret, reinterpret_cast<uintptr_t>(elf_file_->Begin())); in GetPatchLocation()
138 CHECK_LT(ret, reinterpret_cast<uintptr_t>(elf_file_->End())); in GetPatchLocation()
139 return reinterpret_cast<uint32_t*>(ret); in GetPatchLocation()
/art/patchoat/
Dpatchoat.cc1281 bool ret; in patchoat() local
1284 ret = PatchOat::Patch(input_oat.get(), input_image_location, base_delta, in patchoat()
1290 ret = ret && FinishFile(output_image.get(), ret); in patchoat()
1291 ret = ret && FinishFile(output_oat.get(), ret); in patchoat()
1294 ret = PatchOat::Patch(input_oat.get(), base_delta, output_oat.get(), &timings, in patchoat()
1297 ret = ret && FinishFile(output_oat.get(), ret); in patchoat()
1300 ret = PatchOat::Patch(input_image_location, base_delta, output_image.get(), isa, &timings); in patchoat()
1301 ret = ret && FinishFile(output_image.get(), ret); in patchoat()
1304 ret = true; in patchoat()
1308 LOG(INFO) << "Exiting with return ... " << ret; in patchoat()
[all …]
/art/runtime/arch/x86_64/
Dquick_entrypoints_x86_64.S495 ret
498 ret
501 ret
578 ret
581 ret
584 ret
636 ret // From higher in the stack pop rip.
730 ret // return
738 ret // return
747 ret // return
[all …]
Dmemcmp16_x86_64.S789 ret
804 ret
845 ret
858 ret
874 ret
910 ret
946 ret
982 ret
1059 ret
1099 ret
[all …]
/art/runtime/jdwp/
Djdwp_adb.cc225 int ret = connect(control_sock_, &control_addr_.controlAddrPlain, control_addr_len_); in Accept() local
226 if (!ret) { in Accept()
237 ret = TEMP_FAILURE_RETRY(send(control_sock_, buff, 4, 0)); in Accept()
238 if (ret >= 0) { in Accept()
/art/compiler/optimizing/
Dcode_generator_x86_64.cc597 void LocationsBuilderX86_64::VisitReturnVoid(HReturnVoid* ret) { in VisitReturnVoid() argument
598 ret->SetLocations(nullptr); in VisitReturnVoid()
601 void InstructionCodeGeneratorX86_64::VisitReturnVoid(HReturnVoid* ret) { in VisitReturnVoid() argument
603 __ ret(); in VisitReturnVoid()
606 void LocationsBuilderX86_64::VisitReturn(HReturn* ret) { in VisitReturn() argument
607 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(ret); in VisitReturn()
608 switch (ret->InputAt(0)->GetType()) { in VisitReturn()
620 LOG(FATAL) << "Unimplemented return type " << ret->InputAt(0)->GetType(); in VisitReturn()
622 ret->SetLocations(locations); in VisitReturn()
625 void InstructionCodeGeneratorX86_64::VisitReturn(HReturn* ret) { in VisitReturn() argument
[all …]

12