Home
last modified time | relevance | path

Searched refs:f (Results 1 – 16 of 16) sorted by relevance

/nanopb-3.4.0/tests/decode_unittests/
Ddecode_unittests.c131 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/
Dconanfile.py27 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/
Dpb_decode.h105 #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
Dpb_encode.h86 #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
Dpb_encode.c956 union { float f; uint32_t i; } in; in pb_encode_float_as_double() member
961 in.f = value; in pb_encode_float_as_double()
Dpb_decode.c1668 union { float f; uint32_t i; } out; in pb_decode_double_as_float() member
1724 *dest = out.f; in pb_decode_double_as_float()
DCHANGELOG.txt213 Added "f" suffix to const float declarations. (#453)
/nanopb-3.4.0/spm_headers/nanopb/
Dpb_decode.h105 #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
Dpb_encode.h86 #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/
DSConscript9 '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/
DSConscript25 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/
Dossfuzz.sh16 for f in fuzztest_seed_corpus/*; do
17 mv $f fuzztest_seed_corpus/$(sha1sum $f | cut -f 1 -d ' ')
/nanopb-3.4.0/generator/
Dnanopb_generator.py1143 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 …]
Dplatformio_generator.py56 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/
Ddescriptor.proto730 // a bc de f ghi
736 // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
/nanopb-3.4.0/docs/
Dreference.md126 argument `-f`.