Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 256) sorted by relevance

1234567891011

/openbmc/linux/tools/perf/trace/beauty/tracepoints/
H A Dx86_msr.sh17 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x000…
18 grep -E $regex ${x86_msr_index} | grep -E -v 'MSR_(ATOM|P[46]|IA32_(TSC_DEADLINE|UCODE_REV)|IDT_FCR…
19 sed -r "s/$regex/\2 \1/g" | sort -n | \
24 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
26 grep -E $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
28 grep -E $regex ${x86_msr_index} | \
29 sed -r "s/$regex/\2 \1/g" | grep -E -vw 'K6_WHCR' | sort -n | \
33 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
35 grep -E $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
37 grep -E $regex ${x86_msr_index} | \
[all …]
/openbmc/linux/tools/perf/trace/beauty/
H A Dmmap_flags.sh21 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MAP_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)…
23 grep -E -q $regex ${arch_mman} && \
24 (grep -E $regex ${arch_mman} | \
25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
27 grep -E -q $regex ${linux_mman} && \
28 (grep -E $regex ${linux_mman} | \
30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
34 (grep -E $regex ${header_dir}/mman-common.h | \
36 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
40 (grep -E $regex ${header_dir}/mman.h | \
[all …]
H A Dmount_flags.sh7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[:s…
8 grep -E $regex ${header_dir}/mount.h | grep -E -v '(MSK|VERBOSE|MGC_VAL)\>' | \
9 sed -r "s/$regex/\2 \2 \1/g" | sort -n | \
11 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+\(1<<([[:digit:]]+…
12 grep -E $regex ${header_dir}/mount.h | \
13 sed -r "s/$regex/\2 \1/g" | \
H A Dvhost_virtio_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:spa…
8 grep -E $regex ${header_dir}/vhost.h | \
9 sed -r "s/$regex/\2 \1/g" | \
14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:sp…
15 grep -E $regex ${header_dir}/vhost.h | \
16 sed -r "s/$regex/\2 \1/g" | \
H A Dprctl_option.sh7 regex='^#define[[:space:]]{1}PR_(\w+)[[:space:]]*([[:xdigit:]]+)([[:space:]]*\/.*)?$'
8 grep -E $regex ${header_dir}/prctl.h | grep -v PR_SET_PTRACER | \
9 sed -r "s/$regex/\2 \1/g" | \
14 regex='^#[[:space:]]+define[[:space:]]+PR_SET_MM_(\w+)[[:space:]]*([[:digit:]]+).*'
15 grep -E $regex ${header_dir}/prctl.h | \
16 sed -r "s/$regex/\2 \1/g" | \
H A Dusbdevfs_ioctl.sh10 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:…
11 grep -E "$regex" ${header_dir}/usbdevice_fs.h | grep -E -v 'USBDEVFS_\w+32[[:space:]]' | \
12 sed -r "s/$regex/\4 \1/g" | \
17 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)[[:space:]]+_IO[WR]{0,2}\([[:space:]]*'U'[[:sp…
18 grep -E $regex ${header_dir}/usbdevice_fs.h | grep -E 'USBDEVFS_\w+32[[:space:]]' | \
19 sed -r "s/$regex/\2 \1/g" | \
H A Dmmap_prot.sh19 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdig…
22 (grep -E $regex ${common_mman} | \
24 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
26 test -f ${arch_mman} && grep -E -q $regex ${arch_mman} &&
27 (grep -E $regex ${arch_mman} | \
29 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
H A Drename_flags.sh10 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+RENAME_([[:alnum:]_]+)[[:space:]]+\(1[[:space:]]…
11 grep -E -q $regex ${fs_header} && \
12 (grep -E $regex ${fs_header} | \
13 sed -r "s/$regex/\2 \1/g" | \
H A Dmremap_flags.sh13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MREMAP_([[:alnum:]_]+)[[:space:]]+((0x)?[[:xdigi…
14 grep -E -q $regex ${linux_mman} && \
15 (grep -E $regex ${linux_mman} | \
16 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
H A Dx86_arch_prctl.sh16regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:x…
18 grep -E -q $regex ${prctl_arch_header} && \
19 (grep -E $regex ${prctl_arch_header} | \
20 sed -r "s/$regex/\2 \1/g" | \
H A Dsockaddr.sh18 regex='^#define[[:space:]]+AF_(\w+)[[:space:]]+([[:digit:]]+).*'
20 grep -E $regex ${header_dir}/socket.h | \
21 sed -r "s/$regex/\2 \1/g" | \
H A Dperf_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+PERF_EVENT_IOC_(\w+)[[:space:]]+_IO[RW]*[[:space:]]*\([[:spa…
8 grep -E $regex ${header_dir}/perf_event.h | \
9 sed -r "s/$regex/\2 \1/g" | \
H A Dkvm_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+KVM_(\w+)[[:space:]]+_IO[RW]*\([[:space:]]*KVMIO[[:space:]]*…
8 grep -E $regex ${header_dir}/kvm.h | \
9 sed -r "s/$regex/\2 \1/g" | \
H A Dpkey_alloc_access_rights.sh7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+PKEY_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+…
8 grep -E $regex ${header_dir}/mman-common.h | \
9 sed -r "s/$regex/\2 \2 \1/g" | \
H A Dmadvise_behavior.sh7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MADV_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[…
8 grep -E $regex ${header_dir}/mman-common.h | \
9 sed -r "s/$regex/\2 \1/g" | \
H A Dkcmp_type.sh7 regex='^[[:space:]]+(KCMP_(\w+)),'
8 grep -E $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \
9 sed -r "s/$regex/\1 \2/g" | \
H A Dfadvise.sh7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+POSIX_FADV_(\w+)[[:space:]]+([[:digit:]]+)[[:spa…
9 grep -E $regex ${header_dir}/fadvise.h | \
10 sed -r "s/$regex/\2 \1/g" | \
H A Dsync_file_range.sh13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+SYNC_FILE_RANGE_([[:alnum:]_]+)[[:space:]]+([[:x…
14 grep -E $regex ${linux_fs} | \
15 sed -r "s/$regex/\2 \1/g" | \
H A Dmove_mount_flags.sh13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MOVE_MOUNT_([^_]+[[:alnum:]_]+)[[:space:]]+(0x[[…
14 grep -E $regex ${linux_mount} | \
15 sed -r "s/$regex/\2 \1/g" | \
H A Dfspick.sh13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+FSPICK_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]…
14 grep -E $regex ${linux_mount} | \
15 sed -r "s/$regex/\2 \1/g" | \
/openbmc/u-boot/env/
H A Dattr.c115 char *regex; member
124 char regex[strlen(name) + 3]; in regex_callback() local
127 sprintf(regex, "^%s$", name); in regex_callback()
128 if (slre_compile(&slre, regex)) { in regex_callback()
133 free(cbp->regex); in regex_callback()
138 cbp->regex = malloc(strlen(regex) + 1); in regex_callback()
139 if (cbp->regex) { in regex_callback()
140 strcpy(cbp->regex, regex); in regex_callback()
152 free(cbp->regex); in regex_callback()
153 cbp->regex = NULL; in regex_callback()
[all …]
/openbmc/openbmc-build-scripts/config/
H A D.gitlint61 # [title-match-regex]
62 # python-style regex that the commit-msg title must match
63 # Note that the regex can contradict with other rules if not used correctly
65 # regex=^US[0-9]*
84 # [body-match-regex]
85 # python-style regex that the commit-msg body must match.
87 # regex=My-Commit-Tag: foo$
90 # python-style regex that the commit author email address must match.
91 # For example, use the following regex if you only want to allow email addresses from foo.com
92 # regex=[^@]+@foo.com
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/
H A Dcontext.py33 def _hasPackage(self, manifest, pkg, regex=False): argument
34 if regex:
46 def hasHostPackage(self, pkg, regex=False): argument
47 return self._hasPackage(self.host_pkg_manifest, pkg, regex=regex)
49 def hasTargetPackage(self, pkg, multilib=False, regex=False): argument
52 return self._hasPackage(self.target_pkg_manifest, pkg, regex=regex)
/openbmc/linux/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl94 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) {
119 $regex =~ s/$key=\((.*)\)/$key=$1/;
127 return $regex;
/openbmc/openpower-pnor-code-mgmt/
H A Dmsl_verify.cpp61 std::regex regex{"v-?([0-9]+)\\.([0-9]+)\\.([0-9]+)", std::regex::extended}; in parse() local
63 if (!std::regex_search(versionStr, match, regex)) in parse()
66 std::regex regexShort{"v-?([0-9]+)\\.([0-9]+)", std::regex::extended}; in parse()

1234567891011