Home
last modified time | relevance | path

Searched refs:predicates (Results 1 – 25 of 194) sorted by relevance

12345678

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dfilter_fusion_test.py37 predicates = [take_all, is_zero, greater]
38 for i, x in enumerate(predicates):
39 for j, y in enumerate(predicates):
41 for k, z in enumerate(predicates):
51 function, name, predicates = y
54 predicates=combinations.NamedObject(name, predicates))
64 def testFilterFusion(self, function, predicates): argument
67 for predicate in predicates:
79 for predicate in predicates:
Dmap_and_filter_fusion_test.py48 predicates = [take_all, is_zero, is_odd, greater]
51 for j, predicate in enumerate(predicates):
59 predicates = [take_all, is_zero]
62 for j, predicate in enumerate(predicates):
/external/libbackup/src/com/google/android/libraries/backup/
DBackupKeyPredicates.java114 public static BackupKeyPredicate or(Iterable<BackupKeyPredicate> predicates) {
116 for (BackupKeyPredicate predicate : predicates) {
128 public static BackupKeyPredicate or(BackupKeyPredicate... predicates) {
129 return orDefensivelyCopied(Arrays.asList(predicates));
133 final Iterable<BackupKeyPredicate> predicates) {
137 for (BackupKeyPredicate predicate : predicates) {
/external/conscrypt/testing/src/main/java/org/conscrypt/
DMethodFilter.java18 private final CompoundMethodPredicate predicates = new CompoundMethodPredicate(); field in MethodFilter
28 if (predicates.test(method)) { in filter()
53 predicates.add(predicate); in addPredicate()
180 private final List<Predicate<Method>> predicates = new ArrayList<>(); field in MethodFilter.CompoundMethodPredicate
184 for (Predicate<Method> p : predicates) { in test()
193 predicates.add(predicate); in add()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DMethodFilter.java20 private final CompoundMethodPredicate predicates = new CompoundMethodPredicate(); field in MethodFilter
30 if (predicates.test(method)) { in filter()
55 predicates.add(predicate); in addPredicate()
185 private final List<Predicate<Method>> predicates = new ArrayList<>(); field in MethodFilter.CompoundMethodPredicate
189 for (Predicate<Method> p : predicates) { in test()
198 predicates.add(predicate); in add()
/external/tensorflow/tensorflow/core/grappler/utils/
Dtraversal.cc48 const DfsPredicates& predicates, in DfsTraversal() argument
70 if (predicates.enter && !predicates.enter(graph_view.GetNode(w.node))) { in DfsTraversal()
102 if (predicates.advance && !predicates.advance(graph_view.GetNode(w.node))) { in DfsTraversal()
/external/rust/crates/serde_derive/src/
Dbound.rs34 predicates: &[syn::WherePredicate], in with_where_predicates()
39 .predicates in with_where_predicates()
40 .extend(predicates.iter().cloned()); in with_where_predicates()
49 let predicates = cont in with_where_predicates_from_fields() localVariable
56 generics.make_where_clause().predicates.extend(predicates); in with_where_predicates_from_fields()
72 let predicates = variants in with_where_predicates_from_variants() localVariable
78 generics.make_where_clause().predicates.extend(predicates); in with_where_predicates_from_variants()
303 .predicates in with_bound()
316 .predicates in with_self_bound()
/external/antlr/runtime/ObjC/Framework/examples/hoistedPredicates/
DT.g1 /** Demonstrates how semantic predicates get hoisted out of the rule in
3 * how predicates can be used to distinguish between enum as a keyword and
7 * the T_dec-1.dot file to see the predicates in action.
/external/rust/crates/syn/tests/
Dtest_generics.rs260 assert_eq!(where_clause.predicates.len(), 1); in test_fn_precedence_in_where_clause()
262 let predicate = match &where_clause.predicates[0] { in test_fn_precedence_in_where_clause()
284 assert_eq!(input.predicates.len(), 0); in test_where_clause_at_end_of_input()
/external/chromium-trace/catapult/common/node_runner/node_runner/
Dminify39 } else if (dom5.predicates.hasTagName('script')(node) &&
40 !dom5.predicates.hasAttr('src')(node)) {
45 } else if (dom5.predicates.hasTagName('style')(node)) {
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.cc100 XlaOp Any(XlaOp predicates) { in Any() argument
101 XlaBuilder* builder = predicates.builder(); in Any()
106 builder->GetShape(predicates)); in Any()
109 return Reduce(predicates, f, logical_or, all_dimensions); in Any()
Darithmetic.h77 XlaOp Any(XlaOp predicates);
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.cc228 std::vector<string> predicates; in DescribeTo() local
231 predicates.push_back(absl::StrCat("name: ", *name)); in DescribeTo()
235 predicates.push_back(absl::StrCat("op: ", *op)); in DescribeTo()
239 predicates.push_back(absl::StrCat("assigned device: ", *assigned_device)); in DescribeTo()
242 bool printed_something = !predicates.empty(); in DescribeTo()
244 *os << absl::StrJoin(predicates, ", "); in DescribeTo()
/external/rust/crates/async-trait/src/
Dexpand.rs188 .predicates in transform_sig()
199 .predicates in transform_sig()
210 .predicates in transform_sig()
224 .predicates in transform_sig()
288 .predicates in transform_sig()
500 predicates: Punctuated::new(), in where_clause_or_default()
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DStepPattern.java283 public void setPredicates(Expression[] predicates) in setPredicates() argument
286 m_predicates = predicates; in setPredicates()
287 if(null != predicates) in setPredicates()
289 for(int i = 0; i < predicates.length; i++) in setPredicates()
291 predicates[i].exprSetParent(this); in setPredicates()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetInstrPredicate.td25 // predicates. Definition `MCInstPredicateExample` identifies instructions
50 // portability: users don't need to specify predicates in C++. As a consequence
89 // This class is used as a building block to define predicates on instruction
181 // A sequence of predicates. It is used as the base class for CheckAll, and
182 // CheckAny. It allows to describe compositions of predicates.
187 // Check that all of the predicates in `Preds` evaluate to true.
191 // Check that at least one of the predicates in `Preds` evaluates to true.
224 // Base class for function predicates.
249 // it is lowering predicates for MCInst or MachineInstr.
/external/rust/crates/syn/src/
Dgenerics.rs177 predicates: Punctuated::new(), in make_where_clause()
520 pub predicates: Punctuated<WherePredicate, Token![,]>,
945 predicates: { in parse()
946 let mut predicates = Punctuated::new(); in parse() localVariable
958 predicates.push_value(value); in parse()
963 predicates.push_punct(punct); in parse()
965 predicates in parse()
1328 if !self.predicates.is_empty() { in to_tokens()
1330 self.predicates.to_tokens(tokens); in to_tokens()
/external/llvm/test/MC/Disassembler/Hexagon/
Dcr.txt10 # Logical reductions on predicates
44 # Logical operations on predicates
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/transforms/
Dlhlo_legalize_to_affine.cc399 SmallVector<Value, 4> predicates; in matchAndRewrite() local
408 predicates.push_back(predicate); in matchAndRewrite()
416 for (unsigned i = 0; i < predicates.size() - 1; i += 2) { in matchAndRewrite()
417 Value predicateA = predicates[i]; in matchAndRewrite()
418 Value predicateB = predicates[i + 1]; in matchAndRewrite()
429 Value predicate = predicates.back(); in matchAndRewrite()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SchedPredExynos.td14 // Auxiliary predicates.
25 // Exynos predicates.
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DCompiler.java955 Expression[] predicates = new Expression[count]; in getCompiledPredicates() local
957 compilePredicates(opPos, predicates); in getCompiledPredicates()
959 return predicates; in getCompiledPredicates()
998 private void compilePredicates(int opPos, Expression[] predicates) in compilePredicates() argument
1004 predicates[i] = predicate(opPos); in compilePredicates()
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py3074 def _assert_at_most_n_true(predicates, n, msg): argument
3082 preds_c = array_ops.stack(predicates, name="preds_c")
3087 preds_names = ", ".join(getattr(p, "name", "?") for p in predicates)
3092 return Assert(condition, data=error_msg, summarize=len(predicates))
3095 def _case_create_default_action(predicates, actions): argument
3108 k = len(predicates) - 1 # could pick any
3109 predicate, action = predicates[k], actions[k]
3110 other_predicates, other_actions = predicates[:k], actions[:k]
3118 array_ops.stack(predicates, name="preds_c"))
3189 predicates, actions = zip(*pred_fn_pairs)
[all …]
/external/rust/crates/synstructure/src/
Dlib.rs306 .predicates in merge_generics()
307 .extend(from_clause.predicates.iter().cloned()); in merge_generics()
1566 predicates: punctuated::Punctuated::new(), in add_trait_bounds()
1569 .predicates in add_trait_bounds()
1581 predicates: punctuated::Punctuated::new(), in add_trait_bounds()
1583 clause.predicates.push(WherePredicate::Type(PredicateType { in add_trait_bounds()
/external/cronet/buildtools/third_party/libc++/trunk/docs/DesignDocs/
DNoexceptPolicy.rst11 Second, user-provided functions, such as custom predicates or custom
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/GlobalISel/
DSelectionDAGCompat.td32 // SelectionDAG has one node for all loads and uses predicates to
35 // depending on the predicates on the node.
143 // complications that tablegen must take care of. For example, predicates such

12345678