Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dgzip_filter_unittest.cc338 char corrupt_data[kDefaultBufferSize]; in TEST_F() local
340 memcpy(corrupt_data, deflate_encode_buffer_, deflate_encode_len_); in TEST_F()
343 corrupt_data[pos] = !corrupt_data[pos]; in TEST_F()
354 int code = DecodeAllWithFilter(filter.get(), corrupt_data, corrupt_data_len, in TEST_F()
363 char corrupt_data[kDefaultBufferSize]; in TEST_F() local
365 memcpy(corrupt_data, deflate_encode_buffer_, deflate_encode_len_); in TEST_F()
369 memmove(&corrupt_data[pos], &corrupt_data[pos+1], len); in TEST_F()
381 int code = DecodeAllWithFilter(filter.get(), corrupt_data, corrupt_data_len, in TEST_F()
390 char corrupt_data[kDefaultBufferSize]; in TEST_F() local
392 memcpy(corrupt_data, gzip_encode_buffer_, gzip_encode_len_); in TEST_F()
[all …]