Searched refs:pb_encode_string (Results 1 – 11 of 11) sorted by relevance
/nanopb-2.7.6/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()
|
/nanopb-2.7.6/tests/oneof_callback/ |
D | encode_oneof.c | 26 return pb_encode_string(ostream, (const uint8_t*)str, strlen(str)); in SubMsg3_callback() 56 return pb_encode_string(stream, (const uint8_t*)str, strlen(str)); in encode_string()
|
/nanopb-2.7.6/tests/regression/issue_342/ |
D | test_extensions.c | 12 pb_encode_string(stream, (const void*)"abc", 3); in write_string()
|
/nanopb-2.7.6/tests/alltypes_proto3_callback/ |
D | encode_alltypes_callback.c | 52 pb_encode_string(stream, *arg, strlen(*arg)); in write_string() 153 pb_encode_string(stream, 0, 0) && in write_repeated_string() 155 pb_encode_string(stream, 0, 0) && in write_repeated_string() 157 pb_encode_string(stream, 0, 0) && in write_repeated_string() 159 pb_encode_string(stream, 0, 0) && in write_repeated_string() 161 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/nanopb-2.7.6/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 52 pb_encode_string(stream, *arg, strlen(*arg)); in write_string() 153 pb_encode_string(stream, 0, 0) && in write_repeated_string() 155 pb_encode_string(stream, 0, 0) && in write_repeated_string() 157 pb_encode_string(stream, 0, 0) && in write_repeated_string() 159 pb_encode_string(stream, 0, 0) && in write_repeated_string() 161 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/nanopb-2.7.6/ |
D | pb_encode.h | 156 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | pb_encode.c | 702 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string() function 851 return pb_encode_string(stream, NULL, 0); in pb_enc_bytes() 860 return pb_encode_string(stream, bytes->bytes, (size_t)bytes->size); in pb_enc_bytes() 913 return pb_encode_string(stream, (const pb_byte_t*)str, size); in pb_enc_string() 937 return pb_encode_string(stream, (const pb_byte_t*)field->pData, (size_t)field->data_size); in pb_enc_fixed_length_bytes()
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_encode.h | 156 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
/nanopb-2.7.6/tests/encode_unittests/ |
D | encode_unittests.c | 167 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd", 4), "\x04""abcd")); in main() 168 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"abcd\x00", 5), "\x05""abcd\x00")); in main() 169 TEST(WRITES(pb_encode_string(&s, (const uint8_t*)"", 0), "\x00")); in main()
|
/nanopb-2.7.6/docs/ |
D | reference.md | 632 #### pb_encode_string subsubsection 637 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | concepts.md | 285 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
|