/aosp12/bionic/tests/ |
H A D | fnmatch_test.cpp | 33 TEST(fnmatch, basic) { in TEST() argument 34 EXPECT_EQ(0, fnmatch("abc", "abc", 0)); in TEST() 38 TEST(fnmatch, casefold) { in TEST() argument 43 TEST(fnmatch, character_class) { in TEST() argument 71 TEST(fnmatch, wild_any) { in TEST() argument 72 EXPECT_EQ(0, fnmatch("ab*", "ab", 0)); in TEST() 73 EXPECT_EQ(0, fnmatch("ab*", "abc", 0)); in TEST() 74 EXPECT_EQ(0, fnmatch("ab*", "abcd", 0)); in TEST() 79 TEST(fnmatch, wild_one) { in TEST() argument 81 EXPECT_EQ(0, fnmatch("ab?", "abc", 0)); in TEST() [all …]
|
/aosp12/system/core/init/ |
H A D | README.ueventd.md | 95 `no_fnm_pathname`, ueventd matches the entry by `fnmatch(entry_path, incoming_path, 0)` 96 2. Otherwise, ueventd matches the entry by `fnmatch(entry_path, incoming_path, FNM_PATHNAME)` 98 See the [man page for fnmatch](https://www.man7.org/linux/man-pages/man3/fnmatch.3.html) for more 135 the rules of the fnmatch() function.
|
H A D | firmware_handler.cpp | 56 return fnmatch(pattern.c_str(), path.c_str(), 0) == 0; in FnMatch()
|
H A D | devices.cpp | 160 return fnmatch(name_.c_str(), path.c_str(), no_fnm_pathname_ ? 0 : FNM_PATHNAME) == 0; in Match()
|
/aosp12/bionic/tests/headers/posix/ |
H A D | fnmatch_h.c | 39 FUNCTION(fnmatch, int (*f)(const char*, const char*, int)); in fnmatch_h()
|
/aosp12/bionic/libc/include/ |
H A D | fnmatch.h | 68 int fnmatch(const char* _Nonnull __pattern, const char* _Nonnull __string, int __flags);
|
/aosp12/system/core/libmodprobe/ |
H A D | libmodprobe.cpp | 409 if (fnmatch(alias.c_str(), module_name.c_str(), 0) != 0) continue; in LoadWithAliases() 465 if (!fnmatch(pattern.c_str(), module.c_str(), 0)) { in ListModules() 467 } else if (!fnmatch(pattern.c_str(), basename(deps[0].c_str()), 0)) { in ListModules()
|
/aosp12/system/core/libcutils/ |
H A D | fs_config.cpp | 299 if (fnmatch(pattern.c_str(), input.c_str(), fnm_flags) == 0) return true; in fs_config_cmp() 308 if (fnmatch(pattern.c_str(), input_in_partition.c_str(), fnm_flags) == 0) { in fs_config_cmp()
|
H A D | trace-dev.inc | 24 #include <fnmatch.h> 110 if (fnmatch(value, cmdline, FNM_NOESCAPE) == 0) {
|
/aosp12/art/build/apex/ |
H A D | art_apex_test.py | 20 import fnmatch 319 expected_paths |= set(fnmatch.filter(paths, path_glob)) 325 expected_paths |= set(fnmatch.filter(paths, dir_prefix + subpath_first_segment)) 910 if fnmatch.fnmatch(test_args.apex, flavor_pattern):
|
/aosp12/build/make/tools/releasetools/ |
H A D | merge_target_files.py | 87 import fnmatch 277 matching_namelist = fnmatch.filter(target_files_namelist, pattern) 300 filtered_file_paths.update(fnmatch.filter(file_paths, pattern))
|
/aosp12/system/libziparchive/ |
H A D | ziptool.cpp | 91 if (!fnmatch(exclude.c_str(), name.c_str(), 0)) return false; in ShouldInclude() 100 if (!fnmatch(include.c_str(), name.c_str(), 0)) return true; in ShouldInclude()
|
/aosp12/bionic/libc/upstream-openbsd/lib/libc/gen/ |
H A D | fnmatch.c | 284 int fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function
|
/aosp12/system/vold/ |
H A D | VolumeManager.h | 68 return !fnmatch(mSysPattern.c_str(), sysPath.c_str(), 0); in matches()
|
/aosp12/art/test/testrunner/ |
H A D | testrunner.py | 66 import fnmatch 255 if fnmatch.fnmatch(f, '[0-9]*'):
|
/aosp12/system/extras/simpleperf/scripts/test/ |
H A D | do_test.py | 29 import fnmatch 106 patterns = [re.compile(fnmatch.translate(x)) for x in test_pattern]
|
/aosp12/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | main.cpp | 335 if (!fnmatch(test, iter.first.c_str(), 0)) { in parseOptions()
|
/aosp12/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 27 import fnmatch 668 for filename in fnmatch.filter(filenames, self.manifest_name):
|
/aosp12/frameworks/compile/mclinker/lib/LD/ |
H A D | GarbageCollection.cpp | 30 #define fnmatch0(pattern, string) (fnmatch(pattern, string, 0) == 0)
|
/aosp12/system/libufdt/utils/src/ |
H A D | mkdtboimg.py | 21 import fnmatch 903 for filename in fnmatch.filter(filenames, os.path.basename(filepath)):
|
/aosp12/build/make/tools/atree/ |
H A D | files.cpp | 416 if (0 == fnmatch(it->c_str(), file, FNM_PERIOD)) { in matches_excludes()
|
/aosp12/frameworks/compile/mclinker/lib/Object/ |
H A D | SectionMap.cpp | 28 #define fnmatch0(pattern, string) (fnmatch(pattern, string, 0) == 0)
|
/aosp12/bionic/benchmarks/linker_relocation/gen/ |
H A D | liblinker_reloc_bench_076.S | 349 CALL(fnmatch)
|
/aosp12/bionic/libc/tools/ |
H A D | posix-2013.txt | 282 fnmatch
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 810 if (!fnmatch(pattern.c_str(), entry.mount_point.c_str(), 0 /* flags */)) { in SkipMountingPartitions()
|