Home
last modified time | relevance | path

Searched full:pattern (Results 1 – 10 of 10) sorted by relevance

/kvm-unit-tests/arm/
H A Dgic.c355 static bool test_ro_pattern_32(void *address, u32 pattern, u32 orig) in test_ro_pattern_32() argument
359 writel(pattern, address); in test_ro_pattern_32()
370 u32 orig, pattern; in test_readonly_32() local
376 pattern = 0xffffffff; in test_readonly_32()
377 if (orig != pattern) { in test_readonly_32()
378 if (!test_ro_pattern_32(address, pattern, orig)) in test_readonly_32()
382 pattern = 0xa5a55a5a; in test_readonly_32()
383 if (orig != pattern) { in test_readonly_32()
384 if (!test_ro_pattern_32(address, pattern, orig)) in test_readonly_32()
388 pattern = 0; in test_readonly_32()
[all …]
/kvm-unit-tests/lib/
H A Dstring.c301 /* Very simple glob matching. Allows '*' at beginning and end of pattern. */
302 bool simple_glob(const char *text, const char *pattern) in simple_glob() argument
306 size_t n = strlen(pattern); in simple_glob()
309 if (pattern[0] == '*') { in simple_glob()
310 pattern += 1; in simple_glob()
315 strcpy(copy, pattern); in simple_glob()
317 if (n > 0 && pattern[n - 1] == '*') { in simple_glob()
H A Dlibcflat.h120 bool simple_glob(const char *text, const char *pattern);
/kvm-unit-tests/
H A DMAINTAINERS37 One pattern per line. Multiple F: lines acceptable.
44 K: Keyword perl extended regex pattern to match content in a
51 One regex pattern per line. Multiple K: lines acceptable.
/kvm-unit-tests/s390x/
H A Dmvpg.c32 /* Used to generate the simple pattern */
57 * Initialize a page with a simple pattern
68 * Check if the given page contains the simple pattern
H A Dmigration-skey.c50 * Set storage key test pattern on pagebuf with a seed for the storage keys.
/kvm-unit-tests/scripts/
H A Dget_maintainer.pl256 'pattern-depth=i' => \$pattern_depth,
340 ##Filename pattern matching
345 ##if pattern is a directory and it lacks a trailing slash, add one
691 print("$x->{file}:$x->{linenr}: warning: section without file pattern\t$x->{line}\n");
700 ## Filename pattern matching
706 ##if pattern is a directory and it lacks a trailing slash, add one
981 my ($file, $pattern) = @_;
982 if (substr($pattern, -1) eq "/") {
983 if ($file =~ m@^$pattern@) {
987 if ($file =~ m@^$pattern@) {
[all …]
H A Dkernel-doc2366 my $pattern = $highlights[$k][0];
2368 # print STDERR "scanning pattern:$pattern, highlight:($result)\n";
2369 $dohighlight .= "\$contents =~ s:$pattern:$result:gs;\n";
H A Dcheckpatch.pl832 #Create a search pattern for all these functions to speed up a loop below
857 #Create a search pattern for all these strings to speed up a loop below
892 #Create a search pattern for all these strings to speed up a loop below
/kvm-unit-tests/lib/x86/
H A Dprocessor.h19 * Get a linear address by combining @addr with a non-canonical pattern in the