/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 46 EXPECT_LE(0, dex_cache->GetStrings()->GetLength()); 47 EXPECT_LE(0, dex_cache->GetResolvedTypes()->GetLength()); 48 EXPECT_LE(0, dex_cache->GetResolvedMethods()->GetLength()); 49 EXPECT_LE(0, dex_cache->GetResolvedFields()->GetLength()); 52 static_cast<uint32_t>(dex_cache->GetStrings()->GetLength())); 54 static_cast<uint32_t>(dex_cache->GetResolvedTypes()->GetLength())); 56 static_cast<uint32_t>(dex_cache->GetResolvedMethods()->GetLength())); 58 static_cast<uint32_t>(dex_cache->GetResolvedFields()->GetLength()));
|
H A D | string.cc | 37 int32_t count = GetLength(); 66 const int32_t hash_code = ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength()); 72 return CountUtf8Bytes(GetCharArray()->GetData() + GetOffset(), GetLength()); 131 string->SetCount(array->GetLength()); 143 } else if (this->GetLength() != that->GetLength()) { 149 for (int32_t i = 0; i < that->GetLength(); ++i) { 159 if (this->GetLength() != that_length) { 172 for (int32_t i = 0; i < GetLength(); ++i) { 183 for (int32_t i = 0; i < GetLength(); [all...] |
H A D | string-inl.h | 40 inline int32_t String::GetLength() { function in class:art::mirror::String 42 DCHECK(result >= 0 && result <= GetCharArray()->GetLength()); 76 DCHECK(result != 0 || ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength()) == 0)
|
H A D | dex_cache.cc | 58 size_t length = resolved_methods->GetLength(); 69 size_t length = resolved_methods->GetLength();
|
H A D | iftable.h | 50 return method_array->GetLength(); 61 return GetLength() / kMax;
|
H A D | array.cc | 57 if (current_dimension + 1 < dimensions->GetLength()) { 81 int num_dimensions = dimensions->GetLength(); 103 for (int32_t i = 1; i < dimensions->GetLength(); ++i) { 120 art::ThrowArrayIndexOutOfBoundsException(index, GetLength());
|
H A D | dex_cache.h | 75 return GetStrings()->GetLength(); 79 return GetResolvedTypes()->GetLength(); 83 return GetResolvedMethods()->GetLength(); 87 return GetResolvedFields()->GetLength();
|
H A D | array-inl.h | 42 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); 51 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { 253 DCHECK_LT(dst_pos, GetLength()); 254 DCHECK_LE(dst_pos, GetLength() - count); 255 DCHECK_LT(src_pos, src->GetLength()); 256 DCHECK_LE(src_pos, src->GetLength() - count); 313 DCHECK_LT(dst_pos, GetLength()); 314 DCHECK_LE(dst_pos, GetLength() - count); 315 DCHECK_LT(src_pos, src->GetLength()); 316 DCHECK_LE(src_pos, src->GetLength() [all...] |
H A D | throwable.cc | 85 int32_t depth = method_trace->GetLength() - 1; 106 if (ste_array->GetLength() == 0) { 109 for (int32_t i = 0; i < ste_array->GetLength(); ++i) {
|
H A D | art_field.cc | 67 for (int32_t i = 0, e = instance_fields->GetLength(); i < e; ++i) {
|
H A D | object_test.cc | 64 ASSERT_EQ(expected_utf16_length, string->GetLength()); 132 EXPECT_EQ(2, oa->GetLength()); 172 EXPECT_EQ(1, a->GetLength()); 178 EXPECT_EQ(1, a->GetLength()); 184 EXPECT_EQ(1, a->GetLength()); 195 EXPECT_LE(1, a->GetLength()); 201 EXPECT_LE(2, a->GetLength()); 207 EXPECT_LE(2, a->GetLength()); 213 EXPECT_LE(2, a->GetLength()); 222 EXPECT_EQ(2, a->GetLength()); [all...] |
/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 | 109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); 110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1)); 117 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength())); 125 ASSERT_EQ(new_length, file->GetLength()); 131 new_length = file->GetLength() + 1; 133 ASSERT_EQ(new_length, file->GetLength()); 149 ASSERT_EQ(0, file->GetLength()); 153 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength())); 165 file->GetLength() + 1))); 167 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 | 134 int64_t MappedFile::GetLength() const { function in class:unix_file::MappedFile 138 return FdFile::GetLength(); 168 return GetLength();
|
H A D | mapped_file_test.cc | 172 EXPECT_EQ(10, file.GetLength()); 175 EXPECT_EQ(20, file.GetLength()); 181 EXPECT_EQ(5, file.GetLength()); 223 EXPECT_EQ(kContent.size(), static_cast<uint64_t>(file.GetLength())); 265 EXPECT_EQ(10, file.GetLength()); 273 EXPECT_EQ(kContent.size(), file.GetLength());
|
H A D | mapped_file.h | 72 virtual int64_t GetLength() const; 78 // A convenience method equivalent to GetLength(). 94 mutable int64_t file_size_; // May be updated in GetLength().
|
H A D | fd_file.h | 56 virtual int64_t GetLength() const;
|
/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 | 70 std::vector<uint8_t> actual(in->GetLength()); 85 std::vector<uint8_t> actual(in->GetLength());
|