Home
last modified time | relevance | path

Searched refs:left (Results 451 - 475 of 3486) sorted by relevance

1...<<11121314151617181920>>...140

/third_party/rust/crates/nix/test/sys/
H A Dtest_uio.rs33 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 Dvsxxxaa.c200 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...]
H A Dgpio_mouse.c21 * @left: GPIO line for left value.
23 * @bleft: GPIO line for left button.
35 struct gpio_desc *left; member
61 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left); in gpio_mouse_scan()
94 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN); in gpio_mouse_probe()
95 if (IS_ERR(gmouse->left)) in gpio_mouse_probe()
96 return PTR_ERR(gmouse->left); in gpio_mouse_probe()
101 gmouse->bleft = devm_gpiod_get_optional(dev, "button-left", GPIOD_I in gpio_mouse_probe()
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dorangefs-bufmap.c83 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 Dorangefs-bufmap.c83 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 Dvsxxxaa.c197 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...]
H A Dgpio_mouse.c21 * @left: GPIO line for left value.
23 * @bleft: GPIO line for left button.
35 struct gpio_desc *left; member
61 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left); in gpio_mouse_scan()
94 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN); in gpio_mouse_probe()
95 if (IS_ERR(gmouse->left)) in gpio_mouse_probe()
96 return PTR_ERR(gmouse->left); in gpio_mouse_probe()
101 gmouse->bleft = devm_gpiod_get_optional(dev, "button-left", GPIOD_I in gpio_mouse_probe()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DReplaceClipCullDistanceVariable.cpp32 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/docs/examples/
H A DCanvas_drawImageNine.cpp13 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 DCanvas_drawImageNine_2.cpp13 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()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_test.cc587 // 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...]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c40 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 Dhid-tmff.c80 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 Dintel-pt-insn-decoder.c187 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 Dsync_regs_test.c40 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-6.6/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-insn-decoder.c216 int left; in dump_insn() local
225 left = sizeof(x->out); in dump_insn()
226 n = snprintf(x->out, left, "insn: "); in dump_insn()
227 left -= n; in dump_insn()
229 n += snprintf(x->out + n, left, "%02x ", inbuf[i]); in dump_insn()
230 left -= n; in dump_insn()
/third_party/gn/src/gn/
H A Dparser.h60 std::unique_ptr<ParseNode> BinaryOperator(std::unique_ptr<ParseNode> left,
62 std::unique_ptr<ParseNode> IdentifierOrCall(std::unique_ptr<ParseNode> left,
64 std::unique_ptr<ParseNode> Assignment(std::unique_ptr<ParseNode> left,
66 std::unique_ptr<ParseNode> Subscript(std::unique_ptr<ParseNode> left,
68 std::unique_ptr<ParseNode> DotOperator(std::unique_ptr<ParseNode> left,
142 Parser::*)(std::unique_ptr<ParseNode> left, const Token& token);
/third_party/mbedtls/programs/test/
H A Dmetatest.c87 int left = 20; in meta_test_not_equal() local
92 TEST_EQUAL(left, right); in meta_test_not_equal()
99 int left = 20; in meta_test_not_le_s() local
104 TEST_LE_S(left, right); in meta_test_not_le_s()
111 size_t left = 20; in meta_test_not_le_u() local
116 TEST_LE_U(left, right); in meta_test_not_le_u()
/third_party/node/deps/openssl/openssl/crypto/siphash/
H A Dsiphash.c143 int left; in SipHash_Update() local
175 left = inlen & (SIPHASH_BLOCK_SIZE-1); /* gets put into leavings */ in SipHash_Update()
176 end = in + inlen - left; in SipHash_Update()
187 if (left) in SipHash_Update()
188 memcpy(ctx->leavings, end, left); in SipHash_Update()
189 ctx->len = left; in SipHash_Update()
/third_party/openssl/crypto/siphash/
H A Dsiphash.c143 int left; in SipHash_Update() local
175 left = inlen & (SIPHASH_BLOCK_SIZE-1); /* gets put into leavings */ in SipHash_Update()
176 end = in + inlen - left; in SipHash_Update()
187 if (left) in SipHash_Update()
188 memcpy(ctx->leavings, end, left); in SipHash_Update()
189 ctx->len = left; in SipHash_Update()
/third_party/skia/third_party/externals/dawn/src/include/dawn/
H A DEnumClassBitmasks.h82 constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator|(T1 left, T2 right) { in operator |() argument
85 return static_cast<Integral>(LowerBitmask<T1>::Lower(left)) | in operator |()
93 constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator&(T1 left, T2 right) { in operator &() argument
96 return static_cast<Integral>(LowerBitmask<T1>::Lower(left)) & in operator &()
104 constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator^(T1 left, T2 right) { in operator ^() argument
107 return static_cast<Integral>(LowerBitmask<T1>::Lower(left)) ^ in operator ^()
/third_party/python/Modules/_sqlite/
H A Drow.c100 equal_ignore_case(PyObject *left, PyObject *right) in equal_ignore_case() argument
102 int eq = PyObject_RichCompareBool(left, right, Py_EQ); in equal_ignore_case()
106 if (!PyUnicode_Check(left) || !PyUnicode_Check(right)) { in equal_ignore_case()
109 if (!PyUnicode_IS_ASCII(left) || !PyUnicode_IS_ASCII(right)) { in equal_ignore_case()
113 Py_ssize_t len = PyUnicode_GET_LENGTH(left); in equal_ignore_case()
117 const Py_UCS1 *p1 = PyUnicode_1BYTE_DATA(left); in equal_ignore_case()
/third_party/skia/include/core/
H A DSkStringView.h161 SK_API bool operator==(string_view left, string_view right);
163 SK_API bool operator!=(string_view left, string_view right);
165 SK_API bool operator<(string_view left, string_view right);
167 SK_API bool operator<=(string_view left, string_view right);
169 SK_API bool operator>(string_view left, string_view right);
171 SK_API bool operator>=(string_view left, string_view right);
/kernel/linux/linux-5.10/arch/nds32/lib/
H A Dmemmove.S35 addi $p1, $p1, #-1 ! How many words left to copy
38 beqz $r2, end_memcpy ! No left bytes to copy
50 addi $p1, $p1, #-1 ! How many words left to copy
53 beqz $r2, end_memcpy ! No left bytes to copy
60 addi $r2, $r2, #-1 ! How many bytes left to copy
/kernel/liteos_m/kal/posix/src/
H A Dpoll.c161 INT32 left, last; in PollTimedWait() local
169 left = timeout; in PollTimedWait()
176 } else if (left <= 0) { in PollTimedWait()
185 left = timeout - last; in PollTimedWait()
188 ret = WaitSemTime(table, left); in PollTimedWait()

Completed in 15 milliseconds

1...<<11121314151617181920>>...140