/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 | 152 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); in TEST_F() 161 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F() 238 EXPECT_EQ(tmp.GetFile()->GetLength(), length); in TEST_F() 242 EXPECT_EQ(tmp2.GetFile()->GetLength(), length); in TEST_F()
|
/art/runtime/mirror/ |
D | string.cc | 42 int32_t count = GetLength(); in FastIndexOf() 70 hash_code = ComputeUtf16Hash(GetValueCompressed(), GetLength()); in ComputeHashCode() 72 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() 80 return GetLength(); in GetUtfLength() 82 return CountUtf8Bytes(GetValue(), GetLength()); in GetUtfLength() 97 int32_t length = src->GetLength(); in DoReplace() 139 int32_t length = string->GetLength(); in AllocFromStrings() 140 int32_t length2 = string2->GetLength(); in AllocFromStrings() 238 } else if (this->GetLength() != that->GetLength()) { in Equals() 244 for (int32_t i = 0; i < that->GetLength(); ++i) { in Equals() [all …]
|
D | method_type.cc | 55 const int32_t dst_ptypes_count = src_ptypes->GetLength() - 1; in CloneWithoutLeadingParameter() 66 const int32_t p_types_length = p_types->GetLength(); in NumberOfVRegs() 82 const int32_t params_length = p_types->GetLength(); in IsExactMatch() 85 if (params_length != target_p_types->GetLength()) { in IsExactMatch() 98 const int32_t params_length = p_types->GetLength(); in IsConvertible() 101 if (params_length != target_p_types->GetLength()) { in IsConvertible() 126 const int32_t params_length = p_types->GetLength(); in PrettyDescriptor()
|
D | class_ext.cc | 66 CHECK_EQ(old_methods->GetLength(), old_dex_caches->GetLength()); in ExtendObsoleteArrays() 67 new_len = increase + old_methods->GetLength(); in ExtendObsoleteArrays() 93 old_methods->GetLength(), in ExtendObsoleteArrays() 96 0, old_dex_caches->AsObjectArray<Object>(), 0, old_dex_caches->GetLength(), false); in ExtendObsoleteArrays()
|
D | emulated_stack_frame.cc | 38 const size_t length = p_types->GetLength(); in CalculateFrameAndReferencesSize() 155 const int32_t num_method_params = from_types->GetLength(); in CreateFromShadowFrameAndArgs() 156 if (to_types->GetLength() != num_method_params) { in CreateFromShadowFrameAndArgs() 187 EmulatedStackFrameAccessor setter(references, stack_frame, stack_frame->GetLength()); in CreateFromShadowFrameAndArgs() 211 const int32_t num_method_params = from_types->GetLength(); in WriteToShadowFrame() 212 if (to_types->GetLength() != num_method_params) { in WriteToShadowFrame() 222 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); in WriteToShadowFrame() 236 value->SetL(references->GetWithoutChecks(references->GetLength() - 1)); in GetReturnValue() 240 const size_t length = stack_frame->GetLength(); in GetReturnValue() 260 references->SetWithoutChecks<false>(references->GetLength() - 1, value.GetL()); in SetReturnValue() [all …]
|
D | array.cc | 59 if (current_dimension + 1 < dimensions->GetLength()) { in RecursiveCreateMultiArray() 83 int num_dimensions = dimensions->GetLength(); in CreateMultiArray() 105 for (int32_t i = 1; i < dimensions->GetLength(); ++i) { in CreateMultiArray() 122 art::ThrowArrayIndexOutOfBoundsException(index, GetLength()); in ThrowArrayIndexOutOfBoundsException() 144 std::min(h_this->GetLength(), new_length) << component_shift); in CopyOf()
|
D | throwable.cc | 84 const int32_t array_len = trace->GetLength(); in GetStackDepth() 104 DCHECK_GT(object_array->GetLength(), 0); in Dump() 108 const int32_t array_len = method_trace->GetLength(); in Dump() 131 if (ste_array->GetLength() == 0) { in Dump() 134 for (int32_t i = 0; i < ste_array->GetLength(); ++i) { in Dump()
|
D | array-inl.h | 47 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); in SizeOf() 64 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { in CheckIsValidIndex() 308 DCHECK_LT(dst_pos, GetLength()); in Memmove() 309 DCHECK_LE(dst_pos, GetLength() - count); in Memmove() 310 DCHECK_LT(src_pos, src->GetLength()); in Memmove() 311 DCHECK_LE(src_pos, src->GetLength() - count); in Memmove() 370 DCHECK_LT(dst_pos, GetLength()); in Memcpy() 371 DCHECK_LE(dst_pos, GetLength() - count); in Memcpy() 372 DCHECK_LT(src_pos, src->GetLength()); in Memcpy() 373 DCHECK_LE(src_pos, src->GetLength() - count); in Memcpy() [all …]
|
D | iftable.h | 54 return method_array == nullptr ? 0u : method_array->GetLength(); in GetMethodArrayCount() 60 return GetLength() / kMax; in Count()
|
D | string-inl.h | 173 int32_t count = GetLength(); in CharAt() 188 const MemoryType* end = chars + GetLength(); in FastIndexOf() 201 size += (sizeof(uint8_t) * GetLength<kVerifyFlags>()); in SizeOf() 203 size += (sizeof(uint16_t) * GetLength<kVerifyFlags>()); in SizeOf() 277 DCHECK_GE(array->GetLength(), count); in AllocFromCharArray() 305 DCHECK(result != 0 || ComputeUtf16Hash(GetValueCompressed(), GetLength()) == 0) in GetHashCode() 308 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0) in GetHashCode()
|
D | object_test.cc | 65 ASSERT_EQ(expected_utf16_length, string->GetLength()); in AssertString() 121 EXPECT_EQ(2, oa->GetLength()); in TEST_F() 161 EXPECT_EQ(1, a->GetLength()); in TEST_F() 167 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() 211 EXPECT_EQ(2, a->GetLength()); in TestPrimitiveArray() [all …]
|
D | class_ext-inl.h | 33 int32_t len = arr->GetLength(); in VisitNativeRoots()
|
D | array.h | 59 ALWAYS_INLINE int32_t GetLength() REQUIRES_SHARED(Locks::mutator_lock_) { in GetLength() function 136 DCHECK(CheckIsValidIndex(i)) << "i=" << i << " length=" << GetLength(); in GetWithoutChecks() 211 DCHECK_LT(index, static_cast<size_t>(GetLength())); in ElementAddress()
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 37 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 48 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 51 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 57 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 59 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F()
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 97 annotations->GetLength() == static_cast<int>(method->GetNumberOfParameters())) { in Executable_getParameterAnnotationsNative() 123 const int32_t offset = resized_annotations->GetLength() - annotations->GetLength(); in Executable_getParameterAnnotationsNative() 138 for (int i = 0; i < annotations->GetLength(); ++i) { in Executable_getParameterAnnotationsNative() 146 for (int i = 0; i < resized_annotations->GetLength(); ++i) { in Executable_getParameterAnnotationsNative() 182 int32_t names_count = names.Get()->GetLength(); in Executable_getParameters0() 183 int32_t access_flags_count = access_flags.Get()->GetLength(); in Executable_getParameters0()
|
D | java_lang_StringFactory.cc | 41 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromBytes() 84 string->GetLength(), in StringFactory_newStringFromString()
|
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()
|
D | java_lang_String.cc | 60 int32_t length_this = string_this->GetLength(); in String_concat() 61 int32_t length_arg = string_arg->GetLength(); in String_concat()
|
/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 | 75 std::vector<uint8_t> actual(in->GetLength()); in TEST_F() 90 std::vector<uint8_t> actual(in->GetLength()); in TEST_F()
|
/art/runtime/ |
D | transaction_test.cc | 157 EXPECT_EQ(h_obj->GetLength(), kArraySize); in TEST_F() 377 ASSERT_EQ(booleanArray->GetLength(), 1); in TEST_F() 384 ASSERT_EQ(byteArray->GetLength(), 1); in TEST_F() 391 ASSERT_EQ(charArray->GetLength(), 1); in TEST_F() 398 ASSERT_EQ(shortArray->GetLength(), 1); in TEST_F() 405 ASSERT_EQ(intArray->GetLength(), 1); in TEST_F() 412 ASSERT_EQ(longArray->GetLength(), 1); in TEST_F() 419 ASSERT_EQ(floatArray->GetLength(), 1); in TEST_F() 426 ASSERT_EQ(doubleArray->GetLength(), 1); in TEST_F() 435 ASSERT_EQ(objectArray->GetLength(), 1); in TEST_F()
|
D | class_loader_utils.h | 79 for (int32_t i = 0; i < dex_elements->GetLength(); ++i) { in VisitClassLoaderDexElements() 126 int32_t long_array_size = long_array->GetLength(); in VisitClassLoaderDexFiles()
|