/tools/perf/util/ |
D | expr.y | 48 %type <num> expr if_expr 83 expr IF expr ELSE expr { $$ = $3 ? $1 : $5; } 84 | expr 87 expr: NUMBER 99 | expr '|' expr { $$ = (long)$1 | (long)$3; } 100 | expr '&' expr { $$ = (long)$1 & (long)$3; } 101 | expr '^' expr { $$ = (long)$1 ^ (long)$3; } 102 | expr '<' expr { $$ = $1 < $3; } 103 | expr '>' expr { $$ = $1 > $3; } 104 | expr '+' expr { $$ = $1 + $3; } [all …]
|
D | expr.c | 232 __expr__parse(double *val, struct expr_parse_ctx *ctx, const char *expr, in __expr__parse() argument 243 pr_debug2("parsing metric: %s\n", expr); in __expr__parse() 249 buffer = expr__scan_string(expr, scanner); in __expr__parse() 265 const char *expr, int runtime) in expr__parse() argument 267 return __expr__parse(final_val, ctx, expr, EXPR_PARSE, runtime) ? -1 : 0; in expr__parse() 270 int expr__find_other(const char *expr, const char *one, in expr__find_other() argument 273 int ret = __expr__parse(NULL, ctx, expr, EXPR_OTHER, runtime); in expr__find_other()
|
D | Build | 135 perf-y += expr-flex.o 136 perf-y += expr-bison.o 137 perf-y += expr.o 225 $(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-flex.h: util/expr.l $(OUTPUT)util/expr-bison.c 227 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/expr-flex.c \ 228 --header-file=$(OUTPUT)util/expr-flex.h $(PARSER_DEBUG_FLEX) $< 230 $(OUTPUT)util/expr-bison.c $(OUTPUT)util/expr-bison.h: util/expr.y 233 -o $(OUTPUT)util/expr-bison.c -p expr_ 245 FLEX_GE_26 := $(shell expr $(shell $(FLEX) --version | sed -e 's/flex \([0-9]\+\).\([0-9]\+\)/\1\2… 260 BISON_GE_35 := $(shell expr $(shell $(BISON) --version | grep bison | sed -e 's/.\+ \([0-9]\+\).\([… [all …]
|
D | string.c | 222 char *expr = malloc(size); in asprintf_expr_inout_ints() local 224 if (expr) { in asprintf_expr_inout_ints() 226 char *e = expr; in asprintf_expr_inout_ints() 244 return expr; in asprintf_expr_inout_ints() 247 free(expr); in asprintf_expr_inout_ints()
|
D | expr.h | 44 const char *expr, int runtime); 45 int expr__find_other(const char *expr, const char *one,
|
D | metricgroup.c | 84 struct metric_expr *expr, *tmp; in metric_event_delete() local 86 list_for_each_entry_safe(expr, tmp, &me->head, nd) { in metric_event_delete() 87 free(expr->metric_refs); in metric_event_delete() 88 free(expr->metric_events); in metric_event_delete() 89 free(expr); in metric_event_delete() 309 struct metric_expr *expr; in metricgroup__setup_events() local 348 expr = malloc(sizeof(struct metric_expr)); in metricgroup__setup_events() 349 if (!expr) { in metricgroup__setup_events() 366 free(expr); in metricgroup__setup_events() 384 expr->metric_refs = metric_refs; in metricgroup__setup_events() [all …]
|
/tools/debugging/ |
D | kernel-chktaint | 55 if [ `expr $T % 2` -eq 0 ]; then 62 T=`expr $T / 2` 63 if [ `expr $T % 2` -eq 0 ]; then 70 T=`expr $T / 2` 71 if [ `expr $T % 2` -eq 0 ]; then 78 T=`expr $T / 2` 79 if [ `expr $T % 2` -eq 0 ]; then 86 T=`expr $T / 2` 87 if [ `expr $T % 2` -eq 0 ]; then 94 T=`expr $T / 2` [all …]
|
/tools/include/linux/ |
D | build_bug.h | 78 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) argument 79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
|
/tools/testing/selftests/powerpc/include/ |
D | basic_asm.h | 8 #define LOAD_REG_IMMEDIATE(reg, expr) \ argument 9 lis reg, (expr)@highest; \ 10 ori reg, reg, (expr)@higher; \ 12 oris reg, reg, (expr)@high; \ 13 ori reg, reg, (expr)@l;
|
/tools/memory-model/scripts/ |
D | cmplitmushist.sh | 26 perfect=`expr "$perfect" + 1` 37 obsline=`expr "$obsline" + 1` 42 noobsline=`expr "$noobsline" + 1` 51 obsresult=`expr "$obsresult" + 1` 55 badcompare=`expr "$badcompare" + 1`
|
/tools/pci/ |
D | pcitest.sh | 12 bar=`expr $bar + 1` 28 msi=`expr $msi + 1` 38 msix=`expr $msix + 1`
|
/tools/testing/selftests/ftrace/test.d/00basic/ |
D | ringbuffer_size.tc | 9 expr $ORIG / 2 > buffer_size_kb 11 expr $ORIG \* 2 > buffer_size_kb
|
/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | probepoint.tc | 17 PREV=`expr $A1 - $A2` # offset to previous symbol 18 NEXT=+`expr $A3 - $A2` # offset to next symbol
|
/tools/testing/selftests/openat2/ |
D | helpers.h | 89 #define E_assert(expr, msg, ...) \ argument 91 if (!(expr)) \ 93 __FILE__, __LINE__, #expr, ##__VA_ARGS__); \
|
/tools/perf/tests/shell/ |
D | stat_bpf_counters.sh | 14 upper=$(expr $first_num + $first_num / 10 ) 16 lower=$(expr $first_num - $first_num / 10 )
|
/tools/bootconfig/ |
D | test-bootconfig.sh | 63 total_size=$(expr $bconf_size + $initrd_size + 9 + 12 + $ALIGN - 1 ) 64 total_size=$(expr $total_size / $ALIGN) 65 total_size=$(expr $total_size \* $ALIGN)
|
/tools/perf/scripts/python/bin/ |
D | syscall-counts-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
D | syscall-counts-by-pid-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
D | failed-syscalls-by-pid-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
D | sctop-report | 7 if expr match "$i" "-" > /dev/null ; then
|
D | export-to-postgresql-report | 7 if expr match "$i" "-" > /dev/null ; then
|
/tools/perf/scripts/perl/bin/ |
D | failed-syscalls-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
D | rwtop-report | 7 if expr match "$i" "-" > /dev/null ; then
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb_handler.S | 72 #define LOAD_REG_IMMEDIATE(reg,expr) \ argument 73 lis reg,(expr)@highest; \ 74 ori reg,reg,(expr)@higher; \ 76 oris reg,reg,(expr)@h; \ 77 ori reg,reg,(expr)@l;
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-check-branches.sh | 65 ntry=`expr $ntry + 1` 88 nfail=`expr $nfail + 1`
|