Searched refs:pb_encode_string (Results 1 – 11 of 11) sorted by relevance
/nanopb-3.4.0/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-3.4.0/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-3.4.0/tests/regression/issue_342/ |
D | test_extensions.c | 12 pb_encode_string(stream, (const void*)"abc", 3); in write_string()
|
/nanopb-3.4.0/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-3.4.0/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-3.4.0/ |
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 | 715 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string() function 864 return pb_encode_string(stream, NULL, 0); in pb_enc_bytes() 873 return pb_encode_string(stream, bytes->bytes, (size_t)bytes->size); in pb_enc_bytes() 926 return pb_encode_string(stream, (const pb_byte_t*)str, size); in pb_enc_string() 950 return pb_encode_string(stream, (const pb_byte_t*)field->pData, (size_t)field->data_size); in pb_enc_fixed_length_bytes()
|
/nanopb-3.4.0/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-3.4.0/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-3.4.0/docs/ |
D | reference.md | 645 #### pb_encode_string subsubsection 650 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | concepts.md | 291 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
|