Lines Matching refs:buflen
31 size_t buflen, offset, ofs; in t_wellknown1() local
49 buflen = sizeof(buf); in t_wellknown1()
51 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
54 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
60 buflen = sizeof(buf); in t_wellknown1()
61 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
64 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
67 buflen = sizeof(buf); in t_wellknown1()
68 ofs = buflen; in t_wellknown1()
69 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
72 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
80 size_t buflen, offset, ofs; in t_wellknown2() local
96 buflen = sizeof(buf); in t_wellknown2()
98 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown2()
101 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
109 buflen = sizeof(buf); in t_wellknown2()
110 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown2()
113 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
120 buflen = sizeof(buf); in t_wellknown2()
122 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown2()
124 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
136 size_t buflen = sizeof(buf); in t_wellknown3() local
154 result = coap_print_wellknown(ctx, buf, &buflen, offset, NULL); in t_wellknown3()