Home
last modified time | relevance | path

Searched defs:teststr (Results 1 – 5 of 5) sorted by relevance

/net-tools-2.7.6/libcoap/tests/
Dtest_pdu.c27 uint8_t teststr[] = { 0x40, 0x01, 0x93, 0x34 }; in t_parse_pdu1() local
44 uint8_t teststr[] = { 0x55, 0x69, 0x12, 0x34, 't', 'o', 'k', 'e', 'n' }; in t_parse_pdu2() local
62 uint8_t teststr[] = { 0x53, 0x69, 0x12, 0x34, 't', 'o', 'k', 'e', 'n' }; in t_parse_pdu3() local
72 uint8_t teststr[] = { 0x59, 0x69, 0x12, 0x34, in t_parse_pdu4() local
88 uint8_t teststr[] = { 0x55, 0x73, 0x12, 0x34, 't', 'o', 'k', 'e', in t_parse_pdu5() local
111 uint8_t teststr[] = { 0x55, 0x73, 0x12, 0x34, 't', 'o', 'k', 'e', in t_parse_pdu6() local
123 uint8_t teststr[] = { 0x55, 0x73, 0x12, 0x34, 't', 'o', 'k', 'e', in t_parse_pdu7() local
149 uint8_t teststr[] = { 0x50, 0x73, 0x12, 0x34, in t_parse_pdu8() local
174 uint8_t teststr[] = { 0x70, 0x00, 0x12, 0x34, 0xff }; in t_parse_pdu9() local
184 uint8_t teststr[] = { 0x53, 0x73, 0x12, 0x34, 't', 'o', 'k', in t_parse_pdu10() local
[all …]
Dtest_options.c25 str teststr = { 1, (unsigned char *)"" }; in t_parse_option1() local
41 str teststr = { 2, (unsigned char *)"\xc1" }; in t_parse_option2() local
56 str teststr = { 13, (unsigned char *)"\x3c\x00\x01\x02\x03\x04" in t_parse_option3() local
73 str teststr = { 2, (unsigned char *)"\xf3" }; in t_parse_option4() local
85 str teststr = { 2, (unsigned char *)"\x3f" }; in t_parse_option5() local
97 str teststr = { 1, (unsigned char *)"\xff" }; in t_parse_option6() local
109 str teststr = { 2, (unsigned char *)"\xd0\x07" }; in t_parse_option7() local
123 str teststr = { 3, (unsigned char *)"\xe0\x01\xff" }; in t_parse_option8() local
137 str teststr = { 3, (unsigned char *)"\xe0\xfe\xf2" }; in t_parse_option9() local
150 str teststr = { 3, (unsigned char *)"\xe0\xff\xff" }; in t_parse_option10() local
[all …]
Dtest_uri.c18 char teststr[] = "coap://[::1]/.well-known/core"; in t_parse_uri1() local
42 char teststr[] = "coap://[::1]:8000/.well-known/core"; in t_parse_uri2() local
65 char teststr[] = "coap://localhost/?foo&bla=fasel"; in t_parse_uri3() local
87 char teststr[] = "coap://:100000"; in t_parse_uri4() local
97 char teststr[] = "coap://foo:100000"; in t_parse_uri5() local
120 char teststr[] = "coap://134.102.218.2/.well-known/core"; in t_parse_uri6() local
143 char teststr[] = "coap://foo.bar:5683/some_resource/with/multiple/segments"; in t_parse_uri7() local
184 char teststr[] = "http://example.com/%7E%AB%13"; in t_parse_uri8() local
198 char teststr[] = "http://example.com/%x"; in t_parse_uri9() local
212 char teststr[] = "/absolute/path"; in t_parse_uri10() local
[all …]
Dtest_error_response.c30 uint8_t teststr[] = { in t_error_response1() local
58 uint8_t teststr[] = { in t_error_response2() local
88 uint8_t teststr[] = { in t_error_response3() local
125 uint8_t teststr[] = { in t_error_response4() local
165 uint8_t teststr[] = { in t_error_response5() local
206 uint8_t teststr[] = { in t_error_response6() local
247 uint8_t teststr[] = { in t_error_response7() local
284 uint8_t teststr[] = { in t_error_response8() local
Dtest_wellknown.c33 char teststr[] = { /* </>;title="some attribute";ct=0 (31 chars) */ in t_wellknown1() local
82 char teststr[] = { /* ,</abcd>;if="one";obs (21 chars) */ in t_wellknown2() local