Home
last modified time | relevance | path

Searched refs:dest_len (Results 1 – 23 of 23) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp312 int dest_len = 0; in PDF_NameEncode() local
318 dest_len += 3; in PDF_NameEncode()
320 dest_len++; in PDF_NameEncode()
323 if (dest_len == src_len) in PDF_NameEncode()
327 FX_CHAR* dest_buf = res.GetBuffer(dest_len); in PDF_NameEncode()
328 dest_len = 0; in PDF_NameEncode()
333 dest_buf[dest_len++] = '#'; in PDF_NameEncode()
334 dest_buf[dest_len++] = "0123456789ABCDEF"[ch / 16]; in PDF_NameEncode()
335 dest_buf[dest_len++] = "0123456789ABCDEF"[ch % 16]; in PDF_NameEncode()
337 dest_buf[dest_len++] = ch; in PDF_NameEncode()
[all …]
/external/regex-re2/util/
Dstrutil.cc18 int dest_len) { in CEscapeString() argument
23 if (dest_len - used < 2) // Need space for two letter escape in CEscapeString()
39 if (dest_len - used < 4) // need space for 4 letter escape in CEscapeString()
49 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeString()
Dutil.h109 int CEscapeString(const char* src, int src_len, char* dest, int dest_len);
/external/icu/icu4c/source/test/intltest/
Didnaconf.cpp105 int dest_len = ucnv_toUChars(conv, in ReadAndConvertFile() local
115 dest = new UChar[ dest_len + 1]; in ReadAndConvertFile()
116 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); in ReadAndConvertFile()
119 dest[dest_len] = 0; in ReadAndConvertFile()
120 len = dest_len; in ReadAndConvertFile()
/external/valgrind/none/tests/s390x/
Dcu24_1.c64 register uint64_t dest_len asm("3") = dst_len; in do_cu24()
71 "+d"(source_len), "+d"(dest_len) in do_cu24()
77 regs.len1 = dest_len; in do_cu24()
Dcu24.c64 register uint64_t dest_len asm("3") = dst_len; in do_cu24()
71 "+d"(source_len), "+d"(dest_len) in do_cu24()
77 regs.len1 = dest_len; in do_cu24()
Dcu42.c67 register uint64_t dest_len asm("3") = dst_len; in do_cu42()
74 "+d"(source_len), "+d"(dest_len) in do_cu42()
80 regs.len1 = dest_len; in do_cu42()
Dcu41.c78 register uint64_t dest_len asm("3") = dst_len; in do_cu41()
85 "+d"(source_len), "+d"(dest_len) in do_cu41()
91 regs.len1 = dest_len; in do_cu41()
Dcu21_1.c77 register uint64_t dest_len asm("3") = dst_len; in do_cu21()
84 "+d"(source_len), "+d"(dest_len) in do_cu21()
90 regs.len1 = dest_len; in do_cu21()
Dcu21.c77 register uint64_t dest_len asm("3") = dst_len; in do_cu21()
84 "+d"(source_len), "+d"(dest_len) in do_cu21()
90 regs.len1 = dest_len; in do_cu21()
Dcu14.c86 register uint64_t dest_len asm("3") = dst_len; in do_cu14()
93 "+d"(source_len), "+d"(dest_len) in do_cu14()
99 regs.len1 = dest_len; in do_cu14()
Dcu12_1.c86 register uint64_t dest_len asm("3") = dst_len; in do_cu12()
93 "+d"(source_len), "+d"(dest_len) in do_cu12()
99 regs.len1 = dest_len; in do_cu12()
Dcu12.c86 register uint64_t dest_len asm("3") = dst_len; in do_cu12()
93 "+d"(source_len), "+d"(dest_len) in do_cu12()
99 regs.len1 = dest_len; in do_cu12()
Dcu14_1.c86 register uint64_t dest_len asm("3") = dst_len; in do_cu14()
93 "+d"(source_len), "+d"(dest_len) in do_cu14()
99 regs.len1 = dest_len; in do_cu14()
/external/valgrind/memcheck/tests/s390x/
Dcu21.c45 register uint64_t dest_len asm("3") = dst_len; in do_cu21()
49 : "+d"(dest), "+d"(source), "+d"(source_len), "+d"(dest_len) in do_cu21()
Dcu42.c31 register uint64_t dest_len asm("3") = dst_len; in do_cu42()
35 : "+d"(dest), "+d"(source), "+d"(source_len), "+d"(dest_len) in do_cu42()
/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp998 int dest_len = FXSYS_WideCharToMultiByte(codepage, 0, widestr.c_str(), in _DefMap_GetByteString() local
1000 if (dest_len == 0) { in _DefMap_GetByteString()
1004 FX_CHAR* dest_buf = bytestr.GetBuffer(dest_len); in _DefMap_GetByteString()
1006 dest_len, NULL, NULL); in _DefMap_GetByteString()
1007 bytestr.ReleaseBuffer(dest_len); in _DefMap_GetByteString()
1014 int dest_len = in _DefMap_GetWideString() local
1016 if (dest_len == 0) { in _DefMap_GetWideString()
1020 FX_WCHAR* dest_buf = widestr.GetBuffer(dest_len); in _DefMap_GetWideString()
1021 FXSYS_MultiByteToWideChar(codepage, 0, bytestr, src_len, dest_buf, dest_len); in _DefMap_GetWideString()
1022 widestr.ReleaseBuffer(dest_len); in _DefMap_GetWideString()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.h29 void Calc(int dest_len,
52 void Calc(int dest_len, int src_len, FX_BOOL bInterpol);
68 void Calc(int dest_len, int src_len);
Dfx_codec_progress.cpp10 void CFXCODEC_WeightTable::Calc(int dest_len, in Calc() argument
21 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len)); in Calc()
22 if (dest_len < 0) { in Calc()
114 void CFXCODEC_HorzTable::Calc(int dest_len, int src_len, FX_BOOL bInterpol) { in Calc() argument
118 double scale = (double)dest_len / (double)src_len; in Calc()
120 int size = dest_len * m_ItemSize + 4; in Calc()
136 if (src_col == src_len - 1 && des_col < dest_len - 1) { in Calc()
137 for (int des_col_index = pre_des_col + 1; des_col_index < dest_len; in Calc()
164 for (int des_col = 0; des_col < dest_len; des_col++) { in Calc()
174 void CFXCODEC_VertTable::Calc(int dest_len, int src_len) { in Calc() argument
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc467 int dest_len, bool use_hex, bool utf8_safe) { in CEscapeInternal() argument
473 if (dest_len - used < 2) // Need space for two letter escape in CEscapeInternal()
491 if (dest_len - used < 4) // need space for 4 letter escape in CEscapeInternal()
504 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeInternal()
511 int CEscapeString(const char* src, int src_len, char* dest, int dest_len) { in CEscapeString() argument
512 return CEscapeInternal(src, src_len, dest, dest_len, false, false); in CEscapeString()
Dstrutil.h289 char* dest, int dest_len);
/external/pdfium/core/src/fxge/dib/
Ddib_int.h50 void Calc(int dest_len,
Dfx_dib_engine.cpp13 void CWeightTable::Calc(int dest_len, in Calc() argument
23 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len)); in Calc()
24 if (dest_len < 0) { in Calc()