/art/runtime/mirror/ |
D | string-inl.h | 46 int32_t count = GetLength(); in CharAt() 61 const MemoryType* end = chars + GetLength(); in FastIndexOf() 72 DCHECK_LT(from_index, GetLength()); in LastIndexOf() 86 ? ComputeUtf16Hash(GetValueCompressed(), GetLength()) in ComputeHashCode() 87 : ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() 102 return GetLength(); in GetModifiedUtf8Length() 104 return CountModifiedUtf8BytesInUtf16(GetValue(), GetLength()); in GetModifiedUtf8Length()
|
D | string.cc | 39 int32_t count = GetLength(); in FastIndexOf() 53 int32_t count = GetLength(); in LastIndexOf() 81 int32_t length = src->GetLength(); in DoReplace() 124 int32_t length_this = h_this->GetLength(); in DoConcat() 125 int32_t length_arg = h_arg->GetLength(); in DoConcat() 173 int32_t length_this = h_this->GetLength(); in RepeatCharacters() 189 int32_t length_this = h_this->GetLength(); in DoRepeat() 284 return memcmp(this->GetValueCompressed(), that->GetValueCompressed(), this->GetLength()) == 0; in Equals() 286 return memcmp(this->GetValue(), that->GetValue(), sizeof(uint16_t) * this->GetLength()) == 0; in Equals() 292 const int32_t length = GetLength(); in Equals() [all …]
|
D | array-inl.h | 51 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); in SizeOf() 61 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { in CheckIsValidIndex() 105 DCHECK(CheckIsValidIndex<kVerifyFlags>(i)) << i << " " << GetLength<kVerifyFlags>(); in SetWithoutChecks() 144 DCHECK_LT(dst_pos, GetLength()); in Memmove() 145 DCHECK_LE(dst_pos, GetLength() - count); in Memmove() 146 DCHECK_LT(src_pos, src->GetLength()); in Memmove() 147 DCHECK_LE(src_pos, src->GetLength() - count); in Memmove() 206 DCHECK_LT(dst_pos, GetLength()); in Memcpy() 207 DCHECK_LE(dst_pos, GetLength() - count); in Memcpy() 208 DCHECK_LT(src_pos, src->GetLength()); in Memcpy() [all …]
|
D | method_type.cc | 60 int32_t num_method_args = p_types.GetLength(); in Create() 122 const int32_t p_types_length = p_types.GetLength(); in NumberOfVRegsImpl() 156 const int32_t params_length = p_types->GetLength(); in IsExactMatch() 159 if (params_length != target_p_types->GetLength()) { in IsExactMatch() 172 const int32_t params_length = p_types->GetLength(); in IsConvertible() 175 if (params_length != target_p_types->GetLength()) { in IsConvertible() 230 const int32_t ptypes_length = ptypes->GetLength(); in IsInPlaceConvertible() 231 if (ptypes_length != target_ptypes->GetLength()) { in IsInPlaceConvertible() 255 const int32_t params_length = p_types.GetLength(); in PrettyDescriptorImpl()
|
D | class_ext.cc | 75 CHECK_EQ(old_methods->GetLength(), old_dex_caches->GetLength()); in ExtendObsoleteArrays() 76 new_len = increase + old_methods->GetLength(); in ExtendObsoleteArrays() 102 old_methods->GetLength(), in ExtendObsoleteArrays() 105 0, old_dex_caches->AsObjectArray<Object>(), 0, old_dex_caches->GetLength(), false); in ExtendObsoleteArrays()
|
D | method_type-inl.h | 77 return GetPTypes()->GetLength(); in GetNumberOfPTypes() 89 inline int32_t MethodType::PTypesAccessor<PTypesType>::GetLength() const { in GetLength() function 90 return p_types_->GetLength(); in GetLength() 95 DCHECK_LT(i, GetLength()); in Get() 104 inline int32_t MethodType::RawPTypesAccessor::GetLength() const { in GetLength() function
|
D | array.cc | 63 if (current_dimension + 1 < dimensions->GetLength()) { in RecursiveCreateMultiArray() 86 int num_dimensions = dimensions->GetLength(); in CreateMultiArray() 107 for (int32_t i = 1; i < dimensions->GetLength(); ++i) { in CreateMultiArray() 135 art::ThrowArrayIndexOutOfBoundsException(index, GetLength()); in ThrowArrayIndexOutOfBoundsException() 157 std::min(h_this->GetLength(), new_length) << component_shift); in CopyOf()
|
D | throwable.cc | 89 const int32_t array_len = trace->GetLength(); in GetStackDepth() 109 DCHECK_GT(object_array->GetLength(), 0); in Dump() 113 const int32_t array_len = method_trace->GetLength(); in Dump() 135 if (ste_array->GetLength() == 0) { in Dump() 138 for (int32_t i = 0; i < ste_array->GetLength(); ++i) { in Dump()
|
D | emulated_stack_frame.cc | 42 const size_t length = p_types->GetLength(); in CalculateFrameAndReferencesSize() 182 EmulatedStackFrameAccessor setter(references, stack_frame, stack_frame->GetLength()); in CreateFromShadowFrameAndArgs() 205 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); in WriteToShadowFrame() 218 value->SetL(references->GetWithoutChecks(references->GetLength() - 1)); in GetReturnValue() 222 const size_t length = stack_frame->GetLength(); in GetReturnValue() 242 references->SetWithoutChecks<false>(references->GetLength() - 1, value.GetL()); in SetReturnValue() 246 const size_t length = stack_frame->GetLength(); in SetReturnValue()
|
D | object_array-inl.h | 82 DCHECK(CheckIsValidIndex<kVerifyFlags>(i)) << i << " vs " << GetLength(); in SetWithoutChecks() 90 DCHECK(CheckIsValidIndex<kVerifyFlags>(i)) << i << " vs " << GetLength(); in SetWithoutChecksAndWriteBarrier() 99 DCHECK(CheckIsValidIndex(i)) << i << " vs " << GetLength(); in GetWithoutChecks() 328 const size_t length = static_cast<size_t>(GetLength()); in VisitReferences() 338 const size_t length = static_cast<size_t>(GetLength()); in VisitReferences() 353 return ConstObjPtrArrayIter<T>(this, GetLength()); in cend() 361 return ConstHandleArrayIter<T>(h_this, h_this->GetLength()); in cend() 370 return ObjPtrArrayIter<T>(this, GetLength()); in end() 378 return HandleArrayIter<T>(h_this, h_this->GetLength()); in end() 387 DCHECK_LE(idx_, array_->GetLength()); in CheckIdx()
|
D | iftable-inl.h | 63 return method_array == nullptr ? 0u : method_array->GetLength<kVerifyFlags>(); in GetMethodArrayCount() 68 DCHECK_EQ(static_cast<size_t>(arr->GetLength()), GetInterface(i)->NumDeclaredVirtualMethods()); in SetMethodArray()
|
D | class_ext-inl.h | 179 int32_t len = arr->GetLength(); in VisitDexCaches() 191 int32_t len = arr->GetLength(); in VisitMethods() 206 int32_t len = marr->GetLength(); in VisitJMethodIDs() 220 int32_t len = sarr->GetLength(); in VisitJFieldIDs() 231 int32_t len = iarr->GetLength(); in VisitJFieldIDs()
|
D | object_test.cc | 73 ASSERT_EQ(expected_utf16_length, string->GetLength()); in AssertString() 127 EXPECT_EQ(2, oa->GetLength()); in TEST_F() 167 EXPECT_EQ(1, a->GetLength()); in TEST_F() 172 EXPECT_EQ(1, a->GetLength()); in TEST_F() 177 EXPECT_EQ(1, a->GetLength()); in TEST_F() 189 EXPECT_LE(1, a->GetLength()); in TEST_F() 195 EXPECT_LE(2, a->GetLength()); in TEST_F() 201 EXPECT_LE(2, a->GetLength()); in TEST_F() 207 EXPECT_LE(2, a->GetLength()); in TEST_F() 217 EXPECT_EQ(2, a->GetLength()); in TestPrimitiveArray() [all …]
|
/art/libartbase/base/unix_file/ |
D | random_access_file_test.h | 109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); in TestReadContent() 110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1)); in TestReadContent() 117 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength())); in TestSetLength() 125 ASSERT_EQ(new_length, file->GetLength()); in TestSetLength() 131 new_length = file->GetLength() + 1; in TestSetLength() 133 ASSERT_EQ(new_length, file->GetLength()); in TestSetLength() 149 ASSERT_EQ(0, file->GetLength()); in TestWrite() 153 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength())); in TestWrite() 165 file->GetLength() + 1))); in TestWrite() 167 ASSERT_EQ(file->GetLength(), new_length); in TestWrite()
|
D | fd_file_test.cc | 210 ASSERT_EQ(src->SetLength(src->GetLength() + empty_suffix), 0); in CreateSparseSourceFile() 214 ASSERT_EQ(src->GetLength(), expected_length); in CreateSparseSourceFile() 224 size_t source_length = src->GetFile()->GetLength(); in TEST_F() 244 EXPECT_EQ(dest_file.GetLength(), source_length); in TEST_F() 274 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); in TEST_F() 283 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F() 362 off_t copy_size = src->GetFile()->GetLength(); in TEST_F() 367 EXPECT_EQ(dest.GetFile()->GetLength(), copy_size); in TEST_F() 370 EXPECT_EQ(lseek(dest.GetFd(), /*offset=*/0, SEEK_CUR), dest.GetFile()->GetLength()); in TEST_F() 371 EXPECT_EQ(lseek(src->GetFd(), /*offset=*/0, SEEK_CUR), src->GetFile()->GetLength()); in TEST_F() [all …]
|
D | random_access_file.h | 54 virtual int64_t GetLength() const = 0;
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 43 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 54 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 57 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 63 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 65 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F()
|
/art/runtime/ |
D | method_handles-inl.h | 156 DCHECK_EQ(from_types.GetLength(), to_types.GetLength()); in PerformConversions() 157 for (int32_t i = 0, length = to_types.GetLength(); i != length; ++i) { in PerformConversions() 205 int32_t ptypes_length = ptypes->GetLength(); in CopyArguments()
|
D | string_builder_append.cc | 54 DCHECK_GE(new_string->GetLength(), data - new_string->GetValueCompressed()); in RemainingSpace() 55 return new_string->GetLength() - (data - new_string->GetValueCompressed()); in RemainingSpace() 61 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace() 62 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace() 196 size_t length = dchecked_integral_cast<size_t>(str->GetLength()); in AppendString() 308 DCHECK_LE(length, buffer->GetLength()); in ConvertFpArgs() 318 length = converted->GetLength(); in ConvertFpArgs() 350 length += str->GetLength(); in CalculateLengthWithFlag()
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 100 annotations->GetLength() == static_cast<int>(method->GetNumberOfParameters())) { in Executable_getParameterAnnotationsNative() 126 const int32_t offset = resized_annotations->GetLength() - annotations->GetLength(); in Executable_getParameterAnnotationsNative() 141 for (int i = 0; i < annotations->GetLength(); ++i) { in Executable_getParameterAnnotationsNative() 149 for (int i = 0; i < resized_annotations->GetLength(); ++i) { in Executable_getParameterAnnotationsNative() 185 int32_t names_count = names.Get()->GetLength(); in Executable_getParameters0() 186 int32_t access_flags_count = access_flags.Get()->GetLength(); in Executable_getParameters0()
|
D | java_lang_StringFactory.cc | 42 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromBytes() 68 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf16Bytes() 115 string->GetLength(), in StringFactory_newStringFromString() 143 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf8Bytes()
|
D | java_lang_System.cc | 82 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy() 83 UNLIKELY(dstPos > dstArray->GetLength() - count)) { in System_arraycopy() 86 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, in System_arraycopy()
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 122 CHECK_GE(cookie->GetLength(), 1); in AllocateNewDexFileCookie() 124 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); in AllocateNewDexFileCookie() 134 new_cookie->Memcpy(2, cookie.Get(), 1, cookie->GetLength() - 1); in AllocateNewDexFileCookie()
|
/art/compiler/linker/ |
D | output_stream_test.cc | 74 std::vector<uint8_t> actual(in->GetLength()); in TEST_F() 89 std::vector<uint8_t> actual(in->GetLength()); in TEST_F()
|
/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 45 DCHECK_EQ(length, cache->GetLength()); in FillIntrinsicsObjects() 77 uint32_t length = static_cast<uint32_t>(boot_image_live_objects->GetLength()); in HasIntrinsicObjects()
|