Home
last modified time | relevance | path

Searched refs:S (Results 1 – 4 of 4) sorted by relevance

/nanopb-3.4.0/tests/decode_unittests/
Ddecode_unittests.c11 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) macro
81 TEST((s = S("\x00"), pb_decode_varint(&s, &u) && u == 0)); in main()
82 TEST((s = S("\x01"), pb_decode_varint(&s, &u) && u == 1)); in main()
83 TEST((s = S("\xAC\x02"), pb_decode_varint(&s, &u) && u == 300)); in main()
84 TEST((s = S("\xFF\xFF\xFF\xFF\x0F"), pb_decode_varint(&s, &u) && u == UINT32_MAX)); in main()
85 … TEST((s = S("\xFF\xFF\xFF\xFF\x0F"), pb_decode_varint(&s, (uint64_t*)&i) && i == UINT32_MAX)); in main()
86 TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), in main()
88 TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), in main()
90 TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), in main()
99 TEST((s = S("\x00"), pb_decode_varint32(&s, &u) && u == 0)); in main()
[all …]
/nanopb-3.4.0/tests/site_scons/platforms/stm32/
Dstm32_ram.ld89 * define __STARTUP_COPY_MULTIPLE in startup_ARMCMx.S */
107 * define __STARTUP_CLEAR_BSS_MULTIPLE in startup_ARMCMx.S */
/nanopb-3.4.0/tests/intsizes/
Dintsizes_unittests.c8 #define S(x) pb_istream_from_buffer((uint8_t*)x, sizeof(x) - 1) macro
/nanopb-3.4.0/
DAUTHORS.txt39 Sébastien Morin <sebastien.morin@primerogames.com>