/art/runtime/base/unix_file/ |
null_file.cc | 43 int NullFile::SetLength(int64_t new_length) { 44 if (new_length < 0) {
|
null_file.h | 40 virtual int SetLength(int64_t new_length);
|
random_access_file.h | 47 // Sets the length of the file to 'new_length'. If this is smaller than the 51 virtual int SetLength(int64_t new_length) = 0;
|
string_file.cc | 54 int StringFile::SetLength(int64_t new_length) { 55 if (new_length < 0) { 58 data_.resize(new_length);
|
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_content) [all...] |
string_file.h | 43 virtual int SetLength(int64_t new_length);
|
fd_file.h | 52 virtual int SetLength(int64_t new_length);
|
mapped_file.h | 65 virtual int SetLength(int64_t new_length);
|
fd_file.cc | 81 int FdFile::SetLength(int64_t new_length) { 82 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length));
|
/external/chromium_org/third_party/ots/include/ |
ots-memory-stream.h | 68 size_t new_length = (length_ + 1) * 2; 69 if (new_length < length_) 71 if (new_length > limit_) 72 new_length = limit_; 73 uint8_t* new_buf = new uint8_t[new_length]; 75 length_ = new_length;
|
/art/compiler/dex/ |
growable_array.h | 90 void Resize(size_t new_length) { 91 if (new_length <= num_allocated_) return; 95 if (new_length > target_length) { 96 target_length = new_length;
|
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.cpp | 30 bool Point::ScaleTo(float new_length) { 35 x_ *= new_length / length; 36 y_ *= new_length / length;
|
geometry.h | 37 bool ScaleTo(float new_length);
|
/external/chromium/base/ |
utf_offset_string_conversions.h | 77 // of the encoded section and the |old_length| and |new_length| of the section 83 Adjustment(size_t location, size_t old_length, size_t new_length); 87 size_t new_length; member in struct:AdjustOffset::Adjustment
|
utf_offset_string_conversions.cc | 216 size_t new_length) 219 new_length(new_length) {} 231 if (offset == location && i->new_length == 0) { 241 adjustment += (i->old_length - i->new_length);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
cache.cc | 108 uint32_t new_length = 4; local 109 while (new_length < elems_) { 110 new_length *= 2; 112 LRUHandle** new_list = new LRUHandle*[new_length]; 113 memset(new_list, 0, sizeof(new_list[0]) * new_length); 120 LRUHandle** ptr = &new_list[hash & (new_length - 1)]; 130 length_ = new_length;
|
/external/chromium_org/webkit/browser/blob/ |
blob_storage_controller.cc | 198 uint64 new_length = current_length > length ? length : current_length; local 202 static_cast<uint32>(new_length)); 207 new_length, 214 new_length, 217 length -= new_length;
|
blob_storage_context.cc | 244 uint64 new_length = current_length > length ? length : current_length; local 249 static_cast<int64>(new_length))) { 256 new_length, 263 new_length, 266 length -= new_length;
|
/art/runtime/mirror/ |
object_array-inl.h | 136 inline ObjectArray<T>* ObjectArray<T>::CopyOf(Thread* self, int32_t new_length) { 137 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length); 139 Copy(this, 0, new_array, 0, std::min(GetLength(), new_length));
|
object_array.h | 54 ObjectArray<T>* CopyOf(Thread* self, int32_t new_length)
|
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 29 bool Point::ScaleTo(float new_length) { 34 x_ *= new_length / length; 35 y_ *= new_length / length;
|
geometry.h | 37 bool ScaleTo(float new_length);
|
/external/chromium_org/v8/src/ |
builtins.cc | 489 int new_length = len + to_add; local 491 if (new_length > elms->length()) { 493 int capacity = new_length + (new_length >> 1) + 16; 520 array->set_length(Smi::FromInt(new_length)); 521 return Smi::FromInt(new_length); 534 int new_length = len + to_add; local 538 if (new_length > elms_len) { 540 int capacity = new_length + (new_length >> 1) + 16 592 int new_length = len - 1; local 680 int new_length = len + to_add; local 922 int new_length = len - actual_delete_count + item_count; local [all...] |
data-flow.h | 248 int new_length = bits_ == NULL ? kInitialLength : bits_->length(); local 249 while (new_length <= value) new_length *= 2; 250 BitVector* new_bits = new(zone) BitVector(new_length, zone);
|
/external/chromium_org/base/ |
pickle.cc | 290 void Pickle::TrimWriteData(int new_length) { 297 if (new_length < 0 || new_length > *cur_length) { 303 header_->payload_size -= (*cur_length - new_length); 304 *cur_length = new_length;
|