/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 44 EXPECT_LE(0, dex_cache->GetStrings()->GetLength()); 45 EXPECT_LE(0, dex_cache->GetResolvedTypes()->GetLength()); 46 EXPECT_LE(0, dex_cache->GetResolvedMethods()->GetLength()); 47 EXPECT_LE(0, dex_cache->GetResolvedFields()->GetLength()); 48 EXPECT_LE(0, dex_cache->GetInitializedStaticStorage()->GetLength()); 51 static_cast<uint32_t>(dex_cache->GetStrings()->GetLength())); 53 static_cast<uint32_t>(dex_cache->GetResolvedTypes()->GetLength())); 55 static_cast<uint32_t>(dex_cache->GetResolvedMethods()->GetLength())); 57 static_cast<uint32_t>(dex_cache->GetResolvedFields()->GetLength())); 59 static_cast<uint32_t>(dex_cache->GetInitializedStaticStorage()->GetLength())); [all...] |
H A D | array-inl.h | 30 int32_t component_count = GetLength();
|
H A D | string.cc | 36 SetHashCode(ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength())); 40 return CountUtf8Bytes(GetCharArray()->GetData() + GetOffset(), GetLength()); 44 int32_t count = GetLength(); 90 DCHECK(result != 0 || ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength()) == 0) 95 int32_t String::GetLength() const { function in class:art::mirror::String 97 DCHECK(result >= 0 && result <= GetCharArray()->GetLength()); 177 string->SetCount(array->GetLength()); 188 } else if (this->GetLength() != that->GetLength()) { 194 for (int32_t i = 0; i < that->GetLength(); [all...] |
H A D | dex_cache.cc | 62 size_t length = resolved_methods->GetLength(); 73 size_t length = resolved_methods->GetLength();
|
H A D | iftable.h | 49 return method_array->GetLength(); 60 return GetLength() / kMax;
|
H A D | dex_cache.h | 73 return GetStrings()->GetLength(); 77 return GetResolvedTypes()->GetLength(); 81 return GetResolvedMethods()->GetLength(); 85 return GetResolvedFields()->GetLength(); 90 return GetInitializedStaticStorage()->GetLength();
|
H A D | array.cc | 85 if ((current_dimension + 1) < dimensions->GetLength()) { 105 int num_dimensions = dimensions->GetLength(); 138 art::ThrowArrayIndexOutOfBoundsException(index, GetLength());
|
H A D | class-inl.h | 67 DCHECK_NE(0, new_direct_methods->GetLength()); 87 return (GetDirectMethods() != NULL) ? GetDirectMethods()->GetLength() : 0; 99 DCHECK_NE(0, new_virtual_methods->GetLength()); 105 return (GetVirtualMethods() != NULL) ? GetVirtualMethods()->GetLength() : 0; 291 return (GetSFields() != NULL) ? GetSFields()->GetLength() : 0; 307 return (GetIFields() != NULL) ? GetIFields()->GetLength() : 0;
|
H A D | array.h | 41 int32_t GetLength() const { function in class:art::mirror::Array 75 if (UNLIKELY(static_cast<uint32_t>(index) >= static_cast<uint32_t>(GetLength()))) {
|
H A D | string.h | 54 int32_t GetLength() const; 132 DCHECK_GE(GetLength(), new_offset);
|
/art/runtime/base/unix_file/ |
H A D | null_file_test.cc | 46 TEST_F(NullFileTest, GetLength) { 50 ASSERT_EQ(0, f.GetLength()); 52 ASSERT_EQ(0, f.GetLength()); 64 ASSERT_EQ(0, f.GetLength());
|
H A D | null_file.cc | 50 int64_t NullFile::GetLength() const { function in class:unix_file::NullFile
|
H A D | random_access_file.h | 54 virtual int64_t GetLength() const = 0;
|
H A D | string_file.cc | 46 const int64_t available_bytes = std::min(byte_count, GetLength() - offset); 62 int64_t StringFile::GetLength() const { function in class:unix_file::StringFile 81 const int64_t bytes_past_end = offset - GetLength();
|
H A D | random_access_file_test.h | 105 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); 106 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1)); 113 ASSERT_EQ(content.size(), file->GetLength()); 121 ASSERT_EQ(new_length, file->GetLength()); 127 new_length = file->GetLength() + 1; 129 ASSERT_EQ(new_length, file->GetLength()); 143 ASSERT_EQ(0, file->GetLength()); 147 ASSERT_EQ(content.size(), file->GetLength()); 159 file->Write(content.data(), content.size(), file->GetLength() + 1)); 161 ASSERT_EQ(file->GetLength(), new_lengt [all...] |
H A D | null_file.h | 41 virtual int64_t GetLength() const;
|
H A D | string_file.h | 44 virtual int64_t GetLength() const;
|
H A D | mapped_file.cc | 119 int64_t MappedFile::GetLength() const { function in class:unix_file::MappedFile 123 return FdFile::GetLength(); 150 return GetLength();
|
H A D | mapped_file_test.cc | 153 EXPECT_EQ(10, file.GetLength()); 156 EXPECT_EQ(20, file.GetLength()); 162 EXPECT_EQ(5, file.GetLength()); 203 EXPECT_EQ(kContent.size(), file.GetLength()); 243 EXPECT_EQ(10, file.GetLength()); 251 EXPECT_EQ(kContent.size(), file.GetLength());
|
H A D | fd_file.h | 53 virtual int64_t GetLength() const;
|
H A D | mapped_file.h | 66 virtual int64_t GetLength() const; 72 // A convenience method equivalent to GetLength(). 88 mutable int64_t file_size_; // May be updated in GetLength().
|
/art/runtime/entrypoints/portable/ |
H A D | portable_fillarray_entrypoints.cc | 38 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { 43 array->GetLength(), payload->element_count - 1);
|
/art/runtime/entrypoints/quick/ |
H A D | quick_fillarray_entrypoints.cc | 51 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { 55 array->GetLength(), payload->element_count - 1);
|
/art/compiler/ |
H A D | output_stream_test.cc | 68 std::vector<uint8_t> actual(in->GetLength()); 83 std::vector<uint8_t> actual(in->GetLength());
|
/art/runtime/native/ |
H A D | java_lang_System.cc | 211 if (UNLIKELY(srcPos < 0 || dstPos < 0 || length < 0 || srcPos > srcArray->GetLength() - length || dstPos > dstArray->GetLength() - length)) { 215 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, length);
|