/external/v8/src/ |
D | bit-vector.h | 112 void Resize(int new_length, Zone* zone) { in Resize() argument 113 DCHECK_GT(new_length, length()); in Resize() 114 int new_data_length = SizeFor(new_length); in Resize() 125 length_ = new_length; in Resize() 357 int new_length = bits_ == nullptr ? kInitialLength : bits_->length(); in EnsureCapacity() local 358 while (new_length <= value) new_length *= 2; in EnsureCapacity() 361 bits_ = new (zone) BitVector(new_length, zone); in EnsureCapacity() 363 bits_->Resize(new_length, zone); in EnsureCapacity()
|
D | string-builder.cc | 131 int new_length = length; in EnsureCapacity() local 133 new_length *= 2; in EnsureCapacity() 134 } while (new_length < required_length); in EnsureCapacity() 136 isolate->factory()->NewFixedArrayWithHoles(new_length); in EnsureCapacity()
|
/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 | 514 size_t new_length; in ralloc_vasprintf_rewrite_tail() local 526 new_length = printf_length(fmt, args); in ralloc_vasprintf_rewrite_tail() 528 ptr = resize(*str, *start + new_length + 1); in ralloc_vasprintf_rewrite_tail() 532 vsnprintf(ptr + *start, new_length + 1, fmt, args); in ralloc_vasprintf_rewrite_tail() 534 *start += new_length; in ralloc_vasprintf_rewrite_tail() 850 size_t new_length; in linear_vasprintf_rewrite_tail() local 861 new_length = printf_length(fmt, args); in linear_vasprintf_rewrite_tail() 863 ptr = linear_realloc(parent, *str, *start + new_length + 1); in linear_vasprintf_rewrite_tail() 867 vsnprintf(ptr + *start, new_length + 1, fmt, args); in linear_vasprintf_rewrite_tail() 869 *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/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 | 217 unsigned new_length, i; in lp_build_concat() local 224 new_length = src_type.length; in lp_build_concat() 231 new_length <<= 1; in lp_build_concat() 232 for (i = 0; i < new_length; i++) { in lp_build_concat() 237 LLVMConstVector(shuffles, new_length), ""); in lp_build_concat() 937 unsigned new_length = src_type.length / size_ratio; in lp_build_resize() local 940 unsigned start_index = (i % size_ratio) * new_length; in lp_build_resize() 942 start_index, new_length); in lp_build_resize() 945 src_type.length = new_length; in lp_build_resize()
|
/external/v8/src/objects/ |
D | js-array-inl.h | 28 bool JSArray::SetLengthWouldNormalize(Heap* heap, uint32_t new_length) { in SetLengthWouldNormalize() argument 29 return new_length > kMaxFastArrayLength; in SetLengthWouldNormalize()
|
D | js-array.h | 41 bool SetLengthWouldNormalize(uint32_t new_length); 42 static inline bool SetLengthWouldNormalize(Heap* heap, uint32_t new_length);
|
/external/v8/src/builtins/ |
D | builtins-array.cc | 395 uint32_t new_length = accessor->Push(array, &args, to_add); in BUILTIN() local 396 return *isolate->factory()->NewNumberFromUint((new_length)); in BUILTIN() 429 Handle<Object> new_length = isolate->factory()->NewNumber(length - 1); in GenericArrayPop() local 432 Handle<String> index = isolate->factory()->NumberToString(new_length); in GenericArrayPop() 449 new_length, LanguageMode::kStrict)); in GenericArrayPop() 479 uint32_t new_length = len - 1; in BUILTIN() local 481 isolate, result, JSReceiver::GetElement(isolate, array, new_length)); in BUILTIN() 482 JSArray::SetLength(array, new_length); in BUILTIN() 529 int new_length = accessor->Unshift(array, &args, to_add); in BUILTIN() local 530 return Smi::FromInt(new_length); in BUILTIN() [all …]
|
D | builtins-array-gen.cc | 971 Node* new_length = IntPtrSub(length, IntPtrConstant(1)); in TF_BUILTIN() local 977 IntPtrAdd(IntPtrAdd(new_length, new_length), in TF_BUILTIN() 983 SmiTag(new_length)); in TF_BUILTIN() 991 elements, new_length, MachineType::Float64(), 0, INTPTR_PARAMETERS, in TF_BUILTIN() 995 Node* offset = ElementOffsetFromIndex(new_length, HOLEY_DOUBLE_ELEMENTS, in TF_BUILTIN() 1014 Node* value = LoadFixedArrayElement(CAST(elements), new_length); in TF_BUILTIN() 1015 StoreFixedArrayElement(CAST(elements), new_length, TheHoleConstant()); in TF_BUILTIN() 1068 Node* new_length = BuildAppendJSArray(PACKED_SMI_ELEMENTS, array_receiver, in TF_BUILTIN() local 1070 args.PopAndReturn(new_length); in TF_BUILTIN() 1106 Node* new_length = BuildAppendJSArray(PACKED_ELEMENTS, array_receiver, in TF_BUILTIN() local [all …]
|
/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/mesa3d/src/compiler/glsl/ |
D | link_uniforms.cpp | 133 size_t new_length = name_length; in recursion() local 140 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field); in recursion() 142 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); in recursion() 160 recursion(t->fields.structure[i].type, name, new_length, in recursion() 193 size_t new_length = name_length; in recursion() local 196 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); in recursion() 198 recursion(t->fields.array, name, new_length, row_major, in recursion()
|
D | link_uniform_blocks.cpp | 244 size_t new_length = name_length; in process_block_array() local 247 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", in process_block_array() 251 process_block_array(ub_array->array, name, new_length, blocks, in process_block_array()
|
D | lower_ubo_reference.cpp | 194 size_t new_length; in interface_field_name() local 205 new_length = base_length; in interface_field_name() 207 char *end = ralloc_strdup(NULL, &name_copy[new_length]); in interface_field_name() 226 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", in interface_field_name() 229 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s", in interface_field_name()
|
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()
|
/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/python/cpython3/Modules/ |
D | zlibmodule.c | 156 Py_ssize_t new_length; in arrange_output_buffer_with_maximum() local 162 new_length = length << 1; in arrange_output_buffer_with_maximum() 164 new_length = max_length; in arrange_output_buffer_with_maximum() 165 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum() 167 length = new_length; in arrange_output_buffer_with_maximum()
|
/external/freetype/src/base/ |
D | ftrfork.c | 877 size_t new_length; in raccess_make_file_name() local 883 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name() 884 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
|