Lines Matching refs:patterns
140 std::vector<int32_t> patterns; in EncodeImpl() local
143 checkSum = Encode128B(contents, &patterns); in EncodeImpl()
145 checkSum = Encode128C(contents, &patterns); in EncodeImpl()
148 patterns.push_back(checkSum); in EncodeImpl()
149 patterns.push_back(CODE_STOP); in EncodeImpl()
152 for (const auto& patternIndex : patterns) { in EncodeImpl()
160 for (size_t i = 0; i < patterns.size(); ++i) { in EncodeImpl()
161 const int8_t* pattern = CODE_PATTERNS[patterns[i]]; in EncodeImpl()
172 std::vector<int32_t>* patterns) { in Encode128B() argument
174 patterns->push_back(CODE_START_B); in Encode128B()
178 patterns->push_back(patternIndex); in Encode128B()
186 std::vector<int32_t>* patterns) { in Encode128C() argument
188 patterns->push_back(CODE_START_C); in Encode128C()
205 patterns->push_back(patternIndex); in Encode128C()