/external/clang/utils/TableGen/ |
ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; 27 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;"); 33 StringMatcher("Name", Matches, OS).Emit();
|
ClangCommentCommandInfoEmitter.cpp | 63 std::vector<StringMatcher::StringPair> Matches; 69 Matches.emplace_back(std::move(Name), std::move(Return)); 74 StringMatcher("Name", Matches, OS).Emit();
|
/external/llvm/include/llvm/TableGen/ |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 37 const std::vector<StringPair> &Matches; 42 const std::vector<StringPair> &matches, raw_ostream &os) 43 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/llvm/unittests/Support/ |
RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); 30 EXPECT_EQ(1u, Matches.size()); 31 EXPECT_EQ("216", Matches[0].str()); 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); 35 EXPECT_EQ(3u, Matches.size()); 36 EXPECT_EQ("9a:513", Matches[0].str()); 37 EXPECT_EQ("a", Matches[1].str()); 38 EXPECT_EQ("513", Matches[2].str()); 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
Matches.java | 22 public class Matches implements IArgumentMatcher, Serializable {
28 public Matches(String regex) {
32 public boolean matches(Object actual) {
method in class:Matches 33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
Matches.java | 2 * Matches 13 public final class Matches { 18 Matches(int countMax) {
|
/external/mockito/src/org/mockito/internal/matchers/ |
Matches.java | 14 public class Matches extends ArgumentMatcher<Object> implements Serializable { 19 public Matches(String regex) { 23 public boolean matches(Object actual) { method in class:Matches 24 return (actual instanceof String) && ((String) actual).matches(regex); 28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/webrtc/talk/media/base/ |
cryptoparams.h | 44 bool Matches(const CryptoParams& params) const {
|
codec.cc | 119 bool Codec::Matches(const Codec& codec) const { 193 bool AudioCodec::Matches(const AudioCodec& codec) const { 203 return Codec::Matches(codec) &&
|
streamparams.h | 189 bool Matches(const StreamParams& stream) const { 301 [&selector](const StreamParams& sp) { return selector.Matches(sp); }); 318 [&selector](const StreamParams& sp) { return selector.Matches(sp); });
|
/external/llvm/lib/Support/ |
Regex.cpp | 54 /// matches it contains. 59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 80 if (Matches) { // match position requested 81 Matches->clear(); 86 Matches->push_back(StringRef()); 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 100 SmallVector<StringRef, 8> Matches; 106 if (!match(String, &Matches)) 111 std::string Res(String.begin(), Matches[0].begin()) [all...] |
/art/disassembler/ |
disassembler_mips.cc | 35 bool Matches(uint32_t instruction) const { 428 if (gMipsInstructions[i].Matches(instruction)) {
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
receive_statistics_unittest.cc | 262 void Matches(uint32_t num_calls, 298 callback.Matches(1, kSsrc1, expected); 310 callback.Matches(2, kSsrc1, expected); 324 callback.Matches(3, kSsrc1, expected); 340 callback.Matches(5, kSsrc1, expected); 349 callback.Matches(5, kSsrc1, expected); 372 callback.Matches(1, kSsrc1, expected); 379 callback.Matches(2, kSsrc1, expected);
|
rtcp_receiver_unittest.cc | 862 ssrcs.insert(kMediaFlowSsrc); // Matches "media source" above. [all...] |
rtp_sender_unittest.cc | [all...] |
/external/clang/unittests/Tooling/ |
TestVisitor.h | 111 /// \brief A RecursiveASTVisitor to check that certain matches are (or are 115 /// and allows simple creation of test visitors running matches on only a small 122 /// Any number of matches can be disallowed. 129 /// Any number of expected matches can be set by calling this repeatedly. 135 /// \brief Checks that all expected matches have been found. 145 /// \brief Checks an actual match against expected and disallowed matches. 155 EXPECT_FALSE(It->Matches(Name, FullLocation)) 177 bool Matches(StringRef Name, FullSourceLoc const &Location) const { 207 if (Candidate.Matches(Name, Location)) {
|
/system/core/fastboot/ |
udp.cpp | 76 bool Matches(const uint8_t* response); 93 bool Header::Matches(const uint8_t* response) { 279 } while (!header->Matches(rx_packet_.data()));
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 10 // Implements an algorithm to efficiently search for matches on AST nodes. 11 // Uses memoization to support recursive matches like HasDescendant. 14 // calling the Matches(...) method of each matcher we are running on each 83 // Creates an AST visitor that matches 'matcher' on all children or 100 Matches(false) {} 136 return Matches; 213 Matches = false; 239 // Sets 'Matched' to true if 'Matcher' matches 'Node' and: 251 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder, 253 Matches = true [all...] |
/external/dng_sdk/source/ |
dng_string.cpp | 1442 bool dng_string::Matches (const char *t, 1472 bool dng_string::Matches (const char *s, 1476 return dng_string::Matches (Get (), s, case_sensitive); [all...] |
/external/regex-re2/re2/ |
prog.h | 114 inline bool Matches(int c) { 190 // full matches. 195 kManyMatch // for SearchDFA, records set of matches 270 // If matches != NULL and kind == kManyMatch and there is a match, 271 // SearchDFA fills matches with the match IDs of the final matching state. 275 vector<int>* matches);
|
/external/v8/src/ |
isolate.h | 434 bool Matches(Isolate* isolate, ThreadId thread_id) const { [all...] |
/external/gmock/include/gmock/ |
gmock-matchers.h | 74 // used by a matcher to explain why a value matches or doesn't match. 145 // Returns true iff the matcher matches x; also explains the match 229 // Returns true iff the matcher matches x; also explains the match 235 // Returns true iff this matcher matches x. 236 bool Matches(T x) const { 249 // Explains why x matches, or doesn't match, the matcher. 289 // object that can check whether a value of type T matches. The 644 // A<T>() returns a matcher that matches any value of type T. 670 // Matches the value against the given matcher, prints the value and explains 681 return matcher.Matches(value) 2583 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener); local [all...] |
/external/google-breakpad/src/testing/include/gmock/ |
gmock-matchers.h | 68 // used by a matcher to explain why a value matches or doesn't match. 114 // Returns true iff the matcher matches x; also explains the match 193 // Returns true iff the matcher matches x; also explains the match 199 // Returns true iff this matcher matches x. 200 bool Matches(T x) const { 213 // Explains why x matches, or doesn't match, the matcher. 246 // object that can check whether a value of type T matches. The 556 // A<T>() returns a matcher that matches any value of type T. 582 // Matches the value against the given matcher, prints the value and explains 593 return matcher.Matches(value) 2235 const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener); local [all...] |
/external/clang/lib/Sema/ |
SemaExprCXX.cpp | [all...] |
SemaTemplate.cpp | [all...] |