Home
last modified time | relevance | path

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

/nanopb-2.7.6/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-2.7.6/
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.c943 union { float f; uint32_t i; } in; in pb_encode_float_as_double() member
948 in.f = value; in pb_encode_float_as_double()
Dpb_decode.c1650 union { float f; uint32_t i; } out; in pb_decode_double_as_float() member
1706 *dest = out.f; in pb_decode_double_as_float()
DCHANGELOG.txt145 Added "f" suffix to const float declarations. (#453)
/nanopb-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/tests/fuzztest/
Dossfuzz.sh16 for f in fuzztest_seed_corpus/*; do
17 mv $f fuzztest_seed_corpus/$(sha1sum $f | cut -f 1 -d ' ')
/nanopb-2.7.6/generator/
Dnanopb_generator.py1043 self.tag = min([f.tag for f in self.fields])
1053 for f in self.fields:
1054 result += ' ' + str(f).replace('\n', '\n ') + '\n'
1062 return ''.join([f.types() for f in self.fields])
1066 for f in self.fields:
1067 deps += f.get_dependencies()
1077 return ''.join([f.tags() for f in self.fields])
1080 return max(f.data_size(dependencies) for f in self.fields)
1086 for f in self.fields:
1087 size = EncodedSize(f.encoded_size(dependencies))
[all …]
/nanopb-2.7.6/generator/proto/google/protobuf/
Ddescriptor.proto730 // a bc de f ghi
736 // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
/nanopb-2.7.6/docs/
Dreference.md121 argument `-f`.