Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dgzip_filter_unittest.cc87 int code = CompressAll(ENCODE_DEFLATE , source_buffer(), source_len(), in SetUp()
98 code = CompressAll(ENCODE_GZIP, source_buffer(), source_len(), in SetUp()
170 int source_len, in DecodeAndCompareWithFilter() argument
175 ASSERT_TRUE(source_len <= kDefaultBufferSize); in DecodeAndCompareWithFilter()
213 EXPECT_TRUE(decode_total_data_len == source_len); in DecodeAndCompareWithFilter()
214 EXPECT_EQ(memcmp(source, decode_buffer, source_len), 0); in DecodeAndCompareWithFilter()
222 int DecodeAllWithFilter(Filter* filter, const char* source, int source_len, in DecodeAllWithFilter() argument
224 memcpy(filter->stream_buffer()->data(), source, source_len); in DecodeAllWithFilter()
225 filter->FlushStreamBuffer(source_len); in DecodeAllWithFilter()
230 int source_len() const { return static_cast<int>(source_buffer_.size()); } in source_len() function in __anon988dc5200111::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/chromium/third_party/icu/source/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.cc215 int source_len = in MakeCodeEpilogue() local
217 for (int i = 0; i < source_len; i++) { in MakeCodeEpilogue()