Lines Matching refs:encoded
14 uint8_t* encoded; in TEST() local
19 encoded = writer.Encode("", BCFORMAT_EAN_8, width, height); in TEST()
20 EXPECT_EQ(nullptr, encoded); in TEST()
21 FX_Free(encoded); in TEST()
23 encoded = writer.Encode("123", BCFORMAT_EAN_8, width, height); in TEST()
24 EXPECT_EQ(nullptr, encoded); in TEST()
25 FX_Free(encoded); in TEST()
27 encoded = writer.Encode("1234567", BCFORMAT_EAN_8, width, height); in TEST()
28 EXPECT_EQ(nullptr, encoded); in TEST()
29 FX_Free(encoded); in TEST()
31 encoded = writer.Encode("123456789", BCFORMAT_EAN_8, width, height); in TEST()
32 EXPECT_EQ(nullptr, encoded); in TEST()
33 FX_Free(encoded); in TEST()
35 encoded = writer.Encode("12345670", BCFORMAT_EAN_8, width, height); in TEST()
36 EXPECT_NE(nullptr, encoded); in TEST()
53 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
55 FX_Free(encoded); in TEST()
57 encoded = writer.Encode("99441104", BCFORMAT_EAN_8, width, height); in TEST()
58 EXPECT_NE(nullptr, encoded); in TEST()
75 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
77 FX_Free(encoded); in TEST()