Home
last modified time | relevance | path

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

/external/cronet/build/android/gyp/
Ddex_test.py32 filter_func = dex.CreateStderrFilter(
34 self.assertEqual(filter_func(output), expected)
39 self.assertEqual(filter_func(output), expected)
46 self.assertEqual(filter_func(output), expected)
Djavac_output_processor.py38 def filter_if_not_empty(entries, filter_func): argument
39 filtered_entries = [e for e in entries if filter_func(e)]
Dwrite_build_config.py666 def GetAllDepsConfigsInOrder(deps_config_paths, filter_func=None): argument
668 if filter_func:
669 return [p for p in paths if filter_func(GetDepConfig(p))]
2134 deps_configs_paths, filter_func=ExcludeRecursiveResourcesDeps)
/external/angle/build/android/gyp/
Ddex_test.py34 filter_func = dex.CreateStderrFilter(filters)
35 self.assertEqual(filter_func(output), expected)
40 self.assertEqual(filter_func(output), expected)
47 self.assertEqual(filter_func(output), expected)
Dwrite_build_config.py660 def GetAllDepsConfigsInOrder(deps_config_paths, filter_func=None): argument
662 if filter_func:
663 return [p for p in paths if filter_func(GetDepConfig(p))]
2107 deps_configs_paths, filter_func=ExcludeRecursiveResourcesDeps)
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmap_and_filter_fusion.cc197 const FunctionDef* filter_func = function_library.Find(fun.func().name()); in OptimizeAndCollectStats() local
199 filter_func->signature())) { in OptimizeAndCollectStats()
206 *map_func, *filter_func, "fused_map_and_filter_function", in OptimizeAndCollectStats()
/external/autotest/client/bin/
Dpartition.py120 def get_partition_list(job, min_blocks=0, filter_func=None, exclude_swap=True, argument
172 if filter_func and not filter_func(partname):
225 filter_func=None, exclude_swap=True, argument
242 filter_func=filter_func, exclude_swap=exclude_swap, open_func=open_func)
Dpartition_unittest.py106 parts = partition.get_partition_list(job, filter_func=lambda x: False,
/external/webp/src/enc/
Dalpha_enc.c117 WebPFilterFunc filter_func; in EncodeAlphaInternal() local
130 filter_func = WebPFilters[filter]; in EncodeAlphaInternal()
131 if (filter_func != NULL) { in EncodeAlphaInternal()
132 filter_func(data, width, height, width, tmp_alpha); in EncodeAlphaInternal()
/external/python/jinja/src/jinja2/
Denvironment.py675 filter_func=None, argument
729 for name in self.list_templates(extensions, filter_func):
749 def list_templates(self, extensions=None, filter_func=None): argument
768 if filter_func is not None:
773 def filter_func(x): function
776 if filter_func is not None:
777 names = [name for name in names if filter_func(name)]
/external/libchrome/third_party/jinja2/
Denvironment.py638 def compile_templates(self, target, extensions=None, filter_func=None, argument
706 for name in self.list_templates(extensions, filter_func):
733 def list_templates(self, extensions=None, filter_func=None): argument
751 if filter_func is not None:
754 filter_func = lambda x: '.' in x and \ function
756 if filter_func is not None:
757 x = list(ifilter(filter_func, x))
/external/cronet/third_party/boringssl/src/util/
Dgenerate_build_files.py628 def FindCFiles(directory, filter_func): argument
637 if not filter_func(path, filename, False):
642 if not filter_func(path, dirname, True):
649 def FindHeaderFiles(directory, filter_func): argument
657 if not filter_func(path, filename, False):
662 if not filter_func(path, dirname, True):
/external/boringssl/src/util/
Dgenerate_build_files.py628 def FindCFiles(directory, filter_func): argument
637 if not filter_func(path, filename, False):
642 if not filter_func(path, dirname, True):
649 def FindHeaderFiles(directory, filter_func): argument
657 if not filter_func(path, filename, False):
662 if not filter_func(path, dirname, True):
/external/bazelbuild-rules_license/rules/
Dlicenses_core.bzl73 …ans_licenses, trans_other_metadata, trans_package_info, trans_deps, traces, provider, filter_func):
76 if not filter_func(ctx, name):
116 …r_metadata_info_common(target, ctx, provider_factory, namespaces, metadata_providers, filter_func):
137 filter_func: a function that returns true iff the dep edge should be ignored
178 …enses, trans_other_metadata, trans_package_info, trans_deps, traces, provider_factory, filter_func)
/external/openthread/tests/scripts/thread-cert/pktverify/
Dpacket_filter.py73 filter_func: Optional[Callable] = None,
83 self._filter_func = filter_func or _always_true
166 filter_func=lambda p: self._filter_func(p) and func(p),
304 …return PacketFilter(self._pkts, start, stop, filter_func=self._filter_func, parent=self if cascade…
310 …return PacketFilter(self._pkts, self._index, self._stop_index, filter_func=self._filter_func, pare…
/external/angle/build/android/gyp/util/
Ddep_utils.py240 def filter_if_not_empty(entries, filter_func): argument
241 filtered_entries = [e for e in entries if filter_func(e)]
/external/cn-cbor/test/
Dctest.h161 typedef int (*filter_func)(struct ctest*); typedef
368 static filter_func filter = suite_all; in ctest_main()