/external/syslinux/gpxe/src/core/ |
D | bitmap.c | 37 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/ |
D | packet_manipulator.cc | 45 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/mesa3d/src/util/ |
D | ralloc.c | 521 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/benchmarks/spinning-balls/ |
D | 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/oj-libjdwp/src/share/back/ |
D | outStream.c | 308 jint new_length; in outStream_writeString() local 310 new_length = (gdata->npt->utf8mToUtf8sLength) in outStream_writeString() 312 if ( new_length == length ) { in outStream_writeString() 318 new_string = jvmtiAllocate(new_length+1); in outStream_writeString() 321 (jbyte*)new_string, new_length); in outStream_writeString() 322 (void)outStream_writeInt(stream, new_length); in outStream_writeString() 323 error = writeBytes(stream, (jbyte *)new_string, new_length); in outStream_writeString()
|
D | inStream.c | 376 int new_length; in inStream_readString() local 382 new_length = (gdata->npt->utf8sToUtf8mLength) in inStream_readString() 384 if ( new_length != length ) { in inStream_readString() 387 new_string = jvmtiAllocate(new_length+1); in inStream_readString() 390 (jbyte*)new_string, new_length); in inStream_readString()
|
/external/v8/src/ |
D | bit-vector.h | 241 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()
|
D | string-builder.h | 145 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()
|
D | elements.cc | 2076 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 …]
|
/external/oj-libjdwp/src/share/npt/ |
D | utf.h | 70 jbyte *new_string, int new_length); 75 jbyte *new_string, int new_length);
|
/external/brotli/c/enc/ |
D | entropy_encode.c | 414 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/ |
D | lp_bld_pack.c | 192 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/ |
D | session_info.cc | 337 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/ |
D | bitmap.h | 48 extern int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length );
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniforms.cpp | 144 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()
|
D | link_varyings.cpp | 73 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()
|
D | link_uniform_blocks.cpp | 233 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()
|
D | lower_ubo_reference.cpp | 191 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/pdfium/core/fxcrt/ |
D | bytestring.cpp | 545 const size_t new_length = cur_length + 1; in Insert() local 546 ReallocBeforeWrite(new_length); in Insert() 548 new_length - location); in Insert() 550 m_pData->m_nDataLength = new_length; in Insert() 551 return new_length; in Insert()
|
D | widestring.cpp | 727 const size_t new_length = cur_length + 1; in Insert() local 728 ReallocBeforeWrite(new_length); in Insert() 730 new_length - location); in Insert() 732 m_pData->m_nDataLength = new_length; in Insert() 733 return new_length; in Insert()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 160 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/flac/libFLAC/ |
D | metadata_object.c | 1729 size_t old_length, new_length; in FLAC__metadata_object_picture_set_mime_type() local 1737 new_length = strlen(mime_type); in FLAC__metadata_object_picture_set_mime_type() 1741 if (new_length >= SIZE_MAX) /* overflow check */ in FLAC__metadata_object_picture_set_mime_type() 1743 …copy_bytes_((FLAC__byte**)(&object->data.picture.mime_type), (FLAC__byte*)mime_type, new_length+1)) in FLAC__metadata_object_picture_set_mime_type() 1753 object->length += new_length; in FLAC__metadata_object_picture_set_mime_type() 1760 size_t old_length, new_length; in FLAC__metadata_object_picture_set_description() local 1768 new_length = strlen((const char *)description); in FLAC__metadata_object_picture_set_description() 1772 if (new_length >= SIZE_MAX) /* overflow check */ in FLAC__metadata_object_picture_set_description() 1774 if (!copy_bytes_(&object->data.picture.description, description, new_length+1)) in FLAC__metadata_object_picture_set_description() 1784 object->length += new_length; in FLAC__metadata_object_picture_set_description()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_batch_chain.c | 111 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/python/cpython3/Modules/ |
D | zlibmodule.c | 165 Py_ssize_t new_length; in arrange_output_buffer_with_maximum() local 171 new_length = length << 1; in arrange_output_buffer_with_maximum() 173 new_length = max_length; in arrange_output_buffer_with_maximum() 174 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum() 176 length = new_length; in arrange_output_buffer_with_maximum()
|
/external/v8/src/builtins/ |
D | builtins-array.cc | 187 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 …]
|