• Home
  • Raw
  • Download

Lines Matching refs:contents

87     const WideStringView& contents) {  in CheckContentValidity()  argument
88 for (const auto& ch : contents) { in CheckContentValidity()
97 const WideStringView& contents) { in FilterContents() argument
99 for (size_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
100 wchar_t ch = contents[i]; in FilterContents()
124 uint8_t* CBC_OnedCode128Writer::EncodeWithHint(const ByteString& contents, in EncodeWithHint() argument
131 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
135 uint8_t* CBC_OnedCode128Writer::EncodeImpl(const ByteString& contents, in EncodeImpl() argument
137 if (contents.GetLength() < 1 || contents.GetLength() > 80) in EncodeImpl()
143 checkSum = Encode128B(contents, &patterns); in EncodeImpl()
145 checkSum = Encode128C(contents, &patterns); in EncodeImpl()
150 m_iContentLen = contents.GetLength() + 3; in EncodeImpl()
171 int32_t CBC_OnedCode128Writer::Encode128B(const ByteString& contents, in Encode128B() argument
176 for (size_t position = 0; position < contents.GetLength(); position++) { in Encode128B()
177 int32_t patternIndex = contents[position] - ' '; in Encode128B()
185 int32_t CBC_OnedCode128Writer::Encode128C(const ByteString& contents, in Encode128C() argument
191 while (position < contents.GetLength()) { in Encode128C()
193 char ch = contents[position]; in Encode128C()
196 contents.Mid(position, contents.IsValidIndex(position + 1) ? 2 : 1) in Encode128C()
199 if (position < contents.GetLength() && std::isdigit(contents[position])) in Encode128C()