Lines Matching refs:encoded
21 uint8_t* encoded = writer.Encode("", BCFORMAT_UPC_A, width, height); in TEST() local
22 EXPECT_EQ(nullptr, encoded); in TEST()
23 FX_Free(encoded); in TEST()
25 encoded = writer.Encode("123", BCFORMAT_UPC_A, width, height); in TEST()
26 EXPECT_EQ(nullptr, encoded); in TEST()
27 FX_Free(encoded); in TEST()
29 encoded = writer.Encode("12345678901", BCFORMAT_UPC_A, width, height); in TEST()
30 EXPECT_EQ(nullptr, encoded); in TEST()
31 FX_Free(encoded); in TEST()
33 encoded = writer.Encode("1234567890123", BCFORMAT_UPC_A, width, height); in TEST()
34 EXPECT_EQ(nullptr, encoded); in TEST()
35 FX_Free(encoded); in TEST()
37 encoded = writer.Encode("123456789012", BCFORMAT_UPC_A, width, height); in TEST()
54 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("777666555440", BCFORMAT_UPC_A, width, height); in TEST()
79 EXPECT_NE(nullptr, encoded); in TEST()
83 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; in TEST()
85 FX_Free(encoded); in TEST()