Home
last modified time | relevance | path

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

12

/external/chromium/net/base/
Dgzip_filter.cc73 int* dest_len) { in ReadFilteredData() argument
74 if (!dest_buffer || !dest_len || *dest_len <= 0) in ReadFilteredData()
82 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
99 *dest_len = 0; in ReadFilteredData()
118 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
131 int dest_orig_size = *dest_len; in ReadFilteredData()
132 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
140 *dest_len = dest_orig_size; in ReadFilteredData()
141 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
201 Filter::FilterStatus GZipFilter::DoInflate(char* dest_buffer, int* dest_len) { in DoInflate() argument
[all …]
Dfilter.cc87 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { in ReadData() argument
88 const int dest_buffer_capacity = *dest_len; in ReadData()
92 return last_status_ = ReadFilteredData(dest_buffer, dest_len); in ReadData()
94 return next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
102 *dest_len = dest_buffer_capacity; // Reset the input/output parameter. in ReadData()
103 next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
118 0 == *dest_len); in ReadData()
328 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { in CopyOut() argument
330 int input_len = *dest_len; in CopyOut()
331 *dest_len = 0; in CopyOut()
[all …]
Dsdch_filter.cc146 int* dest_len) { in ReadFilteredData() argument
147 int available_space = *dest_len; in ReadFilteredData()
148 *dest_len = 0; // Nothing output yet. in ReadFilteredData()
259 *dest_len += amount; in ReadFilteredData()
280 *dest_len += available_space; in ReadFilteredData()
306 *dest_len += amount; in ReadFilteredData()
Dfilter.h158 FilterStatus ReadData(char* dest_buffer, int* dest_len);
216 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len) = 0;
219 FilterStatus CopyOut(char* dest_buffer, int* dest_len);
Dgzip_filter_unittest.cc118 char* dest, int* dest_len) { in CompressAll() argument
140 zlib_stream.avail_out = *dest_len; in CompressAll()
153 *dest_len = *dest_len - zlib_stream.avail_out; in CompressAll()
220 char* dest, int* dest_len) { in DecodeAllWithFilter() argument
223 return filter->ReadData(dest, dest_len); in DecodeAllWithFilter()
Dgzip_filter.h52 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len);
97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
/external/chromium_org/net/base/
Dgzip_filter.cc68 int* dest_len) { in ReadFilteredData() argument
69 if (!dest_buffer || !dest_len || *dest_len <= 0) in ReadFilteredData()
77 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
94 *dest_len = 0; in ReadFilteredData()
113 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
126 int dest_orig_size = *dest_len; in ReadFilteredData()
127 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
135 *dest_len = dest_orig_size; in ReadFilteredData()
136 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
196 Filter::FilterStatus GZipFilter::DoInflate(char* dest_buffer, int* dest_len) { in DoInflate() argument
[all …]
Dfilter.cc81 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { in ReadData() argument
82 const int dest_buffer_capacity = *dest_len; in ReadData()
86 return last_status_ = ReadFilteredData(dest_buffer, dest_len); in ReadData()
88 return next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
96 *dest_len = dest_buffer_capacity; // Reset the input/output parameter. in ReadData()
97 next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
112 0 == *dest_len); in ReadData()
321 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { in CopyOut() argument
323 int input_len = *dest_len; in CopyOut()
324 *dest_len = 0; in CopyOut()
[all …]
Dsdch_filter.cc144 int* dest_len) { in ReadFilteredData() argument
145 int available_space = *dest_len; in ReadFilteredData()
146 *dest_len = 0; // Nothing output yet. in ReadFilteredData()
257 *dest_len += amount; in ReadFilteredData()
278 *dest_len += available_space; in ReadFilteredData()
304 *dest_len += amount; in ReadFilteredData()
Dgzip_filter_unittest.cc108 char* dest, int* dest_len) { in CompressAll() argument
130 zlib_stream.avail_out = *dest_len; in CompressAll()
143 *dest_len = *dest_len - zlib_stream.avail_out; in CompressAll()
210 char* dest, int* dest_len) { in DecodeAllWithFilter() argument
213 return filter->ReadData(dest, dest_len); in DecodeAllWithFilter()
Dfilter.h158 FilterStatus ReadData(char* dest_buffer, int* dest_len);
216 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len) = 0;
219 FilterStatus CopyOut(char* dest_buffer, int* dest_len);
Dgzip_filter.h52 int* dest_len) OVERRIDE;
97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
/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()
/external/chromium_org/third_party/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()
/external/chromium_org/third_party/icu/source/test/intltest/
Didnaconf.cpp106 int dest_len = ucnv_toUChars(conv, in ReadAndConvertFile() local
116 dest = new UChar[ dest_len + 1]; in ReadAndConvertFile()
117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); in ReadAndConvertFile()
120 dest[dest_len] = 0; in ReadAndConvertFile()
121 len = dest_len; in ReadAndConvertFile()
/external/icu4c/test/intltest/
Didnaconf.cpp106 int dest_len = ucnv_toUChars(conv, in ReadAndConvertFile() local
116 dest = new UChar[ dest_len + 1]; in ReadAndConvertFile()
117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); in ReadAndConvertFile()
120 dest[dest_len] = 0; in ReadAndConvertFile()
121 len = dest_len; in ReadAndConvertFile()
/external/valgrind/main/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/valgrind/main/none/tests/s390x/
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()
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()
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()
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()
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()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc429 int dest_len, bool use_hex, bool utf8_safe) { in CEscapeInternal() argument
435 if (dest_len - used < 2) // Need space for two letter escape in CEscapeInternal()
453 if (dest_len - used < 4) // need space for 4 letter escape in CEscapeInternal()
466 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeInternal()
473 int CEscapeString(const char* src, int src_len, char* dest, int dest_len) { in CEscapeString() argument
474 return CEscapeInternal(src, src_len, dest, dest_len, false, false); in CEscapeString()

12