/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | x86_arch_prctl.sh | 16 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:xdigit:]]+).*' ${prefix}` 18 egrep -q $regex ${prctl_arch_header} && \ 19 (egrep $regex ${prctl_arch_header} | \ 20 sed -r "s/$regex/\2 \1/g" | \
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | x86_arch_prctl.sh | 16 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:xdigit:]]+).*' ${prefix}` 18 grep -E -q $regex ${prctl_arch_header} && \ 19 (grep -E $regex ${prctl_arch_header} | \ 20 sed -r "s/$regex/\2 \1/g" | \
|
/kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 79 # Defaults for dynamically discovered regex's 82 # Dyanically discovered regex 85 # Static regex used. Specified like this for readability and for use with /o 94 my $regex; 98 $regex = $default; 104 $regex = $1; 105 $regex =~ s/%p/\([0-9a-f]*\)/g; 106 $regex =~ s/%d/\([-0-9]*\)/g; 107 $regex =~ s/%lu/\([0-9]*\)/g; 114 foreach $tuple (split /\s/, $regex) { [all...] |
H A D | trace-vmscan-postprocess.pl | 109 # Defaults for dynamically discovered regex's 120 # Dyanically discovered regex 131 # Static regex used. Specified like this for readability and for use with /o 140 my $regex; 152 $regex = $1; 153 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g; 154 $regex =~ s/%p/\([0-9a-f]*\)/g; 155 $regex =~ s/%d/\([-0-9]*\)/g; 156 $regex =~ s/%ld/\([-0-9]*\)/g; 157 $regex [all...] |
/kernel/linux/linux-6.6/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 79 # Defaults for dynamically discovered regex's 82 # Dyanically discovered regex 85 # Static regex used. Specified like this for readability and for use with /o 94 my $regex; 98 $regex = $default; 104 $regex = $1; 105 $regex =~ s/%p/\([0-9a-f]*\)/g; 106 $regex =~ s/%d/\([-0-9]*\)/g; 107 $regex =~ s/%lu/\([0-9]*\)/g; 114 foreach $tuple (split /\s/, $regex) { [all...] |
H A D | trace-vmscan-postprocess.pl | 109 # Defaults for dynamically discovered regex's 120 # Dyanically discovered regex 131 # Static regex used. Specified like this for readability and for use with /o 140 my $regex; 152 $regex = $1; 153 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g; 154 $regex =~ s/%p/\([0-9a-f]*\)/g; 155 $regex =~ s/%d/\([-0-9]*\)/g; 156 $regex =~ s/%ld/\([-0-9]*\)/g; 157 $regex [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_events_filter.c | 710 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string() 723 cmp = pred->regex.match(str, &pred->regex, len); in filter_pchar() 773 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc() 811 cmp = pred->regex.match(current->comm, &pred->regex, in filter_pred_comm() 822 * regex_match_foo - Basic regex callback [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_events_filter.c | 80 struct regex *regex; member 203 kfree(pred->regex); in free_predicate() 842 cmp = pred->regex->match(addr, pred->regex, pred->regex->field_len); in filter_pred_string() 855 cmp = pred->regex->match(str, pred->regex, len); in filter_pchar() 905 cmp = pred->regex->match(addr, pred->regex, str_le in filter_pred_strloc() [all...] |
/kernel/liteos_a/testsuites/unittest/process/fs/smoke/ |
H A D | It_process_fs_009.cpp | 36 #include <regex> 46 std::regex reg("'user:\\[[0-9]+\\]'"); in ItProcessFs009()
|
H A D | It_process_fs_007.cpp | 36 #include <regex> 46 std::regex reg("'uts:\\[[0-9]+\\]'"); in ItProcessFs007()
|
H A D | It_process_fs_008.cpp | 36 #include <regex> 46 std::regex reg("'mnt:\\[[0-9]+\\]'"); in ItProcessFs008()
|
H A D | It_process_fs_010.cpp | 36 #include <regex> 46 std::regex reg("'pid:\\[[0-9]+\\]'"); in ItProcessFs010()
|
H A D | It_process_fs_011.cpp | 36 #include <regex> 46 std::regex reg("'net:\\[[0-9]+\\]'"); in ItProcessFs011()
|
H A D | It_process_fs_022.cpp | 36 #include <regex> 46 std::regex reg("'time:\\[[0-9]+\\]'"); in ItProcessFs022()
|
H A D | It_process_fs_021.cpp | 36 #include <regex> 46 std::regex reg("'ipc:\\[[0-9]+\\]'"); in ItProcessFs021()
|
/kernel/linux/linux-5.10/tools/bpf/ |
H A D | bpf_jit_disasm.c | 25 #include <regex.h> 179 regex_t regex; in get_last_jit_image() local 185 ret = regcomp(®ex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image() 193 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image() 206 regfree(®ex); in get_last_jit_image() 247 regfree(®ex); in get_last_jit_image()
|
/kernel/linux/linux-6.6/tools/bpf/ |
H A D | bpf_jit_disasm.c | 25 #include <regex.h> 182 regex_t regex; in get_last_jit_image() local 188 ret = regcomp(®ex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image() 196 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image() 209 regfree(®ex); in get_last_jit_image() 250 regfree(®ex); in get_last_jit_image()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_net_container_003.cpp | 32 #include <regex> 75 std::regex reg("'net:\\[[0-9]+\\]'"); in ItNetContainer003()
|
/kernel/liteos_a/testsuites/unittest/process/plimits/ |
H A D | It_process_plimits.h | 37 #include <regex> 42 #include <regex>
|
/kernel/linux/build/ |
H A D | kernel_build.py | 55 def report_build_warning(self, filename, regex, details): 66 warning = re.search(regex, line).group(0) 81 def parse_build_warning(self, blocks, regex, title_regex): 96 if not regex in line: 151 for regex, title_regex in patterns: 152 items = self.parse_build_warning(blocks, regex, title_regex)
|
/kernel/linux/linux-5.10/scripts/ |
H A D | tags.sh | 146 # - No regex modifiers 230 regex=() 239 regex[${#regex[@]}]="--regex-$lang=${r}b" 252 regex[${#regex[@]}]="--regex=$r" 275 "${regex[@]}" 279 --langdef=kconfig --language-force=kconfig "${regex[ [all...] |
H A D | checkstack.pl | 23 # TODO : Port to all architectures (one regex per arch) 123 my $regex = qr/.*push.*fp, ip, lr, pc}/o; 127 if ($line_arg =~ m/$regex/) {
|
/kernel/linux/linux-6.6/scripts/ |
H A D | tags.sh | 146 # - No regex modifiers 230 regex=() 239 regex[${#regex[@]}]="--regex-$lang=${r}b" 252 regex[${#regex[@]}]="--regex=$r" 279 "${regex[@]}" 284 KCONFIG_ARGS=(--langdef=kconfig --language-force=kconfig "${regex[ [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | iostat.c | 24 #include <regex.h> 229 regex_t regex; in iio_root_port_parse_str() local 236 regcomp(®ex, "^([a-f0-9A-F]{1,}):([a-f0-9A-F]{1,2})", REG_EXTENDED); in iio_root_port_parse_str() 237 ret = regexec(®ex, str, 0, NULL, 0); in iio_root_port_parse_str() 244 regfree(®ex); in iio_root_port_parse_str()
|
/kernel/linux/linux-6.6/tools/thermal/thermometer/ |
H A D | thermometer.c | 7 #include <regex.h> 47 regex_t regex; member 77 if (!regexec(&config->tz_regex[i].regex, expr, 0, NULL, 0)) in configuration_tz_match() 89 if (regcomp(&config->tz_regex[config->nr_tz_regex].regex, ".*", in configuration_default_init() 162 if (regcomp(&config->tz_regex[config->nr_tz_regex].regex, name, in configuration_init()
|