/external/chromium/net/base/ |
D | gzip_filter.cc | 73 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 …]
|
D | filter.cc | 87 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 …]
|
D | sdch_filter.cc | 146 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()
|
D | filter.h | 158 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);
|
D | gzip_filter_unittest.cc | 118 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()
|
D | gzip_filter.h | 52 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len); 97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
|
/external/chromium_org/net/base/ |
D | gzip_filter.cc | 68 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 …]
|
D | filter.cc | 81 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 …]
|
D | sdch_filter.cc | 144 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()
|
D | gzip_filter_unittest.cc | 108 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()
|
D | filter.h | 158 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);
|
D | gzip_filter.h | 52 int* dest_len) OVERRIDE; 97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
|
/external/regex-re2/util/ |
D | strutil.cc | 18 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/ |
D | strutil.cc | 18 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/ |
D | idnaconf.cpp | 106 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/ |
D | idnaconf.cpp | 106 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/ |
D | cu21.c | 45 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()
|
D | cu42.c | 31 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/ |
D | cu24.c | 64 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()
|
D | cu24_1.c | 64 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()
|
D | cu41.c | 78 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()
|
D | cu42.c | 67 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()
|
D | cu21_1.c | 77 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()
|
D | cu21.c | 77 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/ |
D | strutil.cc | 429 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()
|