Searched defs:dest_len (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/re2/util/
H A Dstrutil.cc18 int dest_len) {
23 if (dest_len - used < 2) // Need space for two letter escape
39 if (dest_len - used < 4) // need space for 4 letter escape
49 if (dest_len - used < 1) // make sure that there is room for \0
17 CEscapeString(const char* src, int src_len, char* dest, int dest_len) argument
/external/regex-re2/util/
H A Dstrutil.cc18 int dest_len) {
23 if (dest_len - used < 2) // Need space for two letter escape
39 if (dest_len - used < 4) // need space for 4 letter escape
49 if (dest_len - used < 1) // make sure that there is room for \0
17 CEscapeString(const char* src, int src_len, char* dest, int dest_len) argument
/external/chromium_org/net/filter/
H A Dgzip_filter.cc68 int* dest_len) {
69 if (!dest_buffer || !dest_len || *dest_len <= 0)
77 return CopyOut(dest_buffer, dest_len);
94 *dest_len = 0;
113 return CopyOut(dest_buffer, dest_len);
126 int dest_orig_size = *dest_len;
127 status = DoInflate(dest_buffer, dest_len);
135 *dest_len = dest_orig_size;
136 status = DoInflate(dest_buffer, dest_len);
67 ReadFilteredData(char* dest_buffer, int* dest_len) argument
196 DoInflate(char* dest_buffer, int* dest_len) argument
[all...]
H A Dsdch_filter.cc184 int* dest_len) {
185 int available_space = *dest_len;
186 *dest_len = 0; // Nothing output yet.
318 *dest_len += amount;
339 *dest_len += available_space;
365 *dest_len += amount;
183 ReadFilteredData(char* dest_buffer, int* dest_len) argument
H A Dfilter.cc84 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { argument
85 const int dest_buffer_capacity = *dest_len;
89 return last_status_ = ReadFilteredData(dest_buffer, dest_len);
91 return next_filter_->ReadData(dest_buffer, dest_len);
99 *dest_len = dest_buffer_capacity; // Reset the input/output parameter.
100 next_filter_->ReadData(dest_buffer, dest_len);
115 0 == *dest_len);
326 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { argument
328 int input_len = *dest_len;
329 *dest_len
[all...]
H A Dgzip_filter_unittest.cc108 char* dest, int* dest_len) {
130 zlib_stream.avail_out = *dest_len;
143 *dest_len = *dest_len - zlib_stream.avail_out;
206 // Dest is the buffer for decoding results. Upon entry, *dest_len is the size
207 // of the dest buffer. Upon exit, *dest_len is the number of chars written
210 char* dest, int* dest_len) {
213 return filter->ReadData(dest, dest_len);
107 CompressAll(EncodeMode mode, const char* source, int source_size, char* dest, int* dest_len) argument
209 DecodeAllWithFilter(Filter* filter, const char* source, int source_len, char* dest, int* dest_len) argument
/external/chromium_org/third_party/icu/source/test/intltest/
H A Didnaconf.cpp106 int dest_len = ucnv_toUChars(conv, local
116 dest = new UChar[ dest_len + 1];
117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status);
120 dest[dest_len] = 0;
121 len = dest_len;
/external/icu/icu4c/source/test/intltest/
H A Didnaconf.cpp105 int dest_len = ucnv_toUChars(conv, local
115 dest = new UChar[ dest_len + 1];
116 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status);
119 dest[dest_len] = 0;
120 len = dest_len;
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_pkt.c878 unsigned int *dest_len = NULL; local
884 dest_len = &s->d1->handshake_fragment_len;
890 dest_len = &s->d1->alert_fragment_len;
940 *dest_len = dest_maxlen;
H A Ds3_pkt.c1083 unsigned int *dest_len = NULL; local
1089 dest_len = &s->s3->handshake_fragment_len;
1095 dest_len = &s->s3->alert_fragment_len;
1100 n = dest_maxlen - *dest_len; /* available space in 'dest' */
1107 dest[(*dest_len)++] = rr->data[rr->off++];
1111 if (*dest_len < dest_maxlen)
/external/openssl/ssl/
H A Ds3_pkt.c1122 unsigned int *dest_len = NULL; local
1128 dest_len = &s->s3->handshake_fragment_len;
1134 dest_len = &s->s3->alert_fragment_len;
1152 n = dest_maxlen - *dest_len; /* available space in 'dest' */
1159 dest[(*dest_len)++] = rr->data[rr->off++];
1163 if (*dest_len < dest_maxlen)
H A Dd1_pkt.c953 unsigned int *dest_len = NULL; local
959 dest_len = &s->d1->handshake_fragment_len;
965 dest_len = &s->d1->alert_fragment_len;
1028 *dest_len = dest_maxlen;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_utility.cpp296 int dest_len = 0; local
302 dest_len += 3;
304 dest_len ++;
307 if (dest_len == src_len) {
311 FX_LPSTR dest_buf = res.GetBuffer(dest_len);
312 dest_len = 0;
317 dest_buf[dest_len++] = '#';
318 dest_buf[dest_len++] = "0123456789ABCDEF"[ch / 16];
319 dest_buf[dest_len++] = "0123456789ABCDEF"[ch % 16];
321 dest_buf[dest_len
[all...]
/external/chromium_org/third_party/ots/src/
H A Dots.cc537 uLongf dest_len = table_length; local
538 int r = uncompress((Bytef*) table_data, &dest_len,
540 if (r != Z_OK || dest_len != table_length) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc467 int dest_len, bool use_hex, bool utf8_safe) {
473 if (dest_len - used < 2) // Need space for two letter escape
491 if (dest_len - used < 4) // need space for 4 letter escape
504 if (dest_len - used < 1) // make sure that there is room for \0
511 int CEscapeString(const char* src, int src_len, char* dest, int dest_len) { argument
512 return CEscapeInternal(src, src_len, dest, dest_len, false, false);
466 CEscapeInternal(const char* src, int src_len, char* dest, int dest_len, bool use_hex, bool utf8_safe) argument
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_wstring.cpp1108 int dest_len = FXSYS_WideCharToMultiByte(codepage, 0, widestr, src_len, NULL, 0, NULL, NULL); local
1109 if (dest_len == 0) {
1113 FX_LPSTR dest_buf = bytestr.GetBuffer(dest_len);
1114 FXSYS_WideCharToMultiByte(codepage, 0, widestr, src_len, dest_buf, dest_len, NULL, NULL);
1115 bytestr.ReleaseBuffer(dest_len);
1122 int dest_len = FXSYS_MultiByteToWideChar(codepage, 0, bytestr, src_len, NULL, 0); local
1123 if (dest_len == 0) {
1127 FX_LPWSTR dest_buf = widestr.GetBuffer(dest_len);
1128 FXSYS_MultiByteToWideChar(codepage, 0, bytestr, src_len, dest_buf, dest_len);
1129 widestr.ReleaseBuffer(dest_len);
[all...]
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_engine.cpp12 void CWeightTable::Calc(int dest_len, int dest_min, int dest_max, int src_len, int src_min, int src_max, int flags) argument
19 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len));
20 if (dest_len < 0) {
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc429 int dest_len, bool use_hex, bool utf8_safe) {
435 if (dest_len - used < 2) // Need space for two letter escape
453 if (dest_len - used < 4) // need space for 4 letter escape
466 if (dest_len - used < 1) // make sure that there is room for \0
473 int CEscapeString(const char* src, int src_len, char* dest, int dest_len) { argument
474 return CEscapeInternal(src, src_len, dest, dest_len, false, false);
428 CEscapeInternal(const char* src, int src_len, char* dest, int dest_len, bool use_hex, bool utf8_safe) argument

Completed in 462 milliseconds