Searched refs:fnmatch (Results 1 - 25 of 87) sorted by relevance

1234

/external/jsoncpp/scons-tools/
H A Dsrcdist.py3 from fnmatch import fnmatch namespace
111 ## pattern_check = reduce(lambda x, y: x or bool(fnmatch(filename, y)), file_patterns, False)
112 ## exclude_check = reduce(lambda x, y: x and fnmatch(filename, y), exclude_patterns, True)
H A Dglobtool.py1 import fnmatch namespace
24 if fnmatch.fnmatchcase( fn, include ):
29 if fnmatch.fnmatchcase( fn, exclude ):
/external/skia/tools/
H A Dcheck-headers-self-sufficient8 import fnmatch namespace
120 args = ([] if fnmatch.fnmatch(header, 'include/c/*') else
121 public_header_args if fnmatch.fnmatch(header, 'include/*') else
145 if path.endswith('.h') and not any(fnmatch.fnmatch(path, pattern) for pattern in ignore):
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/support/
H A Dfind_files.py5 import fnmatch namespace
16 for filename in fnmatch.filter(filenames, pattern):
/external/toolchain-utils/automation/common/
H A Dmachine.py5 from fnmatch import fnmatch namespace
64 return all([not machine.locked, fnmatch(machine.hostname, self.hostname),
65 fnmatch(machine.label, self.label), fnmatch(machine.os,
/external/autotest/site_utils/bootperf-bin/
H A Dresultsdir.py12 import fnmatch namespace
64 dirlist = fnmatch.filter(os.listdir(dir_), "run.???")
/external/deqp/scripts/src_util/
H A Dcheck_license.py25 from fnmatch import fnmatch namespace
73 if fnmatch(file, ptrn):
H A Dcheck_include_guards.py25 from fnmatch import fnmatch namespace
88 if fnmatch(filename, pattern):
/external/deqp/scripts/
H A Dupdate-copyright-year.py27 import fnmatch namespace
35 if fnmatch.fnmatch(filename, pattern):
H A Dcheck_resolution_list.py25 from fnmatch import fnmatch namespace
58 if fnmatch(case, pattern):
/external/skia/infra/bots/
H A Dzip_utils.py12 import fnmatch namespace
21 rv = [n for n in rv if not fnmatch.fnmatch(n, pattern)]
/external/webrtc/webrtc/build/
H A Dmerge_libs.py14 import fnmatch namespace
38 for filename in fnmatch.filter(filenames, pattern):
/external/chromium-trace/catapult/telemetry/telemetry/core/
H A Ddiscover.py5 import fnmatch namespace
44 if not fnmatch.fnmatch(filename, pattern):
/external/deqp/external/vulkancts/scripts/
H A Dbuild_spirv_binaries.py29 import fnmatch namespace
56 binFiles = [f for f in os.listdir(dstPath) if os.path.isfile(os.path.join(dstPath, f)) and fnmatch.fnmatch(f, "*.spv")]
H A Dverify_submission.py27 from fnmatch import fnmatch namespace
87 if fnmatch(item, STATEMENT_PATTERN):
90 elif fnmatch(item, TEST_LOG_PATTERN):
92 elif fnmatch(item, GIT_STATUS_PATTERN):
95 elif fnmatch(item, GIT_LOG_PATTERN):
98 elif fnmatch(item, PATCH_PATTERN):
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem_glob.py34 import fnmatch namespace
57 The pattern may contain shell-style wildcards a la fnmatch.
105 return fnmatch.filter(names, pattern)
/external/elfutils/tests/
H A Dfind-prologues.c30 #include <fnmatch.h>
52 match = fnmatch (*argv, name, 0) == 0;
H A Dfuncretval.c30 #include <fnmatch.h>
52 match = fnmatch (*argv, name, 0) == 0;
/external/libdrm/tests/
H A Ddrmtest.c30 #include <fnmatch.h>
87 if (fnmatch(pci_glob, pci_id, 0) != 0)
/external/vixl/tools/
H A Dlint.py30 import fnmatch namespace
233 fnmatch.fnmatch(f, os.path.join(relative_aarch32_traces_path, '*.h')) or \
234 fnmatch.fnmatch(f, os.path.join(relative_aarch64_traces_path, '*.h'))
H A Dclang_format.py30 import fnmatch namespace
167 if fnmatch.fnmatch(name, f):
/external/jsoncpp/devtools/
H A Dantglob.py8 import fnmatch namespace
12 # These fnmatch expressions are used by default to prune the directory tree
16 # These fnmatch expressions are used by default to exclude files and dirs
110 if fnmatch.fnmatch( dir_name, pattern ):
/external/dtc/
H A Dconvert-dtsv0-lexer.l41 #include <fnmatch.h>
120 if (fnmatch(guess_table[i].pattern,
/external/selinux/restorecond/
H A Dstringslist.c30 #include <fnmatch.h>
62 int cmp = fnmatch(ptr->string, string, 0);
/external/ltp/testcases/kernel/fs/proc/
H A Dproc01.c40 #include <fnmatch.h>
166 !fnmatch(lsm_should_work[i], obj, FNM_PATHNAME)) {
175 !fnmatch(known_issues[i].file, obj, FNM_PATHNAME)) &&
177 /* Using strcmp / fnmatch could have messed up the
307 (fnmatch("[0-9]*", dir_ent->d_name,

Completed in 605 milliseconds

1234