Lines Matching refs:encoded
16 uint8_t* encoded; in TEST() local
21 encoded = writer.Encode("", BCFORMAT_EAN_13, width, height); in TEST()
22 EXPECT_EQ(nullptr, encoded); in TEST()
23 FX_Free(encoded); in TEST()
25 encoded = writer.Encode("123", BCFORMAT_EAN_13, width, height); in TEST()
26 EXPECT_EQ(nullptr, encoded); in TEST()
27 FX_Free(encoded); in TEST()
29 encoded = writer.Encode("123456789012", BCFORMAT_EAN_13, width, height); in TEST()
30 EXPECT_EQ(nullptr, encoded); in TEST()
31 FX_Free(encoded); in TEST()
33 encoded = writer.Encode("12345678901234", BCFORMAT_EAN_13, width, height); in TEST()
34 EXPECT_EQ(nullptr, encoded); in TEST()
35 FX_Free(encoded); in TEST()
37 encoded = writer.Encode("1234567890128", BCFORMAT_EAN_13, width, height); in TEST()
38 EXPECT_NE(nullptr, encoded); in TEST()
60 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
62 FX_Free(encoded); in TEST()
64 encoded = writer.Encode("7776665554440", BCFORMAT_EAN_13, width, height); in TEST()
65 EXPECT_NE(nullptr, encoded); in TEST()
87 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
89 FX_Free(encoded); in TEST()