Home
last modified time | relevance | path

Searched refs:PathSegment (Results 1 – 22 of 22) sorted by relevance

/external/rust/crates/syn-mid/src/
Dpath.rs5 Ident, Path, PathArguments, PathSegment, Token,
8 fn parse_path_segment(input: ParseStream<'_>) -> Result<PathSegment> { in parse_path_segment() argument
11 return Ok(PathSegment::from(ident)); in parse_path_segment()
18 Ok(PathSegment { ident, arguments: PathArguments::AngleBracketed(input.parse()?) }) in parse_path_segment()
20 Ok(PathSegment::from(ident)) in parse_path_segment()
/external/llvm-project/llvm/include/llvm/Support/
DAutomaton.h69 struct PathSegment { struct
71 PathSegment *Tail; argument
76 SpecificBumpPtrAllocator<PathSegment> Allocator;
79 std::deque<PathSegment *> Heads;
85 PathSegment *makePathSegment(uint64_t State, PathSegment *Tail) { in makePathSegment()
86 PathSegment *P = Allocator.Allocate(); in makePathSegment()
98 PathSegment *Head = Heads[I]; in transition()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAutomaton.h69 struct PathSegment { struct
71 PathSegment *Tail; argument
76 SpecificBumpPtrAllocator<PathSegment> Allocator;
79 std::deque<PathSegment *> Heads;
85 PathSegment *makePathSegment(uint64_t State, PathSegment *Tail) { in makePathSegment()
86 PathSegment *P = Allocator.Allocate(); in makePathSegment()
98 PathSegment *Head = Heads[I]; in transition()
/external/skia/samplecode/
DSampleSimpleStroker.cpp93 struct PathSegment { struct in __anon22ae24220111::SkPathStroker2
107 void strokeLine(const PathSegment& line, bool needsMove);
114 void join(const PathSegment& prev, const PathSegment& curr);
120 static SkPoint unitNormal(const PathSegment& seg, float t);
123 static float squaredLineLength(const PathSegment& lineSeg);
140 PathSegment segment, prevSegment; in getFillPath()
180 void SkPathStroker2::strokeLine(const PathSegment& line, bool needsMove) { in strokeLine()
216 void SkPathStroker2::join(const PathSegment& prev, const PathSegment& curr) { in join()
217 const auto miterJoin = [this](const PathSegment& prev, const PathSegment& curr) { in join()
329 SkPoint SkPathStroker2::unitNormal(const PathSegment& seg, float t) { in unitNormal()
[all …]
DSampleVariableWidthStroker.cpp440 struct PathSegment { struct in __anondd06c43e0111::SkVarWidthStroker
446 std::vector<PathSegment> fInner;
447 std::vector<PathSegment> fOuter;
454 OffsetSegments strokeSegment(const PathSegment& segment,
465 std::vector<PathSegment> strokeSegment(const PathSegment& seg,
483 static SkPoint unitNormal(const PathSegment& seg, float t, SkPoint* tangentOut);
486 static int segmentDegree(const PathSegment& seg);
489 static void splitSegment(const PathSegment& seg, float t, PathSegment* segA, PathSegment* segB);
495 static void approximateSegment(const PathSegment& seg,
497 PathSegment* approxQuad);
[all …]
/external/rust/crates/syn/src/
Dpath.rs12 pub segments: Punctuated<PathSegment, Token![::]>,
18 T: Into<PathSegment>,
36 pub struct PathSegment {
42 impl<T> From<T> for PathSegment implementation
47 PathSegment { in from()
356 impl Parse for PathSegment { implementation
362 impl PathSegment { implementation
366 return Ok(PathSegment::from(ident)); in parse_helper()
378 Ok(PathSegment { in parse_helper()
383 Ok(PathSegment::from(ident)) in parse_helper()
[all …]
Dattr.rs166 fn clone_ident_segment(segment: &PathSegment) -> PathSegment { in parse_meta() argument
167 PathSegment { in parse_meta()
548 segments.push_value(PathSegment::from(ident)); in parse_meta_path()
Dlib.rs434 ParenthesizedGenericArguments, Path, PathArguments, PathSegment, QSelf,
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp182 class PathSegment { class
214 typedef SkTArray<PathSegment, true> PathSegmentArray;
216 void PathSegment::init() { in init()
226 if (fType == PathSegment::kLine) { in init()
239 SkASSERT(fType == PathSegment::kQuad); in init()
338 segments->back().fType = PathSegment::kLine; in add_line()
357 segments->back().fType = PathSegment::kQuad; in add_quad()
377 const PathSegment& segment, in calculate_nearest_point_for_quad()
439 void precomputation_for_row(RowData *rowData, const PathSegment& segment, in precomputation_for_row()
441 if (segment.fType != PathSegment::kQuad) { in precomputation_for_row()
[all …]
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp211 class PathSegment { class
243 typedef SkTArray<PathSegment, true> PathSegmentArray;
245 void PathSegment::init() { in init()
255 if (fType == PathSegment::kLine) { in init()
267 SkASSERT(fType == PathSegment::kQuad); in init()
365 segments->back().fType = PathSegment::kLine; in add_line_to_segment()
385 segments->back().fType = PathSegment::kQuad; in add_quad_segment()
405 const PathSegment& segment, in calculate_nearest_point_for_quad()
469 const PathSegment& segment, in precomputation_for_row()
473 if (segment.fType != PathSegment::kQuad) { in precomputation_for_row()
[all …]
/external/rust/crates/structopt-derive/src/
Dty.rs7 PathSegment, Type, TypePath,
47 fn only_last_segment(ty: &syn::Type) -> Option<&PathSegment> { in only_last_segment() argument
64 F: FnOnce(&PathSegment) -> bool, in subty_if()
/external/clang/lib/Driver/
DMSVCToolChain.cpp414 for (StringRef PathSegment : PathSegments) { in getVisualStudioBinariesFolder() local
415 if (PathSegment.empty()) in getVisualStudioBinariesFolder()
418 SmallString<128> FilePath(PathSegment); in getVisualStudioBinariesFolder()
427 path = PathSegment; in getVisualStudioBinariesFolder()
/external/rust/crates/serde_derive/src/
Dbound.rs194 fn visit_path_segment(&mut self, segment: &'ast syn::PathSegment) { in with_bound() argument
375 segments: vec![syn::PathSegment { in type_of_item()
/external/rust/crates/syn/tests/common/
Deq.rs16 ParenthesizedArgs, Pat, PatField, PatKind, Path, PathSegment, PolyTraitRef, QSelf, RangeEnd,
322 spanless_eq_struct!(PathSegment; ident id args);
/external/rust/crates/syn/src/gen/
Dfold.rs577 fn fold_path_segment(&mut self, i: PathSegment) -> PathSegment { in fold_path_segment() argument
2601 pub fn fold_path_segment<F>(f: &mut F, node: PathSegment) -> PathSegment in fold_path_segment()
2605 PathSegment { in fold_path_segment()
Dclone.rs1672 impl Clone for PathSegment { implementation
1674 PathSegment { in clone()
Deq.rs1685 impl Eq for PathSegment {} implementation
1688 impl PartialEq for PathSegment { implementation
Dvisit_mut.rs577 fn visit_path_segment_mut(&mut self, i: &mut PathSegment) { in visit_path_segment_mut() argument
3046 pub fn visit_path_segment_mut<V>(v: &mut V, node: &mut PathSegment) in visit_path_segment_mut()
Dvisit.rs573 fn visit_path_segment(&mut self, i: &'ast PathSegment) { in visit_path_segment() argument
3040 pub fn visit_path_segment<'ast, V>(v: &mut V, node: &'ast PathSegment) in visit_path_segment()
Dhash.rs2137 impl Hash for PathSegment { implementation
Ddebug.rs2294 impl Debug for PathSegment { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs4234 impl Debug for Lite<syn::PathSegment> {