Lines Matching refs:result

20   int result;
23 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
24 if (result == 0) {
43 int result;
46 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
47 if (result == 0) {
66 int result;
69 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
70 if (result == 0) {
88 int result;
91 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
92 CU_ASSERT(result < 0);
98 int result;
101 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
102 if (result == 0) {
121 int result;
124 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
125 if (result == 0) {
144 int result;
159 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
160 if (result == 0) {
173 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
174 CU_ASSERT(result == 4);
186 int result;
190 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
192 if (result < 0) {
203 int result;
207 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
209 if (result < 0) {
219 int result;
222 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
223 if (result == 0) {
243 int result;
257 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
258 if (result == 0) {
272 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
273 CU_ASSERT(result == 1);
284 int result;
295 result = coap_split_uri((unsigned char *)teststr, strlen(teststr), &uri);
296 if (result == 0) {
309 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
310 CU_ASSERT(result == 4);
316 result = coap_split_query(uri.query.s, uri.query.length, buf, &buflen);
317 CU_ASSERT(result == 2);
359 int result;
366 result = coap_split_query((unsigned char *)teststr, strlen(teststr),
368 if (result >= 0) {
382 int result;
389 result = coap_split_query((unsigned char *)teststr, strlen(teststr),
391 CU_ASSERT(result == 0);
398 int result;
404 result = coap_split_query((unsigned char *)teststr, strlen(teststr),
406 CU_ASSERT(result == 0);
418 int result;
425 result = coap_split_query((unsigned char *)teststr, strlen(teststr),
427 if (result >= 0) {
574 int result;
578 result = coap_split_path(teststr, sizeof(teststr), buf, &buflen);
579 CU_ASSERT(result == 5);