/art/libartbase/base/unix_file/ |
H A D | random_access_file.h | 54 virtual int64_t GetLength() const = 0;
|
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 | fd_file_test.cc | 152 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); 161 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); 238 EXPECT_EQ(tmp.GetFile()->GetLength(), length); 242 EXPECT_EQ(tmp2.GetFile()->GetLength(), length);
|
/art/runtime/mirror/ |
H A D | method_type.cc | 55 const int32_t dst_ptypes_count = src_ptypes->GetLength() - 1; 66 const int32_t p_types_length = p_types->GetLength(); 82 const int32_t params_length = p_types->GetLength(); 85 if (params_length != target_p_types->GetLength()) { 98 const int32_t params_length = p_types->GetLength(); 101 if (params_length != target_p_types->GetLength()) { 126 const int32_t params_length = p_types->GetLength();
|
H A D | class_ext-inl.h | 33 int32_t len = arr->GetLength();
|
H A D | array.cc | 59 if (current_dimension + 1 < dimensions->GetLength()) { 83 int num_dimensions = dimensions->GetLength(); 105 for (int32_t i = 1; i < dimensions->GetLength(); ++i) { 122 art::ThrowArrayIndexOutOfBoundsException(index, GetLength()); 144 std::min(h_this->GetLength(), new_length) << component_shift);
|
H A D | class_ext.cc | 66 CHECK_EQ(old_methods->GetLength(), old_dex_caches->GetLength()); 67 new_len = increase + old_methods->GetLength(); 93 old_methods->GetLength(), 96 0, old_dex_caches->AsObjectArray<Object>(), 0, old_dex_caches->GetLength(), false);
|
H A D | string.cc | 42 int32_t count = GetLength(); 70 hash_code = ComputeUtf16Hash(GetValueCompressed(), GetLength()); 72 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); 80 return GetLength(); 82 return CountUtf8Bytes(GetValue(), GetLength()); 97 int32_t length = src->GetLength(); 139 int32_t length = string->GetLength(); 140 int32_t length2 = string2->GetLength(); 238 } else if (this->GetLength() != that->GetLength()) { [all...] |
H A D | emulated_stack_frame.cc | 38 const size_t length = p_types->GetLength(); 155 const int32_t num_method_params = from_types->GetLength(); 156 if (to_types->GetLength() != num_method_params) { 187 EmulatedStackFrameAccessor setter(references, stack_frame, stack_frame->GetLength()); 211 const int32_t num_method_params = from_types->GetLength(); 212 if (to_types->GetLength() != num_method_params) { 222 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); 236 value->SetL(references->GetWithoutChecks(references->GetLength() - 1)); 240 const size_t length = stack_frame->GetLength(); 260 references->SetWithoutChecks<false>(references->GetLength() [all...] |
H A D | iftable.h | 54 return method_array == nullptr ? 0u : method_array->GetLength(); 60 return GetLength() / kMax;
|
H A D | throwable.cc | 84 const int32_t array_len = trace->GetLength(); 104 DCHECK_GT(object_array->GetLength(), 0); 108 const int32_t array_len = method_trace->GetLength(); 131 if (ste_array->GetLength() == 0) { 134 for (int32_t i = 0; i < ste_array->GetLength(); ++i) {
|
H A D | array-inl.h | 47 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); 64 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { 308 DCHECK_LT(dst_pos, GetLength()); 309 DCHECK_LE(dst_pos, GetLength() - count); 310 DCHECK_LT(src_pos, src->GetLength()); 311 DCHECK_LE(src_pos, src->GetLength() - count); 370 DCHECK_LT(dst_pos, GetLength()); 371 DCHECK_LE(dst_pos, GetLength() - count); 372 DCHECK_LT(src_pos, src->GetLength()); 373 DCHECK_LE(src_pos, src->GetLength() [all...] |
H A D | string-inl.h | 173 int32_t count = GetLength(); 188 const MemoryType* end = chars + GetLength(); 201 size += (sizeof(uint8_t) * GetLength<kVerifyFlags>()); 203 size += (sizeof(uint16_t) * GetLength<kVerifyFlags>()); 277 DCHECK_GE(array->GetLength(), count); 305 DCHECK(result != 0 || ComputeUtf16Hash(GetValueCompressed(), GetLength()) == 0) 308 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0)
|
H A D | object_test.cc | 65 ASSERT_EQ(expected_utf16_length, string->GetLength()); 121 EXPECT_EQ(2, oa->GetLength()); 161 EXPECT_EQ(1, a->GetLength()); 167 EXPECT_EQ(1, a->GetLength()); 173 EXPECT_EQ(1, a->GetLength()); 184 EXPECT_LE(1, a->GetLength()); 190 EXPECT_LE(2, a->GetLength()); 196 EXPECT_LE(2, a->GetLength()); 202 EXPECT_LE(2, a->GetLength()); 211 EXPECT_EQ(2, a->GetLength()); [all...] |
/art/runtime/gc/ |
H A D | reference_queue_test.cc | 37 ASSERT_EQ(queue.GetLength(), 0U); 48 ASSERT_EQ(queue.GetLength(), 1U); 51 ASSERT_EQ(queue.GetLength(), 2U); 57 ASSERT_EQ(queue.GetLength(), 1U); 59 ASSERT_EQ(queue.GetLength(), 0U);
|
H A D | reference_queue.h | 96 size_t GetLength() const REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/native/ |
H A D | java_lang_StringFactory.cc | 41 int32_t data_size = byte_array->GetLength(); 84 string->GetLength(),
|
H A D | java_lang_System.cc | 82 UNLIKELY(srcPos > srcArray->GetLength() - count) || 83 UNLIKELY(dstPos > dstArray->GetLength() - count)) { 86 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos,
|
H A D | java_lang_reflect_Executable.cc | 97 annotations->GetLength() == static_cast<int>(method->GetNumberOfParameters())) { 123 const int32_t offset = resized_annotations->GetLength() - annotations->GetLength(); 138 for (int i = 0; i < annotations->GetLength(); ++i) { 146 for (int i = 0; i < resized_annotations->GetLength(); ++i) { 182 int32_t names_count = names.Get()->GetLength(); 183 int32_t access_flags_count = access_flags.Get()->GetLength();
|
/art/openjdkjvmti/ |
H A D | ti_class_loader-inl.h | 60 size_t num_elements = dex_elements_list->GetLength();
|
H A D | ti_class_loader.cc | 121 CHECK_GE(cookie->GetLength(), 1); 123 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); 133 new_cookie->Memcpy(2, cookie.Get(), 1, cookie->GetLength() - 1);
|
/art/compiler/linker/ |
H A D | output_stream_test.cc | 75 std::vector<uint8_t> actual(in->GetLength()); 90 std::vector<uint8_t> actual(in->GetLength());
|
/art/runtime/ |
H A D | class_loader_utils.h | 79 for (int32_t i = 0; i < dex_elements->GetLength(); ++i) { 126 int32_t long_array_size = long_array->GetLength();
|
H A D | transaction_test.cc | 157 EXPECT_EQ(h_obj->GetLength(), kArraySize); 377 ASSERT_EQ(booleanArray->GetLength(), 1); 384 ASSERT_EQ(byteArray->GetLength(), 1); 391 ASSERT_EQ(charArray->GetLength(), 1); 398 ASSERT_EQ(shortArray->GetLength(), 1); 405 ASSERT_EQ(intArray->GetLength(), 1); 412 ASSERT_EQ(longArray->GetLength(), 1); 419 ASSERT_EQ(floatArray->GetLength(), 1); 426 ASSERT_EQ(doubleArray->GetLength(), 1); 435 ASSERT_EQ(objectArray->GetLength(), [all...] |
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 144 for (int32_t i = 0; i < declared_exceptions->GetLength() && !declares_exception; i++) { 166 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { 170 array->GetLength(), payload->element_count);
|