Searched defs:new_length (Results 1 - 7 of 7) sorted by relevance
/art/runtime/base/unix_file/ |
H A D | null_file.cc | 43 int NullFile::SetLength(int64_t new_length) { argument 44 if (new_length < 0) {
|
H A D | string_file.cc | 54 int StringFile::SetLength(int64_t new_length) { argument 55 if (new_length < 0) { 58 data_.resize(new_length);
|
H A D | mapped_file.cc | 114 int MappedFile::SetLength(int64_t new_length) { argument 116 return FdFile::SetLength(new_length);
|
H A D | random_access_file_test.h | 119 int64_t new_length = 2; local 120 ASSERT_EQ(0, file->SetLength(new_length)); 121 ASSERT_EQ(new_length, file->GetLength()); 127 new_length = file->GetLength() + 1; 128 ASSERT_EQ(0, file->SetLength(new_length)); 129 ASSERT_EQ(new_length, file->GetLength()); 131 ASSERT_EQ('\0', new_content[new_length - 1]); 160 int64_t new_length = 2*content.size() + 1; local 161 ASSERT_EQ(file->GetLength(), new_length); 163 ASSERT_EQ(std::string("hello\0hello", new_length), new_conten [all...] |
H A D | fd_file.cc | 81 int FdFile::SetLength(int64_t new_length) { argument 82 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length));
|
/art/runtime/mirror/ |
H A D | object_array-inl.h | 136 inline ObjectArray<T>* ObjectArray<T>::CopyOf(Thread* self, int32_t new_length) { argument 137 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length); 139 Copy(this, 0, new_array, 0, std::min(GetLength(), new_length));
|
/art/compiler/dex/ |
H A D | growable_array.h | 90 void Resize(size_t new_length) { argument 91 if (new_length <= num_allocated_) return; 95 if (new_length > target_length) { 96 target_length = new_length;
|
Completed in 1140 milliseconds