/third_party/lzma/CPP/Windows/Control/ |
H A D | Dialog.cpp | 184 rect.top = 0;
in GetMargins() 190 y = rect.bottom - rect.top;
in GetMargins() 198 rect.top = 0;
in Units_To_Pixels_X() 259 && sm.top >= big.top
in IsRect_Small_Inside_Big() 268 && r1.top < r2.bottom
in AreRectsOverlapped() 269 && r1.bottom > r2.top;
in AreRectsOverlapped() 277 && r1.top == r2.top
in AreRectsEqual() 310 int y = workRect.top;
in NormalizeSize() [all...] |
/third_party/python/Lib/ |
H A D | heapq.py | 66 but the top cell "wins" over the two topped cells. 419 # 2 n - k compare remaining elements to top of heap 494 top = result[0][0] 498 if elem < top: 500 top, _order = result[0] 511 top = result[0][0] 516 if k < top: 518 top, _order, _elem = result[0] 552 top = result[0][0] 556 if top < ele [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
H A D | ReadableFontData.java | 588 int top = length; in searchUShort() 589 while (top != bottom) { in searchUShort() 590 location = (top + bottom) / 2; in searchUShort() 594 top = location; in searchUShort() 633 int top = length; in searchULong() 634 while (top != bottom) { in searchULong() 635 location = (top + bottom) / 2; in searchULong() 639 top = location; in searchULong() 670 int top = length; in searchUShort() 671 while (top ! in searchUShort() [all...] |
/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 135 double top = std::min(line1[0].fY, line1[1].fY); in testOne() local 138 ts.vertical(line2, top, bottom, line1[0].fX, line1[0].fY != top); in testOne() 142 double top = std::min(line2[0].fY, line2[1].fY); in testOne() local 145 ts.vertical(line1, top, bottom, line2[0].fX, line2[0].fY != top); in testOne() 182 double top = std::min(line1[0].fY, line1[1].fY); in testOneCoincident() local 185 ts.vertical(line2, top, bottom, line1[0].fX, line1[0].fY != top); in testOneCoincident() 191 double top in testOneCoincident() local [all...] |
H A D | CanvasStateHelpers.h | 33 void complex_layers_draw(SkCanvas* canvas, float left, float top, 43 float left, float top, float right, float bottom, int32_t spacer); 49 void complex_clips_draw(SkCanvas* canvas, int32_t left, int32_t top, 59 int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp,
|
/third_party/skia/experimental/sorttoy/ |
H A D | Cmds.cpp | 168 SkColor4f top = SkColor4f::FromColor(c); in rasterize() local 170 top.fA * top.fR + (1.0f - top.fA) * bot.fR, in rasterize() 171 top.fA * top.fG + (1.0f - top.fA) * bot.fG, in rasterize() 172 top.fA * top.fB + (1.0f - top in rasterize() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_test_update_ng.cpp | 249 auto sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 266 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 276 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 310 auto sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 327 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 337 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 371 auto sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 388 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 398 sheetNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 432 auto sheetNode = overlayManager->modalStack_.top() in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_stack_processor.cpp | 52 return elementsStack_.top(); in GetMainElementNode() 69 // for custom node and atomic node, just pop top node when next node is coming. in ShouldPopImmediately() 121 auto top = GetMainElementNode(); in PopContainer() local 123 if (top && !top->IsAtomicNode()) { in PopContainer() 128 while (top && (top->IsAtomicNode())) { in PopContainer() 133 top = GetMainElementNode(); in PopContainer() 143 auto element = elementsStack_.top(); in Finish() 212 size_t length = keyStack_.top(); in PopKey() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn30.c | 102 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn30_backdoor_load() 111 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn30_backdoor_load() 131 if (cw2->region.base != cw2->region.top) { in dmub_dcn30_setup_windows() 136 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn30_setup_windows() 151 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn30_setup_windows() 162 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn30_setup_windows() 169 cw4->region.top - cw4->region.base - 1, in dmub_dcn30_setup_windows() 179 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn30_setup_windows() 188 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn30_setup_windows()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 116 double SkDLine::ExactPointV(const SkDPoint& xy, double top, double bottom, double x) { in ExactPointV() argument 118 if (xy.fY == top) { in ExactPointV() 128 double SkDLine::NearPointV(const SkDPoint& xy, double top, double bottom, double x) { in NearPointV() argument 132 if (!AlmostBetweenUlps(top, xy.fY, bottom)) { in NearPointV() 135 double t = (xy.fY - top) / (bottom - top); in NearPointV() 138 double realPtY = (1 - t) * top + t * bottom; in NearPointV() 142 double tiniest = std::min(std::min(x, top), bottom); in NearPointV() 143 double largest = std::max(std::max(x, top), bottom); in NearPointV()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | Canvas.java | 82 public void clipRect(float left, float top, float right, float bottom, in clipRect() argument 84 nClipRect(mNativeInstance, left, top, right, bottom, op.mNativeInt, antiAliasing); in clipRect() 87 public void clipRRect(float left, float top, float right, float bottom, float xRad, float yRad, in clipRRect() argument 89 nClipRRect(mNativeInstance, left, top, right, bottom, xRad, yRad, op.mNativeInt, antiAliasing); in clipRRect() 96 public void drawRect(float left, float top, float right, float bottom, Paint paint) { in drawRect() argument 97 nDrawRect(mNativeInstance, left, top, right, bottom, paint.getNativeInstance()); in drawRect() 175 private static native void nClipRect(long nativeInstance, float left, float top, float right, in nClipRect() argument 177 private static native void nClipRRect(long nativeInstance, float left, float top, float right, in nClipRRect() argument 186 float left, float top, float right, float bottom, in nDrawRect() 185 nDrawRect(long nativeInstance, float left, float top, float right, float bottom, long nativePaint) nDrawRect() argument
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glthread_varray.c | 582 struct glthread_client_attrib *top = in _mesa_glthread_PushClientAttrib() local 586 top->VAO = *glthread->CurrentVAO; in _mesa_glthread_PushClientAttrib() 587 top->CurrentArrayBufferName = glthread->CurrentArrayBufferName; in _mesa_glthread_PushClientAttrib() 588 top->ClientActiveTexture = glthread->ClientActiveTexture; in _mesa_glthread_PushClientAttrib() 589 top->RestartIndex = glthread->RestartIndex; in _mesa_glthread_PushClientAttrib() 590 top->PrimitiveRestart = glthread->PrimitiveRestart; in _mesa_glthread_PushClientAttrib() 591 top->PrimitiveRestartFixedIndex = glthread->PrimitiveRestartFixedIndex; in _mesa_glthread_PushClientAttrib() 592 top->Valid = true; in _mesa_glthread_PushClientAttrib() 594 top->Valid = false; in _mesa_glthread_PushClientAttrib() 613 struct glthread_client_attrib *top in _mesa_glthread_PopClientAttrib() local [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_reflect.cpp | 121 if (!stack.empty() && stack.top().second) in begin_json_array() 132 if (stack.empty() || stack.top().first != Type::Array) in end_json_array() 134 if (stack.top().second) in end_json_array() 143 stack.top().second = true; in end_json_array() 149 if (stack.empty() || stack.top().first != Type::Array) in emit_json_array_value() 152 if (stack.top().second) in emit_json_array_value() 156 stack.top().second = true; in emit_json_array_value() 161 if (stack.empty() || stack.top().first != Type::Array) in emit_json_array_value() 163 if (stack.top().second) in emit_json_array_value() 166 stack.top() in emit_json_array_value() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 312 struct sti_hqvdp_top top; member 483 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd() 484 switch (c->top.config) { in hqvdp_dbg_dump_cmd() 489 seq_puts(s, "\tInterlaced, top field"); in hqvdp_dbg_dump_cmd() 499 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd() 500 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd() 501 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd() 502 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd() 504 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd() 506 c->top in hqvdp_dbg_dump_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 314 struct sti_hqvdp_top top; member 485 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd() 486 switch (c->top.config) { in hqvdp_dbg_dump_cmd() 491 seq_puts(s, "\tInterlaced, top field"); in hqvdp_dbg_dump_cmd() 501 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd() 502 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd() 503 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd() 504 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd() 506 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd() 508 c->top in hqvdp_dbg_dump_cmd() [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_Antihair.cpp | 407 int top, bottom; 409 top = SkFixedFloorToInt(fstart - SK_FixedHalf); 413 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); 416 top -= 1; 419 if (top >= clip->fBottom || bottom <= clip->fTop) { 422 if (clip->fTop <= top && clip->fBottom >= bottom) { 427 if (y0 > y1) { // we want to go top-to-bottom 582 SkFDot6 top = std::min(y0, y1); 588 SkFDot6Floor(top) - 1, 631 static void do_scanline(FDot8 L, int top, FDot [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 137 int32_t top = static_cast<int32_t>(skiRect.top()); in CalcCutoutBoundingRect() local 140 WLOGFI("calc rect from path,[%{public}d, %{public}d, %{public}u, %{public}u]", left, top, width, height); in CalcCutoutBoundingRect() 141 DMRect cutoutMinOuterRect = {.posX_ = left, .posY_ = top, .width_ = width, .height_ = height}; in CalcCutoutBoundingRect() 159 uint32_t top = static_cast<uint32_t>(curvedScreenBoundary_[1]); in CalcBuiltInDisplayWaterfallRects() local 162 if (left == 0 && top == 0 && right == 0 && bottom == 0) { in CalcBuiltInDisplayWaterfallRects() 178 (top > displayHeight / 2) || (bottom > displayHeight / 2)) { // invalid if more than 1/2 height in CalcBuiltInDisplayWaterfallRects() 192 uint32_t top = static_cast<uint32_t>(curvedScreenBoundary_[1]); in CalcBuiltInDisplayWaterfallRectsByRotation() local 198 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, top); in CalcBuiltInDisplayWaterfallRectsByRotation() 207 DMRect rightRect = CreateWaterfallRect(displayHeight - top, in CalcBuiltInDisplayWaterfallRectsByRotation() 305 CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height) CreateWaterfallRect() argument [all...] |
/third_party/jerryscript/jerry-core/lit/ |
H A D | lit-char-helpers.c | 40 int top = size_of_array - 1; in search_char_in_char_array() local 42 while (bottom <= top) in search_char_in_char_array() 44 int middle = (bottom + top) / 2; in search_char_in_char_array() 54 top = middle - 1; in search_char_in_char_array() 80 int top = size_of_array - 1; in search_char_in_interval_array() local 82 while (bottom <= top) in search_char_in_interval_array() 84 int middle = (bottom + top) / 2; in search_char_in_interval_array() 98 top = middle - 1; in search_char_in_interval_array() 565 int top = NUM_OF_ELEMENTS (lit_character_pair_ranges) - 1; in search_in_bidirectional_conversion_tables() local 567 while (bottom <= top) in search_in_bidirectional_conversion_tables() 644 int top = end_point - size_of_case_value; search_in_conversion_table() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_paint_filter_canvas.cpp | 1004 p.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in AttachPen() 1007 // use alphaStack_.top() to multiply alpha in AttachPen() 1008 if (alphaStack_.top() < 1 && alphaStack_.top() > 0) { in AttachPen() 1009 p.SetAlpha(p.GetAlpha() * alphaStack_.top()); in AttachPen() 1012 // use envStack_.top().blender_ to set blender in AttachPen() 1013 if (auto& blender = envStack_.top().blender_) { in AttachPen() 1039 b.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in AttachBrush() 1042 // use alphaStack_.top() to multiply alpha in AttachBrush() 1043 if (alphaStack_.top() < in AttachBrush() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | paged-spaces.cc | 175 DCHECK_EQ(kNullAddress, other->top()); in MergeCompactionSpace() 213 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in CommittedPhysicalMemory() 307 void PagedSpace::SetTopAndLimit(Address top, Address limit) { in SetTopAndLimit() argument 308 DCHECK(top == limit || in SetTopAndLimit() 309 Page::FromAddress(top) == Page::FromAddress(limit - 1)); in SetTopAndLimit() 310 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in SetTopAndLimit() 311 allocation_info_->Reset(top, limit); in SetTopAndLimit() 317 original_top_ = top; in SetTopAndLimit() 336 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in ShrinkImmortalImmovablePages() 383 void PagedSpace::SetLinearAllocationArea(Address top, Addres argument 757 Address top = page->area_end(); Verify() local [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | rect.h | 130 void SetTop(double top) in SetTop() argument 132 y_ = top; in SetTop() 167 double top = std::clamp(y_, other.Top(), other.Bottom()); in Constrain() local 169 bottom = std::clamp(bottom, other.Top(), other.Bottom()) - top; in Constrain() 170 return Rect(left, top, right, bottom); in Constrain() 251 double top = std::max(Top(), other.Top()); in IntersectRect() local 253 return Rect(left, top, right - left, bottom - top); in IntersectRect() 260 double top = std::min(Top(), other.Top()); in CombineRect() local 262 return Rect(left, top, righ in CombineRect() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 95 drawable->self_bitmap_area.top = 0; in make_drawable() 142 int left, right, top, bottom; in qxl_draw_dirty_fb() local 166 top = clips->y1; in qxl_draw_dirty_fb() 174 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb() 179 height = bottom - top; in qxl_draw_dirty_fb() 198 drawable_rect.top = top; in qxl_draw_dirty_fb() 213 top, width, height, depth, stride); in qxl_draw_dirty_fb() 229 drawable->u.copy.src_area.top in qxl_draw_dirty_fb() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | alsactl.c | 170 static int dump_config_tree(snd_config_t *top) in dump_config_tree() argument 178 err = snd_config_save(top, out); in dump_config_tree() 185 snd_config_t *top; in dump_state() local 188 err = load_configuration(file, &top, NULL); in dump_state() 191 err = dump_config_tree(top); in dump_state() 192 snd_config_delete(top); in dump_state() 198 snd_config_t *top, *cfg2; in dump_configuration() local 201 err = snd_config_update_ref(&top); in dump_configuration() 205 err = snd_config_search_definition(top, "cards", "_dummy_", &cfg2); in dump_configuration() 208 err = dump_config_tree(top); in dump_configuration() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | debugger.py | 118 self.top.bell() 127 self.top.destroy() 133 self.top = top = ListedToplevel(root) 134 self.top.wm_title("Debug Control") 135 self.top.wm_iconname("Debug") 136 top.wm_protocol("WM_DELETE_WINDOW", self.close) 137 self.top.bind("<Escape>", self.close) 139 self.bframe = bframe = Frame(top) 162 self.__class__.vstack = BooleanVar(top) [all...] |
H A D | statusbar.py | 25 top = Toplevel(parent) 27 top.geometry("+%d+%d" %(x, y + 175)) 28 top.title("Test multistatus bar") 29 frame = Frame(top) 41 button = Button(top, text="Update status", command=change)
|