/nanopb-3.4.0/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-3.4.0/examples/platformio/src/ |
D | test.h | 3 #define TEST(x) \ argument 4 if (!(x)) { \ 5 fprintf(stderr, "\033[31;1mFAILED:\033[22;39m %s:%d %s\n", __FILE__, __LINE__, #x); \ 8 printf("\033[32;1mOK:\033[22;39m %s\n", #x); \
|
/nanopb-3.4.0/generator/proto/ |
D | _utils.py | 29 if not [x for x in argv if x.startswith('-I')]:
|
/nanopb-3.4.0/tests/special_characters/ |
D | specchars.expected | 1 int32_t x\[10\];
|
D | funny-proto+name has.characters.proto | 7 repeated int32 x = 3; field
|
/nanopb-3.4.0/tests/regression/issue_569/ |
D | a.proto | 12 int32 x = 2; field
|
D | b.proto | 10 int32 x = 2; field
|
/nanopb-3.4.0/tests/regression/issue_617/ |
D | oneof.proto | 24 uint32 x = 2; field
|
/nanopb-3.4.0/ |
D | pb.h | 143 #define PB_UNUSED(x) (void)(x) argument 152 #define PB_PROGMEM_READU32(x) pgm_read_dword(&x) argument 155 #define PB_PROGMEM_READU32(x) (x) 283 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) argument 284 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) argument 285 #define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) argument 286 #define PB_LTYPE_IS_SUBMSG(x) (PB_LTYPE(x) == PB_LTYPE_SUBMESSAGE || \ argument 287 PB_LTYPE(x) == PB_LTYPE_SUBMSG_W_CB) 494 #define PB_EXPAND(x) x argument
|
D | README.md | 41 (Note: For instructions for nanopb-0.3.9.x and older, see the documentation
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb.h | 143 #define PB_UNUSED(x) (void)(x) argument 152 #define PB_PROGMEM_READU32(x) pgm_read_dword(&x) argument 155 #define PB_PROGMEM_READU32(x) (x) 283 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) argument 284 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) argument 285 #define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) argument 286 #define PB_LTYPE_IS_SUBMSG(x) (PB_LTYPE(x) == PB_LTYPE_SUBMESSAGE || \ argument 287 PB_LTYPE(x) == PB_LTYPE_SUBMSG_W_CB) 494 #define PB_EXPAND(x) x argument
|
/nanopb-3.4.0/tests/intsizes/ |
D | intsizes_unittests.c | 8 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
|
/nanopb-3.4.0/generator/ |
D | nanopb_generator.py | 200 def str(x): argument 202 return strtypes[1](x) 204 return strtypes[0](x) 225 return 'Names(%s)' % ','.join("'%s'" % x for x in self.parts) 319 needed = [x for x in self.required_defines if x not in local_defines] 321 return '#if ' + ' && '.join(['defined(%s)' % x for x in needed]) + "\n" 408 self.values = [(names + x.name, x.number) for x in desc.value] 410 self.values = [(base_name + x.name, x.number) for x in desc.value] 412 self.value_longnames = [self.names + x.name for x in desc.value] 470 sorted_values = sorted(self.values, key = lambda x: (x[1], x[0])) [all …]
|
/nanopb-3.4.0/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-3.4.0/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-3.4.0/tests/fuzztest/ |
D | random_data.c | 155 int x = buf[a]; in rand_mess() local 157 buf[b] = x; in rand_mess()
|
/nanopb-3.4.0/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-3.4.0/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-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 11 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
|
/nanopb-3.4.0/tests/encode_unittests/ |
D | encode_unittests.c | 42 #define WRITES(x, y) \ argument 45 (x) && \
|
/nanopb-3.4.0/docs/ |
D | migration.md | 260 `pb_encode_ex()`. If compatibility with 0.3.9.x is needed, 484 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x) 485 - UNUSED(x) -> PB_UNUSED(x)
|
/nanopb-3.4.0/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-3.4.0/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
|