/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_utility.cpp | 120 int dest_len = 0; in PDF_NameEncode() local 126 dest_len += 3; in PDF_NameEncode() 128 dest_len++; in PDF_NameEncode() 131 if (dest_len == src_len) in PDF_NameEncode() 135 char* dest_buf = res.GetBuffer(dest_len); in PDF_NameEncode() 136 dest_len = 0; in PDF_NameEncode() 141 dest_buf[dest_len++] = '#'; in PDF_NameEncode() 142 FXSYS_IntToTwoHexChars(ch, dest_buf + dest_len); in PDF_NameEncode() 143 dest_len += 2; in PDF_NameEncode() 145 dest_buf[dest_len++] = ch; in PDF_NameEncode() [all …]
|
/external/libchrome/base/strings/ |
D | utf_string_conversions.cc | 86 int32_t* dest_len) { in DoUTFConversion() argument 98 UnicodeAppendUnsafe(dest, dest_len, code_point); in DoUTFConversion() 108 int32_t* dest_len) { in DoUTFConversion() argument 138 UnicodeAppendUnsafe(dest, dest_len, code_point); in DoUTFConversion() 142 UnicodeAppendUnsafe(dest, dest_len, ConvertSingleChar(src[i])); in DoUTFConversion() 153 int32_t* dest_len) { in DoUTFConversion() argument 164 UnicodeAppendUnsafe(dest, dest_len, code_point); in DoUTFConversion()
|
/external/icu/icu4c/source/test/intltest/ |
D | idnaconf.cpp | 107 int dest_len = ucnv_toUChars(conv, in ReadAndConvertFile() local 117 dest = new UChar[ dest_len + 1]; in ReadAndConvertFile() 118 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); in ReadAndConvertFile() 121 dest[dest_len] = 0; in ReadAndConvertFile() 122 len = dest_len; in ReadAndConvertFile()
|
/external/dynamic_depth/internal/strings/ |
D | escaping.cc | 383 const size_t dest_len = 3 * (slen / 4) + (slen % 4); in Base64UnescapeInternal() local 385 dest->resize(dest_len); in Base64UnescapeInternal() 392 dest_len, unbase64, &len); in Base64UnescapeInternal() 399 DCHECK_LE(len, dest_len); in Base64UnescapeInternal()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_progressivedecoder.h | 80 void Calc(int dest_len, 101 void Calc(int dest_len, int src_len); 116 void Calc(int dest_len, int src_len);
|
D | fx_codec_progress.cpp | 51 void CCodec_ProgressiveDecoder::CFXCODEC_WeightTable::Calc(int dest_len, in Calc() argument 58 scale = (float)src_len / (float)dest_len; in Calc() 59 if (dest_len < 0) { in Calc() 143 void CCodec_ProgressiveDecoder::CFXCODEC_HorzTable::Calc(int dest_len, in Calc() argument 145 double scale = (double)dest_len / (double)src_len; in Calc() 147 int size = dest_len * m_ItemSize + 4; in Calc() 158 if (src_col == src_len - 1 && des_col < dest_len - 1) { in Calc() 159 for (int des_col_index = pre_des_col + 1; des_col_index < dest_len; in Calc() 183 for (int des_col = 0; des_col < dest_len; des_col++) { in Calc() 197 void CCodec_ProgressiveDecoder::CFXCODEC_VertTable::Calc(int dest_len, in Calc() argument [all …]
|
/external/u-boot/drivers/video/ |
D | videomodes.c | 332 char *dest, int dest_len, const char *def) in video_get_option_string() argument 341 if (len >= dest_len) in video_get_option_string() 342 len = dest_len - 1; in video_get_option_string()
|
D | videomodes.h | 89 char *dest, int dest_len, const char *def);
|
/external/pdfium/core/fxcrt/ |
D | bytestring.cpp | 77 int dest_len = in GetByteString() local 80 if (!dest_len) in GetByteString() 84 char* dest_buf = bstr.GetBuffer(dest_len); in GetByteString() 86 dest_buf, dest_len, nullptr, nullptr); in GetByteString() 87 bstr.ReleaseBuffer(dest_len); in GetByteString()
|
D | widestring.cpp | 296 int dest_len = FXSYS_MultiByteToWideChar( in GetWideString() local 298 if (!dest_len) in GetWideString() 302 wchar_t* dest_buf = wstr.GetBuffer(dest_len); in GetWideString() 304 dest_buf, dest_len); in GetWideString() 305 wstr.ReleaseBuffer(dest_len); in GetWideString()
|
/external/pdfium/core/fxge/dib/ |
D | cstretchengine.h | 42 bool Calc(int dest_len,
|
D | cstretchengine.cpp | 35 bool CStretchEngine::CWeightTable::Calc(int dest_len, in Calc() argument 44 const double scale = static_cast<float>(src_len) / dest_len; in Calc() 45 const double base = dest_len < 0 ? src_len : 0; in Calc()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 483 int dest_len, bool use_hex, bool utf8_safe) { in CEscapeInternal() argument 489 if (dest_len - used < 2) // Need space for two letter escape in CEscapeInternal() 507 if (dest_len - used < 4) // need space for 4 letter escape in CEscapeInternal() 520 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeInternal() 2050 const int dest_len = 3 * (slen / 4) + (slen % 4); in Base64UnescapeInternal() local 2052 dest->resize(dest_len); in Base64UnescapeInternal() 2057 dest_len, unbase64); in Base64UnescapeInternal() 2064 GOOGLE_DCHECK_LE(len, dest_len); in Base64UnescapeInternal()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | str_util.cc | 91 string::size_type* dest_len, string* error) { in CUnescapeInternal() argument 215 *dest_len = d - dest->begin(); in CUnescapeInternal()
|
/external/flac/libFLAC/ |
D | metadata_iterators.c | 3337 size_t dest_len = strlen(filename) + strlen(tempfile_suffix) + 1; in open_tempfile_() local 3338 if(0 == (*tempfilename = safe_malloc_(dest_len))) { in open_tempfile_() 3342 local_snprintf(*tempfilename, dest_len, "%s%s", filename, tempfile_suffix); in open_tempfile_() 3346 size_t dest_len; in open_tempfile_() local 3352 dest_len = strlen(tempfile_path_prefix) + strlen(p) + strlen(tempfile_suffix) + 2; in open_tempfile_() 3354 if(0 == (*tempfilename = safe_malloc_(dest_len))) { in open_tempfile_() 3358 local_snprintf(*tempfilename, dest_len, "%s/%s%s", tempfile_path_prefix, p, tempfile_suffix); in open_tempfile_()
|