/art/benchmark/scoped-primitive-array/ |
D | scoped_primitive_array.cc | 22 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/ |
D | field-inl.h | 52 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()
|
D | method.cc | 57 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/ |
D | heap-inl.h | 248 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/ |
D | Main.java | 43 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/ |
D | arena_allocator.cc | 233 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 …]
|
D | timing_logger.cc | 167 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()
|
D | stringpiece.cc | 38 size_type ret = std::min(length_ - pos, n); in copy() local 39 memcpy(buf, ptr_ + pos, ret); in copy() 40 return ret; in copy()
|
D | hash_set.h | 273 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/ |
D | bump_pointer_space-inl.h | 31 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/ |
D | instruction_set.h | 253 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/ |
D | profman.cc | 264 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/ |
D | patchoat.h | 169 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/ |
D | quick_entrypoints_x86.S | 220 ret 362 ret 526 ret 529 ret 532 ret 643 ret 646 ret 649 ret 801 ret // return 809 ret // return [all …]
|
D | jni_entrypoints_x86.S | 34 ret
|
/art/runtime/arch/x86_64/ |
D | quick_entrypoints_x86_64.S | 539 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/ |
D | quick_entrypoints_arm64.S | 175 ret 321 ret // return 327 ret // return 347 ret 363 ret // return 622 ret 986 ret 1089 ret 1105 ret 1162 ret [all …]
|
D | memcmp16_arm64.S | 103 ret 127 ret 140 ret
|
/art/runtime/ |
D | oat_file_test.cc | 67 std::vector<const DexFile*> ret; in ToConstDexFiles() local 69 ret.push_back(d.get()); in ToConstDexFiles() 71 return ret; in ToConstDexFiles()
|
D | jni_env_ext.cc | 49 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/ |
D | jdwp_adb.cc | 225 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/ |
D | compiled_method.cc | 134 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod() local 135 alloc.construct(ret, in SwapAllocCompiledMethod() 145 return ret; in SwapAllocCompiledMethod()
|
/art/test/130-hprof/src/ |
D | Main.java | 71 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/ |
D | graph_checker.h | 67 void VisitReturn(HReturn* ret) OVERRIDE; 68 void VisitReturnVoid(HReturnVoid* ret) OVERRIDE;
|
D | pc_relative_fixups_x86.cc | 64 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()
|