Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 64) sorted by relevance

123

/tools/testing/selftests/net/
Dfib_rule_tests.sh102 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/
Dkunit_parser.py101 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 …]
Dkunit_config.py70 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/
Dptrace-tar.h32 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/
Dgen-insn-attr-x86.awk245 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/
Dinstructions.c17 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/
Dtrigger-trace-marker-snapshot.tc22 match=`echo $line | sed -e "s/>$x<//"`
23 if [ "$line" = "$match" ]; then
/tools/perf/arch/x86/util/
Dheader.c104 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/
Dgen-insn-x86-dat.awk31 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/
Dinstructions.c73 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/
Dmodify_srcu.awk142 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/
Dfailed-syscalls-report5 if ! expr match "$1" "-" > /dev/null ; then
Drwtop-report7 if expr match "$i" "-" > /dev/null ; then
/tools/perf/scripts/python/bin/
Dsyscall-counts-report5 if ! expr match "$1" "-" > /dev/null ; then
Dsyscall-counts-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
Dfailed-syscalls-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
Dsctop-report7 if expr match "$i" "-" > /dev/null ; then
Dexport-to-sqlite-report7 if expr match "$i" "-" > /dev/null ; then
Dexport-to-postgresql-report7 if expr match "$i" "-" > /dev/null ; then
/tools/power/pm-graph/
Dsleepgraph.py390 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/
Dattr.py238 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/
Dcallchain.c713 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 …]
DPERF-VERSION-GEN21 TAG=$(git describe --abbrev=0 --match "v[0-9].[0-9]*" 2>/dev/null )
/tools/testing/selftests/bpf/prog_tests/
Dalign.c9 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/
Dhv_vss_daemon.c115 char match[] = "/dev/"; in vss_operate() local
140 if (strncmp(ent->mnt_fsname, match, strlen(match))) in vss_operate()

123