Searched refs:cur (Results 1 – 5 of 5) sorted by relevance
/tools/perf/util/ |
D | strfilter.c | 79 struct strfilter_node root, *cur, *last_op; in strfilter_node__new() local 86 last_op = cur = &root; in strfilter_node__new() 92 if (!cur->r || !last_op->r) in strfilter_node__new() 94 cur = strfilter_node__alloc(OP_and, last_op->r, NULL); in strfilter_node__new() 95 if (!cur) in strfilter_node__new() 97 last_op->r = cur; in strfilter_node__new() 98 last_op = cur; in strfilter_node__new() 101 if (!cur->r || !root.r) in strfilter_node__new() 103 cur = strfilter_node__alloc(OP_or, root.r, NULL); in strfilter_node__new() 104 if (!cur) in strfilter_node__new() [all …]
|
D | unwind-libunwind.c | 106 u8 *cur = *p; in __dw_read_encoded_value() local 114 *val = dw_read(cur, unsigned long, end); in __dw_read_encoded_value() 124 *val = (unsigned long) cur; in __dw_read_encoded_value() 135 *val += dw_read(cur, s32, end); in __dw_read_encoded_value() 138 *val += dw_read(cur, u32, end); in __dw_read_encoded_value() 141 *val += dw_read(cur, s64, end); in __dw_read_encoded_value() 144 *val += dw_read(cur, u64, end); in __dw_read_encoded_value() 151 *p = cur; in __dw_read_encoded_value()
|
/tools/perf/ |
D | perf-completion.sh | 70 cur) 71 cur=$cur_ 117 __ltrim_colon_completions $cur 119 __perf__ltrim_colon_completions $cur 155 if [[ $cur == --* ]]; then 160 __perfcomp "$cmds" "$cur" 165 __perfcomp_colon "$evts" "$cur" 171 __perfcomp_colon "$subcmds" "$cur" 174 if [[ $cur == --* ]]; then 179 __perfcomp "$opts" "$cur" [all …]
|
/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 80 static void __print_timestamp(const char *name, struct timespec *cur, in __print_timestamp() argument 83 if (!(cur->tv_sec | cur->tv_nsec)) in __print_timestamp() 87 name, cur->tv_sec, cur->tv_nsec / 1000, in __print_timestamp() 93 cur_ms = (long) cur->tv_sec * 1000 * 1000; in __print_timestamp() 94 cur_ms += cur->tv_nsec / 1000; in __print_timestamp() 102 ts_prev = *cur; in __print_timestamp() 471 struct addrinfo *addrs, *cur; in resolve_hostname() local 477 cur = addrs; in resolve_hostname() 478 while (cur && !have_ipv4 && !have_ipv6) { in resolve_hostname() 479 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname() [all …]
|
/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 278 unsigned int cur, rbot, rtop; in bitmask_displaylist() local 282 rbot = cur = bitmask_first(bmp); in bitmask_displaylist() 283 while (cur < bmp->size) { in bitmask_displaylist() 284 rtop = cur; in bitmask_displaylist() 285 cur = bitmask_next(bmp, cur+1); in bitmask_displaylist() 286 if (cur >= bmp->size || cur > rtop + 1) { in bitmask_displaylist() 288 rbot = cur; in bitmask_displaylist()
|