Home
last modified time | relevance | path

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

/nanopb-2.7.6/tests/site_scons/platforms/avr/
Drun_test.c100 uint32_t flags = 0; in init_uart() local
101 avr_ioctl(g_avr, AVR_IOCTL_UART_GET_FLAGS('0'), &flags); in init_uart()
102 flags &= ~AVR_UART_FLAG_STDIO; in init_uart()
103 flags &= ~AVR_UART_FLAG_POLL_SLEEP; in init_uart()
104 avr_ioctl(g_avr, AVR_IOCTL_UART_SET_FLAGS('0'), &flags); in init_uart()
/nanopb-2.7.6/tests/stackusage/
Dstackusage.proto37 uint32 flags = 3; field
/nanopb-2.7.6/
Dpb_encode.h83 …e_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags);
Dpb_decode.h102 …decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags);
Dpb_decode.c978 …code_inner(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags) in pb_decode_inner() argument
997 if ((flags & PB_DECODE_NOINIT) == 0) in pb_decode_inner()
1020 if (flags & PB_DECODE_NULLTERMINATED) in pb_decode_inner()
1142 …_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags) in pb_decode_ex() argument
1146 if ((flags & PB_DECODE_DELIMITED) == 0) in pb_decode_ex()
1148 status = pb_decode_inner(stream, fields, dest_struct, flags); in pb_decode_ex()
1156 status = pb_decode_inner(&substream, fields, dest_struct, flags); in pb_decode_ex()
1601 unsigned int flags = 0; in pb_dec_submessage() local
1608 flags = PB_DECODE_NOINIT; in pb_dec_submessage()
1611 status = pb_decode_inner(&substream, field->submsg_desc, field->pData, flags); in pb_dec_submessage()
Dpb_encode.c533 …de_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags) in pb_encode_ex() argument
535 if ((flags & PB_ENCODE_DELIMITED) != 0) in pb_encode_ex()
539 else if ((flags & PB_ENCODE_NULLTERMINATED) != 0) in pb_encode_ex()
/nanopb-2.7.6/spm_headers/nanopb/
Dpb_encode.h83 …e_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags);
Dpb_decode.h102 …decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags);
/nanopb-2.7.6/tests/
DSConstruct28 # Allow giving environment flags on command line.
77 def check_ccflags(context, flags, linkflags = ''):
79 context.Message('Checking support for CCFLAGS="%s"... ' % flags)
82 context.env.Append(CCFLAGS = flags)
137 # Check if we can use extra strict warning flags (only with GCC)
/nanopb-2.7.6/tests/common/
DSConscript13 # These are built using more strict warning flags.
/nanopb-2.7.6/tests/fuzztest/
Dfuzztest.c65 …, size_t msglen, size_t structsize, const pb_msgdesc_t *msgtype, unsigned flags, bool assert_succe… in do_decode() argument
91 status = pb_decode_ex(&stream, msgtype, msg, flags); in do_decode()
/nanopb-2.7.6/docs/
Dreference.md511 Encodes the message, with extended behavior set by flags:
513 …e_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags);
520 | flags | Extended options, see below.
771 …decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags);
778 | flags | Extended options, see below
Dmigration.md553 set flags inside the values.
/nanopb-2.7.6/generator/
Dnanopb_generator.py1947 data = re.sub(r'/\*.*?\*/', '', data, flags = re.MULTILINE)
1948 data = re.sub(r'//.*?$', '', data, flags = re.MULTILINE)
1949 data = re.sub(r'#.*?$', '', data, flags = re.MULTILINE)