/external/syslinux/gpxe/src/core/ |
bitmap.c | 34 * @v new_length New length of bitmap, in bits 37 int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length ) { 44 new_num_blocks = BITMAP_INDEX ( new_length + BITMAP_BLKSIZE - 1 ); 51 "bits\n", bitmap, new_length ); 56 bitmap->length = new_length; 62 DBGC ( bitmap, "Bitmap %p resized to %d bits\n", bitmap, new_length );
|
/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.cc | 201 int FdFile::SetLength(int64_t new_length) { 204 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); 206 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length));
|
fd_file.h | 94 int SetLength(int64_t new_length) OVERRIDE WARN_UNUSED;
|
/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;
|
/external/syslinux/gpxe/src/include/gpxe/ |
bitmap.h | 48 extern int bitmap_resize ( struct bitmap *bitmap, unsigned int 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 | 129 Array* Array::CopyOf(Thread* self, int32_t new_length) { 131 DCHECK_GE(new_length, 0); 140 ObjPtr<Array> new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type); 144 std::min(h_this->GetLength(), new_length) << component_shift);
|
object_array-inl.h | 349 inline ObjectArray<T>* ObjectArray<T>::CopyOf(Thread* self, int32_t new_length) { 350 DCHECK_GE(new_length, 0); 357 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); 359 new_array->AssignableMemcpy(0, h_this.Get(), 0, std::min(h_this->GetLength(), new_length));
|
object_array.h | 102 ObjectArray<T>* CopyOf(Thread* self, int32_t new_length)
|
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 31 bool Point::ScaleTo(float new_length) { 36 x_ *= new_length / length; 37 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);
|
/external/mesa3d/src/util/ |
ralloc.c | 521 size_t new_length; local 533 new_length = printf_length(fmt, args); 535 ptr = resize(*str, *start + new_length + 1); 539 vsnprintf(ptr + *start, new_length + 1, fmt, args); 541 *start += new_length; 849 size_t new_length; local 860 new_length = printf_length(fmt, args); 862 ptr = linear_realloc(parent, *str, *start + new_length + 1); 866 vsnprintf(ptr + *start, new_length + 1, fmt, args); 868 *start += new_length; [all...] |
/external/brotli/enc/ |
entropy_encode.c | 414 size_t new_length = length; local 417 --new_length; 427 DecideOverRleUse(depth, new_length, 432 for (i = 0; i < new_length;) { 438 for (k = i + 1; k < new_length && depth[k] == value; ++k) {
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.c | 192 unsigned new_length, i; local 199 new_length = src_type.length; 206 new_length <<= 1; 207 for (i = 0; i < new_length; i++) { 212 LLVMConstVector(shuffles, new_length), ""); 901 unsigned new_length = src_type.length / size_ratio; local 904 unsigned start_index = (i % size_ratio) * new_length; 906 start_index, new_length); 909 src_type.length = new_length; [all...] |
/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/mesa3d/src/compiler/glsl/ |
link_uniform_blocks.cpp | 233 size_t new_length = name_length; local 236 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", 240 process_block_array(ub_array->array, name, new_length, blocks,
|
link_uniforms.cpp | 144 size_t new_length = name_length; local 154 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field); 156 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 174 recursion(t->fields.structure[i].type, name, new_length, 207 size_t new_length = name_length; local 210 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 212 recursion(t->fields.array, name, new_length, row_major, [all...] |
link_varyings.cpp | 73 size_t new_length = name_length; local 76 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", ifc_member_name); 78 create_xfb_varying_names(mem_ctx, ifc_member_t, name, new_length, count, 83 size_t new_length = name_length; local 85 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 88 new_length, count, NULL, NULL, 95 size_t new_length = name_length; local 98 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 100 create_xfb_varying_names(mem_ctx, t->fields.array, name, new_length, [all...] |
lower_ubo_reference.cpp | 191 size_t new_length; local 202 new_length = base_length; 204 char *end = ralloc_strdup(NULL, &name_copy[new_length]); 223 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", 226 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s", [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;
|