/external/guava/guava/src/com/google/common/collect/ |
H A D | BstPathFactory.java | 30 * Returns this path extended by one node to the specified {@code side}. 32 P extension(P path, BstSide side); argument
|
H A D | BstNode.java | 78 * Returns the child on the specified side, or {@code null} if there is no such child. 81 public final N childOrNull(BstSide side) { argument 82 switch (side) { 93 * Returns {@code true} if this node has a child on the specified side. 95 public final boolean hasChild(BstSide side) { argument 96 return childOrNull(side) != null; 100 * Returns this node's child on the specified side. 104 public final N getChild(BstSide side) { argument 105 N child = childOrNull(side);
|
H A D | BstInOrderPath.java | 39 public BstInOrderPath<N> extension(BstInOrderPath<N> path, BstSide side) { 40 return BstInOrderPath.extension(path, side); 51 BstInOrderPath<N> path, BstSide side) { 54 return new BstInOrderPath<N>(tip.getChild(side), side, path); 68 private Optional<BstInOrderPath<N>> computeNextInOrder(BstSide side) { argument 69 if (getTip().hasChild(side)) { 70 BstInOrderPath<N> path = extension(this, side); 71 BstSide otherSide = side.other(); 78 while (current.sideExtension == side) { 50 extension( BstInOrderPath<N> path, BstSide side) argument 86 nextInOrder(BstSide side) argument 103 hasNext(BstSide side) argument 112 next(BstSide side) argument [all...] |
H A D | BstRangeOps.java | 54 // Returns total value strictly to the specified side of the specified range. 56 BstAggregate<? super N> aggregate, GeneralRange<K> range, BstSide side, @Nullable N root) { 59 if (beyond(range, root.getKey(), side)) { 61 accum += aggregate.treeValue(root.childOrNull(side)); 62 root = root.childOrNull(side.other()); 64 root = root.childOrNull(side); 92 * specified side of the specified range. 96 BstBalancePolicy<N> balancePolicy, BstNodeFactory<N> nodeFactory, BstSide side, 101 if (beyond(range, root.getKey(), side)) { 104 switch (side) { 55 totalBeyondRangeToSide( BstAggregate<? super N> aggregate, GeneralRange<K> range, BstSide side, @Nullable N root) argument 95 subTreeBeyondRangeToSide(GeneralRange<K> range, BstBalancePolicy<N> balancePolicy, BstNodeFactory<N> nodeFactory, BstSide side, @Nullable N root) argument 126 furthestPath( GeneralRange<K> range, BstSide side, BstPathFactory<N, P> pathFactory, @Nullable N root) argument 138 furthestPath( GeneralRange<K> range, BstSide side, BstPathFactory<N, P> pathFactory, P currentPath) argument 162 beyond(GeneralRange<K> range, @Nullable K key, BstSide side) argument [all...] |
H A D | BstMutationResult.java | 120 * side, returns the {@code BstMutationResult} of applying the mutation to the appropriate child 123 public BstMutationResult<K, N> lift(N liftOriginalRoot, BstSide side, argument 125 assert liftOriginalRoot != null & side != null & nodeFactory != null & balancePolicy != null; 135 switch (side) {
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | IntersectionUtilities.h | 11 inline int side(double x) { function 18 return 1 << side(x);
|
/external/skia/experimental/Intersection/ |
H A D | IntersectionUtilities.h | 11 inline int side(double x) { function 18 return 1 << side(x);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | GridResolvedPosition.h | 37 static GridResolvedPosition adjustGridPositionForSide(size_t resolvedPosition, GridPositionSide side) argument 40 if (side == ColumnEndSide || side == RowEndSide) 59 GridResolvedPosition(const GridPosition& position, GridPositionSide side) argument 64 m_integerPosition = adjustGridPositionForSide(integerPosition, side).toInt();
|
H A D | GridCoordinate.h | 50 static PassOwnPtr<GridSpan> createWithSpanAgainstOpposite(const GridResolvedPosition& resolvedOppositePosition, const GridPosition& position, GridPositionSide side) argument 55 if (side == ColumnStartSide || side == RowStartSide) { 63 static PassOwnPtr<GridSpan> createWithNamedSpanAgainstOpposite(const GridResolvedPosition& resolvedOppositePosition, const GridPosition& position, GridPositionSide side, const Vector<size_t>& gridLines) argument 65 if (side == RowStartSide || side == ColumnStartSide) 74 // is already converted to an index in our grid representation (ie one was removed from the grid line to account for the side). 163 GridResolvedPosition positionForSide(GridPositionSide side) const 165 switch (side) {
|
H A D | GridResolvedPosition.cpp | 13 static const NamedGridLinesMap& gridLinesForSide(const RenderStyle& style, GridPositionSide side) argument 15 return (side == ColumnStartSide || side == ColumnEndSide) ? style.namedGridColumnLines() : style.namedGridRowLines(); 18 static inline String implicitNamedGridLineForSide(const String& lineName, GridPositionSide side) argument 20 return lineName + ((side == ColumnStartSide || side == RowStartSide) ? "-start" : "-end"); 23 static bool isValidNamedLineOrArea(const String& lineName, const RenderStyle& style, GridPositionSide side) argument 25 const NamedGridLinesMap& gridLineNames = gridLinesForSide(style, side); 27 return gridLineNames.contains(implicitNamedGridLineForSide(lineName, side)) || gridLineNames.contains(lineName); 137 size_t GridResolvedPosition::explicitGridSizeForSide(const RenderStyle& gridContainerStyle, GridPositionSide side) argument 142 resolveNamedGridLinePositionFromStyle(const RenderStyle& gridContainerStyle, const GridPosition& position, GridPositionSide side) argument 163 resolveGridPositionFromStyle(const RenderStyle& gridContainerStyle, const GridPosition& position, GridPositionSide side) argument 220 resolveGridPositionAgainstOppositePosition(const RenderStyle& gridContainerStyle, const GridResolvedPosition& resolvedOppositePosition, const GridPosition& position, GridPositionSide side) argument 236 resolveNamedGridLinePositionAgainstOppositePosition(const RenderStyle& gridContainerStyle, const GridResolvedPosition& resolvedOppositePosition, const GridPosition& position, GridPositionSide side) argument [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | BstNodeTest.java | 37 private void testLacksChild(SimpleNode node, BstSide side) { argument 38 assertNull(node.childOrNull(side)); 39 assertFalse(node.hasChild(side)); 41 node.getChild(side); 46 private void testChildIs(SimpleNode node, BstSide side, SimpleNode expectedChild) { argument 47 assertEquals(expectedChild, node.childOrNull(side)); 48 assertTrue(node.hasChild(side)); 49 assertEquals(expectedChild, node.getChild(side));
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_recent.h | 32 __u8 side; member in struct:xt_recent_mtinfo 41 __u8 side; member in struct:xt_recent_mtinfo_v1
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_recent.h | 32 __u8 side; member in struct:xt_recent_mtinfo 41 __u8 side; member in struct:xt_recent_mtinfo_v1
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_lighttmp.h | 113 GLint side; local 162 /* Which side gets the diffuse & specular terms? */ 166 side = 1; 177 side = 0; 182 COPY_3V(contrib, light->_MatAmbient[side]); 183 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); 184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib ); 207 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); 210 ACC_SCALE_SCALAR_3V( spec[side], spec_coef, 211 light->_MatSpecular[side]); 290 GLint side; local [all...] |
H A D | t_vb_light.c | 88 * for both the front and back side of the primitive. Then, when the 93 * the side or sides which are actually required. 120 validate_shine_table( struct gl_context *ctx, GLuint side, GLfloat shininess ) argument 126 ASSERT(side < 2); 163 if (tnl->_ShineTable[side]) 164 tnl->_ShineTable[side]->refcount--; 166 tnl->_ShineTable[side] = s; 372 /* The individual functions know about replaying side-effects
|
/external/chromium_org/third_party/opus/src/celt/tests/ |
H A D | test_unit_mathops.c | 132 opus_int32 side=bitexact_cos(16384-i); local 133 opus_int32 q=bitexact_log2tan(mid,side); 136 if (q!=-1*bitexact_log2tan(side,mid))
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkRTree.h | 132 RectLessThan(SkRTree::SortSide side) : fSide(side) { } argument
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
H A D | TestRedFec.cc | 264 int16_t TestRedFec::RegisterSendCodec(char side, char* codecName, argument 268 switch (side) {
|
/external/eigen/blas/ |
H A D | level3_impl.h | 66 int EIGEN_BLAS_FUNC(trsm)(char *side, char *uplo, char *opa, char *diag, int *m, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pb, int *ldb) argument 68 // std::cerr << "in trsm " << *side << " " << *uplo << " " << *opa << " " << *diag << " " << *m << "," << *n << " " << *palpha << " " << *lda << " " << *ldb<< "\n"; 119 if(SIDE(*side)==INVALID) info = 1; 125 else if(*lda<std::max(1,(SIDE(*side)==LEFT)?*m:*n)) info = 9; 130 int code = OP(*opa) | (SIDE(*side) << 2) | (UPLO(*uplo) << 3) | (DIAG(*diag) << 4); 132 if(SIDE(*side)==LEFT) 150 // b = alpha*op(a)*b for side = 'L'or'l' 151 // b = alpha*b*op(a) for side = 'R'or'r' 152 int EIGEN_BLAS_FUNC(trmm)(char *side, char *uplo, char *opa, char *diag, int *m, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pb, int *ldb) argument 154 // std::cerr << "in trmm " << *side << " " << *upl 238 symm(char *side, char *uplo, int *m, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pb, int *ldb, RealScalar *pbeta, RealScalar *pc, int *ldc) argument 446 hemm(char *side, char *uplo, int *m, int *n, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pb, int *ldb, RealScalar *pbeta, RealScalar *pc, int *ldc) argument [all...] |
/external/libopus/celt/tests/ |
H A D | test_unit_mathops.c | 132 opus_int32 side=bitexact_cos(16384-i); local 133 opus_int32 q=bitexact_log2tan(mid,side); 136 if (q!=-1*bitexact_log2tan(side,mid))
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_lighttmp.h | 113 GLint side; local 162 /* Which side gets the diffuse & specular terms? */ 166 side = 1; 177 side = 0; 182 COPY_3V(contrib, light->_MatAmbient[side]); 183 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); 184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib ); 207 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); 210 ACC_SCALE_SCALAR_3V( spec[side], spec_coef, 211 light->_MatSpecular[side]); 290 GLint side; local [all...] |
/external/skia/src/core/ |
H A D | SkRTree.h | 132 RectLessThan(SkRTree::SortSide side) : fSide(side) { } argument
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | ObjectPainter.cpp | 97 BoxSide side, Color color, EBorderStyle style, 102 if (side == BSTop || side == BSBottom) { 124 drawDashedOrDottedBoxSide(graphicsContext, x1, y1, x2, y2, side, 128 drawDoubleBoxSide(graphicsContext, x1, y1, x2, y2, length, side, color, 133 drawRidgeOrGrooveBoxSide(graphicsContext, x1, y1, x2, y2, side, color, 137 // FIXME: Maybe we should lighten the colors on one side like Firefox. 139 if (side == BSTop || side == BSLeft) 143 if (style == OUTSET && (side 96 drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 152 drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, int thickness, EBorderStyle style, bool antialias) argument 179 drawDoubleBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, int length, BoxSide side, Color color, int thickness, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 255 drawRidgeOrGrooveBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 299 drawSolidBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, int adjacentWidth1, int adjacentWidth2, bool antialias) argument [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-buffer-private.hh | 193 inline void clear_context (unsigned int side) { context_len[side] = 0; } argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
H A D | nv20_state_tnl.c | 35 #define LIGHT_MODEL_AMBIENT_R(side) \ 36 ((side) ? NV20_3D_LIGHT_MODEL_BACK_AMBIENT_R : \ 38 #define LIGHT_AMBIENT_R(side, i) \ 39 ((side) ? NV20_3D_LIGHT_BACK_AMBIENT_R(i) : \ 41 #define LIGHT_DIFFUSE_R(side, i) \ 42 ((side) ? NV20_3D_LIGHT_BACK_DIFFUSE_R(i) : \ 44 #define LIGHT_SPECULAR_R(side, i) \ 45 ((side) ? NV20_3D_LIGHT_BACK_SPECULAR_R(i) : \ 47 #define MATERIAL_FACTOR_R(side) \ 48 ((side) 237 const int side = emit - NOUVEAU_STATE_MATERIAL_FRONT_AMBIENT; local 279 const int side = emit - NOUVEAU_STATE_MATERIAL_FRONT_DIFFUSE; local 301 const int side = emit - NOUVEAU_STATE_MATERIAL_FRONT_SPECULAR; local 319 const int side = emit - NOUVEAU_STATE_MATERIAL_FRONT_SHININESS; local [all...] |