Home
last modified time | relevance | path

Searched refs:matchCode (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DRangeSelectorTest.cpp43 template <typename M> TestMatch matchCode(StringRef Code, M Matcher) { in matchCode() function
73 matchCode("static int x = 0;", varDecl().bind("bound_node_id")); in selectFromTrivial()
109 return Selector(matchCode(Code, Matcher).Result); in selectFromAssorted()
140 TestMatch Match = matchCode(Code, M); in TEST()
160 TestMatch Match = matchCode(Code, M); in TEST()
176 TestMatch Match = matchCode(Code, callExpr().bind(Call)); in TEST()
215 matchCode(Code, declRefExpr(to(namedDecl(hasName("y")))).bind("yvar")); in TEST()
231 matchCode(Code, declRefExpr(to(namedDecl(hasName("y")))).bind("yvar")); in TEST()
247 matchCode(Code, declRefExpr(to(namedDecl(hasName("y")))).bind("yvar")); in TEST()
263 TestMatch Match = matchCode(Code, Matcher); in TEST()
[all …]
/external/lz4/lib/
Dlz4.c1014 { unsigned matchCode; in LZ4_compress_generic() local
1021 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic()
1022 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic()
1025 matchCode += more; in LZ4_compress_generic()
1028 … DEBUGLOG(6, " with matchLength=%u starting in extDict", matchCode+MINMATCH); in LZ4_compress_generic()
1030 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit); in LZ4_compress_generic()
1031 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic()
1032 DEBUGLOG(6, " with matchLength=%u", matchCode+MINMATCH); in LZ4_compress_generic()
1036 (unlikely(op + (1 + LASTLITERALS) + (matchCode+240)/255 > olimit)) ) { in LZ4_compress_generic()
1040 ip -= matchCode - newMatchCode; in LZ4_compress_generic()
[all …]