21 if (mode == 0 || mode == 1)
45 memcpy(alltypes.req_fbytes,
"1019", 4);
74 alltypes.rep_emptymsg_count = 5;
76 alltypes.rep_fbytes_count = 5;
77 memcpy(alltypes.rep_fbytes[4],
"2019", 4);
79 alltypes.rep_farray[4] = 2040;
80 alltypes.rep_farray2[2] = 2095;
82 alltypes.req_limits.int32_min = INT32_MIN;
83 alltypes.req_limits.int32_max = INT32_MAX;
84 alltypes.req_limits.uint32_min = 0;
85 alltypes.req_limits.uint32_max = UINT32_MAX;
86 alltypes.req_limits.int64_min = INT64_MIN;
87 alltypes.req_limits.int64_max = INT64_MAX;
88 alltypes.req_limits.uint64_min = 0;
89 alltypes.req_limits.uint64_max = UINT64_MAX;
92 alltypes.req_limits.largetag = 1001;
94 alltypes.req_ds8.first = 9991;
95 alltypes.req_ds8.second = 9992;
97 alltypes.req_intsizes.req_int8 = -128;
98 alltypes.req_intsizes.req_uint8 = 255;
99 alltypes.req_intsizes.req_sint8 = -128;
100 alltypes.req_intsizes.req_int16 = -32768;
101 alltypes.req_intsizes.req_uint16 = 65535;
102 alltypes.req_intsizes.req_sint16 = -32768;
147 alltypes.has_opt_emptymsg =
true;
148 alltypes.has_opt_fbytes =
true;
149 memcpy(alltypes.opt_fbytes,
"3059", 4);
151 alltypes.which_oneof = AllTypes_oneof_msg1_tag;
152 strcpy(alltypes.oneof.oneof_msg1.substuff1,
"4059");
153 alltypes.oneof.oneof_msg1.substuff2 = 4059;
155 alltypes.has_opt_non_zero_based_enum =
true;
156 alltypes.opt_non_zero_based_enum = NonZeroBasedEnum_Three;
size_t fwrite(const void *__restrict ptr, size_t size, size_t nmemb, FILE *__restrict stream)