Lines Matching refs:buflen
147 size_t buflen = sizeof(buf);
173 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
175 CU_ASSERT(buflen == sizeof(checkbuf));
176 CU_ASSERT_NSTRING_EQUAL(buf, checkbuf, buflen);
246 size_t buflen = sizeof(buf);
272 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
274 CU_ASSERT(buflen == sizeof(checkbuf));
275 CU_ASSERT_NSTRING_EQUAL(buf, checkbuf, buflen);
287 size_t buflen = sizeof(buf);
309 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
311 CU_ASSERT(buflen == sizeof(uricheckbuf));
312 CU_ASSERT_NSTRING_EQUAL(buf, uricheckbuf, buflen);
315 buflen = sizeof(buf);
316 result = coap_split_query(uri.query.s, uri.query.length, buf, &buflen);
318 CU_ASSERT(buflen == sizeof(querycheckbuf));
319 CU_ASSERT_NSTRING_EQUAL(buf, querycheckbuf, buflen);
364 size_t buflen = sizeof(buf);
367 buf, &buflen);
387 size_t buflen = sizeof(buf);
390 buf, &buflen);
402 size_t buflen = sizeof(buf);
405 buf, &buflen);
423 size_t buflen = sizeof(buf);
426 buf, &buflen);
576 size_t buflen = sizeof(buf);
578 result = coap_split_path(teststr, sizeof(teststr), buf, &buflen);
580 CU_ASSERT(buflen == 16);