Home
last modified time | relevance | path

Searched refs:left (Results 1826 - 1850 of 4060) sorted by relevance

1...<<71727374757677787980>>...163

/third_party/python/Lib/
H A Dtyping.py821 writing type-safe type guards is left to the user.
954 def __ror__(self, left):
955 return Union[left, self]
1086 left = typevartuple_index
1099 left = min(left, var_tuple_index)
1101 elif left + right > alen:
1106 *args[:left],
1107 *([fillarg]*(typevartuple_index - left)),
1108 tuple(args[left
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp330 if (rect.top < 0 || rect.left < 0 || rectSize > pixelSize || rect.width <= 1 || rect.height <= 1 || in crop()
528 Position dstPosition{region.left, region.top}; in WritePixels()
619 Position srcPosition{region.left, region.top}; in ReadPixels()
804 if (region.left < 0 || region.top < 0 || static_cast<uint64_t>(offset) > bufferSize) { in CheckPixelsInput()
805 IMAGE_LOGE("CheckPixelsInput left(%{public}d) or top(%{public}d) or offset(%{public}u) < 0.", in CheckPixelsInput()
806 region.left, region.top, offset); in CheckPixelsInput()
814 if (region.left > GetWidth() - region.width) { in CheckPixelsInput()
815 IMAGE_LOGE("CheckPixelsInput left(%{public}d) + width(%{public}d) is > PixelYuv width(%{public}d).", in CheckPixelsInput()
816 region.left, region.width, GetWidth()); in CheckPixelsInput()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp83 static bool operator==(const MMI::Rect left, const MMI::Rect right) in operator ==() argument
85 return ((left.x == right.x) && (left.y == right.y) && (left.width == right.width) && (left.height == right.height)); in operator ==()
807 auto left = std::min(topLeft[0], bottomRight[0]); in CalRectInScreen() local
825 return MMI::Rect{ left, top, width, height}; in CalRectInScreen()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dimx274.c1003 sel->r.left = 0; in imx274_get_selection()
1026 sel->r.left = 0; in imx274_get_selection()
1032 sel->r.left = 0; in imx274_get_selection()
1069 new_crop.left = min_t(u32, in imx274_set_selection_crop()
1070 IMX274_ROUND(sel->r.left, h_step, 0), in imx274_set_selection_crop()
1129 * height in set->r, we still need to set top-left in imx274_set_selection()
1133 sel->r.left = 0; in imx274_set_selection()
1153 h_start = imx274->crop.left + 12; in imx274_apply_trimming()
H A Dimx219.c380 .left = IMX219_PIXEL_ARRAY_LEFT,
397 .left = 688,
414 .left = IMX219_PIXEL_ARRAY_LEFT,
431 .left = 1008,
612 try_crop->left = IMX219_PIXEL_ARRAY_LEFT; in imx219_open()
941 sel->r.left = 0; in imx219_get_selection()
950 sel->r.left = IMX219_PIXEL_ARRAY_LEFT; in imx219_get_selection()
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Daiptek.c281 int mouseButtonLeft; /* mouse left btn delivers... */
419 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
471 left = (data[1] & aiptek->curSetting.mouseButtonLeft >> 2) != 0 ? 1 : 0; in aiptek_irq()
475 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
602 left = (data[5] & aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0; in aiptek_irq()
625 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
699 left = (data[1]& aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0; in aiptek_irq()
702 macro = dv && p && left && !(data[3] & 1) ? (data[3] >> 1) : 0; in aiptek_irq()
1437 { "left", AIPTEK_MOUSE_LEFT_BUTTON },
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
H A Dbdisp-hw.c777 src_rect.left += src_x_offset; in bdisp_hw_build_node()
782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node()
841 dst_rect.left /= 2; in bdisp_hw_build_node()
850 dst_rect.left; in bdisp_hw_build_node()
870 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
877 src_rect.left /= 2; in bdisp_hw_build_node()
892 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c236 frame->crop.left = 0; in gsc_set_frame_size()
526 if (s->r.top < 0 || s->r.left < 0) { in gsc_try_selection()
527 pr_err("doesn't support negative values for top & left\n"); in gsc_try_selection()
590 /* adjust left/top if cropping rectangle is out of bounds */ in gsc_try_selection()
591 /* Need to add code to algin left value with 2's multiple */ in gsc_try_selection()
592 if (s->r.left + tmp_w > max_w) in gsc_try_selection()
593 s->r.left = max_w - tmp_w; in gsc_try_selection()
598 s->r.left & 1) in gsc_try_selection()
599 s->r.left -= 1; in gsc_try_selection()
602 s->r.left, in gsc_try_selection()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dsplice.c385 * destination. It returns when there's no more buffers left in
641 size_t left; in iter_file_splice_write() local
664 left = sd.total_len; in iter_file_splice_write()
665 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++, n++) { in iter_file_splice_write()
669 if (this_len > left) in iter_file_splice_write()
670 this_len = left; in iter_file_splice_write()
682 left -= this_len; in iter_file_splice_write()
685 iov_iter_bvec(&from, WRITE, array, n, sd.total_len - left); in iter_file_splice_write()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c235 frame->crop.left = 0; in gsc_set_frame_size()
524 if (s->r.top < 0 || s->r.left < 0) { in gsc_try_selection()
525 pr_err("doesn't support negative values for top & left\n"); in gsc_try_selection()
588 /* adjust left/top if cropping rectangle is out of bounds */ in gsc_try_selection()
589 /* Need to add code to algin left value with 2's multiple */ in gsc_try_selection()
590 if (s->r.left + tmp_w > max_w) in gsc_try_selection()
591 s->r.left = max_w - tmp_w; in gsc_try_selection()
596 s->r.left & 1) in gsc_try_selection()
597 s->r.left -= 1; in gsc_try_selection()
600 s->r.left, in gsc_try_selection()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov5647.c518 .left = OV5647_PIXEL_ARRAY_LEFT,
539 .left = 348 + OV5647_PIXEL_ARRAY_LEFT,
560 .left = OV5647_PIXEL_ARRAY_LEFT,
581 .left = 16 + OV5647_PIXEL_ARRAY_LEFT,
1063 sel->r.left = 0; in ov5647_get_selection()
1072 sel->r.left = OV5647_PIXEL_ARRAY_LEFT; in ov5647_get_selection()
1133 crop->left = OV5647_PIXEL_ARRAY_LEFT; in ov5647_open()
H A Dimx219.c379 .left = IMX219_PIXEL_ARRAY_LEFT,
396 .left = 688,
413 .left = IMX219_PIXEL_ARRAY_LEFT,
430 .left = 1008,
613 crop->left = IMX219_PIXEL_ARRAY_LEFT; in imx219_init_cfg()
768 sel->r.left = 0; in imx219_get_selection()
777 sel->r.left = IMX219_PIXEL_ARRAY_LEFT; in imx219_get_selection()
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c777 src_rect.left += src_x_offset; in bdisp_hw_build_node()
782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node()
841 dst_rect.left /= 2; in bdisp_hw_build_node()
850 dst_rect.left; in bdisp_hw_build_node()
870 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
877 src_rect.left /= 2; in bdisp_hw_build_node()
892 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.c940 if (rect->width + rect->left > compose->width) in vfe_try_crop()
941 rect->left = compose->width - rect->width; in vfe_try_crop()
950 rect->left += (rect->width & 0xf) >> 1; in vfe_try_crop()
954 rect->left = 0; in vfe_try_crop()
1144 sel->r.left = 0; in vfe_get_selection()
1166 sel->r.left = rect->left; in vfe_get_selection()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c675 unsigned int *left, unsigned int *right, in vc4_crtc_get_margins()
683 *left = vc4_state->margins.left; in vc4_crtc_get_margins()
697 *left = conn_state->tv.margins.left; in vc4_crtc_get_margins()
738 vc4_state->margins.left = conn_state->tv.margins.left; in vc4_crtc_atomic_check()
674 vc4_crtc_get_margins(struct drm_crtc_state *state, unsigned int *left, unsigned int *right, unsigned int *top, unsigned int *bottom) vc4_crtc_get_margins() argument
/kernel/linux/linux-6.6/drivers/input/tablet/
H A Daiptek.c281 int mouseButtonLeft; /* mouse left btn delivers... */
419 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
471 left = (data[1] & aiptek->curSetting.mouseButtonLeft >> 2) != 0 ? 1 : 0; in aiptek_irq()
475 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
602 left = (data[5] & aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0; in aiptek_irq()
625 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
699 left = (data[1]& aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0; in aiptek_irq()
702 macro = dv && p && left && !(data[3] & 1) ? (data[3] >> 1) : 0; in aiptek_irq()
1428 { "left", AIPTEK_MOUSE_LEFT_BUTTON },
/third_party/ffmpeg/libavcodec/
H A Dcuviddec.c71 int left; member
145 cuinfo.display_area.left = format->display_area.left + ctx->crop.left; in cuvid_handle_video_sequence()
155 avctx->width = cuinfo.display_area.right - cuinfo.display_area.left; in cuvid_handle_video_sequence()
164 cuinfo.target_rect.left = 0; in cuvid_handle_video_sequence()
829 &ctx->crop.left, &ctx->crop.right) != 4) { in cuvid_decode_init()
1094 { "crop", "Crop (top)x(bottom)x(left)x(right)", OFFSET(crop_expr), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, VD },
H A Dmsmpeg4dec.c566 int left= buf_size*8 - get_bits_count(&s->gb); in ff_msmpeg4_decode_ext_header() local
569 if(left>=length && left<length+8) in ff_msmpeg4_decode_ext_header()
578 else if(left<length+8) in ff_msmpeg4_decode_ext_header()
582 av_log(s->avctx, AV_LOG_ERROR, "ext header missing, %d left\n", left); in ff_msmpeg4_decode_ext_header()
690 scan_table = s->intra_v_scantable.permutated; /* left */ in ff_msmpeg4_decode_block()
801 const int left= get_bits_left(&s->gb); in ff_msmpeg4_decode_block() local
804 left >= 0) { in ff_msmpeg4_decode_block()
H A Dutvideodec.c73 /* For Ut Video, longer codes are to the left of the tree and in build_huff()
75 * left to right. So after the next loop --codes_count[i] will in build_huff()
77 * indexed by the position in the tree with left nodes being first. */ in build_huff()
182 "%d bits left after decoding slice\n", get_bits_left(&gb)); in decode_plane10()
342 "%d bits left after decoding slice\n", get_bits_left(&gb)); in decode_plane()
375 // first line - left neighbour prediction in restore_median_planar()
429 // first line - left neighbour prediction in restore_median_planar_il()
483 // first line - left neighbour prediction in restore_gradient_planar()
526 // first line - left neighbour prediction in restore_gradient_planar_il()
583 int left; in decode_frame() local
[all...]
/third_party/mbedtls/library/
H A Dsha512.c766 unsigned int left; in mbedtls_sha512_update() local
772 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update()
773 fill = SHA512_BLOCK_SIZE - left; in mbedtls_sha512_update()
781 if (left && ilen >= fill) { in mbedtls_sha512_update()
782 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha512_update()
790 left = 0; in mbedtls_sha512_update()
805 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dsurface9.c397 dirty_rect.left = box->x << This->level_actual; in NineSurface9_AddDirtyRect()
398 dirty_rect.right = dirty_rect.left + (box->width << This->level_actual); in NineSurface9_AddDirtyRect()
439 pRect ? pRect->left : 0, pRect ? pRect->right : 0, in NineSurface9_LockRect()
466 user_assert((pRect->left == 0 && pRect->right == This->desc.Width && in NineSurface9_LockRect()
468 (!(pRect->left % w) && !(pRect->right % w) && in NineSurface9_LockRect()
668 src_x = pSourceRect->left; in NineSurface9_CopyMemToDefault()
670 copy_width = pSourceRect->right - pSourceRect->left; in NineSurface9_CopyMemToDefault()
/third_party/node/deps/v8/src/compiler/
H A Dtyped-optimization.cc520 Node* left = NodeProperties::GetValueInput(lhs, 0); in ReduceStringComparison() local
522 Type left_type = NodeProperties::GetType(left); in ReduceStringComparison()
526 left = graph()->NewNode(simplified()->NumberToInt32(), left); in ReduceStringComparison()
527 left = graph()->NewNode( in ReduceStringComparison()
528 simplified()->NumberBitwiseAnd(), left, in ReduceStringComparison()
539 graph()->NewNode(NumberComparisonFor(node->op()), left, right); in ReduceStringComparison()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawScissorTests.cpp71 int left = quad.m_x; in scissorQuad() local
76 left = de::max(left, scissor.offset.x); in scissorQuad()
77 left = de::max(left, 0); in scissorQuad()
85 return ColorQuad(left, top, de::max(right - left, 0), de::max(bottom - top, 0), quad.m_color); in scissorQuad()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawScissorTests.cpp71 int left = quad.m_x; in scissorQuad() local
76 left = de::max(left, scissor.offset.x); in scissorQuad()
77 left = de::max(left, 0); in scissorQuad()
85 return ColorQuad(left, top, de::max(right - left, 0), de::max(bottom - top, 0), quad.m_color); in scissorQuad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DImmutableSet.h57 /// Return a pointer to the left subtree. This value
58 /// is NULL if there is no left subtree.
59 ImutAVLTree *getLeft() const { return left; } in getLeft()
206 "Value in left child is not less that current value"); in validateTree()
222 ImutAVLTree *left; member in llvm::ImutAVLTree
245 : factory(f), left(l), right(r), height(height), IsMutable(true), in ImutAVLTree()
248 if (left) left->retain(); in ImutAVLTree()
252 /// isMutable - Returns true if the left and right subtree references
339 if (left) in destroy()
[all...]

Completed in 41 milliseconds

1...<<71727374757677787980>>...163