Home
last modified time | relevance | path

Searched refs:opt_int32 (Results 1 – 13 of 13) sorted by relevance

/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c67 int32_t opt_int32 = 3041; in main() local
149 alltypes.opt_int32 = &opt_int32; in main()
Ddecode_alltypes_pointer.c82 TEST(alltypes.opt_int32 == NULL); in check_alltypes()
105 TEST(alltypes.opt_int32 && *alltypes.opt_int32 == 3041); in check_alltypes()
/external/nanopb-c/tests/backwards_compatibility/
Dalltypes_legacy.c73 …PB_FIELD( 41, INT32 , OPTIONAL, STATIC, AllTypes, opt_int32, rep_enum, &AllTypes_opt_int32_defau…
74 …PB_FIELD( 42, INT64 , OPTIONAL, STATIC, AllTypes, opt_int64, opt_int32, &AllTypes_opt_int64_defa…
Ddecode_legacy.c88 TEST(alltypes.opt_int32 == 4041); in check_alltypes()
132 TEST(alltypes.opt_int32 == 3041); in check_alltypes()
Dalltypes_legacy.h99 int32_t opt_int32; member
Dencode_legacy.c76 alltypes.opt_int32 = 3041; in main()
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c86 TEST(alltypes.opt_int32 == 4041); in check_alltypes()
131 TEST(alltypes.opt_int32 == 3041); in check_alltypes()
Dencode_alltypes.c85 alltypes.opt_int32 = 3041; in main()
Dalltypes.proto82 optional int32 opt_int32 = 41 [default = 4041]; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto82 optional int32 opt_int32 = 10041 [default = 4041]; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto82 optional int32 opt_int32 = 10041 [default = 4041]; field
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c323 alltypes.opt_int32.funcs.encode = &write_varint; in main()
324 alltypes.opt_int32.arg = (void*)3041; in main()
Ddecode_alltypes_callback.c342 alltypes.opt_int32.funcs.decode = &read_varint; in check_alltypes()
343 alltypes.opt_int32.arg = (void*)3041; in check_alltypes()