/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_unix.c | 494 size_t left = siz; in os_strlcpy() local 496 if (left) { in os_strlcpy() 498 while (--left != 0) { in os_strlcpy() 504 if (left == 0) { in os_strlcpy()
|
/third_party/node/deps/v8/src/codegen/loong64/ |
H A D | macro-assembler-loong64.cc | 274 // We only have `dst_slot` and `dst_object` left as distinct registers so we in CallRecordWriteStub() 2971 // Make scratch1 the space we have left. The stack might already be overflowed in CallRecordWriteStub() 3196 void TurboAssembler::AddOverflow_d(Register dst, Register left, in CallRecordWriteStub() argument 3211 DCHECK(left != scratch2 && right_reg != scratch2 && dst != scratch2 && in CallRecordWriteStub() 3213 DCHECK(overflow != left && overflow != right_reg); in CallRecordWriteStub() 3215 if (dst == left || dst == right_reg) { in CallRecordWriteStub() 3216 add_d(scratch2, left, right_reg); in CallRecordWriteStub() 3217 xor_(overflow, scratch2, left); in CallRecordWriteStub() 3222 add_d(dst, left, right_reg); in CallRecordWriteStub() 3223 xor_(overflow, dst, left); in CallRecordWriteStub() 3229 SubOverflow_d(Register dst, Register left, const Operand& right, Register overflow) CallRecordWriteStub() argument 3262 MulOverflow_w(Register dst, Register left, const Operand& right, Register overflow) CallRecordWriteStub() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | imx274.c | 1003 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 D | imx219.c | 380 .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 D | aiptek.c | 281 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 D | bdisp-hw.c | 777 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 D | gsc-core.c | 236 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 D | splice.c | 385 * 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 D | gsc-core.c | 235 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 D | ov5647.c | 518 .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 D | imx219.c | 379 .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 D | bdisp-hw.c | 777 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 D | camss-vfe.c | 940 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 D | vc4_crtc.c | 675 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 D | aiptek.c | 281 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 D | cuviddec.c | 71 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 D | msmpeg4dec.c | 566 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 D | utvideodec.c | 73 /* 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 D | sha512.c | 766 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 D | surface9.c | 397 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 D | typed-optimization.cc | 520 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 D | vktDrawScissorTests.cpp | 71 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 D | vktDrawScissorTests.cpp | 71 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 D | ImmutableSet.h | 57 /// 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...] |
/third_party/python/Python/ |
H A D | ast.c | 271 ret = validate_expr(state, exp->v.BinOp.left, Load) && in validate_expr() 335 validate_expr(state, exp->v.Compare.left, Load); in validate_expr() 433 expr_ty left = exp->v.BinOp.left; in ensure_literal_complex() local 440 switch (left->kind) in ensure_literal_complex() 443 if (!ensure_literal_number(left, /*real=*/true, /*imaginary=*/false)) { in ensure_literal_complex() 448 if (!ensure_literal_negative(left, /*real=*/true, /*imaginary=*/false)) { in ensure_literal_complex()
|