Searched refs:find_op (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/rayon/src/iter/ |
D | find.rs | 5 pub(super) fn find<I, P>(pi: I, find_op: P) -> Option<I::Item> in find() 11 let consumer = FindConsumer::new(&find_op, &found); in find() 16 find_op: &'p P, field 21 fn new(find_op: &'p P, found: &'p AtomicBool) -> Self { in new() 22 FindConsumer { find_op, found } in new() 41 find_op: self.find_op, in into_folder() 58 FindConsumer::new(self.find_op, self.found) in split_off_left() 67 find_op: &'p P, field 79 if (self.find_op)(&item) { in consume() 98 .find(self.find_op); in consume_iter()
|
/external/rust/crates/rayon/src/iter/find_first_last/ |
D | mod.rs | 41 pub(super) fn find_first<I, P>(pi: I, find_op: P) -> Option<I::Item> in find_first() 47 let consumer = FindConsumer::new(&find_op, MatchPosition::Leftmost, &best_found); in find_first() 51 pub(super) fn find_last<I, P>(pi: I, find_op: P) -> Option<I::Item> in find_last() 57 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &best_found); in find_last() 62 find_op: &'p P, field 70 fn new(find_op: &'p P, match_position: MatchPosition, best_found: &'p AtomicUsize) -> Self { in new() 72 find_op, in new() 110 find_op: self.find_op, in into_folder() 151 find_op: self.find_op, in split_off_left() 167 find_op: &'p P, field [all …]
|
D | test.rs | 6 let find_op = |x: &i32| x % 2 == 0; in same_range_first_consumers_return_correct_answer() localVariable 8 let far_right_consumer = FindConsumer::new(&find_op, MatchPosition::Leftmost, &first_found); in same_range_first_consumers_return_correct_answer() 42 let find_op = |x: &i32| x % 2 == 0; in same_range_last_consumers_return_correct_answer() localVariable 44 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &last_found); in same_range_last_consumers_return_correct_answer() 83 find_op: &(|&_: &i32| -> bool { true }), in find_first_folder_does_not_clobber_first_found() 98 find_op: &(|&_: &i32| -> bool { true }), in find_last_folder_yields_last_match()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | legalize_hashtables.cc | 77 LogicalResult matchAndRewrite(TF::LookupTableFindV2Op find_op, in matchAndRewrite() argument 79 auto handle_op = find_op.table_handle().getDefiningOp(); in matchAndRewrite() 84 find_op, find_op->getResultTypes(), find_op.table_handle(), in matchAndRewrite() 85 find_op.keys(), find_op.default_value()); in matchAndRewrite() 157 if (auto find_op = llvm::dyn_cast<TF::LookupTableFindV2Op>(user)) in checkWhetherGraphHasValidStaticLookupTables() local
|
/external/angle/src/compiler/translator/ |
D | gen_builtin_symbols.py | 1300 def find_op(self, search_index, direction, limit_for_assertion): member in FunctionsData 1821 first_op = functions.find_op(first_op_index, +1, last_op_index + 1) 1822 last_op = functions.find_op(last_op_index, -1, first_op_index - 1)
|