Home | History | Annotate | Download | only in oned

Lines Matching defs:encoded

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