Home
last modified time | relevance | path

Searched refs:top (Results 276 - 300 of 2122) sorted by relevance

1...<<11121314151617181920>>...85

/third_party/optimized-routines/math/
H A Dlog2f.c30 uint32_t ix, iz, top, tmp; in log2f() local
58 top = tmp & 0xff800000; in log2f()
59 iz = ix - top; in log2f()
H A Dlog.c35 uint32_t top; in log() local
39 top = top16 (x); in log()
99 if (unlikely (top - 0x0010 >= 0x7ff0 - 0x0010)) in log()
106 if ((top & 0x8000) || (top & 0x7ff0) == 0x7ff0) in log()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_layout_algorithm.cpp35 float topMargin = margin.top.value_or(0.0f); in CheckTopEdgeOverlap()
37 float topPadding = padding.top.value_or(0.0f); in CheckTopEdgeOverlap()
123 safeArea.top = static_cast<float>(inset.top_.Length()); in CheckIgnoreLayoutSafeArea()
192 constraint.selfIdealSize.SetHeight(currentHeight + safeArea.top + safeArea.bottom); in MeasureContentChild()
216 titleBarOffset.AddY(padding.top.value_or(0.0f)); in LayoutTitleBar()
240 contentOffset.AddY(padding.top.value_or(0.0f)); in LayoutContent()
247 offsetY -= safeArea.top; in LayoutContent()
281 paddingOffset.AddY(padding.top.value_or(0.0f)); in LayoutSheet()
350 size.AddHeight(padding.top.value_or(0.0f) + padding.bottom.value_or(0.0f)); in Measure()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_radio.cpp229 padding.top = topDimen.ConvertToPx(); in GetOldPadding()
242 padding.top = length.ConvertToPx(); in GetOldPadding()
257 commonCalcDimension.top.has_value() || commonCalcDimension.bottom.has_value()) { in GetNewPadding()
258 return GetPadding(commonCalcDimension.top, commonCalcDimension.bottom, commonCalcDimension.left, in GetNewPadding()
271 NG::PaddingProperty JSRadio::GetPadding(const std::optional<CalcDimension>& top, in GetPadding() argument
284 if (top.has_value() && top.value().IsNonNegative()) { in GetPadding()
285 padding.top = NG::CalcLength(top.value()); in GetPadding()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
H A DMf2Parser.java61 private int top = -1; field in Mf2Parser.TopDownTreeBuilder
67 top = -1; in reset()
74 if (top >= 0) addChild(nonterminal); in startNonterminal()
75 if (++top >= stack.length) stack = Arrays.copyOf(stack, stack.length << 1); in startNonterminal()
76 stack[top] = nonterminal; in startNonterminal()
82 stack[top].end = end; in endNonterminal()
83 if (top > 0) --top; in endNonterminal()
99 Nonterminal current = stack[top]; in addChild()
/third_party/skia/src/pathops/
H A DSkDLineIntersection.cpp282 int SkIntersections::vertical(const SkDLine& line, double top, double bottom, in vertical() argument
287 SkDPoint topPt = { x, top }; in vertical()
291 if (top != bottom) { in vertical()
297 if ((t = SkDLine::ExactPointV(line[index], top, bottom, x)) >= 0) { in vertical()
306 if (between(top, yIntercept, bottom)) { in vertical()
307 fT[1][0] = (yIntercept - top) / (bottom - top); in vertical()
323 if (top != bottom) { in vertical()
329 if ((t = SkDLine::NearPointV(line[index], top, bottom, x)) >= 0) { in vertical()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h68 virtual void AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) = 0;
70 virtual void AddOval(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) = 0;
71 virtual void AddOval(scalar left, scalar top, scalar right, scalar bottom, unsigned start, PathDirection dir) = 0;
72 virtual void AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scalar sweepAngle) = 0;
76 scalar left, scalar top, scalar right, scalar bottom, scalar xRadius, scalar yRadius, PathDirection dir) = 0;
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.c65 taskPool->top = 0; in SAMGR_CreateFixedTaskPool()
76 if (pool->top > 0) { in SAMGR_StartTaskPool()
81 while (pool->top < pool->size) { in SAMGR_StartTaskPool()
87 pool->tasks[pool->top] = threadId; in SAMGR_StartTaskPool()
88 ++(pool->top); in SAMGR_StartTaskPool()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.h67 void AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) override;
69 void AddOval(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) override;
70 void AddOval(scalar left, scalar top, scalar right, scalar bottom, unsigned start, PathDirection dir) override;
71 void AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scalar sweepAngle) override;
74 void AddRoundRect(scalar left, scalar top, scalar right, scalar bottom, scalar xRadius, scalar yRadius,
H A Dskia_path.cpp149 void SkiaPath::AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) in AddRect() argument
152 path_.addRect(SkRect::MakeLTRB(left, top, right, bottom), pathDir); in AddRect()
163 void SkiaPath::AddOval(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) in AddOval() argument
166 path_.addOval(SkRect::MakeLTRB(left, top, right, bottom), pathDir); in AddOval()
170 void SkiaPath::AddOval(scalar left, scalar top, scalar right, scalar bottom, unsigned start, PathDirection dir) in AddOval() argument
173 path_.addOval(SkRect::MakeLTRB(left, top, right, bottom), pathDir, start); in AddOval()
177 void SkiaPath::AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scalar sweepAngle) in AddArc() argument
179 path_.addArc(SkRect::MakeLTRB(left, top, right, bottom), startAngle, sweepAngle); in AddArc()
201 scalar left, scalar top, scalar right, scalar bottom, scalar xRadius, scalar yRadius, PathDirection dir) in AddRoundRect()
204 path_.addRoundRect(SkRect::MakeLTRB(left, top, righ in AddRoundRect()
200 AddRoundRect( scalar left, scalar top, scalar right, scalar bottom, scalar xRadius, scalar yRadius, PathDirection dir) AddRoundRect() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pbuffer.c197 rect.top = 0; in wglCreatePbufferARB()
199 rect.bottom = rect.top + iHeight; in wglCreatePbufferARB()
220 rect.bottom - rect.top, /* height */ in wglCreatePbufferARB()
236 assert(rect.top == 0); in wglCreatePbufferARB()
238 assert(rect.bottom - rect.top == iHeight); in wglCreatePbufferARB()
/third_party/python/Lib/idlelib/
H A Dcalltip_w.py175 top = Toplevel(parent)
176 top.title("Test call-tips")
178 top.geometry("250x100+%d+%d" % (x + 175, y + 150))
179 text = Text(top)
182 top.update()
/third_party/toybox/
H A Dmain.c28 int top, bottom, middle; in toy_find() local
40 top = ARRAY_LEN(toy_list)-1; in toy_find()
44 middle = (top+bottom)/2; in toy_find()
45 if (middle<bottom || middle>top) return 0; in toy_find()
48 if (result<0) top = --middle; in toy_find()
/third_party/toybox/porting/liteos_a/
H A Dmain.c29 int top, bottom, middle; in toy_find() local
41 top = ARRAY_LEN(toy_list)-1; in toy_find()
45 middle = (top+bottom)/2; in toy_find()
46 if (middle<bottom || middle>top) return 0; in toy_find()
49 if (result<0) top = --middle; in toy_find()
/third_party/skia/experimental/sorttoy/
H A DFake.cpp64 SkColor4f top = SkColor4f::FromColor(c0); in blend() local
68 t * bot.fR + (1.0f - t) * top.fR, in blend()
69 t * bot.fG + (1.0f - t) * top.fG, in blend()
70 t * bot.fB + (1.0f - t) * top.fB, in blend()
71 t * bot.fA + (1.0f - t) * top.fA in blend()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpost_proc_test.cpp59 decodeOpts.CropRect.top = 3; in HWTEST_F()
96 decodeOpts.CropRect.top = 3; in HWTEST_F()
134 decodeOpts.CropRect.top = 3; in HWTEST_F()
172 decodeOpts.CropRect.top = 3; in HWTEST_F()
209 decodeOpts.CropRect.top = 3; in HWTEST_F()
248 decodeOpts.CropRect.top = 3; in HWTEST_F()
287 decodeOpts.CropRect.top = 3; in HWTEST_F()
326 decodeOpts.CropRect.top = 3; in HWTEST_F()
433 cropRect.top = 3; in HWTEST_F()
448 decodeOpts.CropRect.top in HWTEST_F()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dpngenc.c123 static void sub_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, in sub_png_paeth_prediction() argument
131 b = top[i]; in sub_png_paeth_prediction()
132 c = top[i - bpp]; in sub_png_paeth_prediction()
168 uint8_t *src, uint8_t *top, int size, int bpp) in png_filter_row()
180 c->llvidencdsp.diff_bytes(dst, src, top, size); in png_filter_row()
184 dst[i] = src[i] - (top[i] >> 1); in png_filter_row()
186 dst[i] = src[i] - ((src[i - bpp] + top[i]) >> 1); in png_filter_row()
190 dst[i] = src[i] - top[i]; in png_filter_row()
191 sub_png_paeth_prediction(dst + i, src + i, top + i, size - i, bpp); in png_filter_row()
197 uint8_t *src, uint8_t *top, in in png_choose_filter()
167 png_filter_row(PNGEncContext *c, uint8_t *dst, int filter_type, uint8_t *src, uint8_t *top, int size, int bpp) png_filter_row() argument
196 png_choose_filter(PNGEncContext *s, uint8_t *dst, uint8_t *src, uint8_t *top, int size, int bpp) png_choose_filter() argument
489 uint8_t *ptr, *top, *crow_buf, *crow; encode_frame() local
[all...]
H A Dgifdec.c133 int left, top, width, height, bits_per_pixel, code_size, flags, pw; in gif_read_image() local
144 top = bytestream2_get_le16u(&s->gb); in gif_read_image()
152 ff_dlog(s->avctx, "image x=%d y=%d w=%d h=%d\n", left, top, width, height); in gif_read_image()
195 if (top >= s->screen_height) { in gif_read_image()
196 av_log(s->avctx, AV_LOG_ERROR, "Invalid top position: %d.\n", top); in gif_read_image()
207 if (top + height > s->screen_height) { in gif_read_image()
210 top + height - s->screen_height); in gif_read_image()
211 height = s->screen_height - top; in gif_read_image()
225 s->gce_l = left; s->gce_t = top; in gif_read_image()
[all...]
/third_party/skia/third_party/externals/freetype/src/cff/
H A Dcffparse.c56 parser->top = parser->stack; in FT_LOCAL_DEF()
72 parser->top = parser->stack; /* empty stack */ in FT_LOCAL_DEF()
678 if ( parser->top >= parser->stack + 6 ) in cff_parse_font_matrix()
806 if ( parser->top >= parser->stack + 4 ) in cff_parse_font_bbox()
835 if ( parser->top >= parser->stack + 2 ) in cff_parse_private_dict()
870 /* top DICT operators that contain T2 charstrings. */
892 if ( parser->top >= parser->stack + 5 ) in cff_parse_multiple_master()
906 dict->num_axes = (FT_UShort)( parser->top - parser->stack - 4 ); in cff_parse_multiple_master()
929 if ( parser->top >= parser->stack + 3 ) in cff_parse_cid_ros()
1020 numBlends = (FT_UInt)cff_parse_num( parser, parser->top in cff_parse_blend()
[all...]
/third_party/jerryscript/tests/jerry-test-suite/12/12.07/
H A D12.07-003.js17 top:
28 continue top;
/third_party/skia/docs/examples/
H A DRect_top.cpp8 SkDebugf("unsorted.fTop: %g unsorted.top(): %g\n", unsorted.fTop, unsorted.top()); in REG_FIDDLE()
10 SkDebugf("sorted.fTop: %g sorted.top(): %g\n", sorted.fTop, sorted.top()); in REG_FIDDLE()
H A DIRect_top.cpp8 SkDebugf("unsorted.fTop: %d unsorted.top(): %d\n", unsorted.fTop, unsorted.top()); in REG_FIDDLE()
10 SkDebugf("sorted.fTop: %d sorted.top(): %d\n", sorted.fTop, sorted.top()); in REG_FIDDLE()
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Drect_t.h165 void SetTop(T top) in SetTop() argument
167 y_ = top; in SetTop()
216 T top = std::clamp(y_, other.Top(), other.Bottom()); in Constrain() local
218 bottom = std::clamp(bottom, other.Top(), other.Bottom()) - top; in Constrain()
219 return RectT(left, top, right, bottom); in Constrain()
335 T top = std::max(Top(), other.Top()); in IntersectRectT() local
337 return RectT(left, top, right - left, bottom - top); in IntersectRectT()
344 T top = std::min(Top(), other.Top()); in CombineRectT() local
346 return RectT(left, top, righ in CombineRectT()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/
H A Dpath_fuzzer.cpp129 float top = GetObject<float>(); in NativeDrawingPathTest003() local
138 OH_Drawing_PathAddRect(path, left, top, right, bottom, static_cast<OH_Drawing_PathDirection>(pathDirection)); in NativeDrawingPathTest003()
139 OH_Drawing_PathAddRect(nullptr, left, top, right, bottom, in NativeDrawingPathTest003()
141 OH_Drawing_PathAddRect(path, left, top, right, bottom, in NativeDrawingPathTest003()
144 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(left, top, right, bottom); in NativeDrawingPathTest003()
184 float top = GetObject<float>(); in NativeDrawingPathTest004() local
201 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(left, top, right, bottom); in NativeDrawingPathTest004()
240 float top = GetObject<float>(); in NativeDrawingPathTest005() local
250 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(left, top, right, bottom); in NativeDrawingPathTest005()
397 float top in NativeDrawingPathTest008() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_mul.c510 int top, al, bl; in bn_mul_fixed_top() local
524 al = a->top; in bn_mul_fixed_top()
525 bl = b->top; in bn_mul_fixed_top()
531 top = al + bl; in bn_mul_fixed_top()
549 rr->top = 8; in bn_mul_fixed_top()
557 rr->top = 16; in bn_mul_fixed_top()
597 rr->top = top; in bn_mul_fixed_top()
602 if (bn_wexpand(rr, top) == NULL) in bn_mul_fixed_top()
604 rr->top in bn_mul_fixed_top()
[all...]

Completed in 16 milliseconds

1...<<11121314151617181920>>...85