Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 25 of 41) sorted by relevance

12

/external/syslinux/gpxe/src/core/
Dbitmap.c37 int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length ) { in bitmap_resize() argument
44 new_num_blocks = BITMAP_INDEX ( new_length + BITMAP_BLKSIZE - 1 ); in bitmap_resize()
51 "bits\n", bitmap, new_length ); in bitmap_resize()
56 bitmap->length = new_length; in bitmap_resize()
62 DBGC ( bitmap, "Bitmap %p resized to %d bits\n", bitmap, new_length ); in bitmap_resize()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dpacket_manipulator.cc45 int new_length = 0; in ManipulatePackets() local
68 new_length += nbr_bytes_to_read; in ManipulatePackets()
71 encoded_image->_length = new_length; in ManipulatePackets()
/external/v8/benchmarks/spinning-balls/
Dsplay-tree.js309 var new_length = 0;
316 new_stack[new_length++] = l;
320 new_stack[new_length++] = r;
324 length = new_length;
/external/mesa3d/src/util/
Dralloc.c521 size_t new_length; in ralloc_vasprintf_rewrite_tail() local
533 new_length = printf_length(fmt, args); in ralloc_vasprintf_rewrite_tail()
535 ptr = resize(*str, *start + new_length + 1); in ralloc_vasprintf_rewrite_tail()
539 vsnprintf(ptr + *start, new_length + 1, fmt, args); in ralloc_vasprintf_rewrite_tail()
541 *start += new_length; in ralloc_vasprintf_rewrite_tail()
849 size_t new_length; in linear_vasprintf_rewrite_tail() local
860 new_length = printf_length(fmt, args); in linear_vasprintf_rewrite_tail()
862 ptr = linear_realloc(parent, *str, *start + new_length + 1); in linear_vasprintf_rewrite_tail()
866 vsnprintf(ptr + *start, new_length + 1, fmt, args); in linear_vasprintf_rewrite_tail()
868 *start += new_length; in linear_vasprintf_rewrite_tail()
/external/v8/src/
Dbit-vector.h241 int new_length = bits_ == NULL ? kInitialLength : bits_->length(); in EnsureCapacity() local
242 while (new_length <= value) new_length *= 2; in EnsureCapacity()
243 BitVector* new_bits = new (zone) BitVector(new_length, zone); in EnsureCapacity()
Dstring-builder.h145 int new_length = length; in EnsureCapacity() local
147 new_length *= 2; in EnsureCapacity()
148 } while (new_length < required_length); in EnsureCapacity()
150 array_->GetIsolate()->factory()->NewFixedArrayWithHoles(new_length); in EnsureCapacity()
Delements.cc2076 uint32_t new_length = length - delete_count + add_count; in SpliceImpl() local
2079 if (new_length <= static_cast<uint32_t>(receiver->elements()->length()) && in SpliceImpl()
2087 if (new_length == 0) { in SpliceImpl()
2107 delete_count, add_count, length, new_length); in SpliceImpl()
2111 delete_count, add_count, length, new_length); in SpliceImpl()
2117 receiver->set_length(Smi::FromInt(new_length)); in SpliceImpl()
2346 uint32_t new_length) { in SpliceShrinkStep() argument
2351 move_left_count, new_length, len); in SpliceShrinkStep()
2359 uint32_t new_length) { in SpliceGrowStep() argument
2363 if (new_length <= static_cast<uint32_t>(backing_store->length())) { in SpliceGrowStep()
[all …]
Delements.h65 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0;
/external/brotli/enc/
Dentropy_encode.c414 size_t new_length = length; in BrotliWriteHuffmanTree() local
417 --new_length; in BrotliWriteHuffmanTree()
427 DecideOverRleUse(depth, new_length, in BrotliWriteHuffmanTree()
432 for (i = 0; i < new_length;) { in BrotliWriteHuffmanTree()
438 for (k = i + 1; k < new_length && depth[k] == value; ++k) { in BrotliWriteHuffmanTree()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c192 unsigned new_length, i; in lp_build_concat() local
199 new_length = src_type.length; in lp_build_concat()
206 new_length <<= 1; in lp_build_concat()
207 for (i = 0; i < new_length; i++) { in lp_build_concat()
212 LLVMConstVector(shuffles, new_length), ""); in lp_build_concat()
901 unsigned new_length = src_type.length / size_ratio; in lp_build_resize() local
904 unsigned start_index = (i % size_ratio) * new_length; in lp_build_resize()
906 start_index, new_length); in lp_build_resize()
909 src_type.length = new_length; in lp_build_resize()
/external/webrtc/webrtc/modules/video_coding/
Dsession_info.cc337 size_t new_length = 0; in BuildVP8FragmentationHeader() local
344 return new_length; in BuildVP8FragmentationHeader()
358 new_length += fragmentation->fragmentationLength[partition_id]; in BuildVP8FragmentationHeader()
377 assert(new_length <= frame_buffer_length); in BuildVP8FragmentationHeader()
378 return new_length; in BuildVP8FragmentationHeader()
/external/syslinux/gpxe/src/include/gpxe/
Dbitmap.h48 extern int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length );
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp144 size_t new_length = name_length; in recursion() local
154 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field); in recursion()
156 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); in recursion()
174 recursion(t->fields.structure[i].type, name, new_length, in recursion()
207 size_t new_length = name_length; in recursion() local
210 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); in recursion()
212 recursion(t->fields.array, name, new_length, row_major, in recursion()
Dlink_varyings.cpp73 size_t new_length = name_length; in create_xfb_varying_names() local
76 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", ifc_member_name); in create_xfb_varying_names()
78 create_xfb_varying_names(mem_ctx, ifc_member_t, name, new_length, count, in create_xfb_varying_names()
83 size_t new_length = name_length; in create_xfb_varying_names() local
85 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); in create_xfb_varying_names()
88 new_length, count, NULL, NULL, in create_xfb_varying_names()
95 size_t new_length = name_length; in create_xfb_varying_names() local
98 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); in create_xfb_varying_names()
100 create_xfb_varying_names(mem_ctx, t->fields.array, name, new_length, in create_xfb_varying_names()
Dlink_uniform_blocks.cpp233 size_t new_length = name_length; in process_block_array() local
236 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", in process_block_array()
240 process_block_array(ub_array->array, name, new_length, blocks, in process_block_array()
Dlower_ubo_reference.cpp191 size_t new_length; in interface_field_name() local
202 new_length = base_length; in interface_field_name()
204 char *end = ralloc_strdup(NULL, &name_copy[new_length]); in interface_field_name()
223 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", in interface_field_name()
226 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s", in interface_field_name()
/external/python/cpython2/Modules/
Dzlibmodule.c160 Py_ssize_t new_length; in arrange_output_buffer_with_maximum() local
166 new_length = length << 1; in arrange_output_buffer_with_maximum()
168 new_length = max_length; in arrange_output_buffer_with_maximum()
169 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum()
171 length = new_length; in arrange_output_buffer_with_maximum()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c111 size_t new_length = list->array_length * 2; in anv_reloc_list_grow() local
112 while (new_length < list->num_relocs + num_additional_relocs) in anv_reloc_list_grow()
113 new_length *= 2; in anv_reloc_list_grow()
116 vk_alloc(alloc, new_length * sizeof(*list->relocs), 8, in anv_reloc_list_grow()
122 vk_alloc(alloc, new_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_grow()
136 list->array_length = new_length; in anv_reloc_list_grow()
/external/pdfium/third_party/freetype/src/base/
Dftrfork.c814 size_t new_length; in raccess_make_file_name() local
820 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name()
821 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
/external/v8/src/builtins/
Dbuiltins-array.cc187 int new_length = accessor->Push(array, &args, to_add); in BUILTIN() local
188 return Smi::FromInt(new_length); in BUILTIN()
259 Node* new_length = assembler.BuildAppendJSArray( in Generate_FastArrayPush() local
261 args.PopAndReturn(new_length); in Generate_FastArrayPush()
300 Node* new_length = assembler.BuildAppendJSArray( in Generate_FastArrayPush() local
302 args.PopAndReturn(new_length); in Generate_FastArrayPush()
307 Node* new_length = in Generate_FastArrayPush() local
310 args.PopAndReturn(new_length); in Generate_FastArrayPush()
383 uint32_t new_length = len - 1; in BUILTIN() local
385 isolate, result, JSReceiver::GetElement(isolate, array, new_length)); in BUILTIN()
[all …]
/external/freetype/src/base/
Dftrfork.c871 size_t new_length; in raccess_make_file_name() local
877 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name()
878 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc355 unsigned int length, new_length, name_str_len; in _hb_rename_font() local
367 new_length = name_table_offset + ((name_table_length + 3) & ~3); in _hb_rename_font()
368 void *new_sfnt_data = calloc (1, new_length); in _hb_rename_font()
429 return hb_blob_create ((const char *) new_sfnt_data, new_length, in _hb_rename_font()
Dhb-ot-cmap-table.hh157 uint16_t new_length = (uint16_t) MIN ((uintptr_t) 65535, in sanitize() local
160 if (!c->try_set (&length, new_length)) in sanitize()
/external/v8/src/js/
Darray.js430 var new_length = n + m;
431 array.length = new_length;
432 return new_length;
580 var new_length = len + num_arguments;
581 array.length = new_length;
582 return new_length;
/external/v8/src/runtime/
Druntime-typedarray.cc30 CONVERT_NUMBER_ARG_HANDLE_CHECKED(new_length, 3); in RUNTIME_FUNCTION()
42 CHECK(TryNumberToSize(*new_length, &target_length)); in RUNTIME_FUNCTION()

12