/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 57 (integer_cache != nullptr) ? (/* cache */ 1u + integer_cache->GetLength()) : 0u; in AllocateBootImageLiveObjects() 64 for (int32_t i = 0, length = integer_cache->GetLength(); i != length; ++i) { in AllocateBootImageLiveObjects() 68 CHECK_EQ(index, live_objects->GetLength()); in AllocateBootImageLiveObjects() 72 for (int32_t i = 0, len = integer_cache->GetLength(); i != len; ++i) { in AllocateBootImageLiveObjects() 82 if (boot_image_live_objects->GetLength() == 0u) { in GetIntegerValueOfCache() 98 DCHECK_NE(boot_image_live_objects->GetLength(), 0); in GetIntegerValueOfObject() 100 static_cast<uint32_t>(GetIntegerValueOfCache(boot_image_live_objects)->GetLength())); in GetIntegerValueOfObject() 113 DCHECK_NE(boot_image_live_objects->GetLength(), 0); in GetIntegerValueOfArrayDataOffset()
|
D | intrinsics.cc | 123 if (boot_image_cache->GetLength() != high - low + 1) { in CheckIntegerCache() 130 for (int32_t i = 0, len = boot_image_cache->GetLength(); i != len; ++i) { in CheckIntegerCache() 188 CHECK_EQ(current_cache->GetLength(), high - low + 1); in ComputeIntegerValueOfLocations() 191 for (int32_t i = 0, len = current_cache->GetLength(); i != len; ++i) { in ComputeIntegerValueOfLocations() 236 static_cast<uint32_t>(cache->GetLength())) { in ComputeIntegerValueOfLocations() 342 IntrinsicObjects::GetIntegerValueOfCache(boot_image_live_objects)->GetLength()); in ComputeIntegerValueOfInfo()
|
/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 | random_access_file.h | 54 virtual int64_t GetLength() const = 0;
|
D | fd_file_test.cc | 156 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); in TEST_F() 165 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F() 242 EXPECT_EQ(tmp.GetFile()->GetLength(), length); in TEST_F() 246 EXPECT_EQ(tmp2.GetFile()->GetLength(), length); in TEST_F()
|
/art/runtime/mirror/ |
D | string.cc | 38 int32_t count = GetLength(); in FastIndexOf() 54 hash_code = ComputeUtf16Hash(GetValueCompressed(), GetLength()); in ComputeHashCode() 56 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() 64 return GetLength(); in GetUtfLength() 66 return CountUtf8Bytes(GetValue(), GetLength()); in GetUtfLength() 81 int32_t length = src->GetLength(); in DoReplace() 125 int32_t length = string->GetLength(); in AllocFromStrings() 126 int32_t length2 = string2->GetLength(); in AllocFromStrings() 226 } else if (this->GetLength() != that->GetLength()) { in Equals() 232 for (int32_t i = 0; i < that->GetLength(); ++i) { in Equals() [all …]
|
D | string-inl.h | 46 int32_t count = GetLength(); in CharAt() 61 const MemoryType* end = chars + GetLength(); in FastIndexOf() 77 DCHECK(result != 0 || ComputeUtf16Hash(GetValueCompressed(), GetLength()) == 0) in GetHashCode() 80 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0) in GetHashCode()
|
D | emulated_stack_frame.cc | 42 const size_t length = p_types->GetLength(); in CalculateFrameAndReferencesSize() 159 const int32_t num_method_params = from_types->GetLength(); in CreateFromShadowFrameAndArgs() 160 if (to_types->GetLength() != num_method_params) { in CreateFromShadowFrameAndArgs() 190 EmulatedStackFrameAccessor setter(references, stack_frame, stack_frame->GetLength()); in CreateFromShadowFrameAndArgs() 214 const int32_t num_method_params = from_types->GetLength(); in WriteToShadowFrame() 215 if (to_types->GetLength() != num_method_params) { in WriteToShadowFrame() 225 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); in WriteToShadowFrame() 239 value->SetL(references->GetWithoutChecks(references->GetLength() - 1)); in GetReturnValue() 243 const size_t length = stack_frame->GetLength(); in GetReturnValue() 263 references->SetWithoutChecks<false>(references->GetLength() - 1, value.GetL()); in SetReturnValue() [all …]
|
D | class_ext.cc | 67 CHECK_EQ(old_methods->GetLength(), old_dex_caches->GetLength()); in ExtendObsoleteArrays() 68 new_len = increase + old_methods->GetLength(); in ExtendObsoleteArrays() 94 old_methods->GetLength(), in ExtendObsoleteArrays() 97 0, old_dex_caches->AsObjectArray<Object>(), 0, old_dex_caches->GetLength(), false); in ExtendObsoleteArrays()
|
D | method_type.cc | 100 const int32_t p_types_length = p_types->GetLength(); in NumberOfVRegs() 116 const int32_t params_length = p_types->GetLength(); in IsExactMatch() 119 if (params_length != target_p_types->GetLength()) { in IsExactMatch() 132 const int32_t params_length = p_types->GetLength(); in IsConvertible() 135 if (params_length != target_p_types->GetLength()) { in IsConvertible() 160 const int32_t params_length = p_types->GetLength(); in PrettyDescriptor()
|
D | array-inl.h | 46 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); in SizeOf() 56 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { in CheckIsValidIndex() 139 DCHECK_LT(dst_pos, GetLength()); in Memmove() 140 DCHECK_LE(dst_pos, GetLength() - count); in Memmove() 141 DCHECK_LT(src_pos, src->GetLength()); in Memmove() 142 DCHECK_LE(src_pos, src->GetLength() - count); in Memmove() 201 DCHECK_LT(dst_pos, GetLength()); in Memcpy() 202 DCHECK_LE(dst_pos, GetLength() - count); in Memcpy() 203 DCHECK_LT(src_pos, src->GetLength()); in Memcpy() 204 DCHECK_LE(src_pos, src->GetLength() - count); in Memcpy() [all …]
|
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 | 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() 134 art::ThrowArrayIndexOutOfBoundsException(index, GetLength()); in ThrowArrayIndexOutOfBoundsException() 158 std::min(h_this->GetLength(), new_length) << component_shift); in CopyOf()
|
D | method_type-inl.h | 32 return GetPTypes()->GetLength(); in GetNumberOfPTypes()
|
D | object_test.cc | 69 ASSERT_EQ(expected_utf16_length, string->GetLength()); in AssertString() 123 EXPECT_EQ(2, oa->GetLength()); in TEST_F() 163 EXPECT_EQ(1, a->GetLength()); in TEST_F() 168 EXPECT_EQ(1, a->GetLength()); in TEST_F() 173 EXPECT_EQ(1, a->GetLength()); in TEST_F() 184 EXPECT_LE(1, a->GetLength()); in TEST_F() 190 EXPECT_LE(2, a->GetLength()); in TEST_F() 196 EXPECT_LE(2, a->GetLength()); in TEST_F() 202 EXPECT_LE(2, a->GetLength()); in TEST_F() 212 EXPECT_EQ(2, a->GetLength()); in TestPrimitiveArray() [all …]
|
D | class_ext-inl.h | 54 int32_t len = arr->GetLength(); in VisitNativeRoots()
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 38 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 49 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 52 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 58 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 60 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F()
|
/art/runtime/native/ |
D | java_lang_StringFactory.cc | 42 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromBytes() 85 string->GetLength(), in StringFactory_newStringFromString()
|
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_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 | 121 CHECK_GE(cookie->GetLength(), 1); in AllocateNewDexFileCookie() 123 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); in AllocateNewDexFileCookie() 133 new_cookie->Memcpy(2, cookie.Get(), 1, cookie->GetLength() - 1); in AllocateNewDexFileCookie()
|
D | ti_class_loader-inl.h | 60 size_t num_elements = dex_elements_list->GetLength(); in VisitDexFileObjects()
|
/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/runtime/ |
D | transaction_test.cc | 158 EXPECT_EQ(h_obj->GetLength(), kArraySize); in TEST_F() 379 ASSERT_EQ(booleanArray->GetLength(), 1); in TEST_F() 387 ASSERT_EQ(byteArray->GetLength(), 1); in TEST_F() 395 ASSERT_EQ(charArray->GetLength(), 1); in TEST_F() 403 ASSERT_EQ(shortArray->GetLength(), 1); in TEST_F() 411 ASSERT_EQ(intArray->GetLength(), 1); in TEST_F() 419 ASSERT_EQ(longArray->GetLength(), 1); in TEST_F() 427 ASSERT_EQ(floatArray->GetLength(), 1); in TEST_F() 435 ASSERT_EQ(doubleArray->GetLength(), 1); in TEST_F() 444 ASSERT_EQ(objectArray->GetLength(), 1); in TEST_F()
|
D | class_loader_utils.h | 89 for (int32_t i = 0; i < dex_elements->GetLength(); ++i) { in VisitClassLoaderDexElements() 135 int32_t long_array_size = long_array->GetLength(); in VisitClassLoaderDexFiles()
|