Lines Matching refs:encoded
14 uint8_t* encoded; in TEST() local
19 encoded = writer.Encode("", BCFORMAT_EAN_13, width, height); in TEST()
20 EXPECT_EQ(nullptr, encoded); in TEST()
21 FX_Free(encoded); in TEST()
23 encoded = writer.Encode("123", BCFORMAT_EAN_13, width, height); in TEST()
24 EXPECT_EQ(nullptr, encoded); in TEST()
25 FX_Free(encoded); in TEST()
27 encoded = writer.Encode("123456789012", BCFORMAT_EAN_13, width, height); in TEST()
28 EXPECT_EQ(nullptr, encoded); in TEST()
29 FX_Free(encoded); in TEST()
31 encoded = writer.Encode("12345678901234", BCFORMAT_EAN_13, width, height); in TEST()
32 EXPECT_EQ(nullptr, encoded); in TEST()
33 FX_Free(encoded); in TEST()
35 encoded = writer.Encode("1234567890128", BCFORMAT_EAN_13, width, height); in TEST()
36 EXPECT_NE(nullptr, encoded); in TEST()
58 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
60 FX_Free(encoded); in TEST()
62 encoded = writer.Encode("7776665554440", BCFORMAT_EAN_13, width, height); in TEST()
63 EXPECT_NE(nullptr, encoded); in TEST()
85 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
87 FX_Free(encoded); in TEST()