/build/soong/cmd/diff_target_files/ |
glob.go | 23 // Match returns true if name matches pattern using the same rules as filepath.Match, but supporting 25 func Match(pattern, name string) (bool, error) { 55 if match, err := filepath.Match(pattern, name); err != nil { 57 } else if match { 76 match, err := filepath.Match(patternFile, nameFile) 77 if err != nil || !match { 78 return match, er [all...] |
/external/swiftshader/third_party/subzero/pydir/ |
crosstest_generator.py | 13 def Match(desc, includes, excludes, default_match): 14 """Determines whether desc is a match against includes and excludes. 148 # If any --include args are provided, the default is to not match. 170 if Match(set(desc), includes, excludes, default_match):
|
/external/nist-sip/java/gov/nist/core/ |
Match.java | 28 /** Match template for pattern matching. 38 public interface Match { 39 /** Return true if a match occurs for searchString. 40 * This is used for pattern matching in the find and replace and match 45 public boolean match(String searchString); method in interface:Match
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
Match.c | 2 The implementation of match policy entry function in IpSecConfig application.
18 #include "Match.h"
63 BOOLEAN Match;
65 Match = FALSE;
68 Match = TRUE;
72 Match = TRUE;
78 return Match;
98 BOOLEAN Match;
100 Match = FALSE;
102 Match = (BOOLEAN) (CompareMem (&Indexer->SaId, SaId, sizeof (EFI_IPSEC_SA_ID)) == 0); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/ |
UefiLanguageLib.c | 31 // Commonly used language codes such as English and French are put in the front of the table for quick match.
276 CONST CHAR8 *Match;
287 Match = mIso639ToRfc4646ConversionTable;
289 Match = AsciiStrStr (Match, Rfc4646Language);
290 if (Match == NULL) {
293 if (((Match - mIso639ToRfc4646ConversionTable) % 5) == 0) {
296 ++Match;
298 Rfc4646Language[0] = Match[3];
299 Rfc4646Language[1] = Match[4]; [all...] |
/external/google-benchmark/src/ |
re.h | 74 bool Match(const std::string& str); 111 inline bool Regex::Match(const std::string& str) { 148 inline bool Regex::Match(const std::string& str) {
|
/external/libcxx/utils/google-benchmark/src/ |
re.h | 74 bool Match(const std::string& str); 111 inline bool Regex::Match(const std::string& str) { 148 inline bool Regex::Match(const std::string& str) {
|
/build/blueprint/pathtools/ |
glob.go | 31 // Glob returns the list of files and directories that match the given pattern 32 // but do not match the given exclude patterns, along with the list of 70 // But if it didn't have wildcards, and did find a match, no 71 // dependencies were added, so add the match itself to detect when it 77 for i, match := range matches { 78 isSymlink, err := fs.IsSymlink(match) 83 isDir, err := fs.IsDir(match) 86 return nil, nil, fmt.Errorf("%s: dangling symlink", match) 90 return nil, nil, fmt.Errorf("%s: %s", match, err.Error()) 94 matches[i] = match + "/ [all...] |
/build/soong/cmd/zip2zip/ |
zip2zip.go | 63 fmt.Fprintln(os.Stderr, "<glob> uses the rules at https://godoc.org/github.com/google/blueprint/pathtools/#Match") 143 if match, err := pathtools.Match(input, file.Name); err != nil { 145 } else if match { 172 // implicitly match everything 182 for _, match := range matches { 185 if exclude, err := excludes.Match(match.File.Name); err != nil { 188 if include, err := includes.Match(match.File.Name); err != nil [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SmbiosLib/ |
SmbiosLib.c | 259 UINTN Match; 262 for (Match = 1;!(*Data == 0 && *(Data+1) == 0); ) { 263 if (StringNumber == Match) { 268 Match++; 296 UINTN Match; 298 Match = 0; 303 if (Match == Instance) { 306 Match++;
|
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/ |
lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, 57 auto match_result = effcee::Match(assembly, original); 146 Match(text, context.get()); 232 Match(text, context.get()); 331 Match(text, context.get()); 424 Match(text, context.get()); 519 Match(text, context.get()); 602 Match(text, context.get());
|
fusion_legal.cpp | 45 void Match(const std::string& checks, IRContext* context) { 58 auto match_result = effcee::Match(assembly, checks); 192 Match(checks, context.get()); 328 Match(checks, context.get()); 461 Match(checks, context.get()); 602 Match(checks, context.get()); 742 Match(checks, context.get()); 886 Match(checks, context.get()); 1028 Match(checks, context.get()); [all...] |
peeling.cpp | 44 void Match(const std::string& checks, IRContext* context) { 57 auto match_result = effcee::Match(assembly, checks); 531 Match(check, context.get()); 586 Match(check, context.get()); 640 Match(check, context.get()); 694 Match(check, context.get()); 801 Match(check, context.get()); 855 Match(check, context.get()); 951 Match(check, context.get()); [all...] |
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/ |
FeatureMatcherTest.java | 36 public static class Match extends IsEqual<String> { 37 public Match(String equalArg) { super(equalArg); } 60 return new FeatureMatcher<Thingy, String>(new Match("bar"), "Thingy with result", "result") {
|
/external/selinux/python/sepolgen/src/sepolgen/ |
matching.py | 31 class Match(util.Comparison): 52 # Match objects that pass the threshold 54 # Match objects over the threshold 70 # a match. 79 def append(self, match): 80 if match.dist <= self.threshold: 81 if not match.info_dir_change or self.allow_info_dir_change: 82 self.children.append(match) 84 self.bastards.append(match) 86 self.bastards.append(match) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
AddrModeMatcher.h | 81 /// Match - Find the maximal addressing mode that a load/store of V can fold, 84 static ExtAddrMode Match(Value *V, Type *AccessTy,
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, 57 auto match_result = effcee::Match(assembly, original); 146 Match(text, context.get()); 232 Match(text, context.get()); 331 Match(text, context.get()); 424 Match(text, context.get()); 519 Match(text, context.get()); 602 Match(text, context.get());
|
/external/tensorflow/tensorflow/core/util/ |
equal_graph_def_test.cc | 54 bool Match() { 59 bool match = EqualGraphDef(actual, expected, &diff_); local 60 if (match) { 70 return match; 78 TEST_F(EqualGraphDefTest, Match) { 81 EXPECT_TRUE(Match()) << diff_; 87 EXPECT_FALSE(Match()); 95 EXPECT_FALSE(Match()); 103 EXPECT_FALSE(Match()); 115 EXPECT_TRUE(Match()) << diff_ [all...] |
/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/ |
replace.c | 24 char *Match;
42 // argv[3+n] - Match String
51 MATCH_PAIR *Match;
57 fprintf (stderr, "Need at least two files and one Match/Replacement string pair\n");
61 fprintf (stderr, "Match and Replace string must come in pairs\n");
82 Match = calloc (MaxMatch, sizeof (MATCH_PAIR));
83 if (Match == NULL) {
88 Match[n].Match = argv[3 + n*2];
89 Match[n].MatchSize = strlen (argv[3 + n*2]); [all...] |
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 39 * uses simplified match() and error recovery mechanisms in the interest 109 /** <summary>Return a token from this source; i.e., match a token on the char stream.</summary> */ 137 // match() routine has already called recover() 208 public virtual void Match(string s) { 230 public virtual void Match(int c) { 294 msg = "required (...)+ loop did not match anything at character " + GetCharErrorDisplay(e.Character); 331 * Lexers can normally match any char in it's vocabulary after matching
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
Lexer.cs | 40 * uses simplified match() and error recovery mechanisms in the interest 127 /** <summary>Return a token from this source; i.e., match a token on the char stream.</summary> */ 163 // Match() routine has already called recover() 258 public virtual void Match( string s ) 285 public virtual void Match( int c ) 364 msg = "required (...)+ loop did not match anything at character " + GetCharErrorDisplay( e.Character ); 411 * Lexers can normally match any char in it's vocabulary after matching
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
BsDiff.java | 42 * if the first byte fails to match 68 static Match searchForMatchBaseCase( 88 return Match.of(groupArrayOldDataRangeStartA, lengthOfMatchA); 91 return Match.of(groupArrayOldDataRangeStartB, lengthOfMatchB); 103 * @return a Match containing the length of the matching range, and the position at which the 107 static Match searchForMatch( 138 static class Match { 142 static Match of(int start, int length) { 143 return new Match(start, length); 146 private Match(int start, int length) [all...] |
/external/clang/lib/Sema/ |
SemaCUDA.cpp | 155 // Gets the CUDA function preference for a call from Caller to Match. 156 auto GetCFP = [&](const T &Match) { 157 return S.IdentifyCUDAPreference(Caller, FetchDecl(Match)); 168 [&](const T &Match) { return GetCFP(Match) < BestCFP; }), 469 NamedDecl *Match = *It; 470 if (!getSourceManager().isInSystemHeader(Match->getLocation())) { 474 Diag(Match->getLocation(),
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_suppressions.cc | 78 bool SuppressionContext::Match(const char *str, const char *type, 104 // Context must not mutate once Match has been called.
|
/external/grpc-grpc/examples/cpp/route_guide/ |
helper.cc | 66 if (!Match("[")) { 76 if (failed_ || Finished() || !Match("{")) { 79 if (!Match(location_) || !Match("{") || !Match(latitude_)) { 85 if (!Match(",") || !Match(longitude_)) { 90 if (!Match("},") || !Match(name_) || !Match("\"")) { [all...] |