Home
last modified time | relevance | path

Searched refs:encode_buffer (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dstrutil_unittest.cc440 char encode_buffer[100]; in TEST() local
456 memset(encode_buffer, 0, sizeof(encode_buffer)); in TEST()
459 encode_buffer, in TEST()
460 sizeof(encode_buffer)); in TEST()
468 ASSERT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
471 memset(encode_buffer, 0, sizeof(encode_buffer)); in TEST()
474 encode_buffer, in TEST()
480 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
485 StringPiece(encode_buffer, cypher_length), &decode_str)); in TEST()
498 EXPECT_EQ(encoded, string(encode_buffer, cypher_length)); in TEST()
[all …]
/external/pigweed/pw_protobuf/
Dencoder_test.cc85 std::byte encode_buffer[32]; in TEST() local
86 NestedEncoder encoder(encode_buffer); in TEST()
105 std::byte encode_buffer[12]; in TEST() local
106 NestedEncoder encoder(encode_buffer); in TEST()
124 std::byte encode_buffer[12]; in TEST() local
125 NestedEncoder encoder(encode_buffer); in TEST()
140 std::byte encode_buffer[128]; in TEST() local
141 NestedEncoder<5, 5> encoder(encode_buffer); in TEST()
223 std::byte encode_buffer[128]; in TEST() local
224 NestedEncoder<2, 2> encoder(encode_buffer); in TEST()
[all …]
Dcodegen_test.cc38 std::byte encode_buffer[512]; in TEST() local
39 NestedEncoder<20, 20> encoder(encode_buffer); in TEST()
178 std::byte encode_buffer[32]; in TEST() local
179 NestedEncoder encoder(encode_buffer); in TEST()
198 std::byte encode_buffer[32]; in TEST() local
199 NestedEncoder encoder(encode_buffer); in TEST()
215 std::byte encode_buffer[32]; in TEST() local
216 NestedEncoder encoder(encode_buffer); in TEST()
236 std::byte encode_buffer[64]; in TEST() local
237 NestedEncoder<1, 3> encoder(encode_buffer); in TEST()
[all …]
/external/webrtc/rtc_base/
Dbase64_unittest.cc368 char encode_buffer[100]; in TEST() local
382 memset(encode_buffer, 0, sizeof(encode_buffer)); in TEST()
385 encode_buffer, sizeof(encode_buffer)); in TEST()
390 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
393 memset(encode_buffer, 0, sizeof(encode_buffer)); in TEST()
396 encode_buffer, cypher_length); in TEST()
401 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
405 decode_length = Base64Unescape(encode_buffer, cypher_length, decode_buffer, in TEST()
418 char* first_equals = strchr(encode_buffer, '='); in TEST()
427 EXPECT_NE(0U, Base64Unescape(encode_buffer, first_equals - encode_buffer, in TEST()
[all …]
/external/nanopb-c/tests/basic_buffer/
DSConscript5 enc = env.Program(["encode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_com…
9 env.RunTest([dec, "encode_buffer.output"])
10 env.Decode(["encode_buffer.output", "$COMMON/person.proto"], MESSAGE = "Person")
11 env.Compare(["decode_buffer.output", "encode_buffer.decoded"])
/external/grpc-grpc/third_party/nanopb/tests/basic_buffer/
DSConscript5 enc = env.Program(["encode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_com…
9 env.RunTest([dec, "encode_buffer.output"])
10 env.Decode(["encode_buffer.output", "$COMMON/person.proto"], MESSAGE = "Person")
11 env.Compare(["decode_buffer.output", "encode_buffer.decoded"])
/external/pigweed/pw_log_rpc/
Dlogs_rpc.cc24 Result<ConstByteSpan> GenerateDroppedEntryMessage(ByteSpan encode_buffer, in GenerateDroppedEntryMessage() argument
26 pw::protobuf::NestedEncoder nested_encoder(encode_buffer); in GenerateDroppedEntryMessage()
/external/pigweed/pw_log_multisink/public/pw_log_multisink/
Dlog_queue.h59 ByteSpan encode_buffer,
63 encode_buffer_(encode_buffer), in pop_status_for_test_()
/external/pigweed/pw_log_sink/
Dlog_sink.cc63 std::byte encode_buffer[kEncodeBufferSize]; in pw_LogSink_Log() local
64 pw::protobuf::NestedEncoder nested_encoder(encode_buffer); in pw_LogSink_Log()
/external/rust/crates/uuid/src/
Dlib.rs551 pub const fn encode_buffer() -> [u8; adapter::Urn::LENGTH] { in encode_buffer() method