Home
last modified time | relevance | path

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

/nanopb-3.4.0/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-3.4.0/tests/stackusage/
Dstackusage.proto37 uint32 flags = 3; field
/nanopb-3.4.0/
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.c989 …code_inner(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags) in pb_decode_inner() argument
1008 if ((flags & PB_DECODE_NOINIT) == 0) in pb_decode_inner()
1031 if (flags & PB_DECODE_NULLTERMINATED) in pb_decode_inner()
1153 …_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags) in pb_decode_ex() argument
1157 if ((flags & PB_DECODE_DELIMITED) == 0) in pb_decode_ex()
1159 status = pb_decode_inner(stream, fields, dest_struct, flags); in pb_decode_ex()
1167 status = pb_decode_inner(&substream, fields, dest_struct, flags); in pb_decode_ex()
1619 unsigned int flags = 0; in pb_dec_submessage() local
1626 flags = PB_DECODE_NOINIT; in pb_dec_submessage()
1629 status = pb_decode_inner(&substream, field->submsg_desc, field->pData, flags); in pb_dec_submessage()
Dpb_encode.c535 …de_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags) in pb_encode_ex() argument
537 if ((flags & PB_ENCODE_DELIMITED) != 0) in pb_encode_ex()
541 else if ((flags & PB_ENCODE_NULLTERMINATED) != 0) in pb_encode_ex()
/nanopb-3.4.0/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-3.4.0/tests/
DSConstruct28 # Allow giving environment flags on command line.
77 def check_ccflags(context, flags, linkflags = ''):
79 context.Message('Checking support for CCFLAGS="%s" LINKFLAGS="%s"... ' % (flags, linkflags))
82 context.env.Append(CCFLAGS = flags)
141 # Check if we can use extra strict warning flags (only with GCC)
/nanopb-3.4.0/tests/common/
DSConscript13 # These are built using more strict warning flags.
/nanopb-3.4.0/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-3.4.0/docs/
Dreference.md524 Encodes the message, with extended behavior set by flags:
526 …e_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags);
533 | flags | Extended options, see below.
784 …decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags);
791 | flags | Extended options, see below
Dmigration.md610 set flags inside the values.
/nanopb-3.4.0/generator/
Dnanopb_generator.py2170 data = re.sub(r'/\*.*?\*/', '', data, flags = re.MULTILINE)
2171 data = re.sub(r'//.*?$', '', data, flags = re.MULTILINE)
2172 data = re.sub(r'#.*?$', '', data, flags = re.MULTILINE)