Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dannotation_stack.h48 size_t old_length = annotation_stack->size(); in PushAnnotation() local
49 if (old_length != 0) { in PushAnnotation()
54 return old_length; in PushAnnotation()
59 size_t old_length = annotation_stack->size(); in PushAnnotation() local
60 if (old_length != 0) { in PushAnnotation()
65 return old_length; in PushAnnotation()
72 static void PopAnnotation(size_t old_length) { in PopAnnotation() argument
73 ThreadAnnotationStack()->resize(old_length); in PopAnnotation()
/external/webrtc/modules/audio_coding/neteq/
Dmerge.cc54 size_t old_length; in Process() local
57 size_t expanded_length = GetExpandedSignal(&old_length, &expand_period); in Process()
90 old_length, input_length_per_channel, expand_period); in Process()
152 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index()); in Process()
153 output->PopFront(old_length); in Process()
157 RTC_DCHECK_GE(output_length, old_length); in Process()
158 return output_length - old_length; in Process()
161 size_t Merge::GetExpandedSignal(size_t* old_length, size_t* expand_period) { in GetExpandedSignal() argument
163 *old_length = sync_buffer_->FutureLength(); in GetExpandedSignal()
165 assert(*old_length >= expand_->overlap_length()); in GetExpandedSignal()
[all …]
Dmerge.h65 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.cpp428 size_t old_length = m_pData->m_nDataLength; in Delete() local
429 if (count == 0 || index != pdfium::clamp<size_t>(index, 0, old_length)) in Delete()
430 return old_length; in Delete()
433 if (removal_length > old_length) in Delete()
434 return old_length; in Delete()
436 ReallocBeforeWrite(old_length); in Delete()
437 size_t chars_to_copy = old_length - removal_length + 1; in Delete()
440 m_pData->m_nDataLength = old_length - count; in Delete()
Dwidestring.cpp595 size_t old_length = m_pData->m_nDataLength; in Delete() local
596 if (count == 0 || index != pdfium::clamp<size_t>(index, 0, old_length)) in Delete()
597 return old_length; in Delete()
600 if (removal_length > old_length) in Delete()
601 return old_length; in Delete()
603 ReallocBeforeWrite(old_length); in Delete()
604 size_t chars_to_copy = old_length - removal_length + 1; in Delete()
607 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/mesa3d/src/imgui/
Dimstb_textedit.h504 …ace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length);
1328 …lace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) in stb_text_makeundo_replace() argument
1331 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length); in stb_text_makeundo_replace()
1333 for (i=0; i < old_length; ++i) in stb_text_makeundo_replace()
/external/rust/crates/quiche/deps/boringssl/src/third_party/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/mesa3d/src/gtest/src/
Dgtest-death-test.cc931 size_t old_length = captured_stderr_.length(); in Wait() local
933 captured_stderr_.resize(old_length + kBufferSize); in Wait()
935 0, &captured_stderr_.front() + old_length, kBufferSize, in Wait()
937 captured_stderr_.resize(old_length + bytes_read); in Wait()
/external/googletest/googletest/src/
Dgtest-death-test.cc931 size_t old_length = captured_stderr_.length(); in Wait() local
933 captured_stderr_.resize(old_length + kBufferSize); in Wait()
935 0, &captured_stderr_.front() + old_length, kBufferSize, in Wait()
937 captured_stderr_.resize(old_length + bytes_read); in Wait()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc910 size_t old_length = captured_stderr_.length(); in Wait() local
912 captured_stderr_.resize(old_length + kBufferSize); in Wait()
914 stderr_socket_.read(0, &captured_stderr_.front() + old_length, in Wait()
916 captured_stderr_.resize(old_length + bytes_read); in Wait()
/external/flac/src/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/freetype/src/sfnt/
Dttload.c446 FT_ULong old_length = entry.Length; in tt_face_load_font_dir() local
462 old_length )); in tt_face_load_font_dir()
/external/python/cpython3/Objects/
Dunicodeobject.c1027 unicode_fill_invalid(PyObject *unicode, Py_ssize_t old_length) in unicode_fill_invalid() argument
1032 if (length <= old_length) in unicode_fill_invalid()
1034 memset(data + old_length * kind, 0xff, (length - old_length) * kind); in unicode_fill_invalid()
1047 Py_ssize_t old_length = _PyUnicode_LENGTH(unicode); in resize_compact() local
1101 unicode_fill_invalid(unicode, old_length); in resize_compact()
1122 Py_ssize_t old_length = _PyUnicode_LENGTH(unicode); in resize_inplace() local
1160 unicode_fill_invalid(unicode, old_length); in resize_inplace()
2012 Py_ssize_t old_length; in unicode_resize() local
2022 old_length = PyUnicode_WSTR_LENGTH(unicode); in unicode_resize()
2024 old_length = PyUnicode_GET_LENGTH(unicode); in unicode_resize()
[all …]