Home
last modified time | relevance | path

Searched refs:old_length (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc49 size_t old_length; in Process() local
52 size_t expanded_length = GetExpandedSignal(&old_length, &expand_period); in Process()
92 expanded_max, input_max, old_length, in Process()
151 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index()); in Process()
152 output->PopFront(old_length); in Process()
156 return output_length - old_length; in Process()
159 size_t Merge::GetExpandedSignal(size_t* old_length, size_t* expand_period) { in GetExpandedSignal() argument
161 *old_length = sync_buffer_->FutureLength(); in GetExpandedSignal()
163 assert(*old_length >= expand_->overlap_length()); in GetExpandedSignal()
167 if (*old_length >= 210 * kMaxSampleRate / 8000) { in GetExpandedSignal()
[all …]
Dmerge.h70 size_t GetExpandedSignal(size_t* old_length, size_t* expand_period);
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DJSR.java66 final short old_length = (short) super.getLength(); in updatePosition() local
68 return super.getLength() - old_length; in updatePosition()
DGOTO.java75 final short old_length = (short) super.getLength(); in updatePosition() local
77 return super.getLength() - old_length; in updatePosition()
DSelect.java125 final short old_length = (short) super.getLength(); in updatePosition() local
130 return super.getLength() - old_length; in updatePosition()
/external/sfntly/cpp/src/sfntly/tools/subsetter/
Dglyph_table_subsetter.cc73 int old_length = loca_table->GlyphLength(*old_glyph_id); in Subset() local
75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length)); in Subset()
/external/pdfium/core/fxcrt/
Dbytestring.cpp451 size_t old_length = m_pData->m_nDataLength; in Delete() local
453 index != pdfium::clamp(index, static_cast<size_t>(0), old_length)) in Delete()
454 return old_length; in Delete()
457 if (removal_length > old_length) in Delete()
458 return old_length; in Delete()
460 ReallocBeforeWrite(old_length); in Delete()
461 size_t chars_to_copy = old_length - removal_length + 1; in Delete()
464 m_pData->m_nDataLength = old_length - count; in Delete()
Dwidestring.cpp618 size_t old_length = m_pData->m_nDataLength; in Delete() local
620 index != pdfium::clamp(index, static_cast<size_t>(0), old_length)) in Delete()
621 return old_length; in Delete()
624 if (removal_length > old_length) in Delete()
625 return old_length; in Delete()
627 ReallocBeforeWrite(old_length); in Delete()
628 size_t chars_to_copy = old_length - removal_length + 1; in Delete()
631 m_pData->m_nDataLength = old_length - count; in Delete()
/external/speex/libspeexdsp/
Dresample.c596 spx_uint32_t old_length = st->filt_len; in update_filter() local
716 } else if (st->filt_len > old_length) in update_filter()
724 spx_uint32_t olen = old_length; in update_filter()
730 olen = old_length + 2*st->magic_samples[i]; in update_filter()
731 for (j=old_length-1+st->magic_samples[i];j--;) in update_filter()
755 } else if (st->filt_len < old_length) in update_filter()
764 st->magic_samples[i] = (old_length - st->filt_len)/2; in update_filter()
779 st->filt_len = old_length; in update_filter()
/external/googletest/googletest/src/
Dgtest-death-test.cc920 size_t old_length = captured_stderr_.length(); in Wait() local
922 captured_stderr_.resize(old_length + kBufferSize); in Wait()
924 0, &captured_stderr_.front() + old_length, kBufferSize, in Wait()
926 captured_stderr_.resize(old_length + bytes_read); in Wait()
/external/flac/libFLAC/
Dmetadata_object.c1729 size_t old_length, new_length; in FLAC__metadata_object_picture_set_mime_type() local
1736 old_length = old? strlen(old) : 0; in FLAC__metadata_object_picture_set_mime_type()
1752 object->length -= old_length; in FLAC__metadata_object_picture_set_mime_type()
1760 size_t old_length, new_length; in FLAC__metadata_object_picture_set_description() local
1767 old_length = old? strlen((const char *)old) : 0; in FLAC__metadata_object_picture_set_description()
1783 object->length -= old_length; in FLAC__metadata_object_picture_set_description()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPencode.cc303 uint16_t old_length, old_plen; in main() local
769 if (fwrite(&old_length, 2, 1, out_file) != 1) { in main()
783 old_length = length; in main()
/external/v8/src/
Delements.cc765 uint32_t old_length = 0; in SetLengthImpl() local
766 CHECK(array->length()->ToArrayIndex(&old_length)); in SetLengthImpl()
768 if (old_length < length) { in SetLengthImpl()
778 old_length = Min(old_length, capacity); in SetLengthImpl()
793 int elements_to_trim = length + 1 == old_length in SetLengthImpl()
800 std::min(old_length, capacity - elements_to_trim)); in SetLengthImpl()
803 BackingStore::cast(*backing_store)->FillWithHoles(length, old_length); in SetLengthImpl()
1437 uint32_t old_length = 0; in SetLengthImpl() local
1438 CHECK(array->length()->ToArrayLength(&old_length)); in SetLengthImpl()
1442 if (length < old_length) { in SetLengthImpl()
[all …]
Djson-stringifier.cc565 Handle<Object> old_length(object->length(), isolate_); in SerializeJSArray() local
567 if (object->length() != *old_length || in SerializeJSArray()
Dvalue-serializer.cc647 Handle<Object> old_length(array->length(), isolate_); in WriteJSArray() local
649 if (array->length() != *old_length || in WriteJSArray()
Dobjects.cc12310 int old_length = string->length(); in Truncate() local
12311 if (old_length <= new_length) return string; in Truncate()
12314 old_size = SeqOneByteString::SizeFor(old_length); in Truncate()
12318 old_size = SeqTwoByteString::SizeFor(old_length); in Truncate()
15752 uint32_t old_length = 0; in AddDataElement() local
15756 CHECK(JSArray::cast(*object)->length()->ToArrayLength(&old_length)); in AddDataElement()
15783 if (IsHoleyElementsKind(kind) || !object->IsJSArray() || index > old_length) { in AddDataElement()
15791 if (object->IsJSArray() && index >= old_length) { in AddDataElement()
/external/v8/src/wasm/
Dwasm-objects.cc770 int old_length = dispatch_tables->length(); in AddDispatchTable() local
771 DCHECK_EQ(0, old_length % kDispatchTableNumElements); in AddDispatchTable()
781 new_dispatch_tables->set(old_length + kDispatchTableInstanceOffset, in AddDispatchTable()
783 new_dispatch_tables->set(old_length + kDispatchTableIndexOffset, in AddDispatchTable()
/external/freetype/src/sfnt/
Dttload.c439 FT_ULong old_length = entry.Length; in tt_face_load_font_dir() local
455 old_length )); in tt_face_load_font_dir()
/external/python/cpython3/Objects/
Dunicodeobject.c910 unicode_fill_invalid(PyObject *unicode, Py_ssize_t old_length) in unicode_fill_invalid() argument
915 if (length <= old_length) in unicode_fill_invalid()
917 memset(data + old_length * kind, 0xff, (length - old_length) * kind); in unicode_fill_invalid()
930 Py_ssize_t old_length = _PyUnicode_LENGTH(unicode); in resize_compact() local
980 unicode_fill_invalid(unicode, old_length); in resize_compact()
1001 Py_ssize_t old_length = _PyUnicode_LENGTH(unicode); in resize_inplace() local
1039 unicode_fill_invalid(unicode, old_length); in resize_inplace()
1878 Py_ssize_t old_length; in unicode_resize() local
1888 old_length = PyUnicode_WSTR_LENGTH(unicode); in unicode_resize()
1890 old_length = PyUnicode_GET_LENGTH(unicode); in unicode_resize()
[all …]
/external/v8/src/objects/
Dbigint.cc334 int old_length = result->length(); in MakeImmutable() local
335 int new_length = old_length; in MakeImmutable()
337 int to_trim = old_length - new_length; in MakeImmutable()
/external/v8/src/builtins/
Dbuiltins-array-gen.cc2001 TNode<Smi> old_length = LoadFastJSArrayLength(fast_array); in GenerateSetLength() local
2002 CSA_ASSERT(this, TaggedIsPositiveSmi(old_length)); in GenerateSetLength()
2008 Branch(SmiNotEqual(length_smi, old_length), &runtime, &done); in GenerateSetLength()