/nanopb-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 131 pb_field_iter_t f; in main() local 134 f.type = PB_LTYPE_VARINT; in main() 135 f.data_size = sizeof(d); in main() 136 f.pData = &d; in main() 139 TEST(pb_dec_varint(&s, &f) && d == 1) in main() 143 f.data_size = 1; in main() 144 TEST(pb_dec_varint(&s, &f) && (d == 0xFFFFFF00 || d == 0x00FFFFFF)) in main() 149 pb_field_iter_t f; in main() local 152 f.type = PB_LTYPE_SVARINT; in main() 153 f.data_size = sizeof(d); in main() [all …]
|
/nanopb-3.4.0/examples/conan_dependency/ |
D | conanfile.py | 27 python_path=f"PYTHONPATH={nanopb_package_root}/local/lib/python3.10/dist-packages" 28 plugin=f"--plugin={nanopb_package_root}/bin/protoc-gen-nanopb" 30 output=f"--nanopb_out={self.source_folder}/src" 31 proto_flags=f"-I {self.source_folder}/protos simple.proto" 33 self.run(f"{python_path} protoc {plugin} {output} {proto_flags}")
|
/nanopb-3.4.0/ |
D | pb_decode.h | 105 #define pb_decode_noinit(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_NOINIT) argument 106 #define pb_decode_delimited(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_DELIMITED) argument 107 #define pb_decode_delimited_noinit(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_DELIMITED | PB_DECODE_NOINI… argument 108 #define pb_decode_nullterminated(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_NULLTERMINATED) argument
|
D | pb_encode.h | 86 #define pb_encode_delimited(s,f,d) pb_encode_ex(s,f,d, PB_ENCODE_DELIMITED) argument 87 #define pb_encode_nullterminated(s,f,d) pb_encode_ex(s,f,d, PB_ENCODE_NULLTERMINATED) argument
|
D | pb_encode.c | 956 union { float f; uint32_t i; } in; in pb_encode_float_as_double() member 961 in.f = value; in pb_encode_float_as_double()
|
D | pb_decode.c | 1668 union { float f; uint32_t i; } out; in pb_decode_double_as_float() member 1724 *dest = out.f; in pb_decode_double_as_float()
|
D | CHANGELOG.txt | 213 Added "f" suffix to const float declarations. (#453)
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb_decode.h | 105 #define pb_decode_noinit(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_NOINIT) argument 106 #define pb_decode_delimited(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_DELIMITED) argument 107 #define pb_decode_delimited_noinit(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_DELIMITED | PB_DECODE_NOINI… argument 108 #define pb_decode_nullterminated(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_NULLTERMINATED) argument
|
D | pb_encode.h | 86 #define pb_encode_delimited(s,f,d) pb_encode_ex(s,f,d, PB_ENCODE_DELIMITED) argument 87 #define pb_encode_nullterminated(s,f,d) pb_encode_ex(s,f,d, PB_ENCODE_NULLTERMINATED) argument
|
/nanopb-3.4.0/tests/splint/ |
D | SConscript | 9 'splint -f splint/splint.rc $SOURCE 2> $TARGET') 12 'splint -f splint/splint.rc $SOURCE 2> $TARGET') 15 'splint -f splint/splint.rc $SOURCE 2> $TARGET')
|
/nanopb-3.4.0/tests/regression/issue_610/ |
D | SConscript | 25 for f in all_files: 26 env2.NanopbProto([f] + all_files) 28 for f in all_files: 29 env2.Object(f.replace('.proto', '.pb.c'))
|
/nanopb-3.4.0/tests/fuzztest/ |
D | ossfuzz.sh | 16 for f in fuzztest_seed_corpus/*; do 17 mv $f fuzztest_seed_corpus/$(sha1sum $f | cut -f 1 -d ' ')
|
/nanopb-3.4.0/generator/ |
D | nanopb_generator.py | 1143 self.tag = min([f.tag for f in self.fields]) 1153 for f in self.fields: 1154 result += ' ' + str(f).replace('\n', '\n ') + '\n' 1162 return ''.join([f.types() for f in self.fields]) 1166 for f in self.fields: 1167 deps += f.get_dependencies() 1177 return ''.join([f.tags() for f in self.fields]) 1180 return max(f.data_size(dependencies) for f in self.fields) 1186 for f in self.fields: 1187 size = EncodedSize(f.encoded_size(dependencies)) [all …]
|
D | platformio_generator.py | 56 print(f"custom_nanopb_protos: {nanopb_protos}") 131 options_info = f"{options_file}" if options_file else "no options" 134 print(f"[nanopb] Skipping '{proto_file}' ({options_info})") 136 print(f"[nanopb] Processing '{proto_file}' ({options_info})") 141 print(f"[nanopb] ERROR: ({result}) processing cmd: '{cmd}'")
|
/nanopb-3.4.0/generator/proto/google/protobuf/ |
D | descriptor.proto | 730 // a bc de f ghi 736 // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
/nanopb-3.4.0/docs/ |
D | reference.md | 126 argument `-f`.
|