Home
last modified time | relevance | path

Searched refs:CalcChecksum (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/fxbarcode/oned/
DBC_OnedEAN13Writer_unittest.cpp92 EXPECT_EQ(0, writer.CalcChecksum("")); in TEST()
93 EXPECT_EQ(6, writer.CalcChecksum("123")); in TEST()
94 EXPECT_EQ(8, writer.CalcChecksum("123456789012")); in TEST()
95 EXPECT_EQ(0, writer.CalcChecksum("777666555444")); in TEST()
DBC_OnedEAN8Writer_unittest.cpp82 EXPECT_EQ(0, writer.CalcChecksum("")); in TEST()
83 EXPECT_EQ(6, writer.CalcChecksum("123")); in TEST()
84 EXPECT_EQ(0, writer.CalcChecksum("1234567")); in TEST()
85 EXPECT_EQ(4, writer.CalcChecksum("9944110")); in TEST()
DBC_OnedUPCAWriter_unittest.cpp90 EXPECT_EQ(0, writer.CalcChecksum("")); in TEST()
91 EXPECT_EQ(6, writer.CalcChecksum("123")); in TEST()
92 EXPECT_EQ(2, writer.CalcChecksum("12345678901")); in TEST()
93 EXPECT_EQ(0, writer.CalcChecksum("77766655544")); in TEST()
DBC_OnedEAN13Writer.h32 int32_t CalcChecksum(const ByteString& contents);
DBC_OnedUPCAWriter.h37 int32_t CalcChecksum(const ByteString& contents);
DBC_OnedEAN8Writer.h35 int32_t CalcChecksum(const ByteString& contents);
DBC_OnedEAN8Writer.cpp86 int32_t CBC_OnedEAN8Writer::CalcChecksum(const ByteString& contents) { in CalcChecksum() function in CBC_OnedEAN8Writer
DBC_OnedEAN13Writer.cpp79 int32_t CBC_OnedEAN13Writer::CalcChecksum(const ByteString& contents) { in CalcChecksum() function in CBC_OnedEAN13Writer
DBC_OnedUPCAWriter.cpp69 int32_t CBC_OnedUPCAWriter::CalcChecksum(const ByteString& contents) { in CalcChecksum() function in CBC_OnedUPCAWriter
/external/pdfium/fxbarcode/
Dcbc_ean8.cpp42 int32_t checksum = pWriter->CalcChecksum(byteString); in Preprocess()
Dcbc_ean13.cpp43 int32_t checksum = pWriter->CalcChecksum(byteString); in Preprocess()
Dcbc_upca.cpp42 int32_t checksum = pWriter->CalcChecksum(byteString); in Preprocess()