Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 25 of 213) sorted by relevance

123456789

/third_party/flutter/engine/flutter/fml/
Dmessage_unittests.cc18 ASSERT_TRUE(message.Encode(12)); in TEST()
19 ASSERT_TRUE(message.Encode(11.0f)); in TEST()
20 ASSERT_TRUE(message.Encode('a')); in TEST()
23 ASSERT_TRUE(message.Encode(s)); in TEST()
31 ASSERT_TRUE(message.Encode(12)); in TEST()
32 ASSERT_TRUE(message.Encode(11.0f)); in TEST()
33 ASSERT_TRUE(message.Encode('a')); in TEST()
39 ASSERT_TRUE(message.Encode(s)); in TEST()
Dmessage.h21 if (!message.Encode(value)) { \
26 if (!message.Encode<traits>(value)) { \
90 FML_WARN_UNUSED_RESULT bool Encode(const T& value) { in Encode() function
98 FML_WARN_UNUSED_RESULT bool Encode(const MessageSerializable& value) { in Encode() function
106 FML_WARN_UNUSED_RESULT bool Encode(const std::unique_ptr<T>& value) { in Encode() function
108 if (!Encode(static_cast<bool>(value))) { in Encode()
117 if (!Encode(Traits::GetSerializableTag(*value.get()))) { in Encode()
122 if (!Encode(*value.get())) { in Encode()
/third_party/flutter/skia/src/images/
DSkImageEncoder.cpp14 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkJpegEncoder
21 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkPngEncoder
28 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkWebpEncoder
43 return SkJpegEncoder::Encode(dst, src, opts); in SkEncodeImage()
47 return SkPngEncoder::Encode(dst, src, opts); in SkEncodeImage()
70 return SkWebpEncoder::Encode(dst, src, opts); in SkEncodeImage()
/third_party/flutter/skia/tests/
DEncodeTest.cpp35 return SkJpegEncoder::Encode(dst, src, SkJpegEncoder::Options()); in encode()
37 return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options()); in encode()
98 DEF_TEST(Encode, r) { in DEF_TEST() argument
169 if (!SkJpegEncoder::Encode(&dummy, bm.pixmap(), opts)) { in DEF_TEST()
194 success = SkJpegEncoder::Encode(&dst0, src, options); in DEF_TEST()
198 success = SkJpegEncoder::Encode(&dst1, src, options); in DEF_TEST()
202 success = SkJpegEncoder::Encode(&dst2, src, options); in DEF_TEST()
253 bool success = SkPngEncoder::Encode(&dst, src, options); in testPngComments()
306 success = SkPngEncoder::Encode(&dst0, src, options); in DEF_TEST()
310 success = SkPngEncoder::Encode(&dst1, src, options); in DEF_TEST()
[all …]
DSkBase64Test.cpp22 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST()
24 SkBase64::Encode(all + offset, length, src.get()); in DEF_TEST()
/third_party/skia/src/images/
DSkImageEncoder.cpp15 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkJpegEncoder
22 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkPngEncoder
29 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() function in SkWebpEncoder
51 return SkJpegEncoder::Encode(dst, src, opts); in SkEncodeImage()
55 return SkPngEncoder::Encode(dst, src, opts); in SkEncodeImage()
78 return SkWebpEncoder::Encode(dst, src, opts); in SkEncodeImage()
/third_party/skia/tests/
DEncodeTest.cpp37 return SkJpegEncoder::Encode(dst, src, SkJpegEncoder::Options()); in encode()
39 return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options()); in encode()
100 DEF_TEST(Encode, r) { in DEF_TEST() argument
171 if (!SkJpegEncoder::Encode(&ignored, bm.pixmap(), opts)) { in DEF_TEST()
196 success = SkJpegEncoder::Encode(&dst0, src, options); in DEF_TEST()
200 success = SkJpegEncoder::Encode(&dst1, src, options); in DEF_TEST()
204 success = SkJpegEncoder::Encode(&dst2, src, options); in DEF_TEST()
255 bool success = SkPngEncoder::Encode(&dst, src, options); in testPngComments()
308 success = SkPngEncoder::Encode(&dst0, src, options); in DEF_TEST()
312 success = SkPngEncoder::Encode(&dst1, src, options); in DEF_TEST()
[all …]
/third_party/rust/crates/serde/serde/src/de/
Dutf8.rs12 pub fn encode(c: char) -> Encode { in encode() argument
34 Encode { buf: buf, pos: pos } in encode()
37 pub struct Encode { struct
42 impl Encode { argument
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dvideo_encode_extensions.txt6 == Video Encode Operations
9 Video Encode Operations, it must: do the following, beforehand:
44 Before creating the Encode Video Session, the encode capabilities
66 The recording of Video Encode Commands against a Vulkan Command Buffer
70 Encode operations in the command buffer.
71 For each Video Encode Command operation, a Video Session must: be bound
73 This command establishes a Vulkan Video Encode Context that consists of
76 The established Video Encode Context is in effect until the
78 If more Video Encode operations are to be required after the
79 flink:vkCmdEndVideoCodingKHR command, another Video Encode Context can:
[all …]
Dvideo_encode_extensions.adoc6 == Video Encode Operations
9 Video Encode Operations, it must: do the following, beforehand:
43 Before creating the Encode Video Session, the encode capabilities
65 The recording of Video Encode Commands against a Vulkan Command Buffer
69 Encode operations in the command buffer.
70 For each Video Encode Command operation, a Video Session must: be bound
72 This command establishes a Vulkan Video Encode Context that consists of
75 The established Video Encode Context is in effect until the
77 If more Video Encode operations are to be required after the
78 flink:vkCmdEndVideoCodingKHR command, another Video Encode Context can:
[all …]
/third_party/node/src/api/
Dencoding.cc122 Local<Value> Encode(Isolate* isolate, in Encode() function
128 return StringBytes::Encode(isolate, buf, len, encoding, &error) in Encode()
132 Local<Value> Encode(Isolate* isolate, const uint16_t* buf, size_t len) { in Encode() function
134 return StringBytes::Encode(isolate, buf, len, &error) in Encode()
/third_party/flutter/skia/bench/
DEncodeBench.cpp58 return SkJpegEncoder::Encode(dst, src, opts); in encode_jpeg()
65 return SkWebpEncoder::Encode(dst, src, opts); in encode_webp_lossy()
72 return SkWebpEncoder::Encode(dst, src, opts); in encode_webp_lossless()
82 return SkPngEncoder::Encode(dst, src, opts); in encode_png()
/third_party/skia/bench/
DEncodeBench.cpp58 return SkJpegEncoder::Encode(dst, src, opts); in encode_jpeg()
65 return SkWebpEncoder::Encode(dst, src, opts); in encode_webp_lossy()
72 return SkWebpEncoder::Encode(dst, src, opts); in encode_webp_lossless()
82 return SkPngEncoder::Encode(dst, src, opts); in encode_png()
/third_party/openssl/test/recipes/
D80-test_pkcs12.t15 use Encode;
39 $pass = Encode::encode("cp1253",Encode::decode("utf-8",$pass));
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dhuffman_codec.cpp148 EXPECT_TRUE(huffman.Encode("e", &bits, &num_bits)); in TEST()
152 EXPECT_TRUE(huffman.Encode("a", &bits, &num_bits)); in TEST()
156 EXPECT_TRUE(huffman.Encode("x", &bits, &num_bits)); in TEST()
160 EXPECT_FALSE(huffman.Encode("y", &bits, &num_bits)); in TEST()
/third_party/python/Doc/library/
Dquopri.rst1 :mod:`quopri` --- Encode and decode MIME quoted-printable data
5 :synopsis: Encode and decode files using the MIME quoted-printable encoding.
35 Encode the contents of the *input* file and write the resulting quoted-printable
63 Encode and decode MIME base64 data
Dbase64.rst53 Encode the :term:`bytes-like object` *s* using Base64 and return the encoded
84 Encode :term:`bytes-like object` *s* using the standard Base64 alphabet
96 Encode :term:`bytes-like object` *s* using the
114 Encode the :term:`bytes-like object` *s* using Base32 and return the
162 Encode the :term:`bytes-like object` *s* using Base16 and return the
182 Encode the :term:`bytes-like object` *b* using Ascii85 and return the
224 Encode the :term:`bytes-like object` *b* using base85 (as used in e.g.
262 Encode the contents of the binary *input* file and write the resulting base64
272 Encode the :term:`bytes-like object` *s*, which can contain arbitrary binary
/third_party/node/src/
Dstring_bytes.h89 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
99 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
104 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
/third_party/flutter/skia/gm/
Dencode_platform.cpp65 bool success = SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options()); in encode_data()
69 bool success = SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options()); in encode_data()
73 bool success = SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options()); in encode_data()
Dencode_srgb.cpp74 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
77 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
80 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
/third_party/skia/gm/
Dencode_srgb.cpp74 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
77 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
80 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
Dencode_platform.cpp78 bool success = SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options()); in encode_data()
82 bool success = SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options()); in encode_data()
86 bool success = SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options()); in encode_data()
/third_party/flutter/skia/fuzz/
DFuzzEncoders.cpp46 SkPngEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
56 (void)SkJpegEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
73 (void)SkWebpEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
/third_party/skia/fuzz/
DFuzzEncoders.cpp46 SkPngEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
56 (void)SkJpegEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
73 (void)SkWebpEncoder::Encode(&dest, bm.pixmap(), opts); in DEF_FUZZ()
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dcbrotli_test.go259 encoded, _ := Encode(content, WriterOptions{Quality: 5})
285 encoded, _ := Encode(content, WriterOptions{Quality: 5})
304 encoded, err := Encode(content, WriterOptions{Quality: 5})
322 encoded, _ := Encode(content, WriterOptions{Quality: 5})
341 encoded, err := Encode(input, WriterOptions{Quality: 5})

123456789