/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | measure_utils_test_ng.cpp | 261 testPadding.top = PADDING_LENGTH_PX; in HWTEST_F() 291 testPadding.top = PADDING_LENGTH_PX; in HWTEST_F() 421 testPadding.top = PADDING_LENGTH_PX; in HWTEST_F() 453 testPadding.top = PADDING_LENGTH_VP; in HWTEST_F() 933 std::optional<CalcDimension> top, bottom, left, right; in HWTEST_F() local 939 PaddingProperty res = ConvertToCalcPaddingProperty(top, bottom, left, right); in HWTEST_F() 946 top = CALC_TEST; in HWTEST_F() 950 testPadding.top = NG::CalcLength(top.value().CalcValue()); in HWTEST_F() 954 res = ConvertToCalcPaddingProperty(top, botto in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/ |
H A D | rcar-v4l2.c | 225 vin->src_rect.top = 0; in rvin_reset_format() 240 vin->compose.top = 0; in rvin_reset_format() 284 src_rect->top = 0; in rvin_try_format() 340 fmt_rect.top = 0; in rvin_s_fmt_vid_cap() 437 s->r.left = s->r.top = 0; in rvin_g_selection() 446 s->r.left = s->r.top = 0; in rvin_g_selection() 480 max_rect.top = max_rect.left = 0; in rvin_s_selection() 488 r.top = clamp_t(s32, r.top, 0, in rvin_s_selection() 495 r.width, r.height, r.left, r.top, in rvin_s_selection() [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_events_filter.c | 188 * The top of the stack and "invert" are initialized to zero. 196 * The top of the stack saves the "invert" value to keep track of what 215 * #6 The invert variable is reset to the current value saved on the top of 218 * #7 The top of the stack holds not only the current invert value, but also 227 * #8 If the next token is "&&" then we set a flag in the top of the stack 240 * #10 If the next token is "||" then we set a flag in the top of the stack 420 int *top; in predicate_parse() local 443 top = op_stack; in predicate_parse() 445 *top = 0; in predicate_parse() 456 if (top in predicate_parse() [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp9_intra_msa.c | 61 const uint8_t *top) in ff_hor_16x16_msa() 82 const uint8_t *top) in ff_hor_32x32_msa() 133 const uint8_t *top) \ 150 INTRA_DC_TL_4x4(top); variable 183 const uint8_t *top) \ 206 INTRA_DC_TL_8x8(top); variable 212 v16u8 top, left, out; in ff_dc_16x16_msa() local 217 top = LD_UB(src_top); in ff_dc_16x16_msa() 219 HADD_UB2_UH(top, left, sum_top, sum_left); in ff_dc_16x16_msa() 236 const uint8_t *top) \ 60 ff_hor_16x16_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, const uint8_t *top) ff_hor_16x16_msa() argument 81 ff_hor_32x32_msa(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *src, const uint8_t *top) ff_hor_32x32_msa() argument 256 INTRA_DC_TL_16x16(top); global() variable 319 INTRA_DC_TL_32x32(top); global() variable [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | matrix.c | 105 GLdouble bottom, GLdouble top, in matrix_frustum() 114 top == bottom) { in matrix_frustum() 123 (GLfloat) bottom, (GLfloat) top, in matrix_frustum() 135 * \param top top clipping plane coordinate. 142 * the top matrix of the current matrix stack and sets 147 GLdouble bottom, GLdouble top, in _mesa_Frustum() 153 (GLfloat) bottom, (GLfloat) top, in _mesa_Frustum() 162 GLdouble bottom, GLdouble top, in _mesa_MatrixFrustumEXT() 173 (GLfloat) bottom, (GLfloat) top, in _mesa_MatrixFrustumEXT() 103 matrix_frustum(struct gl_matrix_stack* stack, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval, const char* caller) matrix_frustum() argument 146 _mesa_Frustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) _mesa_Frustum() argument 160 _mesa_MatrixFrustumEXT( GLenum matrixMode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) _mesa_MatrixFrustumEXT() argument 180 matrix_ortho(struct gl_matrix_stack* stack, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval, const char* caller) matrix_ortho() argument 227 _mesa_Ortho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) _mesa_Ortho() argument 241 _mesa_MatrixOrthoEXT( GLenum matrixMode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) _mesa_MatrixOrthoEXT() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffload.c | 1164 /* read top level fields */ in cff_vstore_load() 1309 FT_UInt count = (FT_UInt)( parser->top - 1 - parser->stack ); in FT_LOCAL_DEF() 1349 for ( p = parser->stack; p < parser->top; p++ ) in FT_LOCAL_DEF() 1388 parser->top = &parser->stack[base + numBlends]; in FT_LOCAL_DEF() 1887 CFF_FontRecDict top = &subfont->font_dict; in FT_LOCAL_DEF() local 1898 if ( !top->private_offset || !top->private_size ) in FT_LOCAL_DEF() 1924 top->num_designs, in FT_LOCAL_DEF() 1925 top->num_axes ) ) in FT_LOCAL_DEF() 1928 if ( FT_STREAM_SEEK( font->base_offset + top in FT_LOCAL_DEF() 2000 CFF_FontRecDict top = &subfont->font_dict; cff_subfont_load() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_content_layout_algorithm.cpp | 48 auto top = padding.top.value_or(0); in Layout() local 49 auto paddingOffset = OffsetF(left, top); in Layout()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stack/ |
H A D | stack_layout_algorithm.cpp | 46 auto top = padding.top.value_or(0); in PerformLayout() local 47 auto paddingOffset = OffsetF(left, top); in PerformLayout()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_surface_frame_ohos_vulkan.cpp | 31 void RSSurfaceFrameOhosVulkan::SetDamageRegion(int32_t left, int32_t top, int32_t width, int32_t height) in SetDamageRegion() argument 39 Drawing::RectI rect = {left, top, left + width, top + height}; in SetDamageRegion()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | scan_line_filter.cpp | 46 if (rowNum < srcRegion_.top || (rowNum - srcRegion_.top) > srcRegion_.height) { in GetFilterRowType() 50 if ((rowNum - srcRegion_.top) == srcRegion_.height) { in GetFilterRowType()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | log2f.c | 29 uint32_t ix, iz, top, tmp; in log2f() local 54 top = tmp & 0xff800000; in log2f() 55 iz = ix - top; in log2f()
|
/third_party/musl/src/math/ |
H A D | log2f.c | 29 uint32_t ix, iz, top, tmp; in log2f() local 54 top = tmp & 0xff800000; in log2f() 55 iz = ix - top; in log2f()
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_tnode.c | 74 nghttp3_tnode *top; in pq_get_first_cycle() local 80 top = nghttp3_struct_of(nghttp3_pq_top(pq), nghttp3_tnode, pe); in pq_get_first_cycle() 81 return top->cycle; in pq_get_first_cycle()
|
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/functional/ |
H A D | cpuhotplug06.sh | 3 # Test Case 6 - top 17 Desc: Does top work properly when CPU hotplug events occur? 56 if top -v | grep -q htop; then 57 tst_brkm TCONF "htop is used instead of top (workaround: alias top='/path/to/real/top')" 83 # Start up top and give it a little time to run 84 top -b -d 00.10 > /dev/null 2>&1 & 93 # Wait a little time for top to notice the CPU is gone 96 # Check that top has [all...] |
/third_party/skia/src/pathops/ |
H A D | SkPathOpsBounds.h | 25 void add(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in add() 27 if (top < fTop) fTop = top; in add()
|
H A D | SkDLineIntersection.cpp | 282 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()
|
/third_party/optimized-routines/math/ |
H A D | log2f.c | 30 uint32_t ix, iz, top, tmp; in log2f() local 58 top = tmp & 0xff800000; in log2f() 59 iz = ix - top; in log2f()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_layout_algorithm.cpp | 35 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 D | js_radio.cpp | 229 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()
|
/kernel/linux/linux-5.10/tools/thermal/tmon/ |
H A D | tui.c | 38 static PANEL *top; variable 137 * dialogue window is a pop-up, when needed it lays on top of cdev win in setup_windows() 172 top = data_panel; in setup_windows() 438 top = (PANEL *)panel_userptr(top); in handle_input_val() 439 top_panel(top); in handle_input_val() 486 /* top panel filter */ in handle_tui_events() 495 top = (PANEL *)panel_userptr(top); in handle_tui_events() 496 top_panel(top); in handle_tui_events() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_lease.c | 30 * drm_master at the top of the tree (i.e, with lessor NULL 327 * @top: the master losing its lease 329 static void _drm_lease_revoke(struct drm_master *top) in _drm_lease_revoke() argument 333 struct drm_master *master = top; in _drm_lease_revoke() 335 lockdep_assert_held(&top->dev->mode_config.idr_mutex); in _drm_lease_revoke() 338 * Walk the tree starting at 'top' emptying all leases. Because in _drm_lease_revoke() 355 while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, lessee_list)) in _drm_lease_revoke() 358 if (master == top) in _drm_lease_revoke() 369 * @top: the master losing its lease 371 void drm_lease_revoke(struct drm_master *top) in drm_lease_revoke() argument [all...] |
/kernel/linux/linux-6.6/tools/thermal/tmon/ |
H A D | tui.c | 38 static PANEL *top; variable 137 * dialogue window is a pop-up, when needed it lays on top of cdev win in setup_windows() 172 top = data_panel; in setup_windows() 438 top = (PANEL *)panel_userptr(top); in handle_input_val() 439 top_panel(top); in handle_input_val() 486 /* top panel filter */ in handle_tui_events() 495 top = (PANEL *)panel_userptr(top); in handle_tui_events() 496 top_panel(top); in handle_tui_events() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/ |
H A D | Mf2Parser.java | 61 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()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | path_impl.h | 68 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 D | task_manager.c | 65 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()
|