Home
last modified time | relevance | path

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

123

/art/benchmark/scoped-primitive-array/
Dscoped_primitive_array.cc22 jlong ret = 0; in Java_ScopedPrimitiveArrayBenchmark_measureByteArray() local
25 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureByteArray()
27 return ret; in Java_ScopedPrimitiveArrayBenchmark_measureByteArray()
32 jlong ret = 0; in Java_ScopedPrimitiveArrayBenchmark_measureShortArray() local
35 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureShortArray()
37 return ret; in Java_ScopedPrimitiveArrayBenchmark_measureShortArray()
42 jlong ret = 0; in Java_ScopedPrimitiveArrayBenchmark_measureIntArray() local
45 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureIntArray()
47 return ret; in Java_ScopedPrimitiveArrayBenchmark_measureIntArray()
52 jlong ret = 0; in Java_ScopedPrimitiveArrayBenchmark_measureLongArray() local
[all …]
/art/runtime/mirror/
Dfield-inl.h52 auto ret = hs.NewHandle(static_cast<Field*>(StaticClass()->AllocObject(self))); in CreateFromArtField() local
53 if (UNLIKELY(ret.Get() == nullptr)) { in CreateFromArtField()
76 ret->SetType<kTransactionActive>(type.Get()); in CreateFromArtField()
77 ret->SetDeclaringClass<kTransactionActive>(field->GetDeclaringClass()); in CreateFromArtField()
78 ret->SetAccessFlags<kTransactionActive>(field->GetAccessFlags()); in CreateFromArtField()
79 ret->SetDexFieldIndex<kTransactionActive>(dex_field_index); in CreateFromArtField()
80 ret->SetOffset<kTransactionActive>(field->GetOffset().Int32Value()); in CreateFromArtField()
81 return ret.Get(); in CreateFromArtField()
Dmethod.cc57 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod() local
58 if (LIKELY(ret != nullptr)) { in CreateFromArtMethod()
59 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); in CreateFromArtMethod()
61 return ret; in CreateFromArtMethod()
102 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod() local
103 if (LIKELY(ret != nullptr)) { in CreateFromArtMethod()
104 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); in CreateFromArtMethod()
106 return ret; in CreateFromArtMethod()
/art/runtime/gc/
Dheap-inl.h248 mirror::Object* ret; in TryToAllocate() local
253 ret = bump_pointer_space_->AllocNonvirtual(alloc_size); in TryToAllocate()
254 if (LIKELY(ret != nullptr)) { in TryToAllocate()
269 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
282 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
290 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
294 ret = dlmalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
300 ret = non_moving_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
305 ret = large_object_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
310 DCHECK(ret == nullptr || large_object_space_->Contains(ret)); in TryToAllocate()
[all …]
/art/test/117-nopatchoat/src/
DMain.java43 String ret = ""; in functionCall() local
45 ret = ret + arr[i] + " "; in functionCall()
47 return ret.substring(0, ret.length() - 1); in functionCall()
/art/runtime/base/
Darena_allocator.cc233 Arena* ret = nullptr; in AllocArena() local
237 ret = free_arenas_; in AllocArena()
241 if (ret == nullptr) { in AllocArena()
242 ret = use_malloc_ ? static_cast<Arena*>(new MallocArena(size)) : in AllocArena()
245 ret->Reset(); in AllocArena()
246 return ret; in AllocArena()
324 uint8_t* ret; in AllocWithMemoryTool() local
326 ret = AllocFromNewArena(rounded_bytes); in AllocWithMemoryTool()
327 uint8_t* noaccess_begin = ret + bytes; in AllocWithMemoryTool()
329 if (ret == arena_head_->Begin()) { in AllocWithMemoryTool()
[all …]
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.cc38 size_type ret = std::min(length_ - pos, n); in copy() local
39 memcpy(buf, ptr_ + pos, ret); in copy()
40 return ret; in copy()
Dhash_set.h273 iterator ret(this, 0); in begin()
274 if (num_buckets_ != 0 && IsFreeSlot(ret.index_)) { in begin()
275 ++ret; // Skip all the empty slots. in begin()
277 return ret; in begin()
282 const_iterator ret(this, 0); in begin()
283 if (num_buckets_ != 0 && IsFreeSlot(ret.index_)) { in begin()
284 ++ret; // Skip all the empty slots. in begin()
286 return ret; in begin()
/art/runtime/gc/space/
Dbump_pointer_space-inl.h31 mirror::Object* ret = AllocNonvirtual(num_bytes); in Alloc() local
32 if (LIKELY(ret != nullptr)) { in Alloc()
39 return ret; in Alloc()
81 mirror::Object* ret = AllocNonvirtualWithoutAccounting(num_bytes); in AllocNonvirtual() local
82 if (ret != nullptr) { in AllocNonvirtual()
86 return ret; in AllocNonvirtual()
/art/runtime/arch/
Dinstruction_set.h253 TwoWordReturn ret; in GetTwoWordFailureValue() local
254 ret.lo = 0; in GetTwoWordFailureValue()
255 return ret; in GetTwoWordFailureValue()
260 TwoWordReturn ret; in GetTwoWordSuccessValue() local
261 ret.lo = lo; in GetTwoWordSuccessValue()
262 ret.hi = hi; in GetTwoWordSuccessValue()
263 return ret; in GetTwoWordSuccessValue()
/art/profman/
Dprofman.cc264 int ret = DumpOneProfile(kOrdinaryProfile, in DumpProfileInfo() local
269 if (ret != 0) { in DumpProfileInfo()
270 return ret; in DumpProfileInfo()
276 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); in DumpProfileInfo() local
277 if (ret != 0) { in DumpProfileInfo()
278 return ret; in DumpProfileInfo()
284 int ret = DumpOneProfile(kReferenceProfile, in DumpProfileInfo() local
289 if (ret != 0) { in DumpProfileInfo()
290 return ret; in DumpProfileInfo()
294 int ret = DumpOneProfile(kReferenceProfile, in DumpProfileInfo() local
[all …]
/art/patchoat/
Dpatchoat.h169 auto ret = reinterpret_cast<uintptr_t>(obj) + delta_; in RelocatedAddressOfPointer() local
172 ret = static_cast<uintptr_t>(static_cast<uint32_t>(ret)); in RelocatedAddressOfPointer()
174 return reinterpret_cast<T*>(ret); in RelocatedAddressOfPointer()
182 T ret = obj + delta_; in RelocatedAddressOfIntPointer() local
185 ret = static_cast<T>(static_cast<uint32_t>(ret)); in RelocatedAddressOfIntPointer()
187 return ret; in RelocatedAddressOfIntPointer()
/art/runtime/arch/x86/
Dquick_entrypoints_x86.S220 ret
362 ret
526 ret
529 ret
532 ret
643 ret
646 ret
649 ret
801 ret // return
809 ret // return
[all …]
Djni_entrypoints_x86.S34 ret
/art/runtime/arch/x86_64/
Dquick_entrypoints_x86_64.S539 ret
542 ret
545 ret
632 ret
635 ret
638 ret
690 ret // From higher in the stack pop rip.
788 ret // return
796 ret // return
805 ret // return
[all …]
/art/runtime/arch/arm64/
Dquick_entrypoints_arm64.S175 ret
321 ret // return
327 ret // return
347 ret
363 ret // return
622 ret
986 ret
1089 ret
1105 ret
1162 ret
[all …]
Dmemcmp16_arm64.S103 ret
127 ret
140 ret
/art/runtime/
Doat_file_test.cc67 std::vector<const DexFile*> ret; in ToConstDexFiles() local
69 ret.push_back(d.get()); in ToConstDexFiles()
71 return ret; in ToConstDexFiles()
Djni_env_ext.cc49 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in)); in Create() local
50 if (CheckLocalsValid(ret.get())) { in Create()
51 return ret.release(); in Create()
/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/
Dcompiled_method.cc134 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod() local
135 alloc.construct(ret, in SwapAllocCompiledMethod()
145 return ret; in SwapAllocCompiledMethod()
/art/test/130-hprof/src/
DMain.java71 int ret = process.waitFor(); in createDumpAndConv() local
72 if (ret != 0) { in createDumpAndConv()
73 throw new RuntimeException("Exited abnormally with " + ret); in createDumpAndConv()
/art/compiler/optimizing/
Dgraph_checker.h67 void VisitReturn(HReturn* ret) OVERRIDE;
68 void VisitReturnVoid(HReturnVoid* ret) OVERRIDE;
Dpc_relative_fixups_x86.cc64 void VisitReturn(HReturn* ret) OVERRIDE { in VisitReturn() argument
65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn()
67 ReplaceInput(ret, value, 0, true); in VisitReturn()

123