Home
last modified time | relevance | path

Searched refs:Filter (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/chromium/net/base/
Dfilter_unittest.cc16 EXPECT_EQ(Filter::FILTER_TYPE_DEFLATE, in TEST()
17 Filter::ConvertEncodingToType("deflate")); in TEST()
18 EXPECT_EQ(Filter::FILTER_TYPE_DEFLATE, in TEST()
19 Filter::ConvertEncodingToType("deflAte")); in TEST()
20 EXPECT_EQ(Filter::FILTER_TYPE_GZIP, in TEST()
21 Filter::ConvertEncodingToType("gzip")); in TEST()
22 EXPECT_EQ(Filter::FILTER_TYPE_GZIP, in TEST()
23 Filter::ConvertEncodingToType("GzIp")); in TEST()
24 EXPECT_EQ(Filter::FILTER_TYPE_GZIP, in TEST()
25 Filter::ConvertEncodingToType("x-gzip")); in TEST()
[all …]
Dgzip_filter.cc33 bool GZipFilter::InitDecoding(Filter::FilterType filter_type) { in InitDecoding()
45 case Filter::FILTER_TYPE_DEFLATE: { in InitDecoding()
51 case Filter::FILTER_TYPE_GZIP_HELPING_SDCH: in InitDecoding()
54 case Filter::FILTER_TYPE_GZIP: { in InitDecoding()
72 Filter::FilterStatus GZipFilter::ReadFilteredData(char* dest_buffer, in ReadFilteredData()
75 return Filter::FILTER_ERROR; in ReadFilteredData()
86 return Filter::FILTER_ERROR; in ReadFilteredData()
88 Filter::FilterStatus status; in ReadFilteredData()
96 case Filter::FILTER_NEED_MORE_DATA: { in ReadFilteredData()
108 case Filter::FILTER_OK: { in ReadFilteredData()
[all …]
Dfilter.cc47 Filter::~Filter() {} in ~Filter()
50 Filter* Filter::Factory(const std::vector<FilterType>& filter_types, in Factory()
55 Filter* filter_list = NULL; // Linked list of filters. in Factory()
66 Filter* Filter::GZipFactory() { in GZipFactory()
71 Filter* Filter::FactoryForTests(const std::vector<FilterType>& filter_types, in FactoryForTests()
77 Filter* filter_list = NULL; // Linked list of filters. in FactoryForTests()
87 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { in ReadData()
125 bool Filter::FlushStreamBuffer(int stream_data_len) { in FlushStreamBuffer()
141 Filter::FilterType Filter::ConvertEncodingToType( in ConvertEncodingToType()
160 void Filter::FixupEncodingTypes( in FixupEncodingTypes()
[all …]
Dsdch_filter_unittest.cc115 Filter* filter, std::string* output) { in FilterTestData()
117 Filter::FilterStatus status(Filter::FILTER_NEED_MORE_DATA); in FilterTestData()
125 if (copy_amount > 0 && status == Filter::FILTER_NEED_MORE_DATA) { in FilterTestData()
134 if (status == Filter::FILTER_ERROR) in FilterTestData()
137 if (Filter::FILTER_OK == status && 0 == buffer_length) in FilterTestData()
159 std::vector<Filter::FilterType> filter_types; in TEST_F()
160 filter_types.push_back(Filter::FILTER_TYPE_SDCH); in TEST_F()
165 scoped_ptr<Filter> filter(Filter::Factory(filter_types, filter_context)); in TEST_F()
170 Filter::FilterStatus status = filter->ReadData(output_buffer, in TEST_F()
174 EXPECT_EQ(Filter::FILTER_NEED_MORE_DATA, status); in TEST_F()
[all …]
Dgzip_filter_unittest.cc165 void DecodeAndCompareWithFilter(Filter* filter, in DecodeAndCompareWithFilter()
182 int code = Filter::FILTER_OK; in DecodeAndCompareWithFilter()
183 while (code != Filter::FILTER_DONE) { in DecodeAndCompareWithFilter()
199 ASSERT_TRUE(code != Filter::FILTER_ERROR); in DecodeAndCompareWithFilter()
201 if (code == Filter::FILTER_NEED_MORE_DATA || in DecodeAndCompareWithFilter()
202 code == Filter::FILTER_DONE) { in DecodeAndCompareWithFilter()
219 int DecodeAllWithFilter(Filter* filter, const char* source, int source_len, in DecodeAllWithFilter()
226 void InitFilter(Filter::FilterType type) { in InitFilter()
227 std::vector<Filter::FilterType> filter_types; in InitFilter()
229 filter_.reset(Filter::Factory(filter_types, filter_context_)); in InitFilter()
[all …]
Dfilter.h103 class Filter {
131 virtual ~Filter();
148 static Filter* Factory(const std::vector<FilterType>& filter_types,
154 static Filter* GZipFactory();
203 Filter();
244 static Filter* PrependNewFilter(FilterType type_id,
247 Filter* filter_list);
251 static Filter* InitGZipFilter(FilterType type_id, int buffer_size);
252 static Filter* InitSdchFilter(FilterType type_id,
261 static Filter* FactoryForTests(const std::vector<FilterType>& filter_types,
[all …]
Dsdch_filter.h30 class SdchFilter : public Filter {
35 bool InitDecoding(Filter::FilterType filter_type);
58 friend class Filter; variable
61 Filter::FilterStatus InitializeDictionary();
/external/zlib/contrib/ada/
Dzlib.adb100 (Filter : in out Filter_Type;
109 (Filter : in out Filter_Type;
136 (Filter : in out Filter_Type;
141 if not Ignore_Error and then not Is_Open (Filter) then
145 Code := Flate (Filter.Compression).Done (To_Thin_Access (Filter.Strm));
148 Free (Filter.Strm);
152 := Last_Error_Message (Filter.Strm.all);
154 Free (Filter.Strm);
191 (Filter : in out Filter_Type;
202 if Is_Open (Filter) then
[all …]
Dzlib.ads135 (Filter : in out Filter_Type;
150 (Filter : in out Filter_Type;
165 function Is_Open (Filter : in Filter_Type) return Boolean;
170 (Filter : in out Filter_Type;
183 (Filter : in out Filter_Type;
191 function Total_In (Filter : in Filter_Type) return Count;
195 function Total_Out (Filter : in Filter_Type) return Count;
217 (Filter : in out Filter_Type;
229 function Stream_End (Filter : in Filter_Type) return Boolean;
234 (Filter : in out Filter_Type;
[all …]
Dtest.adb63 Filter : ZLib.Filter_Type; variable
310 (Filter => Filter,
315 Translate (Filter);
316 Print_Statistic ("Generic compress", ZLib.Total_Out (Filter));
317 ZLib.Close (Filter);
329 ZLib.Inflate_Init (Filter, Header => Header);
331 Translate (Filter);
332 Print_Statistic ("Generic decompress", ZLib.Total_Out (Filter));
334 ZLib.Close (Filter);
Dread.adb45 Filter : ZLib.Filter_Type; variable
125 (Filter,
139 Read (Filter, Buffer, Last);
149 ZLib.Close (Filter);
/external/libpng/contrib/pngsuite/
DREADME42 Filter 0 was used 32 times
44 Filter 0 was used 32 times
46 Filter 0 was used 32 times
48 Filter 1 was used 9 times
49 Filter 4 was used 23 times
51 Filter 1 was used 1 times
52 Filter 2 was used 31 times
54 Filter 1 was used 5 times
55 Filter 4 was used 27 times
57 Filter 1 was used 1 times
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DAbstractFilter.java36 import com.jme3.terrain.noise.Filter;
38 public abstract class AbstractFilter implements Filter {
40 protected List<Filter> preFilters = new ArrayList<Filter>();
41 protected List<Filter> postFilters = new ArrayList<Filter>();
46 public Filter addPreFilter(Filter filter) { in addPreFilter()
52 public Filter addPostFilter(Filter filter) { in addPostFilter()
63 for (Filter f : this.preFilters) { in doFilter()
67 for (Filter f : this.postFilters) { in doFilter()
82 for (Filter f : this.preFilters) { in getMargin()
85 for (Filter f : this.postFilters) { in getMargin()
DIterativeFilter.java36 import com.jme3.terrain.noise.Filter;
42 private List<Filter> preIterateFilters = new ArrayList<Filter>();
43 private List<Filter> postIterateFilters = new ArrayList<Filter>();
44 private Filter filter;
51 for (Filter f : this.preIterateFilters) { in getMargin()
55 for (Filter f : this.postIterateFilters) { in getMargin()
69 public IterativeFilter addPostIterateFilter(Filter filter) { in addPostIterateFilter()
74 public IterativeFilter addPreIterateFilter(Filter filter) { in addPreIterateFilter()
79 public void setFilter(Filter filter) { in setFilter()
91 for (Filter f : this.preIterateFilters) { in filter()
[all …]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/
DFilters.java51 public static <T> Filter<T> in( T... values ) in in()
60 public static <T> Filter<T> in( Collection<? extends T> collection ) in in()
70 public static <T> Filter<T> notIn( T... values ) in notIn()
80 public static <T> Filter<T> notIn( Collection<? extends T> collection ) in notIn()
89 public static <T> Filter<T> equalTo( T value ) in equalTo()
99 public static <T> Filter<T> notEqualTo( T value ) in notEqualTo()
108 public static <T> Filter<T> not( Filter<T> f ) in not()
113 private static class EqualToFilter<T> implements Filter<T>
128 private static class InFilter<T> implements Filter<T>
143 private static class NotFilter<T> implements Filter<T>
[all …]
/external/junit/src/org/junit/runner/manipulation/
DFilter.java15 public abstract class Filter { class
19 public static Filter ALL= new Filter() {
36 public Filter intersect(Filter second) {
45 public static Filter matchMethodDescription(final Description desiredDescription) { in matchMethodDescription()
46 return new Filter() { in matchMethodDescription()
96 public Filter intersect(final Filter second) {
100 final Filter first= this;
101 return new Filter() {
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DFilter.java34 public interface Filter { interface
35 public Filter addPreFilter(Filter filter); in addPreFilter()
37 public Filter addPostFilter(Filter filter); in addPostFilter()
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DFilter.java41 public abstract class Filter extends NativeObject implements Savable { class
43 public Filter(){ in Filter() method in Filter
44 super(Filter.class); in Filter()
47 protected Filter(int id){ in Filter() method in Filter
48 super(Filter.class, id); in Filter()
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DFilterPostProcessor.java64 private List<Filter> filters = new ArrayList<Filter>();
100 public void addFilter(Filter filter) { in addFilter()
115 public void removeFilter(Filter filter) { in removeFilter()
121 public Iterator<Filter> getFilterIterator() { in getFilterIterator()
149 private void initFilter(Filter filter, ViewPort vp) { in initFilter()
204 for (Iterator<Filter> it = filters.iterator(); it.hasNext();) { in postQueue()
205 Filter filter = it.next(); in postQueue()
224 Filter filter = filters.get(i); in renderFilterChain()
227 … for (Iterator<Filter.Pass> it1 = filter.getPostRenderPasses().iterator(); it1.hasNext();) { in renderFilterChain()
228 Filter.Pass pass = it1.next(); in renderFilterChain()
[all …]
/external/webkit/Source/WebCore/xml/
DXPathPath.h42 class Filter : public Expression {
44 Filter(Expression*, const Vector<Predicate*>& = Vector<Predicate*>());
45 virtual ~Filter();
77 Path(Filter*, LocationPath*);
85 Filter* m_filter;
DXPathPath.cpp41 Filter::Filter(Expression* expr, const Vector<Predicate*>& predicates) in Filter() function in WebCore::XPath::Filter
49 Filter::~Filter() in ~Filter()
55 Value Filter::evaluate() const in evaluate()
181 Path::Path(Filter* filter, LocationPath* path) in Path()
/external/skia/include/gpu/
DGrSamplerState.h21 enum Filter { enum
126 Filter getFilter() const { return fFilter; } in getFilter()
177 void setFilter(Filter filter) { fFilter = filter; } in setFilter()
180 Filter filter, in reset()
192 void reset(WrapMode wrapXAndY, Filter filter, const GrMatrix& matrix) { in reset()
196 Filter filter) { in reset()
244 Filter fFilter : 8;
/external/junit/src/org/junit/internal/requests/
DFilterRequest.java9 import org.junit.runner.manipulation.Filter;
17 private final Filter fFilter;
25 public FilterRequest(Request classRequest, Filter filter) { in FilterRequest()
37 return new ErrorReportingRunner(Filter.class, new Exception(String in getRunner()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFEOffset.cpp36 FEOffset::FEOffset(Filter* filter, float dx, float dy) in FEOffset()
43 PassRefPtr<FEOffset> FEOffset::create(Filter* filter, float dx, float dy) in create()
71 Filter* filter = this->filter(); in determineAbsolutePaintRect()
93 Filter* filter = this->filter(); in apply()
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp127 class Filter { class
163 Filter(const Filter &f);
164 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
166 ~Filter();
211 friend class Filter;
223 std::vector<Filter> Filters;
324 Filter &bestFilter() { in bestFilter()
360 const Filter &Best) const;
395 Filter::Filter(const Filter &f) in Filter() function in Filter
403 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() function in Filter
[all …]

1234567891011