Lines Matching refs:contents
66 bool CBC_OnedEAN8Writer::CheckContentValidity(const WideStringView& contents) { in CheckContentValidity() argument
67 return std::all_of(contents.begin(), contents.end(), std::iswdigit); in CheckContentValidity()
70 WideString CBC_OnedEAN8Writer::FilterContents(const WideStringView& contents) { in FilterContents() argument
73 for (size_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
74 ch = contents[i]; in FilterContents()
86 int32_t CBC_OnedEAN8Writer::CalcChecksum(const ByteString& contents) { in CalcChecksum() argument
87 return EANCalcChecksum(contents); in CalcChecksum()
90 uint8_t* CBC_OnedEAN8Writer::EncodeWithHint(const ByteString& contents, in EncodeWithHint() argument
97 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
101 uint8_t* CBC_OnedEAN8Writer::EncodeImpl(const ByteString& contents, in EncodeImpl() argument
103 if (contents.GetLength() != 8) in EncodeImpl()
117 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
127 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
138 bool CBC_OnedEAN8Writer::ShowChars(const WideStringView& contents, in ShowChars() argument
147 ByteString str = FX_UTF8Encode(contents); in ShowChars()