/external/libtextclassifier/utils/sentencepiece/ |
encoder_test.cc | 43 EXPECT_TRUE(encoder.Encode("hellothere", &encoded_text)); 52 EXPECT_TRUE(encoder.Encode("hellothere", &encoded_text)); 67 EXPECT_TRUE(encoder.Encode("hellhello", &encoded_text)); 72 EXPECT_TRUE(encoder.Encode("hellohell", &encoded_text)); 77 EXPECT_TRUE(encoder.Encode("", &encoded_text)); 82 EXPECT_TRUE(encoder.Encode("hellathere", &encoded_text)); 100 EXPECT_TRUE(encoder.Encode("hellhello", &encoded_text)); 105 EXPECT_TRUE(encoder.Encode("hellohell", &encoded_text)); 110 EXPECT_TRUE(encoder.Encode("", &encoded_text)); 115 EXPECT_TRUE(encoder.Encode("hellathere", &encoded_text)) [all...] |
/external/pdfium/fxbarcode/oned/ |
BC_OnedEAN13Writer_unittest.cpp | 10 TEST(OnedEAN13WriterTest, Encode) { 17 // EAN-13 barcodes encode 13-digit numbers into 95 modules in a unidimensional 19 encoded = writer.Encode("", BCFORMAT_EAN_13, width, height); 23 encoded = writer.Encode("123", BCFORMAT_EAN_13, width, height); 27 encoded = writer.Encode("123456789012", BCFORMAT_EAN_13, width, height); 31 encoded = writer.Encode("12345678901234", BCFORMAT_EAN_13, width, height); 35 encoded = writer.Encode("1234567890128", BCFORMAT_EAN_13, width, height); 62 encoded = writer.Encode("7776665554440", BCFORMAT_EAN_13, width, height);
|
BC_OnedEAN8Writer_unittest.cpp | 10 TEST(OnedEAN8WriterTest, Encode) { 17 // EAN-8 barcodes encode 8-digit numbers into 67 modules in a unidimensional 19 encoded = writer.Encode("", BCFORMAT_EAN_8, width, height); 23 encoded = writer.Encode("123", BCFORMAT_EAN_8, width, height); 27 encoded = writer.Encode("1234567", BCFORMAT_EAN_8, width, height); 31 encoded = writer.Encode("123456789", BCFORMAT_EAN_8, width, height); 35 encoded = writer.Encode("12345670", BCFORMAT_EAN_8, width, height); 57 encoded = writer.Encode("99441104", BCFORMAT_EAN_8, width, height);
|
BC_OnedUPCAWriter_unittest.cpp | 10 TEST(OnedUPCAWriterTest, Encode) { 19 // UPCA barcodes encode 12-digit numbers into 95 modules in a unidimensional 21 uint8_t* encoded = writer.Encode("", BCFORMAT_UPC_A, width, height); 25 encoded = writer.Encode("123", BCFORMAT_UPC_A, width, height); 29 encoded = writer.Encode("12345678901", BCFORMAT_UPC_A, width, height); 33 encoded = writer.Encode("1234567890123", BCFORMAT_UPC_A, width, height); 37 encoded = writer.Encode("123456789012", BCFORMAT_UPC_A, width, height); 62 encoded = writer.Encode("777666555440", BCFORMAT_UPC_A, width, height);
|
/external/pdfium/fxbarcode/datamatrix/ |
BC_EdifactEncoder.h | 19 void Encode(CBC_EncoderContext& context, int32_t& e) override;
|
BC_Encoder.h | 20 virtual void Encode(CBC_EncoderContext& context, int32_t& e) = 0;
|
BC_ASCIIEncoder.h | 21 void Encode(CBC_EncoderContext& context, int32_t& e) override;
|
BC_Base256Encoder.h | 19 void Encode(CBC_EncoderContext& context, int32_t& e) override;
|
BC_DataMatrixWriter.h | 21 uint8_t* Encode(const WideString& contents,
|
/external/pdfium/fxbarcode/qrcode/ |
BC_QRCoderEncoder.h | 23 static bool Encode(const WideString& content,
|
BC_QRCodeWriter.h | 20 uint8_t* Encode(const WideString& contents,
|
/external/v8/src/interpreter/ |
bytecode-flags.h | 24 static uint8_t Encode(bool use_fast_shallow_clone, int runtime_flags); 35 static uint8_t Encode(int runtime_flags, bool fast_clone_supported); 46 static uint8_t Encode(bool pretenure, bool is_function_scope); 73 static uint8_t Encode(LiteralFlag literal_flag); 87 static uint8_t Encode(LanguageMode language_mode,
|
/external/skqp/src/images/ |
SkImageEncoder.cpp | 14 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } 21 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } 28 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } 43 return SkJpegEncoder::Encode(dst, src, opts); 47 return SkPngEncoder::Encode(dst, src, opts); 53 return SkWebpEncoder::Encode(dst, src, opts);
|
/external/skia/tests/ |
SkBase64Test.cpp | 22 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); 24 SkBase64::Encode(all + offset, length, src.get());
|
/external/skqp/tests/ |
SkBase64Test.cpp | 21 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); 23 SkBase64::Encode(all + offset, length, src.get());
|
/external/pdfium/xfa/fwl/ |
cfx_barcode_unittest.cpp | 72 EXPECT_TRUE(barcode()->Encode(L"clams")); 79 EXPECT_TRUE(barcode()->Encode(L"clams")); 86 EXPECT_TRUE(barcode()->Encode(L"clams")); 93 EXPECT_TRUE(barcode()->Encode(L"clams")); 100 EXPECT_TRUE(barcode()->Encode(L"clams")); 107 EXPECT_TRUE(barcode()->Encode(L"clams")); 114 EXPECT_TRUE(barcode()->Encode(L"clams")); 121 EXPECT_TRUE(barcode()->Encode(L"clams")); 128 EXPECT_TRUE(barcode()->Encode(L"clams")); 135 EXPECT_TRUE(barcode()->Encode(L"clams")) [all...] |
/external/pdfium/fxbarcode/ |
cbc_code128.h | 23 bool Encode(const WideStringView& contents) override;
|
cbc_code39.h | 24 bool Encode(const WideStringView& contents) override;
|
cbc_datamatrix.h | 23 bool Encode(const WideStringView& contents) override;
|
cbc_ean13.h | 24 bool Encode(const WideStringView& contents) override;
|
cbc_ean8.h | 23 bool Encode(const WideStringView& contents) override;
|
cbc_pdf417i.h | 23 bool Encode(const WideStringView& contents) override;
|
cbc_qrcode.h | 23 bool Encode(const WideStringView& contents) override;
|
cbc_upca.h | 23 bool Encode(const WideStringView& contents) override;
|
/external/pdfium/fxbarcode/pdf417/ |
BC_PDF417Writer.h | 21 uint8_t* Encode(const WideString& contents,
|