Home
last modified time | relevance | path

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

/third_party/spirv-tools/test/diff/
Dlcs_test.cpp38 size_t src_cur = 0; in VerifyMatch() local
42 while (src_cur < src.size() && dst_cur < dst.size()) { in VerifyMatch()
43 if (src_match[src_cur] && dst_match[dst_cur]) { in VerifyMatch()
44 EXPECT_EQ(src[src_cur], dst[dst_cur]) in VerifyMatch()
45 << "Src: " << src_cur << " Dst: " << dst_cur; in VerifyMatch()
46 ++src_cur; in VerifyMatch()
51 if (!src_match[src_cur]) { in VerifyMatch()
52 ++src_cur; in VerifyMatch()
/third_party/spirv-tools/source/diff/
Ddiff.cpp677 size_t src_cur = 0; in MatchPreambleInstructions() local
680 while (src_cur < sorted_src_insts.size() && in MatchPreambleInstructions()
682 const opt::Instruction* src_inst = sorted_src_insts[src_cur]; in MatchPreambleInstructions()
690 ++src_cur; in MatchPreambleInstructions()
1654 size_t src_cur = 0; in MatchIdsInFunctionBodies() local
1657 while (src_cur < src_body.size() && dst_cur < dst_body.size()) { in MatchIdsInFunctionBodies()
1658 if (src_match_result[src_cur] && dst_match_result[dst_cur]) { in MatchIdsInFunctionBodies()
1664 const opt::Instruction* src_inst = src_body[src_cur++]; in MatchIdsInFunctionBodies()
1678 if (!src_match_result[src_cur]) { in MatchIdsInFunctionBodies()
1679 ++src_cur; in MatchIdsInFunctionBodies()