/nanopb-2.7.6/tests/common/ |
D | unittests.h | 5 #define COMMENT(x) printf("\n----" x "----\n"); argument 6 #define TEST(x) \ argument 7 if (!(x)) { \ 17 #define COMMENT(x) printf("\n----" x "----\n"); argument 18 #define TEST(x) \ argument 19 if (!(x)) { \ 20 fprintf(stderr, "\033[31;1mFAILED:\033[22;39m %s:%d %s\n", __FILE__, __LINE__, #x); \ 23 printf("\033[32;1mOK:\033[22;39m %s\n", #x); \
|
/nanopb-2.7.6/generator/proto/ |
D | _utils.py | 28 if not [x for x in argv if x.startswith('-I')]:
|
D | nanopb.proto | 137 // Same as nanopb_generator.py command line flag -x.
|
/nanopb-2.7.6/tests/regression/issue_569/ |
D | a.proto | 12 int32 x = 2; field
|
D | b.proto | 10 int32 x = 2; field
|
/nanopb-2.7.6/tests/regression/issue_617/ |
D | oneof.proto | 24 uint32 x = 2; field
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb.h | 121 #define PB_UNUSED(x) (void)(x) argument 130 #define PB_PROGMEM_READU32(x) pgm_read_dword(&x) argument 133 #define PB_PROGMEM_READU32(x) (x) 247 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) argument 248 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) argument 249 #define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) argument 250 #define PB_LTYPE_IS_SUBMSG(x) (PB_LTYPE(x) == PB_LTYPE_SUBMESSAGE || \ argument 251 PB_LTYPE(x) == PB_LTYPE_SUBMSG_W_CB) 457 #define PB_EXPAND(x) x argument
|
/nanopb-2.7.6/ |
D | pb.h | 121 #define PB_UNUSED(x) (void)(x) argument 130 #define PB_PROGMEM_READU32(x) pgm_read_dword(&x) argument 133 #define PB_PROGMEM_READU32(x) (x) 247 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) argument 248 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) argument 249 #define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) argument 250 #define PB_LTYPE_IS_SUBMSG(x) (PB_LTYPE(x) == PB_LTYPE_SUBMESSAGE || \ argument 251 PB_LTYPE(x) == PB_LTYPE_SUBMSG_W_CB) 457 #define PB_EXPAND(x) x argument
|
D | README.md | 39 (Note: For instructions for nanopb-0.3.9.x and older, see the documentation
|
D | CHANGELOG.txt | 289 Fix compiler warning on GCC 5.x (issue 171) 342 Backport Python 3 and protoc 3.x fixes to test cases
|
/nanopb-2.7.6/tests/intsizes/ |
D | intsizes_unittests.c | 8 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
|
/nanopb-2.7.6/generator/ |
D | nanopb_generator.py | 263 needed = [x for x in self.required_defines if x not in local_defines] 265 return '#if ' + ' && '.join(['defined(%s)' % x for x in needed]) + "\n" 359 self.values = [(names + x.name, x.number) for x in desc.value] 361 self.values = [(base_name + x.name, x.number) for x in desc.value] 363 self.value_longnames = [self.names + x.name for x in desc.value] 412 sorted_values = sorted(self.values, key = lambda x: (x[1], x[0])) 420 for i, x in enumerate(self.values): 421 result += '#define %s %s\n' % (self.value_longnames[i], x[0]) 810 … other_dependencies = dict(x for x in dependencies.items() if x[0] != str(self.struct_name)) 855 … other_dependencies = dict(x for x in dependencies.items() if x[0] != str(self.struct_name)) [all …]
|
/nanopb-2.7.6/tools/ |
D | make_mac_package.sh | 18 git archive HEAD | tar x -C $DEST
|
D | make_linux_package.sh | 18 git archive HEAD | tar x -C $DEST
|
D | make_windows_package.sh | 17 git archive HEAD | tar x -C $DEST
|
/nanopb-2.7.6/tests/mem_release/ |
D | mem_release.c | 10 #define TEST(x) if (!(x)) { \ argument 11 fprintf(stderr, "Test %s on line %d failed.\n", #x, __LINE__); \
|
/nanopb-2.7.6/tests/fuzztest/ |
D | random_data.c | 155 int x = buf[a]; in rand_mess() local 157 buf[b] = x; in rand_mess()
|
/nanopb-2.7.6/tests/alltypes_proto3_callback/ |
D | decode_alltypes_callback.c | 13 #define TEST(x) if (!(x)) { \ argument 14 printf("Test %s failed (in field %d).\n", #x, field->tag); \
|
/nanopb-2.7.6/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 13 #define TEST(x) if (!(x)) { \ argument 14 printf("Test %s failed (in field %d).\n", #x, field->tag); \
|
/nanopb-2.7.6/tests/decode_unittests/ |
D | decode_unittests.c | 11 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
|
/nanopb-2.7.6/tests/encode_unittests/ |
D | encode_unittests.c | 42 #define WRITES(x, y) \ argument 45 (x) && \
|
/nanopb-2.7.6/docs/ |
D | migration.md | 203 `pb_encode_ex()`. If compatibility with 0.3.9.x is needed, 427 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x) 428 - UNUSED(x) -> PB_UNUSED(x)
|
/nanopb-2.7.6/tests/any_type/google/protobuf/ |
D | any.proto | 90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
/nanopb-2.7.6/tests/generator_relative_paths/proto/protobuf/ |
D | any.proto | 90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type
|