Searched refs:strlen (Results 1 – 11 of 11) sorted by relevance
/nanopb-3.4.0/tests/oneof_callback/ |
D | decode_oneof.c | 26 int strlen = istream->bytes_left; in SubMsg3_callback() local 28 if (strlen > sizeof(buffer) - 1) in SubMsg3_callback() 31 buffer[strlen] = '\0'; in SubMsg3_callback() 33 if (!pb_read(istream, buffer, strlen)) in SubMsg3_callback() 58 int strlen = stream->bytes_left; in print_string() local 60 if (strlen > sizeof(buffer) - 1) in print_string() 63 buffer[strlen] = '\0'; in print_string() 65 if (!pb_read(stream, buffer, strlen)) in print_string()
|
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/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/extra/ |
D | pb_syshdr.h | 80 static size_t strlen( const char * s ) in strlen() function
|
/nanopb-3.4.0/tests/fuzztest/ |
D | validation.c | 41 assert(strlen(pData) + 1 <= iter->data_size); in validate_static() 116 assert(strlen(str) + 1 <= get_allocation_size(str)); in validate_pointer()
|
/nanopb-3.4.0/examples/network_server/ |
D | client.c | 66 if (strlen(path) + 1 > sizeof(request.path)) in listdir()
|
/nanopb-3.4.0/tests/alltypes_proto3_callback/ |
D | encode_alltypes_callback.c | 52 pb_encode_string(stream, *arg, strlen(*arg)); in write_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() 161 pb_encode_string(stream, *arg, strlen(*arg)); in write_repeated_string()
|
/nanopb-3.4.0/docs/ |
D | index.md | 124 1) `string.h`, with these functions: `strlen`, `memcpy`, `memset`
|
D | concepts.md | 291 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
|
D | reference.md | 656 | size | Number of bytes in the string. Pass `strlen(s)` for strings.
|