Lines Matching refs:patterns
137 std::vector<int32_t> patterns; in EncodeImpl() local
140 checkSum = Encode128B(contents, &patterns); in EncodeImpl()
142 checkSum = Encode128C(contents, &patterns); in EncodeImpl()
145 patterns.push_back(checkSum); in EncodeImpl()
146 patterns.push_back(CODE_STOP); in EncodeImpl()
149 for (const auto& patternIndex : patterns) { in EncodeImpl()
157 for (size_t i = 0; i < patterns.size(); ++i) { in EncodeImpl()
158 const int8_t* pattern = CODE_PATTERNS[patterns[i]]; in EncodeImpl()
166 std::vector<int32_t>* patterns) { in Encode128B() argument
168 patterns->push_back(CODE_START_B); in Encode128B()
172 patterns->push_back(patternIndex); in Encode128B()
180 std::vector<int32_t>* patterns) { in Encode128C() argument
182 patterns->push_back(CODE_START_C); in Encode128C()
199 patterns->push_back(patternIndex); in Encode128C()