/tools/testing/selftests/net/ |
D | fib_rule_tests.sh | 102 local match="$1" 105 $IP -6 rule add $match table $RTABLE 109 fib_rule6_del_by_pref "$match" 110 log_test $? 0 "rule6 del by pref: $match" 118 match="oif $DEV" 119 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table" 121 match="from $SRC_IP6 iif $DEV" 122 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table" 124 match="tos 0x10" 125 fib_rule6_test_match_n_redirect "$match" "$match" "tos redirect to table" [all …]
|
/tools/testing/kunit/ |
D | kunit_parser.py | 101 while lines and not TAP_ENTRIES.match(lines[0]): 105 while lines and not TAP_ENTRIES.match(lines[0]): 121 match = OK_NOT_OK_SUBTEST.match(line) 122 while not match and lines: 124 match = OK_NOT_OK_SUBTEST.match(line) 125 if match: 127 test_case.name = match.group(2) 130 if match.group(1) == 'ok': 146 match = SUBTEST_DIAGNOSTIC.match(line) 147 if match: [all …]
|
D | kunit_config.py | 70 match = config_matcher.match(line) 71 if match: 72 entry = KconfigEntry(match.group(1), match.group(2)) 76 empty_match = is_not_set_matcher.match(line)
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tar.h | 32 int match = 1; in validate_tar_registers() local 35 match = 0; in validate_tar_registers() 38 match = 0; in validate_tar_registers() 41 match = 0; in validate_tar_registers() 43 if (!match) in validate_tar_registers()
|
/tools/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ext, evexonly_expr)) [all …]
|
/tools/perf/arch/arm/annotate/ |
D | instructions.c | 17 regmatch_t match[2]; in arm__associate_instruction_ops() local 19 if (!regexec(&arm->call_insn, name, 2, match, 0)) in arm__associate_instruction_ops() 21 else if (!regexec(&arm->jump_insn, name, 2, match, 0)) in arm__associate_instruction_ops()
|
/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-trace-marker-snapshot.tc | 22 match=`echo $line | sed -e "s/>$x<//"` 23 if [ "$line" = "$match" ]; then
|
/tools/perf/arch/x86/util/ |
D | header.c | 104 int match; in strcmp_cpuid_str() local 124 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str() 126 if (match) { in strcmp_cpuid_str()
|
/tools/perf/arch/x86/tests/ |
D | gen-insn-x86-dat.awk | 31 first_pos = match(useful_line, "[0-9a-fA-F]") 37 if (match($i, "^[0-9a-fA-F][0-9a-fA-F]$")) {
|
/tools/perf/arch/arm64/annotate/ |
D | instructions.c | 73 regmatch_t match[2]; in arm64__associate_instruction_ops() local 75 if (!regexec(&arm->jump_insn, name, 2, match, 0)) in arm64__associate_instruction_ops() 77 else if (!regexec(&arm->call_insn, name, 2, match, 0)) in arm64__associate_instruction_ops()
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
D | modify_srcu.awk | 142 if (match($0, FS) > 0) { 171 if (match($0, "^(" FS ")+") > 0) { 245 match(old_record, "^"name"("FS")+="); 296 if (match($0, /^smp_mb[[:space:]();\/*]*[[:alnum:]]/)) {
|
/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/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-sqlite-report | 7 if expr match "$i" "-" > /dev/null ; then
|
D | export-to-postgresql-report | 7 if expr match "$i" "-" > /dev/null ; then
|
/tools/power/pm-graph/ |
D | sleepgraph.py | 390 m = re.match('(?P<name>.*)_dmesg\.txt.*', self.dmesgfile) 394 m = re.match('(?P<name>.*)_ftrace\.txt.*', self.ftracefile) 429 if re.match('^processor[ \t]*:[ \t]*[0-9]*', line): 434 m = re.match('^MemTotal:[ \t]*(?P<sz>[0-9]*) *kB', line) 437 m = re.match('^MemFree:[ \t]*(?P<sz>[0-9]*) *kB', line) 500 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 514 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 597 m = re.match('.* '+arg+'=(?P<arg>.*) ', data); 601 m = re.match('.* '+arg+'=(?P<arg>.*)', data); 930 m = re.match(tp.ftrace_line_fmt, line) [all …]
|
/tools/perf/tests/ |
D | attr.py | 238 match = {} 269 match[exp_name] = exp_list 279 for res_name in match[exp_name]: 281 if res_group not in match[group]: 285 (exp_name, str(match[group])))
|
/tools/perf/util/ |
D | callchain.c | 713 enum match_result match = MATCH_ERROR; in match_chain() local 717 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain() 718 if (match != MATCH_ERROR) in match_chain() 731 match = match_chain_strings(cnode->ms.sym->name, in match_chain() 733 if (match != MATCH_ERROR) in match_chain() 736 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain() 745 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain() 749 if (match == MATCH_EQ && node->branch) { in match_chain() 780 return match; in match_chain() 1620 enum match_result match; in chain_match() local [all …]
|
D | PERF-VERSION-GEN | 21 TAG=$(git describe --abbrev=0 --match "v[0-9].[0-9]*" 2>/dev/null )
|
/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 9 const char *match; member 634 if (!m.match) in do_test_single() 645 m.line, m.match); in do_test_single() 650 if (!strstr(line_ptr, m.match)) { in do_test_single() 652 m.line, m.match); in do_test_single()
|
/tools/hv/ |
D | hv_vss_daemon.c | 115 char match[] = "/dev/"; in vss_operate() local 140 if (strncmp(ent->mnt_fsname, match, strlen(match))) in vss_operate()
|