/external/chromium_org/cc/resources/ |
layer_quad.h | 23 class Edge { 25 Edge() : x_(0), y_(0), z_(0) {} 26 Edge(gfx::PointF p, gfx::PointF q); 60 gfx::PointF Intersect(const Edge& e) const { 72 LayerQuad(const Edge& left, 73 const Edge& top, 74 const Edge& right, 75 const Edge& bottom); 78 Edge left() const { return left_; } 79 Edge top() const { return top_; [all...] |
layer_quad.cc | 12 LayerQuad::Edge::Edge(gfx::PointF p, gfx::PointF q) { 24 left_ = Edge(quad.p4(), quad.p1()); 25 right_ = Edge(quad.p2(), quad.p3()); 26 top_ = Edge(quad.p1(), quad.p2()); 27 bottom_ = Edge(quad.p3(), quad.p4()); 36 LayerQuad::LayerQuad(const Edge& left, 37 const Edge& top, 38 const Edge& right, 39 const Edge& bottom [all...] |
/external/chromium_org/third_party/skia/include/utils/ |
SkBoundaryPatch.h | 19 enum Edge { 25 // Edge index goes clockwise around the boundary, beginning at the "top" 26 virtual SkPoint eval(Edge, SkScalar unitInterval) = 0; 54 virtual SkPoint eval(Edge, SkScalar); 63 virtual SkPoint eval(Edge, SkScalar);
|
/external/skia/include/utils/ |
SkBoundaryPatch.h | 19 enum Edge { 25 // Edge index goes clockwise around the boundary, beginning at the "top" 26 virtual SkPoint eval(Edge, SkScalar unitInterval) = 0; 54 virtual SkPoint eval(Edge, SkScalar); 63 virtual SkPoint eval(Edge, SkScalar);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_graph.h | 32 #define ITER_EDGE(x) reinterpret_cast<Graph::Edge *>((x).get()) 40 class Edge 53 Edge(Node *dst, Node *src, Type kind); 54 ~Edge() { unlink(); } 67 Edge *next[2]; // next edge outgoing/incident from/to origin/target 68 Edge *prev[2]; 79 EdgeIterator(Graph::Edge *first, int dir, bool reverse) 87 Graph::Edge *n = (rev ? e->prev[d] : e->next[d]); 95 inline Edge *getEdge() const { return e; [all...] |
nv50_ir_graph.cpp | 53 void Graph::Edge::unlink() 73 const char *Graph::Edge::typeStr() const 95 void Graph::Node::attach(Node *node, Edge::Type kind) 97 Edge *edge = new Edge(this, node, kind); local 101 edge->next[0] = this->out; 102 edge->prev[0] = this->out->prev[0]; 103 edge->prev[0]->next[0] = edge; 356 Graph::Edge *edge; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_graph.h | 32 #define ITER_EDGE(x) reinterpret_cast<Graph::Edge *>((x).get()) 40 class Edge 53 Edge(Node *dst, Node *src, Type kind); 54 ~Edge() { unlink(); } 67 Edge *next[2]; // next edge outgoing/incident from/to origin/target 68 Edge *prev[2]; 79 EdgeIterator(Graph::Edge *first, int dir, bool reverse) 87 Graph::Edge *n = (rev ? e->prev[d] : e->next[d]); 95 inline Edge *getEdge() const { return e; [all...] |
nv50_ir_graph.cpp | 53 void Graph::Edge::unlink() 73 const char *Graph::Edge::typeStr() const 95 void Graph::Node::attach(Node *node, Edge::Type kind) 97 Edge *edge = new Edge(this, node, kind); local 101 edge->next[0] = this->out; 102 edge->prev[0] = this->out->prev[0]; 103 edge->prev[0]->next[0] = edge; 356 Graph::Edge *edge; local [all...] |
/external/llvm/include/llvm/Analysis/ |
ProfileDataLoader.h | 39 /// An edge is defined by its source and sink basic blocks. 43 // The profiling information defines an Edge by its source and sink basic 45 typedef std::pair<const BType*, const BType*> Edge; 48 typedef DenseMap<Edge, unsigned> EdgeWeights; 53 /// As a special case, we also hold an edge from the null BasicBlock to the 58 /// getFunction() - Returns the Function for an Edge. 59 static const FType *getFunction(Edge e) { 62 && "A ProfileData::Edge can not be between two functions"); 63 assert(e.second && "A ProfileData::Edge must have a real sink"); 67 /// getEdge() - Creates an Edge between two BasicBlocks [all...] |
ProfileInfo.h | 58 typedef std::pair<const BType*, const BType*> Edge; 59 typedef std::pair<Edge, double> EdgeWeight; 60 typedef std::map<Edge, double> EdgeWeights; 66 // blocks is executed. As a special case, we also hold an edge from the 87 // getFunction() - Returns the Function for an Edge, checking for validity. 88 static const FType* getFunction(Edge e) { 93 llvm_unreachable("Invalid ProfileInfo::Edge"); 96 // getEdge() - Creates an Edge from two BasicBlocks. 97 static Edge getEdge(const BType *Src, const BType *Dest) { 112 double getEdgeWeight(Edge e) const [all...] |
BranchProbabilityInfo.h | 30 /// probabilities of each "edge" in the function's CFG where such an edge is 32 /// probability of an edge from one block is always relative to the 36 /// identify an edge, since we can have multiple edges from Src to Dst. 51 /// \brief Get an edge's probability, relative to other out-edges of the Src. 54 /// (0%) and one (100%) of this edge executing, relative to other edges 66 /// \brief Test if an edge is hot relative to other out-edges of the Src. 68 /// Check whether this edge out of the source block is 'hot'. We define hot 78 /// \brief Print an edge's probability. 80 /// Retrieves an edge's probability similarly to \see getEdgeProbability, bu [all...] |
/external/chromium_org/ash/wm/workspace/ |
snap_sizer.h | 27 enum Edge { 42 Edge edge, 47 static void SnapWindow(aura::Window* window, Edge edge); 62 // Returns the target bounds based on the edge and the provided |size_index|. 78 // Returns the target bounds based on the edge and |size_index_|. 81 // Returns true if the specified point is along the edge of the screen. 87 const Edge edge_;
|
/external/llvm/lib/Transforms/Instrumentation/ |
MaximumSpanningTree.h | 30 typedef std::pair<const T*, const T*> Edge; 31 typedef std::pair<Edge, double> EdgeWeight; 34 typedef std::vector<Edge> MaxSpanTree; 50 // Equal edge weights: break ties by comparing block sizes. 80 Edge e = (*EWi).first; 89 Edge e = (*EWi).first; 93 // So we know now that the edge is not already in a subtree, so we push 94 // the edge to the MST.
|
/external/chromium_org/third_party/skia/src/core/ |
SkRegion_path.cpp | 344 struct Edge { 355 Edge* fNext; 372 static void find_link(Edge* base, Edge* stop) { 375 if (base->fFlags == Edge::kCompleteLink) { 385 Edge* e = base; 386 if ((base->fFlags & Edge::kY0Link) == 0) { 389 if ((e->fFlags & Edge::kY1Link) == 0 && y0 == e->fY1) { 392 e->fFlags = SkToU8(e->fFlags | Edge::kY1Link); 399 if ((base->fFlags & Edge::kY1Link) == 0) [all...] |
/external/skia/src/core/ |
SkRegion_path.cpp | 344 struct Edge { 355 Edge* fNext; 372 static void find_link(Edge* base, Edge* stop) { 375 if (base->fFlags == Edge::kCompleteLink) { 385 Edge* e = base; 386 if ((base->fFlags & Edge::kY0Link) == 0) { 389 if ((e->fFlags & Edge::kY1Link) == 0 && y0 == e->fY1) { 392 e->fFlags = SkToU8(e->fFlags | Edge::kY1Link); 399 if ((base->fFlags & Edge::kY1Link) == 0) [all...] |
/external/llvm/lib/Analysis/ |
ProfileEstimatorPass.cpp | 38 std::map<Edge,double> MinimalWeight; 71 void inline printEdgeWeight(Edge); 101 static void inline printEdgeError(ProfileInfo::Edge e, const char *M) { 102 DEBUG(dbgs() << "-- Edge " << e << " is not calculated, " << M << "\n"); 105 void inline ProfileEstimatorPass::printEdgeWeight(Edge E) { 106 DEBUG(dbgs() << "-- Weight of Edge " << E << ":" 116 // flow, once an edge has a flow assigned this flow is never changed again, 134 Edge edge = getEdge(*bbi,BB); local 135 double w = getEdgeWeight(edge); 205 Edge edge = getEdge(Latch,0); local 267 Edge edge = getEdge(BB,0); local 273 Edge edge = getEdge(BB,*bbi); local 341 Edge edge = getEdge(0,entry); local [all...] |
ProfileInfoLoaderPass.cpp | 42 std::set<Edge> SpanningTree; 61 // recurseBasicBlock() - Calculates the edge weights for as much basic 64 virtual void readEdgeOrRemember(Edge, Edge&, unsigned &, double &); 65 virtual void readEdge(ProfileInfo::Edge, std::vector<unsigned>&); 97 void LoaderPass::readEdgeOrRemember(Edge edge, Edge &tocalc, 100 if ((w = getEdgeWeight(edge)) == MissingValue) { 101 tocalc = edge; [all...] |
ProfileInfo.cpp | 75 Edge e = getEdge(0, BB); 79 // the sum of the edge frequencies from the incoming edges. 102 Edge e = getEdge(BB,0); 183 void ProfileInfoT<Function,BasicBlock>::addEdgeWeight(Edge e, double w) { 185 assert (oldw != MissingValue && "Adding weight to Edge with no previous weight"); 186 DEBUG(dbgs() << "Adding to Edge " << e 212 void ProfileInfoT<Function,BasicBlock>::removeEdge(Edge e) { 223 replaceEdge(const Edge &oldedge, const Edge &newedge) { 260 Edge e = getEdge(BB,*Succ) [all...] |
ProfileDataLoaderPass.cpp | 65 virtual void readEdge(unsigned, ProfileData&, ProfileData::Edge, 92 /// readEdge - Take the value from a profile counter and assign it to an edge. 94 ProfileData &PB, ProfileData::Edge e, 102 DEBUG(dbgs() << "-- Read Edge Counter for " << e 107 /// matchEdges - Link every profile counter with an edge. 131 /// edge into branch weights for each conditional branch (a branch with 2 or 152 ProfileData::Edge edge = PB.getEdge(BB, TI->getSuccessor(s)); local 153 Weights[s] = (uint32_t)PB.getEdgeWeight(edge); 154 DEBUG(dbgs() << "---- Edge '" << edge << "' has weight [all...] |
/external/opencv/cvaux/src/ |
enmin.cpp | 81 // struct Edge is used for storing edges of graph 82 // weight - weight of the edge ( maximum flow via the edge ) 83 // flow - current flow via the edge 86 struct Edge 198 getSizeForGraph( Edge ), 231 /* adding edge oriented from alpha vertex to current vertex */ 233 ( ( Edge* )newEdgePtr ) -> weight = dFunc( leftLine, 238 ( ( Edge* )newEdgePtr ) -> flow = 0; 245 ( ( Edge* )newEdgePtr ) -> weight + [all...] |
/external/chromium_org/ui/views/win/ |
appbar.h | 26 enum Edge {
|
/external/chromium_org/content/browser/android/ |
edge_effect.h | 27 enum Edge { 35 EdgeEffect(scoped_refptr<cc::Layer> edge, scoped_refptr<cc::Layer> glow); 46 void ApplyToLayers(gfx::SizeF size, Edge edge);
|
/external/chromium/chrome/browser/ui/ |
window_sizer.h | 136 // The edge of the screen to check for out-of-bounds. 137 enum Edge { TOP, LEFT, BOTTOM, RIGHT }; 160 // Returns true if the specified position is "offscreen" for the given edge, 161 // meaning that it's outside all work areas in the direction of that edge. 162 bool PositionIsOffscreen(int position, Edge edge) const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
PolygonShape.h | 42 Edge, 47 OffsetPolygonEdge(const FloatPolygonEdge& edge, const FloatSize& offset) 48 : m_vertex1(edge.vertex1() + offset) 49 , m_vertex2(edge.vertex2() + offset) 50 , m_edgeIndex(edge.edgeIndex()) 51 , m_basis(Edge)
|
/external/chromium_org/third_party/skia/src/utils/ |
SkBoundaryPatch.cpp | 67 SkPoint SkLineBoundary::eval(Edge e, SkScalar t) { 72 SkPoint SkCubicBoundary::eval(Edge e, SkScalar t) {
|