| /tools/lib/perf/ |
| A D | lib.c | 13 size_t left = n; in ion() local 15 while (left) { in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 18 write(fd, buf, left); in ion() 25 left -= ret; in ion() 43 size_t left = n; in preadn() local 45 while (left) { in preadn() 46 ssize_t ret = pread(fd, buf, left, offs); in preadn() 53 left -= ret; in preadn()
|
| /tools/testing/selftests/hid/tests/ |
| A D | base_gamepad.py | 64 self.left = (127, 127) 83 left=(None, None), argument 128 left = replace_none_in_tuple(left, self.left) 129 self.left = left 142 self.store_axes("left_stick", gamepad, left) 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 205 left=(None, None), argument 229 left=left,
|
| A D | test_mouse.py | 38 self.left = False 55 left, right, middle = buttons 56 if left is not None: 57 self.left = left 62 left = self.left 79 mouse.b1 = int(left) 144 left, right, middle = buttons 145 if left is None: 146 left = self.left 152 left = self.left [all …]
|
| A D | test_gamepad.py | 125 r = uhdev.event(left=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 D | sort.c | 528 if (!left->srcline) in sort__srcline_collapse() 529 left->srcline = hist_entry__srcline(left); in sort__srcline_collapse() 847 if (!left->srcfile) in sort__srcfile_collapse() 848 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_collapse() 1140 left->trace_output = get_trace_output(left); in sort__trace_cmp() 1534 if (left->mem_info) in sort__daddr_cmp() 1560 if (left->mem_info) in sort__iaddr_cmp() 1587 if (left->mem_info) in sort__dso_daddr_cmp() 1612 if (left->mem_info) in sort__locked_cmp() 1640 if (left->mem_info) in sort__tlb_cmp() [all …]
|
| A D | expr.y | 45 %left MIN MAX IF 46 %left '|' 47 %left '^' 48 %left '&' 49 %left '<' '>' 50 %left '-' '+' 51 %left '*' '/' '%' 52 %left NEG NOT
|
| A D | sort.h | 153 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 D | block-info.h | 55 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right); 58 struct hist_entry *left, struct hist_entry *right);
|
| A D | block-info.c | 72 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() argument 74 struct block_info *bi_l = left->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() 225 struct hist_entry *left, in block_total_cycles_pct_sort() argument 229 struct block_info *bi_l = left->block_info; in block_total_cycles_pct_sort()
|
| /tools/testing/selftests/kvm/lib/ |
| A D | sparsebit.c | 170 struct node *left; member 209 for (nodep = s->root; nodep && nodep->left; nodep = nodep->left) in node_first() 228 for (nodep = nodep->right; nodep->left; nodep = nodep->left) in node_next() 255 if (nodep->left) { in node_prev() 292 if (subtree->left) { in node_copy_subtree() 293 root->left = node_copy_subtree(subtree->left); in node_copy_subtree() 424 for (tmp = nodep->right; tmp->left; tmp = tmp->left) in node_rm() 426 tmp->left = nodep->left; in node_rm() 432 if (nodep->left) { in node_rm() 439 nodep->parent->left = nodep->left; in node_rm() [all …]
|
| /tools/verification/rvgen/rvgen/ |
| A D | ltl2ba.py | 142 def __init__(self, left: ASTNode, right: ASTNode): 143 self.left = left 147 return hash((self.left, self.right)) 150 yield from self.left 163 if self.left.op.is_temporal(): 180 return OrOp(self.left.negate(), self.right.negate()) 204 return AndOp(self.left.negate(), self.right.negate()) 216 node.new | ({n.op.left} - node.old), 230 return VOp(self.left.negate(), self.right.negate()) 272 return OrOp(self.left.negate(), self.right) [all …]
|
| A D | ltl2k.py | 116 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 D | sync_regs_test.c | 38 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/testing/selftests/bpf/prog_tests/ |
| A D | cgroup_iter.c | 59 size_t left; in read_from_cgroup_iter() local 77 left = ARRAY_SIZE(buf); in read_from_cgroup_iter() 79 while ((len = read(iter_fd, p, left)) > 0) { in read_from_cgroup_iter() 81 left -= len; in read_from_cgroup_iter() 201 size_t left; in test_walk_dead_self_only() local 246 left = ARRAY_SIZE(buf); in test_walk_dead_self_only() 248 while ((len = read(iter_fd, p, left)) > 0) { in test_walk_dead_self_only() 250 left -= len; in test_walk_dead_self_only()
|
| /tools/perf/ |
| A D | builtin-diff.c | 553 bool pairs_left = hist_entry__has_pairs(left); in block_cycles_diff_cmp() 560 l = llabs(left->diff.cycles); in block_cycles_diff_cmp() 568 return block_cycles_diff_cmp(right, left); in block_sort() 753 double l = left->diff.period_ratio_delta; in __hist_entry__cmp_compute() 767 double l = left->diff.period_ratio; in __hist_entry__cmp_compute() 774 s64 l = left->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() 841 return left->dummy ? 1 : -1; in hist_entry__cmp_compute_idx() 849 struct hist_entry *left __maybe_unused, in hist_entry__cmp_nop() [all …]
|
| A D | builtin-c2c.c | 506 return sort__dcacheline_cmp(left, right); in dcacheline_cmp() 566 if (left->mem_info) in offset_cmp() 593 return sort__iaddr_cmp(left, right); in iaddr_cmp() 942 per_left = PERCENT(left, rmt_hitm); in percent_rmt_hitm_cmp() 973 per_left = PERCENT(left, lcl_hitm); in percent_lcl_hitm_cmp() 1004 per_left = PERCENT(left, lcl_peer); in percent_lcl_peer_cmp() 1035 per_left = PERCENT(left, rmt_peer); in percent_rmt_peer_cmp() 1066 per_left = PERCENT(left, st_l1hit); in percent_stores_l1hit_cmp() 1097 per_left = PERCENT(left, st_l1miss); in percent_stores_l1miss_cmp() 1128 per_left = PERCENT(left, st_na); in percent_stores_na_cmp() [all …]
|
| /tools/perf/util/intel-pt-decoder/ |
| A D | intel-pt-insn-decoder.c | 223 int left; in dump_insn() local 232 left = sizeof(x->out); in dump_insn() 233 n = snprintf(x->out, left, "insn: "); in dump_insn() 234 left -= n; in dump_insn() 236 n += snprintf(x->out + n, left, "%02x ", inbuf[i]); in dump_insn() 237 left -= n; in dump_insn()
|
| /tools/testing/selftests/kvm/ |
| A D | pre_fault_memory_test.c | 34 u64 left) in pre_fault_memory() argument 54 TEST_ASSERT(range.size == left, in pre_fault_memory() 56 range.size, left); in pre_fault_memory() 58 if (left == 0) in pre_fault_memory()
|
| /tools/include/linux/ |
| A D | interval_tree_generic.h | 89 ITSTRUCT *left = rb_entry(node->ITRB.rb_left, \ 91 if (start <= left->ITSUBTREE) { \ 100 node = left; \
|
| /tools/testing/selftests/net/tcp_ao/ |
| A D | rst.c | 198 fd_set left; in test_wait_fds() local 202 FD_ZERO(&left); in test_wait_fds() 204 FD_SET(sk[i], &left); in test_wait_fds() 220 if (!FD_ISSET(sk[i], &left)) in test_wait_fds() 243 FD_CLR(sk[i], &left); in test_wait_fds() 248 FD_CLR(sk[i], &left); in test_wait_fds()
|
| /tools/build/tests/ex/empty2/ |
| A D | README | 1 This directory is left intentionally without Build file
|
| /tools/testing/selftests/kvm/x86/ |
| A D | sync_regs_test.c | 45 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 77 static void compare_vcpu_events(struct kvm_vcpu_events *left, in compare_vcpu_events() argument
|
| /tools/mm/ |
| A D | slabinfo-gnuplot.sh | 92 set key left above Left title reverse 131 set key left above Left title reverse
|
| /tools/testing/selftests/net/ |
| A D | tls.c | 1280 left > 16384 ? 16384 : left, 0); in TEST_F() 1283 left -= res; in TEST_F() 1296 left > 16384 ? 16384 : left, 0); in TEST_F() 1299 left -= res; in TEST_F() 1334 left > 16384 ? 16384 : left, 0); in TEST_F() 1342 left -= res; in TEST_F() 1358 left > 16384 ? 16384 : left, 0); in TEST_F() 1366 left -= res; in TEST_F() 1425 left > sizeof(rb) ? sizeof(rb) : left, 0); in test_mutliproc() 1439 left > file_sz ? file_sz : left); in test_mutliproc() [all …]
|
| A D | udpgso_bench_tx.c | 331 unsigned int off = 0, left; in send_udp_sendmmsg() local 348 left = cfg_payload_len; in send_udp_sendmmsg() 349 while (left) { in send_udp_sendmmsg() 354 iov[i].iov_len = cfg_mss < left ? cfg_mss : left; in send_udp_sendmmsg() 367 left -= iov[i].iov_len; in send_udp_sendmmsg()
|