/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 30 // Types of padding and margin. Contains four directions: left, top, right and bottom. 38 Edge(double left, double top, double right, double bottom, DimensionUnit unit = DimensionUnit::PX) in Edge() argument 40 bottom_(Dimension(bottom, unit)) {} in Edge() 41 Edge(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom, in Edge() argument 43 right_(CalcDimension(right, unit)), bottom_(CalcDimension(bottom, unit)) {} in Edge() 44 Edge(const CalcDimension& left, const CalcDimension& top, const CalcDimension& right, const CalcDimension& bottom) in Edge() argument 45 : left_(left), top_(top), right_(right), bottom_(bottom) {} in Edge() 46 Edge(const Dimension& left, const Dimension& top, const Dimension& right, const Dimension& bottom, in Edge() argument 49 right_(AnimatableDimension(right, option)), bottom_(AnimatableDimension(bottom, option)) {} in Edge() 50 Edge(const CalcDimension& left, const CalcDimension& top, const CalcDimension& right, const CalcDimension& bottom, in Edge() argument 140 SetBottom(const AnimatableDimension& bottom) SetBottom() argument 145 SetBottom(const CalcDimension& bottom) SetBottom() argument 150 SetBottom(const Dimension& bottom) SetBottom() argument 203 EdgePx(double left, double top, double right, double bottom) EdgePx() argument 204 EdgePx(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom) EdgePx() argument [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pptypes.cc | 78 std::swap(top,bottom); in rotate_move() 82 const float tmp=bottom; in rotate_move() 83 bottom=left; in rotate_move() 97 bottom=pheight-bottom; in rotate_move() 104 const float tmp0=bottom; in rotate_move() 105 bottom=left; in rotate_move() 118 top=pheight-bottom; in rotate_move() 119 bottom=pheight-tmp2; in rotate_move() 124 left=bottom; in rotate_move() [all...] |
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
H A D | task_size.c | 71 unsigned long bottom = 0; in os_get_top_address() local 83 printf("Locating the bottom of the address space ... "); in os_get_top_address() 98 /* Manually scan the address space, bottom-up, until we find in os_get_top_address() 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 102 if (page_ok(bottom)) in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 108 fprintf(stderr, "Unable to determine bottom of address " in os_get_top_address() 113 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIF in os_get_top_address() [all...] |
/kernel/linux/linux-6.6/arch/x86/um/os-Linux/ |
H A D | task_size.c | 71 unsigned long bottom = 0; in os_get_top_address() local 83 printf("Locating the bottom of the address space ... "); in os_get_top_address() 98 /* Manually scan the address space, bottom-up, until we find in os_get_top_address() 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 102 if (page_ok(bottom)) in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 108 fprintf(stderr, "Unable to determine bottom of address " in os_get_top_address() 113 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIF in os_get_top_address() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 374 std::optional<T> bottom; member 383 bottom = padding; in SetEdges() 391 bottom = bottomValue; in SetEdges() 396 return (left == value.left) && (right == value.right) && (top == value.top) && (bottom == value.bottom); in operator ==() 415 bottom = value.bottom; in UpdateWithCheck() 436 if (value.bottom.has_value() && bottom != value.bottom) { in UpdateLocalizedPadding() 501 std::optional<float> bottom; global() member [all...] |
H A D | measure_utils.cpp | 114 auto bottom = ConvertToPx(padding.bottom, scaleProperty, percentReference); in ConvertToPaddingPropertyF() local 127 if (bottom.has_value()) { in ConvertToPaddingPropertyF() 128 bottom = floor(bottom.value()); in ConvertToPaddingPropertyF() 141 if (bottom.has_value()) { in ConvertToPaddingPropertyF() 142 bottom = std::max(bottom.value(), 0.0f); in ConvertToPaddingPropertyF() 145 return PaddingPropertyF { left, right, top, bottom }; in ConvertToPaddingPropertyF() 175 auto bottom in ConvertToBorderWidthPropertyF() local 200 auto bottom = ConvertToPx(padding.bottom, scaleProperty, selfSize.Height()); UpdatePaddingPropertyF() local 502 ConvertToCalcPaddingProperty(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left, const std::optional<CalcDimension>& right) ConvertToCalcPaddingProperty() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | ChromeMDRefreshTab.cpp | 12 const float bottom = size.fHeight * scale; in REG_FIDDLE() local 16 path.moveTo(0, bottom - 1); in REG_FIDDLE() 17 // bottom left in REG_FIDDLE() 20 bottom - 1 - scaled_endcap_radius); in REG_FIDDLE() 46 // path.lineTo(right - 2 * scale, bottom - 1 - 1.5 * scale); in REG_FIDDLE() 52 // path.arcTo(SkRect::MakeLTRB(right - 2 * scale, bottom - 1 - 1.5 * scale, in REG_FIDDLE() 53 // right - 2 * scale + 4, bottom - 1 - 1.5 * scale + 4), 90, 90, true); in REG_FIDDLE() 57 path.lineTo(right - scaled_endcap_radius + 1, bottom - 1 - scaled_endcap_radius); in REG_FIDDLE() 60 // bottom right in REG_FIDDLE() 62 SkPathDirection::kCCW, right, bottom in REG_FIDDLE() 76 const float bottom = std::ceil(size.fHeight * scale); REG_FIDDLE() local [all...] |
H A D | ChromeMDRefreshTabs.cpp | 8 // The bottom of the tab needs to be pixel-aligned or else when we call in REG_FIDDLE() 10 const float bottom = std::ceil(size.fHeight * scale); in REG_FIDDLE() local 22 right_path.moveTo(right, bottom); in REG_FIDDLE() 23 // right_path.moveTo(right - 1 - scaled_horizontal_inset, bottom); in REG_FIDDLE() 26 SkPathDirection::kCW, right - endcap_radius, bottom - endcap_radius); in REG_FIDDLE() 41 right_path.lineTo(0, bottom); in REG_FIDDLE() 54 left_path.lineTo(endcap_radius, bottom - endcap_radius); in REG_FIDDLE() 56 // bottom - 1.5 * scale); in REG_FIDDLE() 59 SkPathDirection::kCW, 0, bottom); in REG_FIDDLE() 63 left_path.lineTo(right, bottom); in REG_FIDDLE() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_fillborders.c | 38 int left, right, top, bottom; member 43 int left, right, top, bottom; member 88 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders8() 102 for (y = s->planeheight[p] - s->borders[p].bottom; y < s->planeheight[p]; y++) { in smear_borders8() 104 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders8() 118 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders16() 134 for (y = s->planeheight[p] - s->borders[p].bottom; y < s->planeheight[p]; y++) { in smear_borders16() 136 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders16() 150 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in mirror_borders8() 167 for (y = 0; y < s->borders[p].bottom; in mirror_borders8() 499 const int bottom = s->borders[p].bottom; margins_borders8() local 544 const int bottom = s->borders[p].bottom; margins_borders16() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeParameterDiamond1.js | 7 var bottom: Bottom; 10 middle = bottom; 11 top = bottom; 22 var bottom;
24 middle = bottom;
25 top = bottom;
|
H A D | typeParameterDiamond2.js | 7 var bottom: Bottom; 10 middle = bottom; 11 top = bottom; 22 var bottom;
24 middle = bottom;
25 top = bottom;
|
H A D | typeParameterDiamond3.js | 7 var bottom: Bottom; 10 middle = bottom; 11 top = bottom; 22 var bottom;
24 middle = bottom;
25 top = bottom;
|
H A D | typeParameterDiamond4.js | 7 var bottom: Bottom; 10 middle = bottom; 11 top = bottom; 22 var bottom;
24 middle = bottom;
25 top = bottom;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | path_layout_algorithm.cpp | 52 auto bottom = skRect.bottom(); in MeasureContent() local 59 auto bottom = rect.GetBottom(); in MeasureContent() local 61 if (NearZero(right) && NearZero(bottom)) { in MeasureContent() 68 if (NearZero(bottom)) { in MeasureContent() 69 bottom += lineWidth; in MeasureContent() 71 return SizeF(right, bottom); in MeasureContent()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkrect_fuzzer/ |
H A D | rect_fuzzer.cpp | 42 float bottom = GetObject<float>(); in RectFuzzTest000() local 43 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(left, top, right, bottom); in RectFuzzTest000() 50 OH_Drawing_RectSetBottom(nullptr, bottom); in RectFuzzTest000() 51 OH_Drawing_RectSetBottom(rect, bottom); in RectFuzzTest000() 83 float bottom = GetObject<float>(); in RectFuzzTest001() local 84 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(left, top, right, bottom); in RectFuzzTest001() 85 OH_Drawing_Rect *rect1 = OH_Drawing_RectCreate(left, top, right, bottom); in RectFuzzTest001()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_rand.c | 23 static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom, in bnrand() argument 31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand() 49 /* make a random number and set the top and bottom bits */ in bnrand() 87 if (bottom) /* set bottom bit if requested */ in bnrand() 102 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument 105 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex() 108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument 110 return bnrand(NORMAL, rnd, bits, top, bottom, 0, NULL); in BN_rand() 113 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_bntest_rand() argument 119 BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, unsigned int strength, BN_CTX *ctx) BN_priv_rand_ex() argument 126 BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_priv_rand() argument 231 BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_pseudo_rand() argument [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_rand.c | 23 static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom, in bnrand() argument 31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand() 49 /* make a random number and set the top and bottom bits */ in bnrand() 87 if (bottom) /* set bottom bit if requested */ in bnrand() 102 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument 105 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex() 108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument 110 return bnrand(NORMAL, rnd, bits, top, bottom, 0, NULL); in BN_rand() 113 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_bntest_rand() argument 119 BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, unsigned int strength, BN_CTX *ctx) BN_priv_rand_ex() argument 126 BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_priv_rand() argument 231 BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_pseudo_rand() argument [all...] |
/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | flex_layout.cpp | 104 int16_t bottom; in CalValidLength() local 116 bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in CalValidLength() 117 totalValidLength += (child->GetRelativeRect().GetHeight() + top + bottom); in CalValidLength() 156 int16_t bottom; in GetRowMaxHeight() local 169 bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in GetRowMaxHeight() 177 height = MATH_MAX(height, child->GetRelativeRect().GetHeight() + top + bottom); in GetRowMaxHeight() 231 int16_t bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in GetCrossAxisPosY() local 242 posY = GetHeight() - child->GetRelativeRect().GetHeight() - bottom - offset; in GetCrossAxisPosY() 251 posY = (GetHeight() - child->GetRelativeRect().GetHeight() - top - bottom) / 2 + top + offset; // 2: half in GetCrossAxisPosY() 320 int16_t bottom; in CalColumnCount() local 345 int16_t bottom; GetColumnMaxWidth() local 378 int16_t bottom; GetColumnsHeight() local 476 int16_t bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); LayoutVertical() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | test_common.h | 63 float bottom;
member 64 bool Contains(float x, float y) const { return x >= left && x < right && y >= top && y < bottom; }
in Contains() 66 float Height(){ return (bottom - top); }
in Height() 68 float CenterY(){ return (bottom - top) / 2; } // 2 for mid
in CenterY() 74 float b = bottom - dy;
in Inset() 81 bottom = b;
in Inset() 89 bottom += dy;
in Offset() 96 bottom = y + height;
in SetXYWH()
|
/third_party/skia/tests/ |
H A D | CanvasStateHelpers.cpp | 26 float right, float bottom, int32_t spacer) { in complex_layers_draw() 31 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); in complex_layers_draw() 38 float left, float top, float right, float bottom, int32_t spacer) { in complex_layers_draw_from_canvas_state() 43 complex_layers_draw(canvas.get(), left, top, right, bottom, spacer); in complex_layers_draw_from_canvas_state() 48 int32_t right, int32_t bottom, int32_t clipOp, const SkRegion& localRegion) { in complex_clips_draw() 51 SkIntToScalar(right), SkIntToScalar(bottom)); in complex_clips_draw() 61 int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, in complex_clips_draw_from_canvas_state() 75 complex_clips_draw(canvas.get(), left, top, right, bottom, clipOp, localRegion); in complex_clips_draw_from_canvas_state() 25 complex_layers_draw(SkCanvas* canvas, float left, float top, float right, float bottom, int32_t spacer) complex_layers_draw() argument 37 complex_layers_draw_from_canvas_state(SkCanvasState* state, float left, float top, float right, float bottom, int32_t spacer) complex_layers_draw_from_canvas_state() argument 47 complex_clips_draw(SkCanvas* canvas, int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, const SkRegion& localRegion) complex_clips_draw() argument 60 complex_clips_draw_from_canvas_state(SkCanvasState* state, int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, int32_t regionRects, int32_t* rectCoords) complex_clips_draw_from_canvas_state() argument
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_component.h | 126 virtual void SetBottom(const Dimension& bottom) in SetBottom() argument 128 positionParam_.bottom.first = bottom; in SetBottom() 129 positionParam_.bottom.second = true; in SetBottom() 132 virtual void SetBottom(const AnimatableDimension& bottom) in SetBottom() argument 134 positionParam_.bottom.first = AnimatableDimension(bottom); in SetBottom() 135 positionParam_.bottom.second = true; in SetBottom() 155 positionParam_.bottom.second = hasBottom; in SetHasBottom() 175 return positionParam_.bottom in GetBottom() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | lcd_dma.c | 132 unsigned long top, bottom; in set_b1_regs() local 168 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 169 /* 1510 DMA requires the bottom address to be 2 more in set_b1_regs() 173 bottom += 2; in set_b1_regs() 178 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 188 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 193 bottom = PIXADDR(0, 0); in set_b1_regs() 203 bottom = PIXADDR(0, 0); in set_b1_regs() 208 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 218 bottom in set_b1_regs() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
H A D | lcd_dma.c | 135 unsigned long top, bottom; in set_b1_regs() local 171 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 172 /* 1510 DMA requires the bottom address to be 2 more in set_b1_regs() 176 bottom += 2; in set_b1_regs() 181 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 191 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 196 bottom = PIXADDR(0, 0); in set_b1_regs() 206 bottom = PIXADDR(0, 0); in set_b1_regs() 211 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 221 bottom in set_b1_regs() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | position_param.h | 38 std::pair<AnimatableDimension, bool> bottom = { AnimatableDimension(0.0, DimensionUnit::PX), false }; member 46 std::optional<Dimension> bottom; member 62 void SetBottom(const CalcDimension& bottom) in SetBottom() 64 this->bottom = bottom; in SetBottom() 74 return ((this->top == rhs.top) && (this->left == rhs.left) && (this->bottom == rhs.bottom) && in operator ==() 84 str.append("bottom: [").append(bottom.has_value() ? bottom in ToString() [all...] |
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | InfoDialog.java | 30 protected Panel bottom; field in InfoDialog 37 return bottom; in getBottom() 57 bottom = new Panel(); in InfoDialog() 58 bottom.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0)); in InfoDialog() 59 bottom.add(button); in InfoDialog() 60 this.add("South", bottom); in InfoDialog()
|