/external/nanopb-c/tests/alltypes_pointer/ |
encode_alltypes_pointer.c | 52 char* rep_string[5] = {"", "", "", "", "2014"}; local 140 alltypes.rep_string_count = 5; alltypes.rep_string = rep_string;
|
decode_alltypes_pointer.c | 67 TEST(alltypes.rep_string_count == 5 && strcmp(alltypes.rep_string[4], "2014") == 0 && alltypes.rep_string[0][0] == '\0');
|
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 201 char* rep_string[5] = {"", "", "", "", "2014"}; local 320 alltypes.rep_string.funcs.decode = &read_repeated_string; 321 alltypes.rep_string.arg = rep_string;
|
encode_alltypes_callback.c | 304 alltypes.rep_string.funcs.encode = &write_repeated_string; 305 alltypes.rep_string.arg = "2014";
|
/external/nanopb-c/tests/backwards_compatibility/ |
alltypes_legacy.c | 69 PB_FIELD( 34, STRING , REPEATED, STATIC, AllTypes, rep_string, rep_double, 0), 70 PB_FIELD( 35, BYTES , REPEATED, STATIC, AllTypes, rep_bytes, rep_string, 0),
|
alltypes_legacy.h | 91 char rep_string[5][16]; member in struct:_AllTypes
|
encode_legacy.c | 60 alltypes.rep_string_count = 5; strcpy(alltypes.rep_string[4], "2014");
|
decode_legacy.c | 73 TEST(alltypes.rep_string_count == 5 && strcmp(alltypes.rep_string[4], "2014") == 0 && alltypes.rep_string[0][0] == '\0');
|
/external/nanopb-c/tests/alltypes/ |
encode_alltypes.c | 57 alltypes.rep_string_count = 5; strcpy(alltypes.rep_string[4], "2014");
|
decode_alltypes.c | 70 TEST(alltypes.rep_string_count == 5 && strcmp(alltypes.rep_string[4], "2014") == 0 && alltypes.rep_string[0][0] == '\0');
|