Searched defs:ret (Results 1 - 25 of 42) sorted by relevance

12

/art/benchmark/scoped-primitive-array/
H A Dscoped_primitive_array.cc22 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 Dfield-inl.h52 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 Dmethod.cc57 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 Doat_file_test.cc67 std::vector<const DexFile*> ret; local
69 ret.push_back(d.get());
71 return ret;
H A Dclass_table.cc175 const size_t ret = combined.WriteToMemory(ptr); local
182 return ret;
H A Dthread-inl.h239 mirror::Object* ret = reinterpret_cast<mirror::Object*>(tlsPtr_.thread_local_pos); local
241 return ret;
H A Doat_file_manager.cc57 const OatFile* ret = oat_file.get(); local
59 return ret;
/art/runtime/gc/space/
H A Dbump_pointer_space-inl.h31 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 Dstringpiece.cc38 size_type ret = std::min(length_ - pos, n); local
39 memcpy(buf, ptr_ + pos, ret);
40 return ret;
H A Dtiming_logger.cc167 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 Darena_allocator.cc233 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 Darena_allocator.h312 uint8_t* ret = ptr_; variable
314 return ret;
/art/compiler/
H A Dcompiled_method.cc134 CompiledMethod* ret = alloc.allocate(1); local
135 alloc.construct(ret,
145 return ret;
H A Dimage_test.cc94 std::vector<size_t> ret; local
101 ret.push_back(image_header.GetImageSize());
103 return ret;
/art/compiler/utils/
H A Dswap_space.cc125 void* ret = old_chunk.ptr; local
133 return ret;
/art/runtime/arch/
H A Dinstruction_set.h253 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 Dheap-inl.h248 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 Dregister_allocator_test.cc312 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 Dgraph_checker.cc513 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 Dpatchoat.h169 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 Dprofman.cc264 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 Djdwp_adb.cc225 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 Dmark_compact.cc453 mirror::Object* ret = local
455 DCHECK(ret != nullptr);
456 return ret;
/art/runtime/native/
H A Djava_lang_Class.cc394 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 Doffline_profiling_info.cc643 std::set<DexCacheResolvedClasses> ret; local
650 ret.insert(classes);
652 return ret;

Completed in 410 milliseconds

12