/external/nanopb-c/tests/alltypes_proto3_callback/ |
D | encode_alltypes_callback.c | 40 pb_encode_string(stream, *arg, strlen(*arg)); in write_string() 116 pb_encode_string(stream, 0, 0) && in write_repeated_string() 118 pb_encode_string(stream, 0, 0) && in write_repeated_string() 120 pb_encode_string(stream, 0, 0) && in write_repeated_string() 122 pb_encode_string(stream, 0, 0) && in write_repeated_string() 124 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/external/grpc-grpc/third_party/nanopb/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 40 pb_encode_string(stream, *arg, strlen(*arg)); in write_string() 116 pb_encode_string(stream, 0, 0) && in write_repeated_string() 118 pb_encode_string(stream, 0, 0) && in write_repeated_string() 120 pb_encode_string(stream, 0, 0) && in write_repeated_string() 122 pb_encode_string(stream, 0, 0) && in write_repeated_string() 124 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 40 pb_encode_string(stream, *arg, strlen(*arg)); in write_string() 116 pb_encode_string(stream, 0, 0) && in write_repeated_string() 118 pb_encode_string(stream, 0, 0) && in write_repeated_string() 120 pb_encode_string(stream, 0, 0) && in write_repeated_string() 122 pb_encode_string(stream, 0, 0) && in write_repeated_string() 124 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/external/grpc-grpc/third_party/nanopb/tests/callbacks/ |
D | encode_callbacks.c | 16 return pb_encode_string(stream, (uint8_t*)str, strlen(str)); in encode_string() 57 if (!pb_encode_string(stream, (uint8_t*)str[i], strlen(str[i]))) in encode_repeatedstring()
|
/external/nanopb-c/tests/callbacks/ |
D | encode_callbacks.c | 16 return pb_encode_string(stream, (uint8_t*)str, strlen(str)); in encode_string() 57 if (!pb_encode_string(stream, (uint8_t*)str[i], strlen(str[i]))) in encode_repeatedstring()
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_encode.c | 513 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string() function 644 return pb_encode_string(stream, (const pb_byte_t*)src, field->data_size); in pb_enc_bytes() 651 return pb_encode_string(stream, NULL, 0); in pb_enc_bytes() 660 return pb_encode_string(stream, bytes->bytes, bytes->size); in pb_enc_bytes() 686 return pb_encode_string(stream, (const pb_byte_t*)src, size); in pb_enc_string()
|
D | pb_encode.h | 133 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | alts_handshaker_service_api_util.cc | 81 return pb_encode_string(stream, GRPC_SLICE_START_PTR(*slice), in encode_string_or_bytes_cb() 104 if (!pb_encode_string(stream, GRPC_SLICE_START_PTR(*slice), in encode_repeated_string_cb()
|
/external/nanopb-c/ |
D | pb_encode.c | 674 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string() function 819 return pb_encode_string(stream, NULL, 0); in pb_enc_bytes() 828 return pb_encode_string(stream, bytes->bytes, bytes->size); in pb_enc_bytes() 854 return pb_encode_string(stream, (const pb_byte_t*)src, size); in pb_enc_string() 867 return pb_encode_string(stream, (const pb_byte_t*)src, field->data_size); in pb_enc_fixed_length_bytes()
|
D | pb_encode.h | 147 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/ |
D | encode_unittests.c | 120 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd", 4), "\x04""abcd")); in main() 121 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd\x00", 5), "\x05""abcd\x00")); in main() 122 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"", 0), "\x00")); in main()
|
/external/nanopb-c/tests/encode_unittests/ |
D | encode_unittests.c | 120 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd", 4), "\x04""abcd")); in main() 121 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd\x00", 5), "\x05""abcd\x00")); in main() 122 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"", 0), "\x00")); in main()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 87 return pb_encode_string(stream, reinterpret_cast<uint8_t*>(str), strlen(str)); in encode_string()
|
/external/grpc-grpc/third_party/nanopb/docs/ |
D | reference.rst | 526 pb_encode_string section in pb_encode.h 530 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | concepts.rst | 209 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
|
/external/nanopb-c/docs/ |
D | reference.rst | 536 pb_encode_string section in pb_encode.h 540 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | concepts.rst | 215 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
|