HomeSort by relevance Sort by last modified time
    Searched refs:new_length (Results 1 - 25 of 47) sorted by null

1 2

  /art/runtime/base/unix_file/
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;
random_access_file_test.h 123 int64_t new_length = 2; local
124 ASSERT_EQ(0, file->SetLength(new_length));
125 ASSERT_EQ(new_length, file->GetLength());
131 new_length = file->GetLength() + 1;
132 ASSERT_EQ(0, file->SetLength(new_length));
133 ASSERT_EQ(new_length, file->GetLength());
135 ASSERT_EQ('\0', new_content[new_length - 1]);
166 int64_t new_length = 2*content.size() + 1; local
167 ASSERT_EQ(file->GetLength(), new_length);
169 ASSERT_EQ(std::string("hello\0hello", new_length), new_content)
    [all...]
fd_file.h 56 int SetLength(int64_t new_length) OVERRIDE WARN_UNUSED;
fd_file.cc 163 int FdFile::SetLength(int64_t new_length) {
166 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length));
168 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length));
  /external/webrtc/webrtc/modules/video_coding/codecs/test/
packet_manipulator.cc 45 int new_length = 0; local
68 new_length += nbr_bytes_to_read;
71 encoded_image->_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);
  /art/runtime/mirror/
array.cc 128 Array* Array::CopyOf(Thread* self, int32_t new_length) {
130 DCHECK_GE(new_length, 0);
139 Array* new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type);
142 std::min(h_this->GetLength(), new_length) << component_shift);
object_array-inl.h 252 inline ObjectArray<T>* ObjectArray<T>::CopyOf(Thread* self, int32_t new_length) {
253 DCHECK_GE(new_length, 0);
260 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type);
262 new_array->AssignableMemcpy(0, h_this.Get(), 0, std::min(h_this->GetLength(), new_length));
object_array.h 86 ObjectArray<T>* CopyOf(Thread* self, int32_t new_length)
class.cc     [all...]
  /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/v8/src/
bit-vector.h 241 int new_length = bits_ == NULL ? kInitialLength : bits_->length(); local
242 while (new_length <= value) new_length *= 2;
243 BitVector* new_bits = new (zone) BitVector(new_length, zone);
string-builder.h 145 int new_length = length; local
147 new_length *= 2;
148 } while (new_length < required_length);
150 array_->GetIsolate()->factory()->NewFixedArrayWithHoles(new_length);
elements.cc 1647 uint32_t new_length = length - delete_count + add_count; local
1797 int new_length = length - 1; local
1821 uint32_t new_length = length + add_size; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_pack.c 187 unsigned new_length, i; local
194 new_length = src_type.length;
201 new_length <<= 1;
202 for (i = 0; i < new_length; i++) {
207 LLVMConstVector(shuffles, new_length), "");
659 unsigned new_length = src_type.length / size_ratio; local
662 unsigned start_index = (i % size_ratio) * new_length;
664 start_index, new_length);
667 src_type.length = new_length;
  /external/mesa3d/src/glsl/
link_uniforms.cpp 88 size_t new_length = name_length; local
91 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field);
93 recursion(t->fields.structure[i].type, name, new_length);
97 size_t new_length = name_length; local
100 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i);
102 recursion(t->fields.array, name, new_length);
ralloc.c 461 size_t new_length; local
472 new_length = printf_length(fmt, args);
474 ptr = resize(*str, *start + new_length + 1);
478 vsnprintf(ptr + *start, new_length + 1, fmt, args);
480 *start += new_length;
  /external/webrtc/webrtc/modules/video_coding/
session_info.cc 337 size_t new_length = 0; local
344 return new_length;
358 new_length += fragmentation->fragmentationLength[partition_id];
377 assert(new_length <= frame_buffer_length);
378 return new_length;
  /external/dbus/dbus/
dbus-string.c 310 int new_length)
341 new_length + _DBUS_STRING_ALLOCATION_PADDING);
377 int new_length)
382 if (_DBUS_UNLIKELY (new_length > _DBUS_STRING_MAX_LENGTH))
384 else if (new_length > (real->allocated - _DBUS_STRING_ALLOCATION_PADDING) &&
385 _DBUS_UNLIKELY (!reallocate_for_length (real, new_length)))
389 real->len = new_length;
390 real->str[new_length] = '\0';
    [all...]
  /external/v8/benchmarks/spinning-balls/
splay-tree.js 309 var new_length = 0;
316 new_stack[new_length++] = l;
320 new_stack[new_length++] = r;
324 length = new_length;
  /external/freetype/src/base/
ftrfork.c 814 size_t new_length; local
820 new_length = ft_strlen( original_name ) + ft_strlen( insertion );
821 if ( FT_ALLOC( new_name, new_length + 1 ) )
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
ftrfork.c 814 size_t new_length; local
820 new_length = ft_strlen( original_name ) + ft_strlen( insertion );
821 if ( FT_ALLOC( new_name, new_length + 1 ) )
  /external/pdfium/third_party/freetype/src/base/
ftrfork.c 814 size_t new_length; local
820 new_length = ft_strlen( original_name ) + ft_strlen( insertion );
821 if ( FT_ALLOC( new_name, new_length + 1 ) )

Completed in 498 milliseconds

1 2