/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 284 if (r->top < 0 || r->left < 0) { in mtk_mdp_try_crop() 286 "doesn't support negative values for top & left\n"); in mtk_mdp_try_crop() 335 /* adjust left/top if cropping rectangle is out of bounds */ in mtk_mdp_try_crop() 336 /* Need to add code to algin left value with 2's multiple */ in mtk_mdp_try_crop() 337 if (r->left + new_w > max_w) in mtk_mdp_try_crop() 338 r->left = max_w - new_w; in mtk_mdp_try_crop() 342 if (r->left & 1) in mtk_mdp_try_crop() 343 r->left -= 1; in mtk_mdp_try_crop() 346 r->left, r->top, r->width, in mtk_mdp_try_crop() 385 frame->crop.left in mtk_mdp_set_frame_size() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | wavdec.c | 708 int64_t left; in wav_read_packet() local 764 left = wav->data_end - avio_tell(s->pb); in wav_read_packet() 766 left = INT_MAX; in wav_read_packet() 767 if (left <= 0) { in wav_read_packet() 769 left = find_guid(s->pb, ff_w64_guid_data) - 24; in wav_read_packet() 771 left = find_tag(wav, s->pb, MKTAG('d', 'a', 't', 'a')); in wav_read_packet() 772 if (left < 0) { in wav_read_packet() 778 if (INT64_MAX - left < avio_tell(s->pb)) in wav_read_packet() 780 wav->data_end = avio_tell(s->pb) + left; in wav_read_packet() 789 size = FFMIN(size, left); in wav_read_packet() [all...] |
/third_party/mesa3d/src/mesa/math/ |
H A D | m_matrix.c | 212 * \param mat pointer to a GLmatrix structure containing the left multiplication 234 * \param a left matrix. 257 * \param dest left and destination matrix. 366 * Calculates the inverse of the upper left by first calculating its 378 /* Calculate the determinant of upper left 3x3 submatrix and in invert_matrix_3d_general() 462 /* Transpose and scale the 3 by 3 upper-left submatrix. */ in invert_matrix_3d() 474 /* Transpose the 3 by 3 upper-left submatrix. */ in invert_matrix_3d() 858 * \param left left clipping plane coordinate. 870 GLfloat left, GLfloa in _math_matrix_frustum() 869 _math_matrix_frustum( GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval ) _math_matrix_frustum() argument 909 _math_float_ortho(float *m, float left, float right, float bottom, float top, float nearval, float farval) _math_float_ortho() argument 952 _math_matrix_ortho( GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval ) _math_matrix_ortho() argument [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | ast.cc | 849 static bool MatchSmiLiteralOperation(Expression* left, Expression* right, in MatchSmiLiteralOperation() argument 852 *expr = left; in MatchSmiLiteralOperation() 872 static bool MatchLiteralCompareTypeof(Expression* left, Token::Value op, in MatchLiteralCompareTypeof() argument 875 if (IsTypeof(left) && right->IsStringLiteral() && Token::IsEqualityOp(op)) { in MatchLiteralCompareTypeof() 876 *expr = left->AsUnaryOperation()->expression(); in MatchLiteralCompareTypeof() 897 static bool MatchLiteralCompareUndefined(Expression* left, Token::Value op, in MatchLiteralCompareUndefined() argument 899 if (IsVoidOfLiteral(left) && Token::IsEqualityOp(op)) { in MatchLiteralCompareUndefined() 903 if (left->IsUndefinedLiteral() && Token::IsEqualityOp(op)) { in MatchLiteralCompareUndefined() 916 static bool MatchLiteralCompareNull(Expression* left, Token::Value op, in MatchLiteralCompareNull() argument 918 if (left in MatchLiteralCompareNull() [all...] |
/third_party/skia/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 705 glyph->fLeft = bounds.left(); in generatePngMetrics() 717 if (bbox.left >= bbox.right || bbox.top >= bbox.bottom) { in generateMetrics() 721 // We're trying to pack left and top into int16_t, in generateMetrics() 724 SkIRect::MakeLTRB(bbox.left, bbox.top, bbox.right, bbox.bottom))) { in generateMetrics() 728 glyph->fWidth = SkToU16(bbox.right - bbox.left); in generateMetrics() 730 glyph->fLeft = SkToS16(bbox.left); in generateMetrics() 1037 bbox.left = glyph.left(); in drawDWMask() 1039 bbox.right = glyph.left() + glyph.width(); in drawDWMask() 1064 matrix.postTranslate(-SkIntToScalar(glyph.left()), in generateColorGlyphImage() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_ttls.c | 182 int left; in eap_ttls_avp_parse() local 185 left = wpabuf_len(buf); in eap_ttls_avp_parse() 188 while (left > 0) { in eap_ttls_avp_parse() 200 if ((int) avp_length > left) { in eap_ttls_avp_parse() 202 "(len=%d, left=%d) - dropped", in eap_ttls_avp_parse() 203 (int) avp_length, left); in eap_ttls_avp_parse() 319 left -= avp_length + pad; in eap_ttls_avp_parse() 856 size_t left; in eap_ttls_process_phase2_eap_response() local 871 left = in_len - sizeof(*hdr); in eap_ttls_process_phase2_eap_response() 873 "allowed types", pos + 1, left in eap_ttls_process_phase2_eap_response() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_ttls.c | 182 int left; in eap_ttls_avp_parse() local 185 left = wpabuf_len(buf); in eap_ttls_avp_parse() 188 while (left > 0) { in eap_ttls_avp_parse() 200 if ((int) avp_length > left) { in eap_ttls_avp_parse() 202 "(len=%d, left=%d) - dropped", in eap_ttls_avp_parse() 203 (int) avp_length, left); in eap_ttls_avp_parse() 319 left -= avp_length + pad; in eap_ttls_avp_parse() 857 size_t left; in eap_ttls_process_phase2_eap_response() local 872 left = in_len - sizeof(*hdr); in eap_ttls_process_phase2_eap_response() 874 "allowed types", pos + 1, left in eap_ttls_process_phase2_eap_response() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 629 ctx->q_data[DW100_QUEUE_SRC].crop.left = 0; in dw100_open() 824 q_data->crop.left = 0; in dw100_s_fmt() 934 sel->r.left = 0; in dw100_g_selection() 940 sel->r.left = src_q_data->crop.left; in dw100_g_selection() 968 sel->r.width, sel->r.height, sel->r.left, sel->r.top); in dw100_s_selection() 976 sel->r.left = clamp_t(int, sel->r.left, 0, wframe - DW100_MIN_W); in dw100_s_selection() 980 clamp(sel->r.width, DW100_MIN_W, wframe - sel->r.left); in dw100_s_selection() 986 x = sel->r.left; in dw100_s_selection() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | hevc_filter.c | 260 int edges[4]; // 0 left 1 top 2 right 3 bottom in sao_filter_CTB() 364 int left = 1 - left_edge; in sao_filter_CTB() local 370 dst1 = dst - stride_dst - (left << sh); in sao_filter_CTB() 371 src1[0] = src - stride_src - (left << sh); in sao_filter_CTB() 372 src1[1] = s->sao_pixel_buffer_h[c_idx] + (((2 * y_ctb - 1) * w + x0 - left) << sh); in sao_filter_CTB() 374 if (left) { in sao_filter_CTB() 391 int left = 1 - left_edge; in sao_filter_CTB() local 397 dst1 = dst + height * stride_dst - (left << sh); in sao_filter_CTB() 398 src1[0] = src + height * stride_src - (left << sh); in sao_filter_CTB() 399 src1[1] = s->sao_pixel_buffer_h[c_idx] + (((2 * y_ctb + 2) * w + x0 - left) << s in sao_filter_CTB() 797 MvField *left = &tab_mvf[y_pu * min_pu_width + xp_pu]; ff_hevc_deblocking_boundary_strengths() local 837 MvField *left = &tab_mvf[y_pu * min_pu_width + xp_pu]; ff_hevc_deblocking_boundary_strengths() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | runlist.c | 120 * the runlist is left unchanged if the reallocation fails 219 * left unmodified. 277 * left end of the new runlist, if necessary. Adjust the size of the hole 286 * left unmodified. 291 BOOL left = FALSE; /* Left end of @src needs merging */ in ntfs_rl_insert() local 310 left = ntfs_rl_are_mergeable(dst + loc - 1, src); in ntfs_rl_insert() 313 if (left) in ntfs_rl_insert() 322 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 330 if (left) in ntfs_rl_insert() 336 * If "left", the in ntfs_rl_insert() 389 BOOL left = FALSE; /* Left end of @src needs merging */ ntfs_rl_replace() local [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afcjk.c | 338 (FT_String*)"left", /* HORIZ, -- */ in af_cjk_metrics_init_blues() 530 /* vice versa for bottom/left */ in af_cjk_metrics_init_blues() 1331 /* zone, check for left edges */ in af_cjk_hints_compute_blue_edges() 1951 AF_Edge left = edge; in af_cjk_hint_edges() 1958 while ( right > left && !right->link ) in af_cjk_hint_edges() 1961 left1 = *left; in af_cjk_hint_edges() 1962 left2 = *left->link; in af_cjk_hint_edges() 1967 target = left->opos + ( right->opos - left->opos ) / 2 + delta - 16; in af_cjk_hint_edges() 1970 delta1 += af_hint_normal_stem( hints, left, lef in af_cjk_hint_edges() [all...] |
/third_party/glslang/glslang/HLSL/ |
H A D | hlslParseHelper.cpp | 161 // If it's a swizzled/indexed aggregate, look at the left node instead. in shouldConvertLValue() 813 error(loc, " left of '[' is not of type array, matrix, or vector ", in handleBracketDereference() 816 error(loc, " left of '[' is not of type array, matrix, or vector ", "expression", ""); in handleBracketDereference() 871 TIntermTyped* left, TIntermTyped* right) in handleBinaryMath() 873 TIntermTyped* result = intermediate.addBinaryMath(op, left, right, loc); in handleBinaryMath() 875 binaryOpError(loc, str, left->getCompleteString(), right->getCompleteString()); in handleBinaryMath() 1413 // but logically going down the "left-most" tree branch each step of the way. 2442 // References to structuredbuffer types are left unmodified in remapNonEntryPointIO() 2490 TIntermTyped* left, TIntermTyped* right) in assignFromFragCoord() 2494 return intermediate.addAssign(op, left, righ in assignFromFragCoord() 870 handleBinaryMath(const TSourceLoc& loc, const char* str, TOperator op, TIntermTyped* left, TIntermTyped* right) handleBinaryMath() argument 2489 assignFromFragCoord(const TSourceLoc& loc, TOperator op, TIntermTyped* left, TIntermTyped* right) assignFromFragCoord() argument 2547 assignPosition(const TSourceLoc& loc, TOperator op, TIntermTyped* left, TIntermTyped* right) assignPosition() argument 2608 assignClipCullDistance(const TSourceLoc& loc, TOperator op, int semanticId, TIntermTyped* left, TIntermTyped* right) assignClipCullDistance() argument 2842 handleAssign(const TSourceLoc& loc, TOperator op, TIntermTyped* left, TIntermTyped* right) handleAssign() argument 3238 handleAssignToMatrixSwizzle(const TSourceLoc& loc, TOperator op, TIntermTyped* left, TIntermTyped* right) handleAssignToMatrixSwizzle() argument 6454 assignError(const TSourceLoc& loc, const char* op, TString left, TString right) assignError() argument 6473 binaryOpError(const TSourceLoc& loc, const char* op, TString left, TString right) binaryOpError() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | alps.c | 222 int left, int right, int middle) in alps_report_buttons() 232 input_report_key(dev, BTN_LEFT, left); in alps_report_buttons() 254 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local 258 left = packet[2] & 0x10; in alps_process_packet_v1_v2() 265 left = packet[3] & 1; in alps_process_packet_v1_v2() 292 alps_report_buttons(dev2, dev, left, right, middle); in alps_process_packet_v1_v2() 300 left |= packet[0] & 1; in alps_process_packet_v1_v2() 305 alps_report_buttons(dev, dev2, left, right, middle); in alps_process_packet_v1_v2() 429 /* top-left corner */ in alps_process_bitmap() 453 /* bottom-left corne in alps_process_bitmap() 221 alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, int left, int right, int middle) alps_report_buttons() argument 560 int x, y, z, left, right, middle; alps_process_trackstick_packet_v3() local [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | alps.c | 222 int left, int right, int middle) in alps_report_buttons() 232 input_report_key(dev, BTN_LEFT, left); in alps_report_buttons() 254 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local 258 left = packet[2] & 0x10; in alps_process_packet_v1_v2() 265 left = packet[3] & 1; in alps_process_packet_v1_v2() 292 alps_report_buttons(dev2, dev, left, right, middle); in alps_process_packet_v1_v2() 300 left |= packet[0] & 1; in alps_process_packet_v1_v2() 305 alps_report_buttons(dev, dev2, left, right, middle); in alps_process_packet_v1_v2() 429 /* top-left corner */ in alps_process_bitmap() 453 /* bottom-left corne in alps_process_bitmap() 221 alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, int left, int right, int middle) alps_report_buttons() argument 560 int x, y, z, left, right, middle; alps_process_trackstick_packet_v3() local [all...] |
/third_party/zlib/contrib/blast/ |
H A D | blast.h | 46 unsigned *left, unsigned char **in); 59 * If left and in are not NULL and *left is not zero when blast() is called, 60 * then the *left bytes at *in are consumed for input before infun() is used. 68 * If there is any unused input, *left is set to the number of bytes that were 69 * read and *in points to them. Otherwise *left is set to zero and *in is set 70 * to NULL. If left or in are NULL, then they are not set.
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | setup.c | 340 unsigned long left = size; in xen_do_set_identity_and_remap_chunk() local 350 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 369 left -= chunk; in xen_do_set_identity_and_remap_chunk() 400 unsigned long left = n - i; in xen_set_identity_and_remap_chunk() local 401 unsigned long size = left; in xen_set_identity_and_remap_chunk() 417 cur_pfn + left, nr_pages); in xen_set_identity_and_remap_chunk()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 424 unsigned int left = 0; in assert_remapped() local 437 if (!left) { in assert_remapped() 439 left = sg_dma_len(sg); in assert_remapped() 445 if (left < PAGE_SIZE || left & (PAGE_SIZE-1)) { in assert_remapped() 458 left -= PAGE_SIZE; in assert_remapped() 462 if (!left) in assert_remapped()
|
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 319 __s32 left,right,value; in tvaudio_checkcarrier() local 348 left = saa_readl(SAA7134_LEVEL_READOUT1 >> 2); in tvaudio_checkcarrier() 356 left >>= 16; in tvaudio_checkcarrier() 358 value = left > right ? left - right : right - left; in tvaudio_checkcarrier() 361 scan->name, value, left, right); in tvaudio_checkcarrier()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 435 if (a->left < b->left || a->top < b->top) in is_rectangle_enclosed() 438 if (a->left + a->width > b->left + b->width) in is_rectangle_enclosed() 466 s->r.left = 0; in gsc_m2m_g_selection() 474 s->r.left = frame->crop.left; in gsc_m2m_g_selection()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | em_meta.c | 921 if (TCF_META_TYPE(hdr->left.kind) != TCF_META_TYPE(hdr->right.kind) || in em_meta_change() 922 TCF_META_TYPE(hdr->left.kind) > TCF_META_TYPE_MAX || in em_meta_change() 923 TCF_META_ID(hdr->left.kind) > TCF_META_ID_MAX || in em_meta_change() 933 memcpy(&meta->lvalue.hdr, &hdr->left, sizeof(hdr->left)); in em_meta_change() 969 memcpy(&hdr.left, &meta->lvalue.hdr, sizeof(hdr.left)); in em_meta_dump()
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | menu.c | 89 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 93 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 98 if (e->left.sym == &symbol_mod) in rewrite_m() 296 if (!menu_validate_number(sym, prop->expr->left.sym) || in sym_check_prop() 541 for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) in menu_finalize()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 571 unsigned int *left, unsigned int *right, in vc4_crtc_get_margins() 579 *left = vc4_state->margins.left; in vc4_crtc_get_margins() 593 *left = conn_state->tv.margins.left; in vc4_crtc_get_margins() 617 vc4_state->margins.left = conn_state->tv.margins.left; in vc4_crtc_atomic_check() 570 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/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 319 __s32 left,right,value; in tvaudio_checkcarrier() local 348 left = saa_readl(SAA7134_LEVEL_READOUT1 >> 2); in tvaudio_checkcarrier() 356 left >>= 16; in tvaudio_checkcarrier() 358 value = left > right ? left - right : right - left; in tvaudio_checkcarrier() 361 scan->name, value, left, right); in tvaudio_checkcarrier()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 430 if (a->left < b->left || a->top < b->top) in is_rectangle_enclosed() 433 if (a->left + a->width > b->left + b->width) in is_rectangle_enclosed() 461 s->r.left = 0; in gsc_m2m_g_selection() 469 s->r.left = frame->crop.left; in gsc_m2m_g_selection()
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | setup.c | 341 unsigned long left = size; in xen_do_set_identity_and_remap_chunk() local 351 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 370 left -= chunk; in xen_do_set_identity_and_remap_chunk() 401 unsigned long left = n - i; in xen_set_identity_and_remap_chunk() local 402 unsigned long size = left; in xen_set_identity_and_remap_chunk() 418 cur_pfn + left, nr_pages); in xen_set_identity_and_remap_chunk()
|