Home
last modified time | relevance | path

Searched refs:direction (Results 76 - 100 of 2978) sorted by relevance

12345678910>>...120

/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_flower.sh78 local direction=$1; shift
86 mirror_install $swp1 $direction $tundev \
88 fail_test_span_gre_dir $tundev $direction
89 test_span_gre_dir_acl "$tundev" "$direction" \
91 mirror_uninstall $swp1 $direction
94 fail_test_span_gre_dir_acl "$tundev" "$direction"
96 log_test "$direction $what ($tcflags)"
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-font.hh133 int64_t dir_mult (hb_direction_t direction) in dir_mult()
134 { return HB_DIRECTION_IS_VERTICAL(direction) ? y_mult : x_mult; } in dir_mult()
141 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
142 { return em_mult (v, dir_mult (direction)); } in em_scale_dir()
396 void get_extents_for_direction (hb_direction_t direction, in get_extents_for_direction()
399 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) in get_extents_for_direction()
406 hb_direction_t direction, in get_glyph_advance_for_direction()
410 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) in get_glyph_advance_for_direction()
415 void get_glyph_advances_for_direction (hb_direction_t direction, in get_glyph_advances_for_direction()
422 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) in get_glyph_advances_for_direction()
[all...]
H A Dhb-fallback-shape.cc93 hb_direction_t direction = buffer->props.direction; in _hb_fallback_shape() local
108 direction, in _hb_fallback_shape()
112 direction, in _hb_fallback_shape()
117 if (HB_DIRECTION_IS_BACKWARD (direction)) in _hb_fallback_shape()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-reg.c3 * gpio-reg: single register individually fixed-direction GPIOs
16 u32 direction; member
29 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction()
38 if (r->direction & BIT(offset)) in gpio_reg_direction_output()
49 return r->direction & BIT(offset) ? 0 : -ENOTSUPP; in gpio_reg_direction_input()
74 if (r->direction & mask) { in gpio_reg_get()
116 * @direction: bitmask of fixed direction, one per GPIO signal, 1 = in
132 int base, int num, const char *label, u32 direction, u32 def_out, in gpio_reg_init()
160 r->direction in gpio_reg_init()
131 gpio_reg_init(struct device *dev, void __iomem *reg, int base, int num, const char *label, u32 direction, u32 def_out, const char *const *names, struct irq_domain *irqdom, const int *irqs) gpio_reg_init() argument
[all...]
/third_party/node/test/fixtures/wpt/dom/events/scrolling/
H A Dscroll_support.js97 function touchScrollInTarget(pixels_to_scroll, target, direction, pause_time_in_ms = 100) {
101 if (direction == "down") {
103 } else if (direction == "up") {
105 } else if (direction == "right") {
107 } else if (direction == "left") {
110 throw("scroll direction '" + direction + "' is not expected, direction should be 'down', 'up', 'left' or 'right'");
127 function touchFlingInTarget(pixels_to_scroll, target, direction) {
128 touchScrollInTarget(pixels_to_scroll, target, direction,
[all...]
/third_party/pulseaudio/src/pulse/
H A Dstream.c113 s->direction = PA_STREAM_NODIRECTION; in pa_stream_new_with_proplist_internal()
266 pa_hashmap_remove((s->direction == PA_STREAM_RECORD) ? s->context->record_streams : s->context->playback_streams, PA_UINT32_TO_PTR(s->channel)); in stream_unlink()
583 if (s->direction == PA_STREAM_RECORD) in pa_command_stream_moved()
671 if (s->direction == PA_STREAM_RECORD) in pa_command_stream_buffer_attr()
1090 ((s->direction != PA_STREAM_UPLOAD) && (pa_tagstruct_getu32(t, &s->stream_index) < 0 || s->stream_index == PA_INVALID_INDEX)) || in pa_create_stream_callback()
1091 ((s->direction != PA_STREAM_RECORD) && pa_tagstruct_getu32(t, &requested_bytes) < 0)) { in pa_create_stream_callback()
1099 if (s->direction == PA_STREAM_PLAYBACK) { in pa_create_stream_callback()
1107 } else if (s->direction == PA_STREAM_RECORD) { in pa_create_stream_callback()
1116 if (s->context->version >= 12 && s->direction != PA_STREAM_UPLOAD) { in pa_create_stream_callback()
1156 if (s->context->version >= 13 && s->direction ! in pa_create_stream_callback()
1215 create_stream( pa_stream_direction_t direction, pa_stream *s, const char *dev, const pa_buffer_attr *attr, pa_stream_flags_t flags, const pa_cvolume *volume, pa_stream *sync_stream) create_stream() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_layout_algorithm.cpp24 bool JudgeTrackness(Axis direction, float blockDiameter, float trackThickness, float width, float height) in JudgeTrackness() argument
26 if (direction == Axis::HORIZONTAL) { in JudgeTrackness()
81 Axis direction = sliderLayoutProperty->GetDirection().value_or(Axis::HORIZONTAL); in MeasureContent() local
82 if (direction == Axis::HORIZONTAL && GreaterOrEqualToInfinity(width)) { in MeasureContent()
85 if (direction == Axis::VERTICAL && GreaterOrEqualToInfinity(height)) { in MeasureContent()
97 ? thickness.ConvertToPxWithSize(direction == Axis::HORIZONTAL ? height : width) in MeasureContent()
103 if (JudgeTrackness(direction, blockDiameter, trackThickness_, width, height)) { in MeasureContent()
111 auto sliderWidth = CalculateSliderWidth(width, height, direction, hotBlockShadowWidth, mode); in MeasureContent()
112 float sliderLength = direction == Axis::HORIZONTAL ? width : height; in MeasureContent()
113 return direction in MeasureContent()
116 CalculateSliderWidth( float width, float height, Axis direction, const Dimension& hotBlockShadowWidth, SliderModel::SliderMode mode) CalculateSliderWidth() argument
205 auto direction = sliderLayoutProperty->GetLayoutDirection(); Layout() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_flex_impl.cpp63 JSRef<JSVal> directionVal = obj->GetProperty("direction"); in CreateFlexComponent()
68 auto direction = directionVal->ToNumber<int32_t>(); in CreateFlexComponent() local
69 if (direction >= 0 && direction <= DIRECTION_MAX_VALUE) { in CreateFlexComponent()
70 FlexModel::GetInstance()->SetDirection(static_cast<FlexDirection>(direction)); in CreateFlexComponent()
134 JSRef<JSVal> directionVal = obj->GetProperty("direction"); in WrapComponent()
140 auto direction = directionVal->ToNumber<int32_t>(); in WrapComponent() local
141 if (direction >= 0 && direction <= DIRECTION_MAX_VALUE) { in WrapComponent()
142 FlexModel::GetInstance()->SetDirection(static_cast<FlexDirection>(direction)); in WrapComponent()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dreldatefmt.cpp88 UDateDirection direction) const;
134 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString()
137 if (!absoluteUnits[style][unit][direction].isEmpty()) { in getAbsoluteUnitString()
138 return absoluteUnits[style][unit][direction]; in getAbsoluteUnitString()
441 // Handle Display Name for PLAIN direction for some units. in handlePlainDirection()
464 int32_t direction = keyToDirection(key); in consumeTableRelative() local
465 if (direction < 0) { in consumeTableRelative()
482 if (outputData.absoluteUnits[style][absUnitIndex][direction].isEmpty()) { in consumeTableRelative()
484 [direction].fastCopyFrom(value.getUnicodeString(errorCode)); in consumeTableRelative()
924 UDateDirection direction, in format()
922 format( double quantity, UDateDirection direction, UDateRelativeUnit unit, UnicodeString& appendTo, UErrorCode& status) const format() argument
937 formatToValue( double quantity, UDateDirection direction, UDateRelativeUnit unit, UErrorCode& status) const formatToValue() argument
950 formatImpl( double quantity, UDateDirection direction, UDateRelativeUnit unit, FormattedRelativeDateTimeData& output, UErrorCode& status) const formatImpl() argument
1026 UDateDirection direction = UDAT_DIRECTION_NEXT; formatNumericImpl() local
1062 format( UDateDirection direction, UDateAbsoluteUnit unit, UnicodeString& appendTo, UErrorCode& status) const format() argument
1075 formatToValue( UDateDirection direction, UDateAbsoluteUnit unit, UErrorCode& status) const formatToValue() argument
1086 formatAbsoluteImpl( UDateDirection direction, UDateAbsoluteUnit unit, FormattedRelativeDateTimeData& output, UErrorCode& status) const formatAbsoluteImpl() argument
1146 UDateDirection direction = UDAT_DIRECTION_COUNT; formatRelativeImpl() local
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dreldatefmt.cpp86 UDateDirection direction) const;
132 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString()
135 if (!absoluteUnits[style][unit][direction].isEmpty()) { in getAbsoluteUnitString()
136 return absoluteUnits[style][unit][direction]; in getAbsoluteUnitString()
455 // Handle Display Name for PLAIN direction for some units. in handlePlainDirection()
478 int32_t direction = keyToDirection(key); in consumeTableRelative() local
479 if (direction < 0) { in consumeTableRelative()
496 if (outputData.absoluteUnits[style][absUnitIndex][direction].isEmpty()) { in consumeTableRelative()
498 [direction].fastCopyFrom(value.getUnicodeString(errorCode)); in consumeTableRelative()
912 UDateDirection direction, in format()
910 format( double quantity, UDateDirection direction, UDateRelativeUnit unit, UnicodeString& appendTo, UErrorCode& status) const format() argument
925 formatToValue( double quantity, UDateDirection direction, UDateRelativeUnit unit, UErrorCode& status) const formatToValue() argument
938 formatImpl( double quantity, UDateDirection direction, UDateRelativeUnit unit, FormattedRelativeDateTimeData& output, UErrorCode& status) const formatImpl() argument
1010 UDateDirection direction = UDAT_DIRECTION_NEXT; formatNumericImpl() local
1046 format( UDateDirection direction, UDateAbsoluteUnit unit, UnicodeString& appendTo, UErrorCode& status) const format() argument
1059 formatToValue( UDateDirection direction, UDateAbsoluteUnit unit, UErrorCode& status) const formatToValue() argument
1070 formatAbsoluteImpl( UDateDirection direction, UDateAbsoluteUnit unit, FormattedRelativeDateTimeData& output, UErrorCode& status) const formatAbsoluteImpl() argument
1130 UDateDirection direction = UDAT_DIRECTION_COUNT; formatRelativeImpl() local
[all...]
/third_party/skia/src/effects/imagefilters/
H A DSkMorphologyImageFilter.cpp311 MorphDirection direction, in GrMorphologyEffect()
316 , fDirection(direction) in GrMorphologyEffect()
374 MorphDirection direction) { in apply_morphology_rect()
378 direction, in apply_morphology_rect()
392 MorphDirection direction) { in apply_morphology_rect_no_bounds()
394 /*inputFP=*/nullptr, std::move(view), srcAlphaType, direction, radius, morphType); in apply_morphology_rect_no_bounds()
405 MorphDirection direction) { in apply_morphology_pass()
410 if (direction == MorphDirection::kX) { in apply_morphology_pass()
432 dstRect, radius, morphType, bounds, direction); in apply_morphology_pass()
436 lowerDstRect, radius, morphType, bounds, direction); in apply_morphology_pass()
308 GrMorphologyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, GrSurfaceProxyView view, SkAlphaType srcAlphaType, MorphDirection direction, int radius, MorphType type, const float range[2]) GrMorphologyEffect() argument
366 apply_morphology_rect(skgpu::SurfaceFillContext* sfc, GrSurfaceProxyView view, SkAlphaType srcAlphaType, const SkIRect& srcRect, const SkIRect& dstRect, int radius, MorphType morphType, const float range[2], MorphDirection direction) apply_morphology_rect() argument
385 apply_morphology_rect_no_bounds(skgpu::SurfaceFillContext* sfc, GrSurfaceProxyView view, SkAlphaType srcAlphaType, const SkIRect& srcRect, const SkIRect& dstRect, int radius, MorphType morphType, MorphDirection direction) apply_morphology_rect_no_bounds() argument
398 apply_morphology_pass(skgpu::SurfaceFillContext* sfc, GrSurfaceProxyView view, SkAlphaType srcAlphaType, const SkIRect& srcRect, const SkIRect& dstRect, int radius, MorphType morphType, MorphDirection direction) apply_morphology_pass() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drosen_render_marquee.cpp34 // Find first strong direction char. in GetTextDirection()
36 auto direction = u_charDirection(charInStr); in GetTextDirection() local
37 if (direction == UCharDirection::U_LEFT_TO_RIGHT) { in GetTextDirection()
40 if (direction == UCharDirection::U_RIGHT_TO_LEFT || direction == UCharDirection::U_RIGHT_TO_LEFT_ARABIC) { in GetTextDirection()
/third_party/alsa-utils/axfer/
H A Dxfer.c39 snd_pcm_stream_t direction, int argc, char *const *argv) in xfer_context_init()
54 assert(direction >= SND_PCM_STREAM_PLAYBACK); in xfer_context_init()
55 assert(direction <= SND_PCM_STREAM_CAPTURE); in xfer_context_init()
65 xfer->direction = direction; in xfer_context_init()
74 err = xfer->ops->init(xfer, direction); in xfer_context_init()
133 if (xfer->direction == SND_PCM_STREAM_CAPTURE) { in xfer_context_pre_process()
134 // For capture direction, use values in options if given. in xfer_context_pre_process()
141 } else if (xfer->direction == SND_PCM_STREAM_PLAYBACK) { in xfer_context_pre_process()
142 // For playback direction, chec in xfer_context_pre_process()
38 xfer_context_init(struct xfer_context *xfer, enum xfer_type type, snd_pcm_stream_t direction, int argc, char *const *argv) xfer_context_init() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/grid/
H A Dgrid_component.cpp35 void GridComponent::SetDirection(FlexDirection direction) in SetDirection() argument
37 if (direction < FlexDirection::ROW || direction > FlexDirection::COLUMN_REVERSE) { in SetDirection()
38 LOGW("Invalid direction %{public}d", direction); in SetDirection()
41 direction_ = direction; in SetDirection()
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_component.cpp52 void WaterFlowComponent::SetLayoutDirection(FlexDirection direction) in SetLayoutDirection() argument
54 if (direction < FlexDirection::ROW || direction > FlexDirection::COLUMN_REVERSE) { in SetLayoutDirection()
55 LOGW("Invalid direction %{public}d", direction); in SetLayoutDirection()
58 direction_ = direction; in SetLayoutDirection()
/foundation/arkui/ui_lite/interfaces/innerkits/dock/
H A Dfocus_manager.h79 * @brief Request focus by direction.
81 * @param direction focus direction.
86 bool RequestFocusByDirection(uint8_t direction);
92 bool GetNextFocus(UIView* focusedView, UIView*& candidate, uint8_t direction);
93 bool GetNextFocus(UIView* focusedView, UIView*& candidate, UIView* view, uint8_t direction);
94 bool GetNextFocus(UIView* focusedView, UIView*& candidate, UIViewGroup* viewGroup, uint8_t direction);
97 bool CompareCandidates(UIView* focusedView, UIView*& candidate, UIView* current, uint8_t direction);
/kernel/linux/linux-6.6/drivers/iio/buffer/
H A Dindustrialio-triggered-buffer.c22 * @direction: Direction of the data stream (in/out).
42 enum iio_buffer_direction direction, in iio_triggered_buffer_setup_ext()
83 buffer->direction = direction; in iio_triggered_buffer_setup_ext()
121 enum iio_buffer_direction direction, in devm_iio_triggered_buffer_setup_ext()
127 ret = iio_triggered_buffer_setup_ext(indio_dev, h, thread, direction, in devm_iio_triggered_buffer_setup_ext()
39 iio_triggered_buffer_setup_ext(struct iio_dev *indio_dev, irqreturn_t (*h)(int irq, void *p), irqreturn_t (*thread)(int irq, void *p), enum iio_buffer_direction direction, const struct iio_buffer_setup_ops *setup_ops, const struct iio_dev_attr **buffer_attrs) iio_triggered_buffer_setup_ext() argument
117 devm_iio_triggered_buffer_setup_ext(struct device *dev, struct iio_dev *indio_dev, irqreturn_t (*h)(int irq, void *p), irqreturn_t (*thread)(int irq, void *p), enum iio_buffer_direction direction, const struct iio_buffer_setup_ops *ops, const struct iio_dev_attr **buffer_attrs) devm_iio_triggered_buffer_setup_ext() argument
/third_party/skia/gm/
H A Darcofzorro.cpp49 int direction = 0; variable
61 switch (direction) {
65 direction = 1;
72 direction = 2;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/
H A Dgrid_row_model_ng.cpp26 auto direction = V2::GridRowDirection::Row; in Create() local
27 Create(col, gutter, breakpoints, direction); in Create()
31 const RefPtr<V2::BreakPoints>& breakpoints, V2::GridRowDirection direction) in Create()
42 ACE_UPDATE_LAYOUT_PROPERTY(GridRowLayoutProperty, Direction, direction); in Create()
95 void GridRowModelNG::SetDirection(FrameNode* frameNode, V2::GridRowDirection direction) in SetDirection() argument
97 ACE_UPDATE_NODE_LAYOUT_PROPERTY(GridRowLayoutProperty, Direction, direction, frameNode); in SetDirection()
30 Create(const RefPtr<V2::GridContainerSize>& col, const RefPtr<V2::Gutter>& gutter, const RefPtr<V2::BreakPoints>& breakpoints, V2::GridRowDirection direction) Create() argument
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
H A DSelection.java110 int direction, boolean extend) { in nextBound()
111 if (!extend && anchor != caret) caret -= direction; in nextBound()
112 caret = next(caret, breaker, direction, true); in nextBound()
150 int direction, boolean different) { in next()
151 if (!different) position -= direction; in next()
153 if (direction > 0) { in next()
109 nextBound(BreakIterator breaker, int direction, boolean extend) nextBound() argument
149 next(int position, BreakIterator breaker, int direction, boolean different) next() argument
/kernel/linux/linux-5.10/drivers/input/
H A Dff-memless.c213 * Only left/right direction should be used (under/over 0x8000) for
214 * forward/reverse motor direction (to keep calculation fast & simple).
216 static u16 ml_calculate_direction(u16 direction, u16 force, in ml_calculate_direction() argument
222 return direction; in ml_calculate_direction()
223 return (((u32)(direction >> 1) * force + in ml_calculate_direction()
254 i = new->direction * 360 / 0xffff; in ml_combine_effects()
276 effect->direction = ml_calculate_direction( in ml_combine_effects()
277 effect->direction, in ml_combine_effects()
279 new->direction, strong); in ml_combine_effects()
281 effect->direction in ml_combine_effects()
[all...]
/kernel/linux/linux-6.6/drivers/input/
H A Dff-memless.c210 * Only left/right direction should be used (under/over 0x8000) for
211 * forward/reverse motor direction (to keep calculation fast & simple).
213 static u16 ml_calculate_direction(u16 direction, u16 force, in ml_calculate_direction() argument
219 return direction; in ml_calculate_direction()
220 return (((u32)(direction >> 1) * force + in ml_calculate_direction()
251 i = new->direction * 360 / 0xffff; in ml_combine_effects()
273 effect->direction = ml_calculate_direction( in ml_combine_effects()
274 effect->direction, in ml_combine_effects()
276 new->direction, strong); in ml_combine_effects()
278 effect->direction in ml_combine_effects()
[all...]
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/
H A Dralink-gdma.c99 enum dma_transfer_direction direction; member
192 switch (config->direction) { in gdma_dma_config()
212 dev_err(dma_dev->ddev.dev, "direction type %d error\n", in gdma_dma_config()
213 config->direction); in gdma_dma_config()
287 if (chan->desc->direction == DMA_MEM_TO_DEV) { in rt305x_gdma_start_transfer()
293 } else if (chan->desc->direction == DMA_DEV_TO_MEM) { in rt305x_gdma_start_transfer()
299 } else if (chan->desc->direction == DMA_MEM_TO_MEM) { in rt305x_gdma_start_transfer()
310 dev_err(dma_dev->ddev.dev, "direction type %d error\n", in rt305x_gdma_start_transfer()
311 chan->desc->direction); in rt305x_gdma_start_transfer()
364 if (chan->desc->direction in rt3883_gdma_start_transfer()
513 gdma_dma_prep_slave_sg( struct dma_chan *c, struct scatterlist *sgl, unsigned int sg_len, enum dma_transfer_direction direction, unsigned long flags, void *context) gdma_dma_prep_slave_sg() argument
604 gdma_dma_prep_dma_cyclic( struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) gdma_dma_prep_dma_cyclic() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_relative_container_modifier.cpp32 info.direction = static_cast<LineDirection>(values[i].direction); in SetGuideLine()
60 info.direction = static_cast<BarrierDirection>(values[i].direction); in SetBarrier()
82 values[index].direction = static_cast<ArkUI_Int32>(info.direction); in GetGuideLine()
101 values[index].direction = static_cast<ArkUI_Int32>(info.direction); in GetBarrier()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_utils.h57 auto direction = Axis::HORIZONTAL; in CalcIndicatrFrameOffSet() local
67 direction = swiperLayoutProperty->GetDirectionValue(Axis::HORIZONTAL); in CalcIndicatrFrameOffSet()
99 swiperWidth, indicatorWidth, direction), in CalcIndicatrFrameOffSet()
102 swiperHeight, indicatorHeight, direction)}; in CalcIndicatrFrameOffSet()
148 float swiperWidth, float indicatorWidth, const Axis& direction) in CalcIndicatrOffSetX()
158 if (direction == Axis::HORIZONTAL) { in CalcIndicatrOffSetX()
171 float swiperHeight, float indicatorHeight, const Axis& direction) in CalcIndicatrOffsetY()
181 if (direction == Axis::HORIZONTAL) { in CalcIndicatrOffsetY()
145 CalcIndicatrOffSetX(const std::optional<Dimension>& left, const std::optional<Dimension>& right, float swiperPaddingLeft, float swiperPaddingRight, float borderWidthLeft, float borderWidthRight, float swiperWidth, float indicatorWidth, const Axis& direction) CalcIndicatrOffSetX() argument
168 CalcIndicatrOffsetY(const std::optional<Dimension>& top, const std::optional<Dimension>& bottom, float swiperPaddingTop, float swiperPaddingBottom, float borderWidthTop, float borderWidthBottom, float swiperHeight, float indicatorHeight, const Axis& direction) CalcIndicatrOffsetY() argument

Completed in 16 milliseconds

12345678910>>...120