/third_party/skia/src/core/ |
H A D | SkScan_Antihair.cpp | 353 if (x0 > x1) { // we want to go left-to-right 484 int left, right; 486 left = SkFixedFloorToInt(fstart - SK_FixedHalf); 490 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); 493 left -= 1; 496 if (left >= clip->fRight || right <= clip->fLeft) { 499 if (clip->fLeft <= left && clip->fRight >= right) { 581 SkFDot6 left = std::min(x0, x1); 587 ir.setLTRB(SkFDot6Floor(left) - 1, 640 int left [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | enc_mips_dsp_r2.c | 398 HORIZONTAL_PRED(dst, left, 8) 399 HORIZONTAL_PRED(dst, left, 16) 463 /* true motion without left samples (hence: with default 129 value) */ \ 475 TRUE_MOTION(dst, left, top, 8) 476 TRUE_MOTION(dst, left, top, 16) 483 static WEBP_INLINE void DCMode16(uint8_t* dst, const uint8_t* left, in DCMode16() argument 502 "beqz %[left], 1f \n\t" in DCMode16() 503 LOAD_WITH_OFFSET_X4(temp0, temp1, temp2, temp3, left, in DCMode16() 518 "beqz %[left], 4f \n\t" in DCMode16() 519 LOAD_WITH_OFFSET_X4(temp0, temp1, temp2, temp3, left, in DCMode16() 546 DCMode8(uint8_t* dst, const uint8_t* left, const uint8_t* top) DCMode8() argument 1016 IntraChromaPreds_MIPSdspR2(uint8_t* dst, const uint8_t* left, const uint8_t* top) IntraChromaPreds_MIPSdspR2() argument 1036 Intra16Preds_MIPSdspR2(uint8_t* dst, const uint8_t* left, const uint8_t* top) Intra16Preds_MIPSdspR2() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_peap.c | 663 size_t left; in eap_peap_process_phase2_tlv() local 668 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, in_data, &left); in eap_peap_process_phase2_tlv() 675 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Received TLVs", pos, left); in eap_peap_process_phase2_tlv() 676 while (left >= 4) { in eap_peap_process_phase2_tlv() 682 left -= 4; in eap_peap_process_phase2_tlv() 683 if ((size_t) tlv_len > left) { in eap_peap_process_phase2_tlv() 685 "(tlv_len=%d left=%lu)", tlv_len, in eap_peap_process_phase2_tlv() 686 (unsigned long) left); in eap_peap_process_phase2_tlv() 712 left -= tlv_len; in eap_peap_process_phase2_tlv() 714 if (left) { in eap_peap_process_phase2_tlv() 783 size_t left; eap_peap_process_phase2_soh() local 917 size_t left; eap_peap_process_phase2_response() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_peap.c | 694 size_t left; in eap_peap_process_phase2_tlv() local 699 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, in_data, &left); in eap_peap_process_phase2_tlv() 706 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Received TLVs", pos, left); in eap_peap_process_phase2_tlv() 707 while (left >= 4) { in eap_peap_process_phase2_tlv() 713 left -= 4; in eap_peap_process_phase2_tlv() 714 if ((size_t) tlv_len > left) { in eap_peap_process_phase2_tlv() 716 "(tlv_len=%d left=%lu)", tlv_len, in eap_peap_process_phase2_tlv() 717 (unsigned long) left); in eap_peap_process_phase2_tlv() 743 left -= tlv_len; in eap_peap_process_phase2_tlv() 745 if (left) { in eap_peap_process_phase2_tlv() 814 size_t left; eap_peap_process_phase2_soh() local 948 size_t left; eap_peap_process_phase2_response() local [all...] |
/kernel/linux/linux-5.10/drivers/accesstokenid/ |
H A D | access_tokenid.c | 135 if (current_node->left == NULL) { in add_node_to_left_tree_tail() 136 current_node->left = node; in add_node_to_left_tree_tail() 139 current_node = current_node->left; in add_node_to_left_tree_tail() 156 current_node = current_node->left; in find_node_by_token() 183 parent_node->left = node; in add_node_to_tree() 209 new_node_addr = &(parent_node->left); in remove_node_by_token() 215 add_node_to_left_tree_tail(target_node->right, target_node->left); in remove_node_by_token() 217 *new_node_addr = target_node->left; in remove_node_by_token()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_buddy.c | 196 block->left = i915_block_alloc(block, block_order, offset); in split_block() 197 if (!block->left) in split_block() 203 i915_block_free(block->left); in split_block() 207 mark_free(mm, block->left); in split_block() 224 if (parent->left == block) in get_buddy() 227 return parent->left; in get_buddy() 306 block = block->left; in i915_buddy_alloc() 407 list_add(&block->left->tmp_link, &dfs); in i915_buddy_alloc_range()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_rpf.c | 68 unsigned int left = 0; in rpf_configure_stream() local 120 left = compose->left; in rpf_configure_stream() 128 (left << VI6_RPF_LOC_HCOORD_SHIFT) | in rpf_configure_stream() 257 * rectangle top left corner in the plane buffer. Only two in rpf_configure_partition() 270 * matching the expected partition window. Only 'left' and in rpf_configure_partition() 275 crop.left += pipe->partition->rpf.left; in rpf_configure_partition() 291 + crop.left * fmtinfo->bpp[0] / 8; in rpf_configure_partition() 298 + crop.left / fmtinf in rpf_configure_partition() [all...] |
/kernel/linux/linux-6.6/drivers/accesstokenid/ |
H A D | access_tokenid.c | 135 if (current_node->left == NULL) { in add_node_to_left_tree_tail() 136 current_node->left = node; in add_node_to_left_tree_tail() 139 current_node = current_node->left; in add_node_to_left_tree_tail() 156 current_node = current_node->left; in find_node_by_token() 179 parent_node->left = node; in add_node_to_tree() 201 new_node_addr = &(parent_node->left); in remove_node_by_token() 207 add_node_to_left_tree_tail(target_node->right, target_node->left); in remove_node_by_token() 209 *new_node_addr = target_node->left; in remove_node_by_token()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 68 unsigned int left = 0; in rpf_configure_stream() local 172 left = compose->left; in rpf_configure_stream() 180 (left << VI6_RPF_LOC_HCOORD_SHIFT) | in rpf_configure_stream() 309 * rectangle top left corner in the plane buffer. Only two in rpf_configure_partition() 322 * matching the expected partition window. Only 'left' and in rpf_configure_partition() 327 crop.left += pipe->partition->rpf.left; in rpf_configure_partition() 343 + crop.left * fmtinfo->bpp[0] / 8; in rpf_configure_partition() 350 + crop.left / fmtinf in rpf_configure_partition() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | expr.y | 43 %left MIN MAX IF 44 %left '|' 45 %left '^' 46 %left '&' 47 %left '<' '>' 48 %left '-' '+' 49 %left '*' '/' '%' 50 %left NEG NOT
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_iter.c | 58 size_t left; in read_from_cgroup_iter() local 76 left = ARRAY_SIZE(buf); in read_from_cgroup_iter() 78 while ((len = read(iter_fd, p, left)) > 0) { in read_from_cgroup_iter() 80 left -= len; in read_from_cgroup_iter() 200 size_t left; in test_walk_dead_self_only() local 245 left = ARRAY_SIZE(buf); in test_walk_dead_self_only() 247 while ((len = read(iter_fd, p, left)) > 0) { in test_walk_dead_self_only() 249 left -= len; in test_walk_dead_self_only()
|
/third_party/libevdev/tools/ |
H A D | touchpad-edge-detector.c | 39 int top, bottom, left, right; member 62 d->left, d->right, d->top, d->bottom, status); in print_current_values() 77 d->left = min(d->left, ev->value); in handle_event() 173 w = dim->right - dim->left; in print_udev_override_rule() 207 dim->left, dim->right, xres, in print_udev_override_rule() 212 dim->left, dim->right, xres, in print_udev_override_rule() 269 dim.left = INT_MAX; in main()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_uio.rs | 33 let left = to_write.len() - consumed; in test_writev() 34 let slice_len = if left <= 64 { in test_writev() 35 left in test_writev() 37 thread_rng().gen_range(64..cmp::min(256, left)) in test_writev() 74 let left = to_write.len() - allocated; in test_readv() 75 let vec_len = if left <= 64 { in test_readv() 76 left in test_readv() 78 thread_rng().gen_range(64..cmp::min(256, left)) in test_readv()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | vsxxxaa.c | 200 int left, middle, right; in vsxxxaa_handle_REL_packet() local 230 left = buf[0] & 0x04; in vsxxxaa_handle_REL_packet() 238 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet() 243 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet() 256 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 280 left = buf[0] & 0x02; in vsxxxaa_handle_ABS_packet() 289 left ? "L" : "l", middle ? "M" : "m", in vsxxxaa_handle_ABS_packet() 295 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet() 308 int left, middle, right; in vsxxxaa_handle_POR_packet() local 339 left in vsxxxaa_handle_POR_packet() [all...] |
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-bufmap.c | 83 long left = slot_timeout_secs * HZ; in wait_for_free() local 87 long n = left, t; in wait_for_free() 104 if (unlikely(!t) && n != left && m->c < 0) in wait_for_free() 105 left = t; in wait_for_free() 107 left = t + (left - n); in wait_for_free() 109 left = -EINTR; in wait_for_free() 110 } while (left > 0); in wait_for_free() 114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free() 118 if (likely(left > in wait_for_free() [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-bufmap.c | 83 long left = slot_timeout_secs * HZ; in wait_for_free() local 87 long n = left, t; in wait_for_free() 104 if (unlikely(!t) && n != left && m->c < 0) in wait_for_free() 105 left = t; in wait_for_free() 107 left = t + (left - n); in wait_for_free() 109 left = -EINTR; in wait_for_free() 110 } while (left > 0); in wait_for_free() 114 else if (left <= 0 && waitqueue_active(&m->q)) in wait_for_free() 118 if (likely(left > in wait_for_free() [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | vsxxxaa.c | 197 int left, middle, right; in vsxxxaa_handle_REL_packet() local 227 left = buf[0] & 0x04; in vsxxxaa_handle_REL_packet() 235 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet() 240 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet() 253 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 277 left = buf[0] & 0x02; in vsxxxaa_handle_ABS_packet() 286 left ? "L" : "l", middle ? "M" : "m", in vsxxxaa_handle_ABS_packet() 292 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet() 305 int left, middle, right; in vsxxxaa_handle_POR_packet() local 336 left in vsxxxaa_handle_POR_packet() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | ReplaceClipCullDistanceVariable.cpp | 32 TIntermSymbol *left, 103 TIntermTyped *left = node->getLeft()->getAsTyped(); variable 104 if (!left) 111 TIntermSymbol *clipCullDistance = left->getAsSymbolNode(); 203 TIntermBinary *left = in simpleAssignFunc() local 208 return new TIntermBinary(EOpAssign, left, right); in simpleAssignFunc() 225 TIntermBinary *left = in assignFuncWithEnableFlags() local 229 TIntermBinary *assignment = new TIntermBinary(EOpAssign, left, right); in assignFuncWithEnableFlags() 234 new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0, EbpMedium)); in assignFuncWithEnableFlags() 388 TIntermBinary *left in assignANGLEValueToOriginalVariableImpl() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_test.cc | 587 // Build `left` side leaf appending all contained flats to `flats` in TEST_P() 588 CordRepBtree* left = MakeLeaf(3); in TEST_P() local 589 GetLeafEdges(left, flats); in TEST_P() 590 refs.RefIf(first_shared(), left); in TEST_P() local 597 CordRepBtree* tree = use_append ? CordRepBtree::Append(left, right) in TEST_P() 598 : CordRepBtree::Prepend(right, left); in TEST_P() 601 // `tree` contains all flats originally belonging to `left` and `right`. in TEST_P() 613 // Build `left` side tree appending all contained flats to `flats` in TEST_P() 614 CordRepBtree* left = MakeLeaf(CordRepBtree::kMaxCapacity - 2); in TEST_P() local 615 refs.RefIf(first_shared(), left); in TEST_P() local 637 CordRepBtree* left = MakeTree(CordRepBtree::kMaxCapacity * 3); TEST_P() local 639 refs.RefIf(first_shared(), left); TEST_P() local 665 CordRepBtree* left = MakeTree(CordRepBtree::kMaxCapacity * 2 + 2); TEST_P() local 667 refs.RefIf(first_shared(), left); TEST_P() local 693 CordRepBtree* left = MakeTree(CordRepBtree::kMaxCapacity * 3 - 2); TEST_P() local 695 refs.RefIf(first_shared(), left); TEST_P() local 742 CordRepBtree* left = MakeTree(random_leaf_count(), coin_flip(rnd)); TEST() local 746 RefEdgesAt(dist(rnd), refs, left); TEST() local 940 auto* left = MakeConcat(flats[0], flats[1]); TEST_P() local 954 auto* left = MakeConcat(flats[0], flats[1]); TEST_P() local 969 auto* left = MakeConcat(flats[0], flats[1]); TEST_P() local [all...] |
/third_party/skia/docs/examples/ |
H A D | Canvas_drawImageNine.cpp | 13 int left = 0; in REG_FIDDLE() local 18 bitCanvas.drawIRect(SkIRect::MakeLTRB(left, top, right, bottom), paint); in REG_FIDDLE() 22 left = right; in REG_FIDDLE()
|
H A D | Canvas_drawImageNine_2.cpp | 13 int left = 0; in REG_FIDDLE() local 18 bitCanvas.drawIRect(SkIRect::MakeLTRB(left, top, right, bottom), paint); in REG_FIDDLE() 22 left = right; in REG_FIDDLE()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 40 TEST_ASSERT(left->reg == right->reg, \ 43 left->reg, right->reg) 46 TEST_ASSERT(left->reg == right->reg, \ 49 left->reg, right->reg) 52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() argument 60 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs() argument
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-tmff.c | 80 int left, right; /* Rumbling */ in tmff_play() local 99 left = tmff_scale_u16(effect->u.rumble.weak_magnitude, in tmff_play() 106 /* 2-in-1 strong motor is left */ in tmff_play() 108 motor_swap = left; in tmff_play() 109 left = right; in tmff_play() 113 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); in tmff_play() 114 ff_field->value[0] = left; in tmff_play()
|
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-insn-decoder.c | 187 int left; in dump_insn() local 195 left = sizeof(x->out); in dump_insn() 196 n = snprintf(x->out, left, "insn: "); in dump_insn() 197 left -= n; in dump_insn() 199 n += snprintf(x->out + n, left, "%02x ", inbuf[i]); in dump_insn() 200 left -= n; in dump_insn()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 40 TEST_ASSERT(left->reg == right->reg, \ 43 left->reg, right->reg) 46 TEST_ASSERT(left->reg == right->reg, \ 49 left->reg, right->reg) 52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() argument 60 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs() argument
|