Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 52) sorted by relevance

123

/tools/testing/selftests/hid/tests/
A Dbase_gamepad.py65 self.right = (127, 127)
84 right=(None, None), argument
126 right = replace_none_in_tuple(right, self.right)
127 self.right = right
143 self.store_axes("right_stick", gamepad, right)
150 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument
165 left=left, right=right, hat_switch=hat_switch, buttons=buttons
206 right=(None, None), argument
230 right=right,
A Dtest_mouse.py39 self.right = False
55 left, right, middle = buttons
58 if right is not None:
59 self.right = right
63 right = self.right
80 mouse.b2 = int(right)
144 left, right, middle = buttons
147 if right is None:
148 right = self.right
153 right = self.right
[all …]
A Dtest_gamepad.py127 r = uhdev.event(right=data)
637 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument
643 left=left, right=right, hat_switch=hat_switch, buttons=buttons
/tools/perf/util/
A Dsort.c530 if (!right->srcline) in sort__srcline_collapse()
531 right->srcline = hist_entry__srcline(right); in sort__srcline_collapse()
849 if (!right->srcfile) in sort__srcfile_collapse()
850 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_collapse()
1142 right->trace_output = get_trace_output(right); in sort__trace_cmp()
1536 if (right->mem_info) in sort__daddr_cmp()
1562 if (right->mem_info) in sort__iaddr_cmp()
1589 if (right->mem_info) in sort__dso_daddr_cmp()
1617 if (right->mem_info) in sort__locked_cmp()
1645 if (right->mem_info) in sort__tlb_cmp()
[all …]
A Dsort.h153 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right);
155 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right);
157 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
A Dblock-info.h55 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right);
58 struct hist_entry *left, struct hist_entry *right);
A Dstrfilter.c181 struct strfilter_node *right, *root; in strfilter__append() local
187 right = strfilter_node__new(rules, &ep); in strfilter__append()
188 if (!right || *ep != '\0') { in strfilter__append()
193 root = strfilter_node__alloc(_or ? OP_or : OP_and, filter->root, right); in strfilter__append()
203 strfilter_node__delete(right); in strfilter__append()
A Dblock-info.c72 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() argument
75 struct block_info *bi_r = right->block_info; in __block_info__cmp()
98 struct hist_entry *left, struct hist_entry *right) in block_info__cmp() argument
100 return __block_info__cmp(left, right); in block_info__cmp()
226 struct hist_entry *right) in block_total_cycles_pct_sort() argument
230 struct block_info *bi_r = right->block_info; in block_total_cycles_pct_sort()
A Dtrace-event-parse.c165 field = find_arg_field(prev_state_field, arg->op.right); in find_arg_field()
197 sym = search_op(prev_state_field, arg->op.right); in search_op()
A Dblock-range.c60 static inline void rb_link_right_of_node(struct rb_node *right, struct rb_node *node) in rb_link_right_of_node() argument
67 rb_link_node(right, node, p); in rb_link_right_of_node()
A Dhist.c1210 struct hist_entry *right) in hist_entry__fast__sym_diff() argument
1213 struct symbol *sym_r = right->ms.sym; in hist_entry__fast__sym_diff()
1216 return left->ip != right->ip; in hist_entry__fast__sym_diff()
1388 struct hist_entry *right, unsigned long fn_offset, in hist_entry__cmp_impl() argument
1401 cmp = (int64_t)!!left->filtered - (int64_t)!!right->filtered; in hist_entry__cmp_impl()
1414 cmp = (*fn)(fmt, left, right); in hist_entry__cmp_impl()
1425 return hist_entry__cmp_impl(left->hists->hpp_list, left, right, in hist_entry__cmp()
1432 return hist_entry__cmp_impl(left->hists->hpp_list, left, right, in hist_entry__sort()
1439 return hist_entry__cmp_impl(left->hists->hpp_list, left, right, in hist_entry__collapse()
1446 struct hist_entry *right) in hist_entry__collapse_hierarchy() argument
[all …]
/tools/testing/selftests/kvm/lib/
A Dsparsebit.c171 struct node *right; member
227 if (nodep->right) { in node_next()
256 for (nodep = nodep->left; nodep->right; nodep = nodep->right) in node_prev()
297 if (subtree->right) { in node_copy_subtree()
298 root->right = node_copy_subtree(subtree->right); in node_copy_subtree()
367 if (!parentp->right) { in node_add()
454 if (nodep->right) { in node_rm()
464 nodep->parent->right = nodep->right; in node_rm()
896 if (nodep->right) in dump_nodes()
1189 nodep = nodep->right; in sparsebit_next_set()
[all …]
/tools/verification/rvgen/rvgen/
A Dltl2ba.py142 def __init__(self, left: ASTNode, right: ASTNode):
144 self.right = right
147 return hash((self.left, self.right))
151 yield from self.right
165 if self.right.op.is_temporal():
180 return OrOp(self.left.negate(), self.right.negate())
204 return AndOp(self.left.negate(), self.right.negate())
220 node.new | ({n.op.right} - node.old),
230 return VOp(self.left.negate(), self.right.negate())
272 return OrOp(self.left.negate(), self.right)
[all …]
A Dltl2k.py116 buf.append("\tbool %s = %s && %s;" % (node, node.op.left, node.op.right))
117 required_values |= {str(node.op.left), str(node.op.right)}
119 buf.append("\tbool %s = %s || %s;" % (node, node.op.left, node.op.right))
120 required_values |= {str(node.op.left), str(node.op.right)}
/tools/testing/selftests/kvm/s390/
A Dsync_regs_test.c38 TEST_ASSERT(left->reg == right->reg, \
41 left->reg, right->reg)
44 TEST_ASSERT(left->reg == right->reg, \
47 left->reg, right->reg)
50 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() argument
58 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs() argument
/tools/perf/
A Dbuiltin-diff.c551 struct hist_entry *right) in block_cycles_diff_cmp() argument
554 bool pairs_right = hist_entry__has_pairs(right); in block_cycles_diff_cmp()
561 r = llabs(right->diff.cycles); in block_cycles_diff_cmp()
568 return block_cycles_diff_cmp(right, left); in block_sort()
754 double r = right->diff.period_ratio_delta; in __hist_entry__cmp_compute()
768 double r = right->diff.period_ratio; in __hist_entry__cmp_compute()
775 s64 r = right->diff.wdiff; in __hist_entry__cmp_compute()
837 if (left->dummy && right->dummy) in hist_entry__cmp_compute_idx()
840 if (left->dummy || right->dummy) in hist_entry__cmp_compute_idx()
850 struct hist_entry *right __maybe_unused) in hist_entry__cmp_nop()
[all …]
A Dbuiltin-c2c.c506 return sort__dcacheline_cmp(left, right); in dcacheline_cmp()
569 if (right->mem_info) in offset_cmp()
593 return sort__iaddr_cmp(left, right); in iaddr_cmp()
943 per_right = PERCENT(right, rmt_hitm); in percent_rmt_hitm_cmp()
974 per_right = PERCENT(right, lcl_hitm); in percent_lcl_hitm_cmp()
1005 per_right = PERCENT(right, lcl_peer); in percent_lcl_peer_cmp()
1036 per_right = PERCENT(right, rmt_peer); in percent_rmt_peer_cmp()
1067 per_right = PERCENT(right, st_l1hit); in percent_stores_l1hit_cmp()
1098 per_right = PERCENT(right, st_l1miss); in percent_stores_l1miss_cmp()
1129 per_right = PERCENT(right, st_na); in percent_stores_na_cmp()
[all …]
/tools/include/linux/
A Dinterval_tree_generic.h165 ITSTRUCT *right = rb_entry(rb, ITSTRUCT, ITRB); \
166 if (start <= right->ITSUBTREE) \
167 return ITPREFIX ## _subtree_search(right, \
/tools/testing/selftests/kvm/x86/
A Dsync_regs_test.c45 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() argument
48 TEST_ASSERT(left->reg == right->reg, \ in compare_regs()
51 left->reg, right->reg) in compare_regs()
73 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs() argument
78 struct kvm_vcpu_events *right) in compare_vcpu_events() argument
/tools/perf/tests/shell/attr/
A Dsystem-wide-dummy17 # Event will be enabled right away.
/tools/testing/selftests/net/packetdrill/
A Dtcp_close_close-on-syn-sent.pkt18 // If a RESET were sent right after close(), it would have failed with
A Dtcp_fast_recovery_prr-ss-30pkt-lost1_4.pkt41 // should be sent right away
A Dtcp_nagle_sendmsg_msg_more.pkt45 // Err... we relase the remaining right after the ACK? note that PUSH is reset
/tools/testing/selftests/bpf/progs/
A Drbtree_search.c197 TEST_LR(right, true)
203 TEST_LR(right, false)
/tools/testing/selftests/exec/
A Dexecveat.c137 static char *concat(const char *left, const char *right) in concat() argument
139 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
142 strcat(result, right); in concat()

Completed in 63 milliseconds

123