Home
last modified time | relevance | path

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

/nanopb-2.7.6/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-2.7.6/generator/proto/
D_utils.py28 if not [x for x in argv if x.startswith('-I')]:
Dnanopb.proto137 // Same as nanopb_generator.py command line flag -x.
/nanopb-2.7.6/tests/regression/issue_569/
Da.proto12 int32 x = 2; field
Db.proto10 int32 x = 2; field
/nanopb-2.7.6/tests/regression/issue_617/
Doneof.proto24 uint32 x = 2; field
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h121 #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/
Dpb.h121 #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
DREADME.md39 (Note: For instructions for nanopb-0.3.9.x and older, see the documentation
DCHANGELOG.txt289 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/
Dintsizes_unittests.c8 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
/nanopb-2.7.6/generator/
Dnanopb_generator.py263 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/
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-2.7.6/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-2.7.6/tests/fuzztest/
Drandom_data.c155 int x = buf[a]; in rand_mess() local
157 buf[b] = x; in rand_mess()
/nanopb-2.7.6/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-2.7.6/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-2.7.6/tests/decode_unittests/
Ddecode_unittests.c11 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) argument
/nanopb-2.7.6/tests/encode_unittests/
Dencode_unittests.c42 #define WRITES(x, y) \ argument
45 (x) && \
/nanopb-2.7.6/docs/
Dmigration.md203 `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/
Dany.proto90 // 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/
Dany.proto90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type