/third_party/skia/third_party/externals/angle2/samples/multi_window/ |
H A D | MultiWindow.cpp | 109 int left = rootWindow->getX(); variable 117 left = std::min(left, window->getX()); 123 float midX = (left + right) * 0.5f; 147 Matrix4::transform(mvpMatrix, Vector4(static_cast<float>(left),
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | tree_dec.c | 292 uint8_t* const left = dec->intra_l_; in ParseIntraMode() local 316 memset(left, ymode, 4 * sizeof(*left)); in ParseIntraMode() 321 int ymode = left[y]; in ParseIntraMode() 351 left[y] = ymode; in ParseIntraMode()
|
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | ufmt_cmn.cpp | 77 UChar *left, *right, temp; in ufmt_64tou() local 93 left = buffer; in ufmt_64tou() 95 while(left < --right) { in ufmt_64tou() 96 temp = *left; in ufmt_64tou() 97 *left++ = *right; in ufmt_64tou()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | perf_event.c | 255 long left = local64_read(&hwc->period_left); in alpha_perf_event_set_period() local 259 if (unlikely(left <= -period)) { in alpha_perf_event_set_period() 260 left = period; in alpha_perf_event_set_period() 261 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 266 if (unlikely(left <= 0)) { in alpha_perf_event_set_period() 267 left += period; in alpha_perf_event_set_period() 268 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 277 if (unlikely(left < alpha_pmu->pmc_left[idx])) in alpha_perf_event_set_period() 278 left = alpha_pmu->pmc_left[idx]; in alpha_perf_event_set_period() 280 if (left > (lon in alpha_perf_event_set_period() [all...] |
/kernel/linux/linux-5.10/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 48 * is left in a desynched state, requiring that a synch sequence be 262 * The icap is left in Synched state. 446 ssize_t left = count; in hwicap_write() local 455 left += drvdata->write_buffer_in_use; in hwicap_write() 458 if (left < 4) { in hwicap_write() 469 while (left > 3) { in hwicap_write() 471 /* be as many as 3 bytes left (at the end). */ in hwicap_write() 472 len = left; in hwicap_write() 507 left -= drvdata->write_buffer_in_use; in hwicap_write() 511 left in hwicap_write() [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | perf_event.c | 255 long left = local64_read(&hwc->period_left); in alpha_perf_event_set_period() local 259 if (unlikely(left <= -period)) { in alpha_perf_event_set_period() 260 left = period; in alpha_perf_event_set_period() 261 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 266 if (unlikely(left <= 0)) { in alpha_perf_event_set_period() 267 left += period; in alpha_perf_event_set_period() 268 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 277 if (unlikely(left < alpha_pmu->pmc_left[idx])) in alpha_perf_event_set_period() 278 left = alpha_pmu->pmc_left[idx]; in alpha_perf_event_set_period() 280 if (left > (lon in alpha_perf_event_set_period() [all...] |
/kernel/linux/linux-6.6/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 48 * is left in a desynched state, requiring that a synch sequence be 264 * The icap is left in Synched state. 448 ssize_t left = count; in hwicap_write() local 457 left += drvdata->write_buffer_in_use; in hwicap_write() 460 if (left < 4) { in hwicap_write() 471 while (left > 3) { in hwicap_write() 473 /* be as many as 3 bytes left (at the end). */ in hwicap_write() 474 len = left; in hwicap_write() 509 left -= drvdata->write_buffer_in_use; in hwicap_write() 513 left in hwicap_write() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 235 s32 left, top, right, bottom; in mdp_try_crop() local 240 s->target, s->r.left, s->r.top, s->r.width, s->r.height); in mdp_try_crop() 242 left = s->r.left; in mdp_try_crop() 244 right = s->r.left + s->r.width; in mdp_try_crop() 260 ret = mdp_clamp_start(&left, 0, right, walign, s->flags); in mdp_try_crop() 266 ret = mdp_clamp_end(&right, left, framew, walign, s->flags); in mdp_try_crop() 273 r->left = left; in mdp_try_crop() 275 r->width = right - left; in mdp_try_crop() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_pipe.h | 50 dst->x = src->left; in rect_to_pipe_box() 53 dst->width = src->right - src->left; in rect_to_pipe_box() 61 dst->left = src->x; in pipe_box_to_rect() 70 rect->left = rect->left >> 2; in rect_minify_inclusive() 77 * 0 <= rect->left < rect->right 87 rect->left = rect->left - rect->left % w; in fit_rect_format_inclusive() 130 user_warn(src->left > sr in rect_to_pipe_box_xy_only() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
H A D | ReplaceForShaderFramebufferFetch.cpp | 131 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary() local 132 if (!left) in visitBinary() 136 else if (left->getName() != "gl_LastFragData") in visitBinary() 150 mDeclaredSym->emplace(0, left); in visitBinary() 178 mDeclaredSym->emplace(idx, left); in visitBinary() 430 TIntermTyped *left = nullptr; in loadInputAttachmentDataImpl() local 440 left = new TIntermBinary(EOpIndexDirect, loadInputAttachmentDataSymbol->deepCopy(), in loadInputAttachmentDataImpl() 444 assignSubpassLoad(left, new TIntermSymbol(mInputAttachmentVarList[attachmentIndex]), in loadInputAttachmentDataImpl() 445 left->getNominalSize())); in loadInputAttachmentDataImpl() 454 left in loadInputAttachmentDataImpl() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 812 int left = (void *)q->q.stat - pos; in chcr_write_cpl_set_tcb_ulp() local 814 if (unlikely(left < CHCR_SET_TCB_FIELD_LEN)) { in chcr_write_cpl_set_tcb_ulp() 815 if (!left) { in chcr_write_cpl_set_tcb_ulp() 832 if (left == CHCR_SET_TCB_FIELD_LEN) in chcr_write_cpl_set_tcb_ulp() 1115 int credits, left, last_desc; in chcr_ktls_xmit_wr_complete() local 1212 /* check if space left to fill the keys */ in chcr_ktls_xmit_wr_complete() 1213 left = (void *)q->q.stat - pos; in chcr_ktls_xmit_wr_complete() 1214 if (!left) { in chcr_ktls_xmit_wr_complete() 1215 left = (void *)end - (void *)q->q.stat; in chcr_ktls_xmit_wr_complete() 1217 end = pos + left; in chcr_ktls_xmit_wr_complete() 1291 int credits, left, last_desc; chcr_ktls_xmit_wr_short() local 1474 int credits, left, len16, last_desc; chcr_ktls_tx_plaintxt() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 806 int left = (void *)q->q.stat - pos; in chcr_write_cpl_set_tcb_ulp() local 808 if (unlikely(left < CHCR_SET_TCB_FIELD_LEN)) { in chcr_write_cpl_set_tcb_ulp() 809 if (!left) { in chcr_write_cpl_set_tcb_ulp() 826 if (left == CHCR_SET_TCB_FIELD_LEN) in chcr_write_cpl_set_tcb_ulp() 1109 int credits, left, last_desc; in chcr_ktls_xmit_wr_complete() local 1206 /* check if space left to fill the keys */ in chcr_ktls_xmit_wr_complete() 1207 left = (void *)q->q.stat - pos; in chcr_ktls_xmit_wr_complete() 1208 if (!left) { in chcr_ktls_xmit_wr_complete() 1209 left = (void *)end - (void *)q->q.stat; in chcr_ktls_xmit_wr_complete() 1211 end = pos + left; in chcr_ktls_xmit_wr_complete() 1285 int credits, left, last_desc; chcr_ktls_xmit_wr_short() local 1468 int credits, left, len16, last_desc; chcr_ktls_tx_plaintxt() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 560 unsigned int left; in usbf_ep0_pio_in() local 566 left = req->req.length - req->req.actual; in usbf_ep0_pio_in() 568 if (left == 0) { in usbf_ep0_pio_in() 588 if (left > ep0->ep.maxpacket) in usbf_ep0_pio_in() 589 left = ep0->ep.maxpacket; in usbf_ep0_pio_in() 594 nb = left / sizeof(u32); in usbf_ep0_pio_in() 599 left -= (nb * sizeof(u32)); in usbf_ep0_pio_in() 603 if (left) { in usbf_ep0_pio_in() 604 memcpy(&last, buf, left); in usbf_ep0_pio_in() 606 ctrl |= USBF_EP0_DW(left); in usbf_ep0_pio_in() 622 unsigned int left; usbf_ep0_pio_out() local 739 unsigned int left; usbf_epn_pio_in() local 802 unsigned int left; usbf_epn_dma_in() local 979 unsigned int left; usbf_epn_pio_out() local 1191 unsigned int left; usbf_epn_dma_out() local [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_qpack.c | 1114 size_t left = nghttp3_buf_left(buf); in reserve_buf_internal() local 1117 if (left >= extra_size) { in reserve_buf_internal() 1121 need = nghttp3_buf_cap(buf) + extra_size - left; in reserve_buf_internal() 2409 * If the |rstate->left| is nonzero, it is used as an initial value, 2416 * This function stores the decoded integer in |rstate->left| if it 2427 uint64_t n = rstate->left; in qpack_read_varint() 2437 rstate->left = (*p) & k; in qpack_read_varint() 2445 rstate->left = n; in qpack_read_varint() 2477 rstate->left = n; in qpack_read_varint() 2481 rstate->left in qpack_read_varint() [all...] |
/third_party/node/deps/v8/src/compiler/backend/s390/ |
H A D | instruction-selector-s390.cc | 499 Node* left, Node* right, InstructionCode* opcode, in GenerateBinOpOperands() 504 // left is always register in GenerateBinOpOperands() 505 InstructionOperand const left_input = g.UseRegister(left); in GenerateBinOpOperands() 508 if (left == right) { in GenerateBinOpOperands() 607 // we have to make sure result and left use the same register in VisitUnaryOp() 632 Node* left = m.left().node(); in VisitBinOp() local 642 std::swap(left, right); in VisitBinOp() 645 GenerateBinOpOperands(selector, node, left, right, &opcode, &operand_mode, in VisitBinOp() 648 bool left_is_word32 = ProduceWord32Result(left); in VisitBinOp() 498 GenerateBinOpOperands(InstructionSelector* selector, Node* node, Node* left, Node* right, InstructionCode* opcode, OperandModes* operand_mode, InstructionOperand* inputs, size_t* input_count, CanCombineWithLoad canCombineWithLoad) GenerateBinOpOperands() argument 909 Node* left = m.left().node(); VisitWord64And() local 1173 Node* left = m.left().node(); TryMatchShiftFromMul() local 1265 Node* left = node->InputAt(0); TryMatchDoubleConstructFromInsert() local 1594 VisitCompare(InstructionSelector* selector, InstructionCode opcode, InstructionOperand left, InstructionOperand right, FlagsContinuation* cont) VisitCompare() argument 1609 Node* left = node->InputAt(0); VisitWordCompare() local 1694 Node* left = node->InputAt(0); VisitTestUnderMask() local [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | auditfilter.c | 1195 int audit_comparator(u32 left, u32 op, u32 right) in audit_comparator() argument 1199 return (left == right); in audit_comparator() 1201 return (left != right); in audit_comparator() 1203 return (left < right); in audit_comparator() 1205 return (left <= right); in audit_comparator() 1207 return (left > right); in audit_comparator() 1209 return (left >= right); in audit_comparator() 1211 return (left & right); in audit_comparator() 1213 return ((left & right) == right); in audit_comparator() 1219 int audit_uid_comparator(kuid_t left, u3 argument 1241 audit_gid_comparator(kgid_t left, u32 op, kgid_t right) audit_gid_comparator() argument [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | auditfilter.c | 1205 int audit_comparator(u32 left, u32 op, u32 right) in audit_comparator() argument 1209 return (left == right); in audit_comparator() 1211 return (left != right); in audit_comparator() 1213 return (left < right); in audit_comparator() 1215 return (left <= right); in audit_comparator() 1217 return (left > right); in audit_comparator() 1219 return (left >= right); in audit_comparator() 1221 return (left & right); in audit_comparator() 1223 return ((left & right) == right); in audit_comparator() 1229 int audit_uid_comparator(kuid_t left, u3 argument 1251 audit_gid_comparator(kgid_t left, u32 op, kgid_t right) audit_gid_comparator() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cavs.c | 184 uint8_t **left, int block) in ff_cavs_load_intra_pred_luma() 190 *left = h->left_border_y; in ff_cavs_load_intra_pred_luma() 200 *left = h->intern_border_y; in ff_cavs_load_intra_pred_luma() 216 *left = &h->left_border_y[8]; in ff_cavs_load_intra_pred_luma() 224 *left = &h->intern_border_y[8]; in ff_cavs_load_intra_pred_luma() 257 static void intra_pred_vert(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) in intra_pred_vert() argument 265 static void intra_pred_horiz(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) in intra_pred_horiz() argument 270 a = left[y + 1] * 0x0101010101010101ULL; in intra_pred_horiz() 275 static void intra_pred_dc_128(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) in intra_pred_dc_128() argument 283 static void intra_pred_plane(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_ argument 183 ff_cavs_load_intra_pred_luma(AVSContext *h, uint8_t *top, uint8_t **left, int block) ff_cavs_load_intra_pred_luma() argument 305 intra_pred_lp(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp() argument 313 intra_pred_down_left(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_down_left() argument 321 intra_pred_down_right(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_down_right() argument 334 intra_pred_lp_left(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp_left() argument 342 intra_pred_lp_top(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp_top() argument [all...] |
H A D | hnm4video.c | 155 int count, left, offset; in decode_interframe_v4() local 207 left = count; in decode_interframe_v4() 222 if (offset < (!!backline)*(2 * hnm->width - 1) + 2*(left-1)) { in decode_interframe_v4() 234 while (left > 0) { in decode_interframe_v4() 245 left--; in decode_interframe_v4() 248 while (left > 0) { in decode_interframe_v4() 259 left--; in decode_interframe_v4() 264 left = count; in decode_interframe_v4() 266 while (left > 0) { in decode_interframe_v4() 270 left in decode_interframe_v4() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rbt_pars.cpp | 273 // Record the offset to the cursor either to the left or to the 964 // chars left. in parseRules() 1288 // Locate the left side, operator, and right side in parseRule() 1299 RuleHalf* left = &_left; in parseRule() local 1303 pos = left->parse(rule, pos, limit, status); in parseRule() 1359 if (left->text.length() != 1 || left->text.charAt(0) != variableLimit) { in parseRule() 1363 if (left->anchorStart || left->anchorEnd || in parseRule() 1411 left in parseRule() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rbt_pars.cpp | 273 // Record the offset to the cursor either to the left or to the 964 // chars left. in parseRules() 1288 // Locate the left side, operator, and right side in parseRule() 1299 RuleHalf* left = &_left; in parseRule() local 1303 pos = left->parse(rule, pos, limit, status); in parseRule() 1359 if (left->text.length() != 1 || left->text.charAt(0) != variableLimit) { in parseRule() 1363 if (left->anchorStart || left->anchorEnd || in parseRule() 1411 left in parseRule() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rbt_pars.cpp | 273 // Record the offset to the cursor either to the left or to the 964 // chars left. in parseRules() 1270 // Locate the left side, operator, and right side in parseRule() 1281 RuleHalf* left = &_left; in parseRule() local 1285 pos = left->parse(rule, pos, limit, status); in parseRule() 1341 if (left->text.length() != 1 || left->text.charAt(0) != variableLimit) { in parseRule() 1345 if (left->anchorStart || left->anchorEnd || in parseRule() 1393 left in parseRule() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ParseContext.cpp | 410 const TType &left, in assignError() 414 reasonStream << "cannot convert from '" << right << "' to '" << left << "'"; in assignError() local 435 const TType &left, in binaryOpError() 440 << "' exists that takes a left-hand operand of type '" << left in binaryOpError() 4703 error(location, " left of '[' is not of type array, matrix, or vector ", in addIndexExpression() 4708 error(location, " left of '[' is not of type array, matrix, or vector ", "expression"); in addIndexExpression() 5021 error(dotLocation, " field selection requires structure or vector on left hand side", in addFieldSelectionExpression() 5027 " field selection requires structure, vector, or interface block on left hand " in addFieldSelectionExpression() 5978 TIntermTyped *left, in binaryOpCommonCheck() 408 assignError(const TSourceLoc &line, const char *op, const TType &left, const TType &right) assignError() argument 433 binaryOpError(const TSourceLoc &line, const char *op, const TType &left, const TType &right) binaryOpError() argument 5977 binaryOpCommonCheck(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) binaryOpCommonCheck() argument 6227 isMultiplicationTypeCombinationValid(TOperator op, const TType &left, const TType &right) isMultiplicationTypeCombinationValid() argument 6270 addBinaryMathInternal(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) addBinaryMathInternal() argument 6340 addBinaryMath(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) addBinaryMath() argument 6354 addBinaryMathBooleanResult(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) addBinaryMathBooleanResult() argument 6369 addAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) addAssign() argument 6413 addComma(TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc) addComma() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_AAAPath.cpp | 392 const int left = sectBounds.left(); 395 fLeft = left; 396 fWidth = right - left; 609 SkFixed first = SK_Fixed1 - l; // horizontal edge length of the left-most triangle 611 SkFixed firstH = SkFixedMul(first, dY); // vertical edge of the left-most triangle 636 SkFixed first = SK_Fixed1 - l; // horizontal edge length of the left-most triangle 872 // We're going to use the left line ul-ll and the rite line ur-lr 930 // SkAAClip requires that we blit from left to right. 1090 // Ensure that currE is the next left edg [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | riscv_pmu.c | 209 s64 left = local64_read(&hwc->period_left); in riscv_pmu_event_set_period() local 214 if (unlikely(left <= -period)) { in riscv_pmu_event_set_period() 215 left = period; in riscv_pmu_event_set_period() 216 local64_set(&hwc->period_left, left); in riscv_pmu_event_set_period() 221 if (unlikely(left <= 0)) { in riscv_pmu_event_set_period() 222 left += period; in riscv_pmu_event_set_period() 223 local64_set(&hwc->period_left, left); in riscv_pmu_event_set_period() 234 if (left > (max_period >> 1)) in riscv_pmu_event_set_period() 235 left = (max_period >> 1); in riscv_pmu_event_set_period() 237 local64_set(&hwc->prev_count, (u64)-left); in riscv_pmu_event_set_period() [all...] |