Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 27) sorted by relevance

12

/nanopb-3.4.0/tests/common/
Dunittests.h5 #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/
Dtest.h3 #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.py29 if not [x for x in argv if x.startswith('-I')]:
/nanopb-3.4.0/tests/special_characters/
Dspecchars.expected1 int32_t x\[10\];
Dfunny-proto+name has.characters.proto7 repeated int32 x = 3; field
/nanopb-3.4.0/tests/regression/issue_569/
Da.proto12 int32 x = 2; field
Db.proto10 int32 x = 2; field
/nanopb-3.4.0/tests/regression/issue_617/
Doneof.proto24 uint32 x = 2; field
/nanopb-3.4.0/
Dpb.h143 #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
DREADME.md41 (Note: For instructions for nanopb-0.3.9.x and older, see the documentation
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h143 #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/
Dintsizes_unittests.c8 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
/nanopb-3.4.0/generator/
Dnanopb_generator.py200 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/
Dmake_mac_package.sh18 git archive HEAD | tar x -C $DEST
Dmake_linux_package.sh18 git archive HEAD | tar x -C $DEST
Dmake_windows_package.sh17 git archive HEAD | tar x -C $DEST
/nanopb-3.4.0/tests/mem_release/
Dmem_release.c10 #define TEST(x) if (!(x)) { \ argument
11 fprintf(stderr, "Test %s on line %d failed.\n", #x, __LINE__); \
/nanopb-3.4.0/tests/fuzztest/
Drandom_data.c155 int x = buf[a]; in rand_mess() local
157 buf[b] = x; in rand_mess()
/nanopb-3.4.0/tests/alltypes_proto3_callback/
Ddecode_alltypes_callback.c13 #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/
Ddecode_alltypes_callback.c13 #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/
Ddecode_unittests.c11 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
/nanopb-3.4.0/tests/encode_unittests/
Dencode_unittests.c42 #define WRITES(x, y) \ argument
45 (x) && \
/nanopb-3.4.0/docs/
Dmigration.md260 `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/
Dany.proto90 // 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/
Dany.proto90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type

12