Home
last modified time | relevance | path

Searched refs:source_len (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/base/
Dgzip_filter_unittest.cc84 int code = CompressAll(ENCODE_DEFLATE , source_buffer(), source_len(), in SetUp()
95 code = CompressAll(ENCODE_GZIP, source_buffer(), source_len(), in SetUp()
167 int source_len, in DecodeAndCompareWithFilter() argument
172 ASSERT_TRUE(source_len <= kDefaultBufferSize); in DecodeAndCompareWithFilter()
210 EXPECT_TRUE(decode_total_data_len == source_len); in DecodeAndCompareWithFilter()
211 EXPECT_EQ(memcmp(source, decode_buffer, source_len), 0); in DecodeAndCompareWithFilter()
219 int DecodeAllWithFilter(Filter* filter, const char* source, int source_len, in DecodeAllWithFilter() argument
221 memcpy(filter->stream_buffer()->data(), source, source_len); in DecodeAllWithFilter()
222 filter->FlushStreamBuffer(source_len); in DecodeAllWithFilter()
243 int source_len() const { return static_cast<int>(source_buffer_.size()); } in source_len() function in net::GZipUnitTest
[all …]
/external/icu4c/test/intltest/
Didnaconf.cpp62 size_t source_len; in ReadAndConvertFile() local
88 if ((source_len = ftell(f)) <= 0){ in ReadAndConvertFile()
94 source = new char[source_len]; in ReadAndConvertFile()
96 if (fread(source, 1, source_len, f) != source_len) { in ReadAndConvertFile()
110 source_len, in ReadAndConvertFile()
117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); in ReadAndConvertFile()
/external/v8/src/
Dcodegen.cc151 int source_len = in PrintCode() local
153 for (int i = 0; i < source_len; i++) { in PrintCode()