Home
last modified time | relevance | path

Searched refs:dest_length (Results 1 – 4 of 4) sorted by relevance

/external/regex-re2/util/
Dstrutil.cc63 const int dest_length = src.size() * 4 + 1; // Maximum possible expansion in CEscape() local
64 char* dest = new char[dest_length]; in CEscape()
66 dest, dest_length); in CEscape()
/external/libvpx/libvpx/vpx_scale/generic/
Dvpx_scale.c74 unsigned int dest_length in scale1d_2t1_i() argument
86 …for (i = dest_step, j = source_step; i < dest_length * dest_step; i += dest_step, j += source_step… in scale1d_2t1_i()
128 unsigned int dest_length in scale1d_2t1_ps() argument
139 for (i = 0; i < dest_length * dest_step; i += dest_step, j += source_step) in scale1d_2t1_ps()
174 unsigned int dest_length in scale1d_c() argument
189 for (i = 0; i < dest_length * dest_step; i += dest_step) { in scale1d_c()
262 … unsigned char * dest, int dest_step, unsigned int dest_scale, unsigned int dest_length); in Scale2D()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc526 const int dest_length = src.size() * 4 + 1; // Maximum possible expansion in CEscape() local
527 scoped_array<char> dest(new char[dest_length]); in CEscape()
529 dest.get(), dest_length, false, false); in CEscape()
537 const int dest_length = src.size() * 4 + 1; // Maximum possible expansion in Utf8SafeCEscape() local
538 scoped_array<char> dest(new char[dest_length]); in Utf8SafeCEscape()
540 dest.get(), dest_length, false, true); in Utf8SafeCEscape()
546 const int dest_length = src.size() * 4 + 1; // Maximum possible expansion in CHexEscape() local
547 scoped_array<char> dest(new char[dest_length]); in CHexEscape()
549 dest.get(), dest_length, true, false); in CHexEscape()
/external/v8/src/runtime/
Druntime-i18n.cc848 int32_t dest_length = src_length; in LocaleConvertCase() local
857 isolate->factory()->NewRawTwoByteString(dest_length).ToHandleChecked(); in LocaleConvertCase()
862 dest_length = case_converter(reinterpret_cast<UChar*>(result->GetChars()), in LocaleConvertCase()
863 dest_length, src, src_length, lang, &status); in LocaleConvertCase()
873 DCHECK(dest_length == result->length()); in LocaleConvertCase()
877 DCHECK(dest_length < result->length()); in LocaleConvertCase()
879 SeqString::Truncate(result, dest_length)); in LocaleConvertCase()