Home
last modified time | relevance | path

Searched refs:top (Results 176 - 200 of 3292) sorted by relevance

12345678910>>...132

/third_party/skia/tests/
H A DBlitMaskClip.cpp61 for (int top = b.fTop; top < b.fBottom; top++) { in DEF_TEST()
62 for (int bottom = top + 1; bottom <= b.fBottom; bottom++) { in DEF_TEST()
65 SkIRect clipRect = {left, top, right, bottom}; in DEF_TEST()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drender_surface_impl.cpp115 bool RenderSurfaceImpl::SetExtSurfaceBoundsSync(int32_t left, int32_t top, int32_t width, int32_t height) in SetExtSurfaceBoundsSync() argument
121 double y = (height - lastRect_.Height()) / 2 + top; in SetExtSurfaceBoundsSync()
128 rect.SetTop(top); in SetExtSurfaceBoundsSync()
139 void RenderSurfaceImpl::SetExtSurfaceBounds(int32_t left, int32_t top, int32_t width, int32_t height) in SetExtSurfaceBounds() argument
141 LOGI("RenderSurfaceImpl::SetExtSurfaceBounds (%{public}d, %{public}d) - (%{public}d x %{public}d)", left, top, in SetExtSurfaceBounds()
146 [surface = extSurface_, id = surfaceId_, left, top, width, height]() { in SetExtSurfaceBounds()
148 surface->SetBounds(id, left, top, width, height); in SetExtSurfaceBounds()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dtree_dec.c291 uint8_t* const top = dec->intra_t_ + 4 * mb_x; in ParseIntraMode() local
315 memset(top, ymode, 4 * sizeof(*top)); in ParseIntraMode()
324 const uint8_t* const prob = kBModesProba[top[x]][ymode]; in ParseIntraMode()
347 top[x] = ymode; in ParseIntraMode()
349 memcpy(modes, top, 4 * sizeof(*top)); in ParseIntraMode()
/kernel/linux/linux-5.10/fs/autofs/
H A Dexpire.c32 struct dentry *top = dentry; in autofs_mount_busy() local
61 ino = autofs_dentry_ino(top); in autofs_mount_busy()
113 * Calculate and dget next entry in top down tree traversal.
151 struct dentry *top, in autofs_direct_busy()
155 pr_debug("top %p %pd\n", top, top); in autofs_direct_busy()
165 ino = autofs_dentry_ino(top); in autofs_direct_busy()
171 /* Timeout of a direct mount is determined by its top dentry */ in autofs_direct_busy()
172 if (!autofs_can_expire(top, timeou in autofs_direct_busy()
150 autofs_direct_busy(struct vfsmount *mnt, struct dentry *top, unsigned long timeout, unsigned int how) autofs_direct_busy() argument
182 autofs_tree_busy(struct vfsmount *mnt, struct dentry *top, unsigned long timeout, unsigned int how) autofs_tree_busy() argument
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dexpire.c32 struct dentry *top = dentry; in autofs_mount_busy() local
61 ino = autofs_dentry_ino(top); in autofs_mount_busy()
113 * Calculate and dget next entry in top down tree traversal.
151 struct dentry *top, in autofs_direct_busy()
155 pr_debug("top %p %pd\n", top, top); in autofs_direct_busy()
165 ino = autofs_dentry_ino(top); in autofs_direct_busy()
171 /* Timeout of a direct mount is determined by its top dentry */ in autofs_direct_busy()
172 if (!autofs_can_expire(top, timeou in autofs_direct_busy()
150 autofs_direct_busy(struct vfsmount *mnt, struct dentry *top, unsigned long timeout, unsigned int how) autofs_direct_busy() argument
182 autofs_tree_busy(struct vfsmount *mnt, struct dentry *top, unsigned long timeout, unsigned int how) autofs_tree_busy() argument
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfree-list.cc21 if (is_linked(owner) && !top().is_null()) { in Reset()
32 FreeSpace node = top(); in PickNodeFromList()
48 for (FreeSpace cur_node = top(); !cur_node.is_null(); in SearchForNodeInList()
55 if (cur_node == top()) { in SearchForNodeInList()
78 free_space.set_next(top()); in Free()
92 FreeSpace n = top(); in RepairFreeList()
452 FreeListCategory* top = categories_[type]; in AddCategory() local
455 DCHECK_NE(top, category); in AddCategory()
458 if (top != nullptr) { in AddCategory()
459 top in AddCategory()
471 FreeListCategory* top = categories_[type]; RemoveCategory() local
[all...]
/third_party/skia/src/pdf/
H A DSkPDFShader.cpp56 float left, float top, float right, float bottom, in fill_color_from_bitmap()
58 SkRect rect{left, top, right, bottom}; in fill_color_from_bitmap()
113 canvas.translate(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
114 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
116 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top()); in make_image_shader()
151 fill_color_from_bitmap(&canvas, deviceBounds.left(), deviceBounds.top(), 0, 0, in make_image_shader()
154 fill_color_from_bitmap(&canvas, width, deviceBounds.top(), deviceBounds.right(), 0, in make_image_shader()
164 // Then expand the left, right, top, then bottom. in make_image_shader()
211 if (deviceBounds.top() < 0) { in make_image_shader()
212 SkBitmap top; in make_image_shader() local
55 fill_color_from_bitmap(SkCanvas* canvas, float left, float top, float right, float bottom, const SkBitmap& bitmap, int x, int y, float alpha) fill_color_from_bitmap() argument
[all...]
/third_party/python/Lib/tkinter/
H A Dfiledialog.py63 self.top = Toplevel(master)
64 self.top.title(title)
65 self.top.iconname(title)
66 _setup_dialog(self.top)
68 self.botframe = Frame(self.top)
71 self.selection = Entry(self.top)
75 self.filter = Entry(self.top)
79 self.midframe = Frame(self.top)
117 self.top.protocol('WM_DELETE_WINDOW', self.cancel_command)
119 self.top
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_doorbell.c62 tbl->top = 0; in pvrdma_uar_table_init()
94 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_alloc()
104 obj |= tbl->top; in pvrdma_uar_alloc()
125 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_free()
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_doorbell.c62 tbl->top = 0; in pvrdma_uar_table_init()
94 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_alloc()
104 obj |= tbl->top; in pvrdma_uar_alloc()
125 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_free()
/third_party/node/deps/v8/src/compiler/
H A Dfunctional-list.h27 Cons(A top, Cons* rest) in Cons()
28 : top(std::move(top)), rest(rest), size(1 + (rest ? rest->size : 0)) {} in Cons()
29 A const top; member
58 return elements_->top; in Front()
107 const A& operator*() const { return current_->top; } in operator *()
/third_party/skia/src/core/
H A DSkEdge.h19 #define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))
117 int top = SkFDot6Round(y0);
121 if (top == bot) {
126 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
130 fFirstY = top;
H A DSkBlitter_Sprite.cpp23 bool SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { in setup() argument
26 fTop = top; in setup()
114 bool setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override {
117 fTop = top;
177 const SkPixmap& source, int left, int top, in ChooseSprite()
182 a bit of a hack, since we "could" pass in the fractional left/top for the bitmap, in ChooseSprite()
191 return SkVMBlitter::Make(dst, paint, source,left,top, alloc, std::move(clipShader)); in ChooseSprite()
225 if (blitter && blitter->setup(dst, left,top, paint)) { in ChooseSprite()
229 return SkVMBlitter::Make(dst, paint, source,left,top, alloc, std::move(clipShader)); in ChooseSprite()
176 ChooseSprite(const SkPixmap& dst, const SkPaint& paint, const SkPixmap& source, int left, int top, SkArenaAlloc* alloc, sk_sp<SkShader> clipShader) ChooseSprite() argument
/third_party/skia/client_utils/android/
H A DBitmapRegionDecoderPriv.h30 * @param outY The top offset of the image subset within the output bitmap.
39 int top = std::max(0, subset->fTop); in adjust_subset_rect() local
43 *outY = top - subset->fTop; in adjust_subset_rect()
47 int height = std::min(imageDims.height() - top, subset->height() - *outY); in adjust_subset_rect()
52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dextents.c270 struct btree_iter_set *top = iter->data, *i = top + 1; in bch_extent_sort_fixup() local
276 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup()
281 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
285 if (top->k > i->k) { in bch_extent_sort_fixup()
286 if (bkey_cmp(top->k, i->k) >= 0) in bch_extent_sort_fixup()
289 bch_cut_front(top->k, i->k); in bch_extent_sort_fixup()
291 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
294 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup()
296 if (bkey_cmp(i->k, top in bch_extent_sort_fixup()
405 struct bkey *top; bch_extent_insert_fixup() local
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dextents.c270 struct btree_iter_set *top = iter->data, *i = top + 1; in bch_extent_sort_fixup() local
276 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup()
281 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
285 if (top->k > i->k) { in bch_extent_sort_fixup()
286 if (bkey_cmp(top->k, i->k) >= 0) in bch_extent_sort_fixup()
289 bch_cut_front(top->k, i->k); in bch_extent_sort_fixup()
291 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
294 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup()
296 if (bkey_cmp(i->k, top in bch_extent_sort_fixup()
405 struct bkey *top; bch_extent_insert_fixup() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dppc-dis.c44 unsigned long top = operand->bitm; in operand_value_powerpc() local
45 /* top & -top gives the rightmost 1 bit, so this in operand_value_powerpc()
47 top |= (top & -top) - 1; in operand_value_powerpc()
48 top &= ~(top >> 1); in operand_value_powerpc()
49 value = (value ^ top) - top; in operand_value_powerpc()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dppc-dis.c44 unsigned long top = operand->bitm; in operand_value_powerpc() local
45 /* top & -top gives the rightmost 1 bit, so this in operand_value_powerpc()
47 top |= (top & -top) - 1; in operand_value_powerpc()
48 top &= ~(top >> 1); in operand_value_powerpc()
49 value = (value ^ top) - top; in operand_value_powerpc()
[all...]
/third_party/alsa-utils/alsamixer/
H A Dtextbox.c203 int top; in move_y() local
205 top = current_top + delta; in move_y()
206 if (top < 0) in move_y()
207 top = 0; in move_y()
208 else if (top > max_scroll_y) in move_y()
209 top = max_scroll_y; in move_y()
210 if (top != current_top) { in move_y()
211 current_top = top; in move_y()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DGrallocAndroid.cpp137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument
146 rect.top = top; in lock()
172 rect.top = top; in lock()
198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock()
205 outRect.top = top; in lock()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DGrallocAndroid.cpp137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument
146 rect.top = top; in lock()
172 rect.top = top; in lock()
198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock()
205 outRect.top = top; in lock()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv.c398 inst->top = inst->base + params->inst_const_size; in dmub_srv_calc_region_info()
400 data->base = dmub_align(inst->top, 256); in dmub_srv_calc_region_info()
401 data->top = data->base + params->bss_data_size; in dmub_srv_calc_region_info()
408 stack->base = dmub_align(data->top, 256); in dmub_srv_calc_region_info()
409 stack->top = stack->base + DMUB_STACK_SIZE + DMUB_CONTEXT_SIZE; in dmub_srv_calc_region_info()
411 bios->base = dmub_align(stack->top, 256); in dmub_srv_calc_region_info()
412 bios->top = bios->base + params->vbios_size; in dmub_srv_calc_region_info()
416 mail->top = mail->base + DMUB_MAILBOX_SIZE; in dmub_srv_calc_region_info()
417 previous_top = bios->top; in dmub_srv_calc_region_info()
419 mail->base = dmub_align(bios->top, 25 in dmub_srv_calc_region_info()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn20.c161 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn20_backdoor_load()
170 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn20_backdoor_load()
189 if (cw2->region.base != cw2->region.top) { in dmub_dcn20_setup_windows()
197 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn20_setup_windows()
212 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn20_setup_windows()
224 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn20_setup_windows()
231 cw4->region.top - cw4->region.base - 1, in dmub_dcn20_setup_windows()
241 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn20_setup_windows()
250 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn20_setup_windows()
263 REG_WRITE(DMCUB_INBOX1_SIZE, inbox1->top in dmub_dcn20_setup_mailbox()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_fieldhint.c117 AVFrame *out, *top, *bottom; in filter_frame() local
188 top = s->frame[tf - outlink->frame_count_in + 1]; in filter_frame()
193 top = s->frame[1 + tf]; in filter_frame()
203 top = bottom; in filter_frame()
207 bottom = top; in filter_frame()
228 top = bottom; in filter_frame()
232 bottom = top; in filter_frame()
243 top->data[p] + tfactor * top->linesize[p], in filter_frame()
244 top in filter_frame()
[all...]
/third_party/cups-filters/filter/
H A Dcommon.c91 if (pagesize->top >= 0 && pagesize->top <= PageLength) in SetCommonOptions()
92 PageTop = pagesize->top; in SetCommonOptions()
95 fprintf(stderr, "ERROR: Invalid value for page top margin: %.0f\n", in SetCommonOptions()
96 pagesize->top); in SetCommonOptions()
182 pagesize->width, pagesize->length, pagesize->left, pagesize->bottom, pagesize->right, pagesize->top); in SetCommonOptions()
188 pagesize->width, pagesize->length, pagesize->left, pagesize->bottom, pagesize->right, pagesize->top); in SetCommonOptions()
281 if ((val = cupsGetOption("page-top", num_options, options)) != NULL) in SetCommonOptions()
411 float top, /* I - Top position in points */ in WriteLabelProlog()
510 printf(" dup 6 sub %.0f 3 index 20 ESPrf\n", top in WriteLabelProlog()
409 WriteLabelProlog(const char *label, float bottom, float top, float width) WriteLabelProlog() argument
[all...]

Completed in 20 milliseconds

12345678910>>...132