Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 25 of 207) sorted by relevance

123456789

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java24 import ohos.global.icu.text.RelativeDateTimeFormatter.Direction;
39 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, in TestRelativeDateWithQuantity()
40 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, in TestRelativeDateWithQuantity()
41 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, in TestRelativeDateWithQuantity()
42 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, in TestRelativeDateWithQuantity()
43 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
44 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
45 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
46 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
47 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"}, in TestRelativeDateWithQuantity()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java23 import com.ibm.icu.text.RelativeDateTimeFormatter.Direction;
36 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, in TestRelativeDateWithQuantity()
37 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, in TestRelativeDateWithQuantity()
38 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, in TestRelativeDateWithQuantity()
39 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, in TestRelativeDateWithQuantity()
40 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
41 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
42 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
43 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
44 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"}, in TestRelativeDateWithQuantity()
[all …]
/third_party/giflib/
Dgifbg.c62 Direction; variable
108 Direction = DIR_NONE; in main()
119 Direction = DIR_TOP; in main()
124 Direction = DIR_TOP_RIGHT; in main()
128 Direction = DIR_TOP_LEFT; in main()
135 Direction = DIR_RIGHT; in main()
140 Direction = DIR_BOT; in main()
147 Direction = DIR_BOT_RIGHT; in main()
151 Direction = DIR_BOT_LEFT; in main()
158 Direction = DIR_LEFT; in main()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java271 public static enum Direction { enum in RelativeDateTimeFormatter
656 public String format(double quantity, Direction direction, RelativeUnit unit) { in format()
678 …public FormattedRelativeDateTime formatToValue(double quantity, Direction direction, RelativeUnit … in formatToValue()
684 …private FormattedStringBuilder formatImpl(double quantity, Direction direction, RelativeUnit unit)… in formatImpl()
685 if (direction != Direction.LAST && direction != Direction.NEXT) { in formatImpl()
688 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in formatImpl()
774 Direction direction = Direction.NEXT; in formatNumericImpl()
776 direction = Direction.LAST; in formatNumericImpl()
801 public String format(Direction direction, AbsoluteUnit unit) { in format()
821 public FormattedRelativeDateTime formatToValue(Direction direction, AbsoluteUnit unit) { in formatToValue()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRelativeDateTimeFormatter.java243 public static enum Direction { enum in RelativeDateTimeFormatter
577 public String format(double quantity, Direction direction, RelativeUnit unit) { in format()
598 …public FormattedRelativeDateTime formatToValue(double quantity, Direction direction, RelativeUnit … in formatToValue()
604 …private FormattedStringBuilder formatImpl(double quantity, Direction direction, RelativeUnit unit)… in formatImpl()
605 if (direction != Direction.LAST && direction != Direction.NEXT) { in formatImpl()
608 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in formatImpl()
692 Direction direction = Direction.NEXT; in formatNumericImpl()
694 direction = Direction.LAST; in formatNumericImpl()
718 public String format(Direction direction, AbsoluteUnit unit) { in format()
737 public FormattedRelativeDateTime formatToValue(Direction direction, AbsoluteUnit unit) { in formatToValue()
[all …]
/third_party/skia/third_party/externals/oboe/tests/
DtestStreamOpen.cpp58 void checkSampleRateConversionAdvancing(Direction direction) { in checkSampleRateConversionAdvancing()
123 mBuilder.setDirection(Direction::Output); in TEST_F()
134 mBuilder.setDirection(Direction::Input); in TEST_F()
155 mBuilder.setDirection(Direction::Input); in TEST_F()
240 mBuilder.setDirection(Direction::Input); in TEST_F()
251 mBuilder.setDirection(Direction::Input); in TEST_F()
262 mBuilder.setDirection(Direction::Input); in TEST_F()
273 mBuilder.setDirection(Direction::Input); in TEST_F()
283 mBuilder.setDirection(Direction::Input); in TEST_F()
293 mBuilder.setDirection(Direction::Output); in TEST_F()
[all …]
DtestStreamStates.cpp32 mBuilder.setDirection(Direction::Output); in SetUp()
35 bool openStream(Direction direction) { in openStream()
45 return openStream(Direction::Output); in openStream()
49 return openStream(Direction::Input); in openInputStream()
69 void checkStreamStateIsStartedAfterStartingTwice(Direction direction) { in checkStreamStateIsStartedAfterStartingTwice()
90 void checkStreamStateIsStoppedAfterStoppingTwice(Direction direction) { in checkStreamStateIsStoppedAfterStoppingTwice()
114 void checkStreamLeftRunningShouldNotInterfereWithNextOpen(Direction direction) { in checkStreamLeftRunningShouldNotInterfereWithNextOpen()
226 checkStreamStateIsStartedAfterStartingTwice(Direction::Output); in TEST_F()
230 checkStreamStateIsStartedAfterStartingTwice(Direction::Input); in TEST_F()
234 checkStreamStateIsStoppedAfterStoppingTwice(Direction::Output); in TEST_F()
[all …]
DtestStreamWaitState.cpp31 mBuilder.setDirection(Direction::Output); in SetUp()
34 bool openStream(Direction direction, PerformanceMode perfMode) { in openStream()
122 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
128 openStream(Direction::Output, PerformanceMode::None); in TEST_F()
153 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
159 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
176 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
182 openStream(Direction::Output, PerformanceMode::None); in TEST_F()
188 openStream(Direction::Input, PerformanceMode::LowLatency); in TEST_F()
194 openStream(Direction::Input, PerformanceMode::None); in TEST_F()
/third_party/flutter/skia/modules/sksg/include/
DSkSGRect.h35 SG_MAPPED_ATTRIBUTE(Direction , SkPath::Direction, fAttrContaier)
55 SkPath::Direction getDirection() const { in getDirection()
56 return static_cast<SkPath::Direction>(fDirection); in getDirection()
58 void setDirection(SkPath::Direction dir) { fDirection = SkTo<uint8_t>(dir); } in setDirection()
78 SG_MAPPED_ATTRIBUTE(Direction , SkPath::Direction, fAttrContaier)
98 SkPath::Direction getDirection() const { in getDirection()
99 return static_cast<SkPath::Direction>(fDirection); in getDirection()
101 void setDirection(SkPath::Direction dir) { fDirection = SkTo<uint8_t>(dir); } in setDirection()
/third_party/typescript/tests/baselines/reference/
DreachabilityChecks4.types75 type Direction = 'LEFT' | 'RIGHT' | 'TOP' | 'BOTTOM'
76 >Direction : Direction
82 direction: Direction
83 >direction : Direction
99 >transition.direction : Direction
101 >direction : Direction
131 >transition.direction : Direction
133 >direction : Direction
/third_party/skia/src/gpu/effects/
DGrBicubicEffect.h25 enum class Direction { enum
47 Direction);
58 Direction,
72 Direction,
87 Direction,
98 Direction);
110 Direction,
124 Direction fDirection;
DGrGaussianConvolutionFragmentProcessor.h20 enum class Direction { kX, kY }; enum
33 Direction,
58 Direction,
67 Direction::kX == fDirection ? "X" : "Y", fRadius); in onDumpInfo()
86 Direction fDirection;
DGrBicubicEffect.cpp43 if (bicubicEffect.fDirection == GrBicubicEffect::Direction::kXY) { in emitCode()
68 const char* d = bicubicEffect.fDirection == Direction::kX ? "x" : "y"; in emitCode()
77 if (bicubicEffect.fDirection == Direction::kX) { in emitCode()
118 Direction direction) { in Make()
131 Direction direction, in Make()
149 Direction direction, in MakeSubset()
169 Direction direction, in MakeSubset()
192 Direction direction) { in Make()
200 Direction direction, in GrBicubicEffect()
241 Direction direction = Direction::kX; in TestCreate()
[all …]
DGrGaussianConvolutionFragmentProcessor.cpp21 using Direction = GrGaussianConvolutionFragmentProcessor::Direction; typedef
145 Direction dir, in Make()
169 case Direction::kX: domain.outset(halfWidth, 0); break; in Make()
170 case Direction::kY: domain.outset(0, halfWidth); break; in Make()
200 Direction direction, in GrGaussianConvolutionFragmentProcessor()
250 Direction dir = d->fRandom->nextBool() ? Direction::kY : Direction::kX; in TestCreate()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dhandler.go51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context argument
53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context argument
73 type Direction bool type
77 Send = Direction(true)
79 Receive = Direction(false)
82 func (d Direction) String() string {
103 func (EmptyHandler) Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) c…
107 func (EmptyHandler) Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse)…
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Dhandler.go51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context argument
53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context argument
73 type Direction bool type
77 Send = Direction(true)
79 Receive = Direction(false)
82 func (d Direction) String() string {
103 func (EmptyHandler) Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) c…
107 func (EmptyHandler) Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse)…
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Dhandler.go51 Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) context.Context argument
53 Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse) context.Context argument
73 type Direction bool type
77 Send = Direction(true)
79 Receive = Direction(false)
82 func (d Direction) String() string {
103 func (EmptyHandler) Request(ctx context.Context, conn *Conn, direction Direction, r *WireRequest) c…
107 func (EmptyHandler) Response(ctx context.Context, conn *Conn, direction Direction, r *WireResponse)…
/third_party/flutter/skia/src/gpu/effects/
DGrBicubicEffect.h23 enum class Direction { enum
40 Direction direction() const { return fDirection; } in direction()
49 Direction direction, in Make()
63 Direction direction, in Make()
81 Direction direction,
97 Direction direction, in Make()
118 GrTextureDomain::Mode modeY, Direction direction, SkAlphaType alphaType);
133 Direction fDirection;
DGrGaussianConvolutionFragmentProcessor.h22 enum class Direction { kX, kY }; enum
26 Direction dir, in Make()
41 Direction direction() const { return fDirection; } in direction()
51 Direction::kX == fDirection ? "X" : "Y", in dumpInfo()
74 GrGaussianConvolutionFragmentProcessor(sk_sp<GrTextureProxy>, Direction,
97 Direction fDirection;
DGrBicubicEffect.cpp24 uint32_t bidir = bicubicEffect.direction() == GrBicubicEffect::Direction::kXY ? 1 : 0; in GenKey()
81 if (bicubicEffect.direction() == GrBicubicEffect::Direction::kXY) { in emitCode()
152 if (bicubicEffect.direction() != GrBicubicEffect::Direction::kY) { in onSetData()
156 if (bicubicEffect.direction() != GrBicubicEffect::Direction::kX) { in onSetData()
168 Direction direction, SkAlphaType alphaType) in GrBicubicEffect()
217 Direction direction = Direction::kX; in TestCreate()
220 direction = Direction::kX; in TestCreate()
223 direction = Direction::kY; in TestCreate()
226 direction = Direction::kXY; in TestCreate()
DGrGaussianConvolutionFragmentProcessor.cpp19 using Direction = GrGaussianConvolutionFragmentProcessor::Direction; typedef
84 const char* component = ce.direction() == Direction::kY ? "y" : "x"; in emitCode()
129 case Direction::kX: in onSetData()
132 case Direction::kY: in onSetData()
147 if (Direction::kX == conv.direction()) { in onSetData()
180 key |= Direction::kY == conv.direction() ? 0x4 : 0x0; in GenKey()
215 Direction direction, in GrGaussianConvolutionFragmentProcessor()
286 Direction dir; in TestCreate()
288 dir = Direction::kX; in TestCreate()
292 dir = Direction::kY; in TestCreate()
/third_party/flutter/skia/gm/
Dpathcontourstart.cpp58 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
64 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
70 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
80 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
89 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
108 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawDirs() argument
115 void drawOneColumn(SkCanvas* canvas, SkPath::Direction dir, in drawOneColumn() argument
116 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawOneColumn()
/third_party/flutter/skia/include/core/
DSkPath.h56 enum Direction : int { enum
901 Direction sweep, SkScalar x, SkScalar y);
926 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo()
958 Direction sweep, SkScalar dx, SkScalar dy);
1043 bool isRect(SkRect* rect, bool* isClosed = nullptr, Direction* direction = nullptr) const;
1056 bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = nullptr) const;
1067 SkPath& addRect(const SkRect& rect, Direction dir = kCW_Direction);
1079 SkPath& addRect(const SkRect& rect, Direction dir, unsigned start);
1095 Direction dir = kCW_Direction);
1106 SkPath& addOval(const SkRect& oval, Direction dir = kCW_Direction);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceGraphBuilder.cpp144 enum Direction { in createPiBlocks() enum
180 const Direction Dir) { in createPiBlocks()
185 << (Dir == Direction::Incoming ? "incoming)" : "outgoing)") in createPiBlocks()
188 assert((Dir == Direction::Incoming || Dir == Direction::Outgoing) && in createPiBlocks()
196 if (Dir == Direction::Incoming) { in createPiBlocks()
199 } else if (Dir == Direction::Outgoing) { in createPiBlocks()
212 reconnectEdges(N, SCCNode, &PiNode, Direction::Incoming); in createPiBlocks()
215 reconnectEdges(SCCNode, N, &PiNode, Direction::Outgoing); in createPiBlocks()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_peeling.h278 using Direction = std::pair<PeelDirection, uint32_t>;
291 Direction GetPeelingInfo(BasicBlock* bb) const;
312 Direction HandleEquality(SExpression lhs, SExpression rhs) const;
313 Direction HandleInequality(CmpOperator cmp_op, SExpression lhs,
316 static Direction GetNoneDirection() { in GetNoneDirection()
317 return Direction{LoopPeelingPass::PeelDirection::kNone, 0}; in GetNoneDirection()

123456789