Lines Matching refs:result
20 int result; in t_parse_uri1() local
23 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri1()
24 if (result == 0) { in t_parse_uri1()
43 int result; in t_parse_uri2() local
46 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri2()
47 if (result == 0) { in t_parse_uri2()
66 int result; in t_parse_uri3() local
69 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri3()
70 if (result == 0) { in t_parse_uri3()
88 int result; in t_parse_uri4() local
91 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri4()
92 CU_ASSERT(result < 0); in t_parse_uri4()
98 int result; in t_parse_uri5() local
101 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri5()
102 if (result == 0) { in t_parse_uri5()
121 int result; in t_parse_uri6() local
124 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri6()
125 if (result == 0) { in t_parse_uri6()
144 int result; in t_parse_uri7() local
159 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri7()
160 if (result == 0) { in t_parse_uri7()
173 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri7()
174 CU_ASSERT(result == 4); in t_parse_uri7()
185 int result; in t_parse_uri8() local
188 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri8()
189 if (result < 0) { in t_parse_uri8()
199 int result; in t_parse_uri9() local
202 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri9()
203 if (result < 0) { in t_parse_uri9()
213 int result; in t_parse_uri10() local
216 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri10()
217 if (result == 0) { in t_parse_uri10()
237 int result; in t_parse_uri11() local
251 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri11()
252 if (result == 0) { in t_parse_uri11()
266 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri11()
267 CU_ASSERT(result == 1); in t_parse_uri11()
278 int result; in t_parse_uri12() local
289 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri); in t_parse_uri12()
290 if (result == 0) { in t_parse_uri12()
303 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri12()
304 CU_ASSERT(result == 4); in t_parse_uri12()
310 result = coap_split_query(uri.query.s, uri.query.length, buf, &buflen); in t_parse_uri12()
311 CU_ASSERT(result == 2); in t_parse_uri12()