| /third_party/mesa3d/src/panfrost/midgard/ |
| H A D | midgard_schedule.c | 345 * given predicate. */ 659 struct midgard_predicate *predicate) in mir_choose_instruction() 661 /* Parse the predicate */ in mir_choose_instruction() 662 unsigned tag = predicate->tag; in mir_choose_instruction() 663 unsigned unit = predicate->unit; in mir_choose_instruction() 665 bool no_cond = predicate->no_cond; in mir_choose_instruction() 667 unsigned mask = predicate->mask; in mir_choose_instruction() 668 unsigned dest = predicate->dest; in mir_choose_instruction() 671 /* Iterate to find the best instruction satisfying the predicate */ in mir_choose_instruction() 710 if (predicate in mir_choose_instruction() 655 mir_choose_instruction( midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned count, struct midgard_predicate *predicate) mir_choose_instruction() argument 803 struct midgard_predicate predicate = { mir_choose_bundle() local 841 mir_choose_alu(midgard_instruction **slot, midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, struct midgard_predicate *predicate, unsigned unit) mir_choose_alu() argument 876 mir_comparison_mobile( compiler_context *ctx, midgard_instruction **instructions, struct midgard_predicate *predicate, unsigned count, unsigned cond) mir_comparison_mobile() argument 931 mir_schedule_comparison( compiler_context *ctx, midgard_instruction **instructions, struct midgard_predicate *predicate, BITSET_WORD *worklist, unsigned count, unsigned cond, bool vector, unsigned *swizzle, midgard_instruction *user) mir_schedule_comparison() argument 964 mir_schedule_condition(compiler_context *ctx, struct midgard_predicate *predicate, BITSET_WORD *worklist, unsigned count, midgard_instruction **instructions, midgard_instruction *last) mir_schedule_condition() argument 1025 struct midgard_predicate predicate = { mir_schedule_texture() local 1055 struct midgard_predicate predicate = { mir_schedule_ldst() local 1089 mir_schedule_zs_write( compiler_context *ctx, struct midgard_predicate *predicate, midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, midgard_instruction *branch, midgard_instruction **smul, midgard_instruction **vadd, midgard_instruction **vlut, bool stencil) mir_schedule_zs_write() argument 1167 struct midgard_predicate predicate = { mir_schedule_alu() local [all...] |
| /third_party/mesa3d/src/compiler/glsl/ |
| H A D | ir_expression_flattening.cpp | 28 * assignments of the leaves to temporaries, according to a predicate. 40 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 42 this->predicate = predicate; in ir_expression_flattening_visitor() 51 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor 56 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 58 ir_expression_flattening_visitor v(predicate); in do_expression_flattening() 72 if (!ir || !this->predicate(ir)) in handle_rvalue()
|
| /third_party/rust/crates/nom/src/ |
| H A D | traits.rs | 320 fn position<P>(&self, predicate: P) -> Option<usize> in position() 349 fn position<P>(&self, predicate: P) -> Option<usize> in position() 353 self.iter().position(|b| predicate(*b)) in position() 389 fn position<P>(&self, predicate: P) -> Option<usize> in position() 394 if predicate(c) { in position() 454 fn split_at_position<P, E: ParseError<Self>>(&self, predicate: P) -> IResult<Self, Self, E> in split_at_position() 466 predicate: P, in split_at_position1() 478 predicate: P, in split_at_position_complete() 491 predicate: P, in split_at_position1_complete() 503 fn split_at_position<P, E: ParseError<Self>>(&self, predicate [all...] |
| /third_party/python/Lib/xml/etree/ |
| H A D | ElementPath.py | 231 predicate = [] 245 predicate.append(token[1]) 247 # use signature to determine predicate type 249 # [@attribute] predicate 250 key = predicate[1] 258 key = predicate[1] 259 value = predicate[-1] 269 if signature == "-" and not re.match(r"\-?\d+$", predicate[0]): 271 tag = predicate[0] 279 and not re.match(r"\-?\d+$", predicate[ [all...] |
| /third_party/elfutils/libdwfl/ |
| H A D | offline.c | 105 int (*predicate) (const char *module, 112 Elf *elf, int (*predicate) (const char *module, in process_file() 126 return process_archive (dwfl, name, file_name, fd, elf, predicate); in process_file() 169 int (*predicate) (const char *module, const char *file), in process_archive_member() 213 if (predicate != NULL) in process_archive_member() 215 /* Let the predicate decide whether to use this one. */ in process_archive_member() 216 int want = (*predicate) (name, member_name); in process_archive_member() 233 *mod = process_file (dwfl, name, member_name, fd, member, predicate); in process_archive_member() 251 int (*predicate) (const char *module, const char *file)) in process_archive() 263 while (process_archive_member (dwfl, name, file_name, predicate, in process_archive() [all...] |
| H A D | linux-kernel-modules.c | 239 int (*predicate) (const char *module, const char *file)) in report_kernel() 252 result = ((predicate != NULL && !(*predicate) (KERNEL_MODNAME, NULL)) in report_kernel() 258 if (predicate != NULL) in report_kernel() 260 /* Let the predicate decide whether to use this one. */ in report_kernel() 261 int want = (*predicate) (KERNEL_MODNAME, fname); in report_kernel() 297 int (*predicate) (const char *module, const char *file)) in report_kernel_archive() 320 true, predicate); in report_kernel_archive() 377 int (*predicate) (const char *module, in dwfl_linux_kernel_report_offline() 380 int result = report_kernel_archive (dwfl, &release, predicate); in dwfl_linux_kernel_report_offline() [all...] |
| /third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
| H A D | subsetter.cc | 35 Subsetter::Subsetter(Font* font, CharacterPredicate* predicate) in Subsetter() argument 37 predicate_(predicate) { in Subsetter() 40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument 41 : predicate_(predicate) { in Subsetter()
|
| H A D | subsetter.h | 25 // Subsets a given font using a character predicate. 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 29 Subsetter(const char* font_path, CharacterPredicate* predicate);
|
| /third_party/skia/src/core/ |
| H A D | SkFont.cpp | 75 void SkFont::setForceAutoHinting(bool predicate) { in setForceAutoHinting() argument 76 fFlags = set_clear_mask(fFlags, predicate, kForceAutoHinting_PrivFlag); in setForceAutoHinting() 78 void SkFont::setEmbeddedBitmaps(bool predicate) { in setEmbeddedBitmaps() argument 79 fFlags = set_clear_mask(fFlags, predicate, kEmbeddedBitmaps_PrivFlag); in setEmbeddedBitmaps() 81 void SkFont::setSubpixel(bool predicate) { in setSubpixel() argument 82 fFlags = set_clear_mask(fFlags, predicate, kSubpixel_PrivFlag); in setSubpixel() 84 void SkFont::setLinearMetrics(bool predicate) { in setLinearMetrics() argument 85 fFlags = set_clear_mask(fFlags, predicate, kLinearMetrics_PrivFlag); in setLinearMetrics() 87 void SkFont::setEmbolden(bool predicate) { in setEmbolden() argument 88 fFlags = set_clear_mask(fFlags, predicate, kEmbolden_PrivFla in setEmbolden() 90 setBaselineSnap(bool predicate) setBaselineSnap() argument [all...] |
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_predicated_break.cpp | 53 * and we can remove the BREAK instruction and predicate the WHILE. 145 jump_inst->predicate = if_inst->predicate; in opt_predicated_break() 180 * it's a WHILE, we can delete the break, predicate the WHILE, and join in opt_predicated_break() 194 while_inst->predicate == BRW_PREDICATE_NONE && in opt_predicated_break() 197 while_inst->predicate = jump_inst->predicate; in opt_predicated_break()
|
| /third_party/rust/crates/peeking_take_while/src/ |
| H A D | lib.rs | 8 //! predicate on that peeked item. This avoids consuming the first item yielded 9 //! by the underlying iterator for which the predicate returns `false`. On the 11 //! predicate returns `false`, and it will be lost. 14 //! [`fuse`](Iterator::fuse) on the returned iterator, to prevent the predicate 25 //! // elements that match some predicate, and a different thing with the rest of 85 /// predicate on that peeked item. This avoids consuming the first item yielded 86 /// by the underlying iterator for which the predicate returns `false`. On the 88 /// predicate returns `false`, and it will be lost. 90 /// In contrast to `take_while`, iterating the iterator might call the predicate again 94 fn peeking_take_while<P>(&mut self, predicate [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_generics.rs | 259 let predicate = match &where_clause.predicates[0] { in test_fn_precedence_in_where_clause() 261 _ => panic!("wrong predicate kind"), in test_fn_precedence_in_where_clause() 264 assert_eq!(predicate.bounds.len(), 2, "{:#?}", predicate.bounds); in test_fn_precedence_in_where_clause() 266 let first_bound = &predicate.bounds[0]; in test_fn_precedence_in_where_clause() 269 let second_bound = &predicate.bounds[1]; in test_fn_precedence_in_where_clause()
|
| /third_party/googletest/googletest/include/gtest/ |
| H A D | gtest-death-test.h | 171 // integer exit status that satisfies `predicate`, and emitting error output 173 #define ASSERT_EXIT(statement, predicate, matcher) \ 174 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_FATAL_FAILURE_) 178 #define EXPECT_EXIT(statement, predicate, matcher) \ 179 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_) 192 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
| /third_party/mesa3d/src/gtest/include/gtest/ |
| H A D | gtest-death-test.h | 166 // integer exit status that satisfies predicate, and emitting error output 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 173 # define EXPECT_EXIT(statement, predicate, regex) \ 174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 187 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
| /third_party/node/deps/googletest/include/gtest/ |
| H A D | gtest-death-test.h | 171 // integer exit status that satisfies `predicate`, and emitting error output 173 #define ASSERT_EXIT(statement, predicate, matcher) \ 174 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_FATAL_FAILURE_) 178 #define EXPECT_EXIT(statement, predicate, matcher) \ 179 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_) 192 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| H A D | iterator.h | 167 // predicate |Predicate|. When moving to the next element of the iterator, the 185 Predicate predicate) in FilterIterator() 188 predicate_(predicate) { in FilterIterator() 194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator() argument 195 : FilterIterator({end, end}, predicate) {} in FilterIterator() 224 // Returns true if the predicate is satisfied or the current iterator reached 243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator() 244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator() 249 const SubIterator& begin, const SubIterator& end, Predicate predicate) { in MakeFilterIterator() 250 return MakeFilterIterator(make_range(begin, end), predicate); in MakeFilterIterator() 184 FilterIterator(const IteratorRange<SubIterator>& iteration_range, Predicate predicate) FilterIterator() argument 242 MakeFilterIterator( const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) MakeFilterIterator() argument 248 MakeFilterIterator( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIterator() argument 254 MakeFilterIteratorRange( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIteratorRange() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| H A D | iterator.h | 167 // predicate |Predicate|. When moving to the next element of the iterator, the 185 Predicate predicate) in FilterIterator() 188 predicate_(predicate) { in FilterIterator() 194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator() argument 195 : FilterIterator({end, end}, predicate) {} in FilterIterator() 224 // Returns true if the predicate is satisfied or the current iterator reached 243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator() 244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator() 249 const SubIterator& begin, const SubIterator& end, Predicate predicate) { in MakeFilterIterator() 250 return MakeFilterIterator(make_range(begin, end), predicate); in MakeFilterIterator() 184 FilterIterator(const IteratorRange<SubIterator>& iteration_range, Predicate predicate) FilterIterator() argument 242 MakeFilterIterator( const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) MakeFilterIterator() argument 248 MakeFilterIterator( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIterator() argument 254 MakeFilterIteratorRange( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIteratorRange() argument [all...] |
| /third_party/spirv-tools/source/opt/ |
| H A D | iterator.h | 167 // predicate |Predicate|. When moving to the next element of the iterator, the 185 Predicate predicate) in FilterIterator() 188 predicate_(predicate) { in FilterIterator() 194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator() argument 195 : FilterIterator({end, end}, predicate) {} in FilterIterator() 224 // Returns true if the predicate is satisfied or the current iterator reached 243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator() 244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator() 249 const SubIterator& begin, const SubIterator& end, Predicate predicate) { in MakeFilterIterator() 250 return MakeFilterIterator(make_range(begin, end), predicate); in MakeFilterIterator() 184 FilterIterator(const IteratorRange<SubIterator>& iteration_range, Predicate predicate) FilterIterator() argument 242 MakeFilterIterator( const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) MakeFilterIterator() argument 248 MakeFilterIterator( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIterator() argument 254 MakeFilterIteratorRange( const SubIterator& begin, const SubIterator& end, Predicate predicate) MakeFilterIteratorRange() argument [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
| H A D | available_instructions.cpp | 23 const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) in AvailableInstructions() 27 if (predicate(ir_context, &global)) { in AvailableInstructions() 34 // Identify those function parameters that satisfy the predicate. in AvailableInstructions() 37 [&predicate, ir_context, in AvailableInstructions() 39 if (predicate(ir_context, param)) { in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 90 // This instruction satisfies the predicate, so note that it is in AvailableInstructions() 21 AvailableInstructions( opt::IRContext* ir_context, const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) AvailableInstructions() argument
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| H A D | available_instructions.cpp | 23 const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) in AvailableInstructions() 27 if (predicate(ir_context, &global)) { in AvailableInstructions() 34 // Identify those function parameters that satisfy the predicate. in AvailableInstructions() 37 [&predicate, ir_context, in AvailableInstructions() 39 if (predicate(ir_context, param)) { in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 90 // This instruction satisfies the predicate, so note that it is in AvailableInstructions() 21 AvailableInstructions( opt::IRContext* ir_context, const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) AvailableInstructions() argument
|
| /third_party/spirv-tools/source/fuzz/ |
| H A D | available_instructions.cpp | 23 const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) in AvailableInstructions() 27 if (predicate(ir_context, &global)) { in AvailableInstructions() 34 // Identify those function parameters that satisfy the predicate. in AvailableInstructions() 37 [&predicate, ir_context, in AvailableInstructions() 39 if (predicate(ir_context, param)) { in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 90 // This instruction satisfies the predicate, so note that it is in AvailableInstructions() 21 AvailableInstructions( opt::IRContext* ir_context, const std::function<bool(opt::IRContext*, opt::Instruction*)>& predicate) AvailableInstructions() argument
|
| /third_party/mesa3d/src/intel/tools/ |
| H A D | i965_gram.y | 353 struct predicate predicate; 443 /* predicate control */ 487 /* predicate control */ 489 %type <predicate> predicate 680 predicate unaryopcodes saturate cond_mod execsize dst srcaccimm instoptions 737 predicate binaryopcodes saturate cond_mod execsize dst srcimm srcimm instoptions 788 predicate binaryaccopcodes saturate cond_mod execsize dst srcacc srcimm instoptions 837 predicate MAT 2175 predicate: global() label [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | nonInferrableTypePropagation2.js | 24 <A>(predicate: Predicate<A>): <B extends A>(bs: ReadonlyArray<B>) => ReadonlyArray<B> 25 <A>(predicate: Predicate<A>): (as: ReadonlyArray<A>) => ReadonlyArray<A> 29 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean;
|
| H A D | inferFromGenericFunctionReturnTypes1.js | 40 function filter<A>(predicate: (a: A) => boolean): (s: SetOf<A>) => SetOf<A> { 44 if (predicate(x)) result.add(x); 106 function filter(predicate) {
110 if (predicate(x))
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ |
| H A D | d3d12_query.cpp | 59 struct d3d12_resource *predicate; member 192 pipe_resource *predicate = &query->predicate->base.b; 193 pipe_resource_reference(&predicate, NULL); 572 if (!query->predicate) 573 query->predicate = d3d12_resource(pipe_buffer_create(pctx->screen, 0, 587 d3d12_transition_resource_state(ctx, query->predicate, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_TRANSITION_FLAG_NONE); 589 ctx->cmdlist->CopyBufferRegion(d3d12_resource_resource(query->predicate), 0, 593 d3d12_transition_resource_state(ctx, query->predicate, D3D12_RESOURCE_STATE_PREDICATION, D3D12_TRANSITION_FLAG_NONE); 596 ctx->current_predication = query->predicate; [all...] |