Home
last modified time | relevance | path

Searched refs:visitor (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/third_party/typescript/src/compiler/
DvisitorPublic.ts12 …export function visitNode<T extends Node>(node: T, visitor: Visitor | undefined, test?: (node: Nod…
22 …export function visitNode<T extends Node>(node: T | undefined, visitor: Visitor | undefined, test?…
24 …export function visitNode<T extends Node>(node: T | undefined, visitor: Visitor | undefined, test?…
25 if (node === undefined || visitor === undefined) {
29 const visited = visitor(node);
58 …export function visitNodes<T extends Node>(nodes: NodeArray<T>, visitor: Visitor | undefined, test…
69 …export function visitNodes<T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | und…
80 …export function visitNodes<T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | und…
81 if (nodes === undefined || visitor === undefined) {
111 const visited = node !== undefined ? visitor(node) : undefined;
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_cf.h50 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
51 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
64 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
65 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
79 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
80 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
92 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
93 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
105 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
106 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
[all …]
Dsfn_instruction_export.h67 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
68 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
94 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
95 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
126 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
127 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
167 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
168 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
Dsfn_instruction_lds.h17 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
18 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
39 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
40 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
66 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
67 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
Dsfn_instruction_misc.h40 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
41 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
57 bool accept(InstructionVisitor& visitor) override {return visitor.visit(*this);} in accept() argument
58 bool accept(ConstInstructionVisitor& visitor) const override {return visitor.visit(*this);} in accept() argument
/third_party/boost/boost/log/attributes/
Dvalue_visitation.hpp144 result_type operator() (attribute_value const& attr, VisitorT visitor) const in operator ()()
148 static_type_dispatcher< value_type > disp(visitor); in operator ()()
149 if (attr.dispatch(disp) || fallback_policy::apply_default(visitor)) in operator ()()
160 if (fallback_policy::apply_default(visitor)) in operator ()()
178 …e operator() (attribute_name const& name, attribute_value_set const& attrs, VisitorT visitor) const in operator ()()
184 return operator() (it->second, visitor); in operator ()()
186 return operator() (attribute_value(), visitor); in operator ()()
207 result_type operator() (attribute_name const& name, record const& rec, VisitorT visitor) const in operator ()()
209 return operator() (name, rec.attribute_values(), visitor); in operator ()()
223 …result_type operator() (attribute_name const& name, record_view const& rec, VisitorT visitor) const in operator ()()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/is_valid/
Dring.hpp61 static inline bool apply(Ring const&, VisitPolicy& visitor, EqPPStrategy const&) in apply()
63 boost::ignore_unused(visitor); in apply()
65 return visitor.template apply<no_failure>(); in apply()
73 static inline bool apply(Ring const& ring, VisitPolicy& visitor, EqPPStrategy const&) in apply()
75 boost::ignore_unused(visitor); in apply()
81 return visitor.template apply<no_failure>(); in apply()
85 return visitor.template apply<failure_not_closed>(); in apply()
110 static inline bool apply(Ring const& ring, VisitPolicy& visitor, in apply()
113 boost::ignore_unused(visitor); in apply()
138 return visitor.template apply<no_failure>(); in apply()
[all …]
Dinterface.hpp41 VisitPolicy& visitor, in apply()
44 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy); in apply()
49 VisitPolicy& visitor, in apply()
58 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy_type()); in apply()
72 VisitPolicy& visitor, in apply()
77 return resolve_strategy::is_valid::apply(geometry, visitor, strategy); in apply()
85 struct visitor : boost::static_visitor<bool> struct
87 visitor(VisitPolicy& policy, Strategy const& strategy) in visitor() function
108 return boost::apply_visitor(visitor<VisitPolicy, Strategy>(policy_visitor, strategy), in apply()
119 VisitPolicy& visitor, in is_valid() argument
[all …]
Dhas_invalid_coordinate.hpp40 static inline bool apply(Geometry const&, VisitPolicy& visitor) in apply()
42 return ! visitor.template apply<no_failure>(); in apply()
49 static inline bool apply(Point const& point, VisitPolicy& visitor) in apply()
51 boost::ignore_unused(visitor); in apply()
56 (! visitor.template apply<failure_invalid_coordinate>()) in apply()
58 (! visitor.template apply<no_failure>()); in apply()
71 static inline bool apply(Geometry const& geometry, VisitPolicy& visitor) in apply()
76 return point_has_invalid_coordinate::apply(p0, visitor) in apply()
77 || point_has_invalid_coordinate::apply(p1, visitor); in apply()
94 static inline bool apply(Geometry const& geometry, VisitPolicy& visitor) in apply()
[all …]
Dbox.hpp39 static inline bool apply(Box const& box, VisitPolicy& visitor) in apply()
45 visitor.template apply<failure_wrong_topological_dimension>(); in apply()
51 return visitor.template apply<failure_wrong_corner_order>(); in apply()
53 return has_valid_corners<Box, I-1>::apply(box, visitor); in apply()
62 static inline bool apply(Box const&, VisitPolicy& visitor) in apply()
64 boost::ignore_unused(visitor); in apply()
66 return visitor.template apply<no_failure>(); in apply()
75 static inline bool apply(Box const& box, VisitPolicy& visitor, Strategy const&) in apply()
78 ! has_invalid_coordinate<Box>::apply(box, visitor) in apply()
80 has_valid_corners<Box, dimension<Box>::value>::apply(box, visitor); in apply()
Dpolygon.hpp103 VisitPolicy& visitor, in has_valid_interior_rings() argument
113 per_ring<VisitPolicy, Strategy>(visitor, strategy)); in has_valid_interior_rings()
120 VisitPolicy& visitor, in apply()
133 >::apply(exterior_ring(polygon), visitor, strategy)) in apply()
142 visitor, in apply()
267 VisitPolicy& visitor, in are_holes_inside() argument
270 boost::ignore_unused(visitor); in are_holes_inside()
306 return visitor.template apply<failure_interior_rings_outside>(); in are_holes_inside()
360 return visitor.template apply<failure_nested_interior_rings>(); in are_holes_inside()
364 return visitor.template apply<no_failure>(); in are_holes_inside()
[all …]
Dmultipolygon.hpp87 VisitPolicy& visitor, in are_polygon_interiors_disjoint() argument
90 boost::ignore_unused(visitor); in are_polygon_interiors_disjoint()
145 return visitor.template apply<failure_intersecting_interiors>(); in are_polygon_interiors_disjoint()
149 return visitor.template apply<no_failure>(); in are_polygon_interiors_disjoint()
189 VisitPolicy& visitor, in apply()
214 visitor, in apply()
237 VisitPolicy& visitor, in have_holes_inside() argument
244 turns_first, turns_beyond, visitor, strategy); in have_holes_inside()
260 VisitPolicy& visitor, in have_connected_interior() argument
267 turns_first, turns_beyond, visitor, strategy); in have_connected_interior()
[all …]
/third_party/flatbuffers/rust/flexbuffers/src/reader/
Dde.rs138 fn tuple_variant<V>(self, _len: usize, visitor: V) -> Result<V::Value, Self::Error> in tuple_variant()
142 visitor.visit_seq(self.as_vector().iter()) in tuple_variant()
150 visitor: V, in struct_variant()
156 visitor.visit_map(MapAccessor { in struct_variant()
169 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_any()
176 (Bool, _) => visitor.visit_bool(self.as_bool()), in deserialize_any()
177 (UInt, W8) => visitor.visit_u8(self.as_u8()), in deserialize_any()
178 (UInt, W16) => visitor.visit_u16(self.as_u16()), in deserialize_any()
179 (UInt, W32) => visitor.visit_u32(self.as_u32()), in deserialize_any()
180 (UInt, W64) => visitor.visit_u64(self.as_u64()), in deserialize_any()
[all …]
/third_party/boost/boost/xpressive/detail/static/
Dtransmogrify.hpp52 static type call(Matcher2 const &m, Visitor &visitor) in call()
54 return default_transmogrify::call_(m, visitor, is_char_literal<Matcher2, char_type>()); in call()
58 static type call_(Matcher2 const &m, Visitor &visitor, mpl::true_) in call_()
60 char_type ch = char_cast<char_type>(m, visitor.traits()); in call_()
61 return type(ch, visitor.traits()); in call_()
65 static type call_(Matcher2 const &m, Visitor &visitor, mpl::false_) in call_()
67 string_type str = string_cast<string_type>(m, visitor.traits()); in call_()
68 return type(str, visitor.traits()); in call_()
95 static type call(Matcher2, Visitor &visitor) in call()
97 return type(visitor.traits()); in call()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dpartition.hpp132 inline bool handle_one(IteratorVector const& input, VisitPolicy& visitor) in handle_one() argument
147 if (! visitor.apply(**it1, **it2)) in handle_one()
166 VisitPolicy& visitor) in handle_two() argument
191 if (! visitor.apply(**it1, **it2)) in handle_two()
262 VisitPolicy& visitor, in next_level() argument
274 visitor, expand_policy, overlaps_policy, box_policy); in next_level()
278 return handle_one(input, visitor); in next_level()
296 VisitPolicy& visitor, in next_level2() argument
307 visitor, expand_policy, overlaps_policy, in next_level2()
312 return handle_two(input1, input2, visitor); in next_level2()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/
Dsource_test.dart18 SourceVisitor visitor;
28 visitor = SourceVisitor(environment);
43 fooSource.accept(visitor);
45 expect(visitor.sources.single.path, fs.path.absolute('foo'));
52 barSource.accept(visitor);
54 expect(visitor.sources.single.path, fs.path.absolute(path));
61 barSource.accept(visitor);
63 expect(visitor.sources.single.path, fs.path.absolute(path));
74 fizzSource.accept(visitor);
76 expect(visitor.sources.single.resolveSymbolicLinksSync(), fs.path.absolute(path));
[all …]
/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h119 IterationVisitor *visitor);
123 soffset_t vector_index, IterationVisitor *visitor) { in IterateValue() argument
127 visitor->UType(tval, EnumName(tval, type_table)); in IterateValue()
131 visitor->Bool(ReadScalar<uint8_t>(val) != 0); in IterateValue()
136 visitor->Char(tval, EnumName(tval, type_table)); in IterateValue()
141 visitor->UChar(tval, EnumName(tval, type_table)); in IterateValue()
146 visitor->Short(tval, EnumName(tval, type_table)); in IterateValue()
151 visitor->UShort(tval, EnumName(tval, type_table)); in IterateValue()
156 visitor->Int(tval, EnumName(tval, type_table)); in IterateValue()
161 visitor->UInt(tval, EnumName(tval, type_table)); in IterateValue()
[all …]
/third_party/cef/tests/ceftests/
Dbrowser_info_map_unittest.cc323 MyVisitor visitor; in TEST() local
324 map.Find(kBrowserId2, 4, &visitor); in TEST()
325 EXPECT_EQ(1U, visitor.info_size()); in TEST()
326 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
327 EXPECT_EQ(0U, visitor.info_size()); in TEST()
362 MyVisitor visitor(true); in TEST() local
363 map.Find(kBrowserId1, 2, &visitor); in TEST()
364 EXPECT_EQ(1U, visitor.info_size()); in TEST()
365 EXPECT_TRUE(visitor.Exists(kBrowserId1, 2, obj2)); in TEST()
366 EXPECT_EQ(0U, visitor.info_size()); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.cpp53 BlockLayoutMapVisitor visitor(blockInfoOut, prefix, encoder); in GetInterfaceBlockInfo() local
54 TraverseShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo()
59 ShaderVariableVisitor *visitor) in TraverseStructVariable() argument
63 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
64 TraverseShaderVariables(fields, isRowMajorLayout, visitor); in TraverseStructVariable()
65 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
70 ShaderVariableVisitor *visitor) in TraverseStructArrayVariable() argument
72 visitor->enterArray(variable); in TraverseStructArrayVariable()
80 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
86 TraverseStructArrayVariable(elementVar, inRowMajorLayout, visitor); in TraverseStructArrayVariable()
[all …]
/third_party/boost/boost/variant/detail/
Dapply_visitor_binary.hpp58 apply_visitor_binary_invoke(Visitor& visitor, Value1& value1) BOOST_NOEXCEPT in apply_visitor_binary_invoke() argument
59 : visitor_(visitor) in apply_visitor_binary_invoke()
112 apply_visitor_binary_unwrap(Visitor& visitor, Visitable2& visitable2) BOOST_NOEXCEPT in apply_visitor_binary_unwrap() argument
113 : visitor_(visitor) in apply_visitor_binary_unwrap()
180 apply_visitor( Visitor& visitor, Visitable1&& visitable1, Visitable2&& visitable2) in apply_visitor() argument
184 > unwrapper(visitor, visitable2); in apply_visitor()
193 apply_visitor( Visitor& visitor, Visitable1& visitable1, Visitable2& visitable2) in apply_visitor() argument
197 > unwrapper(visitor, visitable2); in apply_visitor()
212 apply_visitor( const Visitor& visitor , Visitable1&& visitable1 , Visitable2&& visitable2) in apply_visitor() argument
216 > unwrapper(visitor, visitable2); in apply_visitor()
[all …]
Dapply_visitor_unary.hpp46 apply_visitor(Visitor& visitor, Visitable&& visitable) in apply_visitor() argument
48 return ::boost::forward<Visitable>(visitable).apply_visitor(visitor); in apply_visitor()
53 apply_visitor(Visitor& visitor, Visitable& visitable)
55 return visitable.apply_visitor(visitor);
66 apply_visitor(const Visitor& visitor, Visitable&& visitable) in apply_visitor() argument
68 return ::boost::forward<Visitable>(visitable).apply_visitor(visitor); in apply_visitor()
73 apply_visitor(const Visitor& visitor, Visitable& visitable) in apply_visitor() argument
75 return visitable.apply_visitor(visitor); in apply_visitor()
118 explicit result_wrapper1(Visitor&& visitor) BOOST_NOEXCEPT in result_wrapper1()
119 : visitor_(::boost::forward<Visitor>(visitor)) in result_wrapper1()
[all …]
/third_party/typescript/src/compiler/transformers/
DclassFields.ts77 const visited = visitEachChild(node, visitor, context);
82 function visitor(node: Node): VisitResult<Node> {
112 return visitEachChild(node, visitor, context);
121 return visitor(node);
164 return visitor(node);
172 const visitedNode = visitEachChild(node, visitor, context);
182 let node = visitEachChild(name, visitor, context);
202 visitNodes(node.modifiers, visitor, isModifier),
220 receiver = visitNode(receiver, visitor, isExpression);
241 return visitEachChild(node, visitor, context);
[all …]
Des2018.ts121 function visitor(node: Node): VisitResult<Node> {
147 return visitEachChild(node, visitor, context);
251 return visitEachChild(node, visitor, context);
256 return visitEachChild(node, visitor, context);
265 return visitEachChild(node, visitor, context);
273 …n*/ undefined, emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression))),
279 return visitEachChild(node, visitor, context);
285 … const expression = visitNode(Debug.assertDefined(node.expression), visitor, isExpression);
319 ? visitNode(node.expression, visitor, isExpression)
329 return visitEachChild(node, visitor, context);
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.cpp54 BlockLayoutMapVisitor visitor(blockInfoOut, prefix, encoder); in GetInterfaceBlockInfo() local
57 TraverseActiveShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo()
61 TraverseShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo()
67 ShaderVariableVisitor *visitor) in TraverseStructVariable() argument
71 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
72 TraverseShaderVariables(fields, isRowMajorLayout, visitor); in TraverseStructVariable()
73 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
78 ShaderVariableVisitor *visitor) in TraverseStructArrayVariable() argument
80 visitor->enterArray(variable); in TraverseStructArrayVariable()
87 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
[all …]
/third_party/boost/boost/phoenix/core/
Dvisit_each.hpp24 Visitor& visitor; member
25 visit_each_impl(Visitor& visitor_ ) : visitor(visitor_) {} in visit_each_impl()
31 visit_each(visitor, t); in operator ()()
37 inline void visit_each(Visitor& visitor, actor<Expr> const& a, long) in visit_each() argument
39 fusion::for_each(a, detail::visit_each_impl<Visitor>(visitor)); in visit_each()
43 inline void visit_each(Visitor& visitor, actor<Expr> const& a) in visit_each() argument
45 fusion::for_each(a, detail::visit_each_impl<Visitor>(visitor)); in visit_each()

12345678910>>...22