Lines Matching refs:buflen
265 unsigned char *buf, size_t buflen) { in make_decoded_option() argument
269 if (!buflen) { in make_decoded_option()
279 written = coap_opt_setheader(buf, buflen, 0, res); in make_decoded_option()
281 assert(written <= buflen); in make_decoded_option()
287 buflen -= written; in make_decoded_option()
289 if (buflen < (size_t)res) { in make_decoded_option()
375 unsigned char *buf, size_t *buflen) { in coap_split_path() argument
376 struct cnt_str tmp = { { *buflen, buf }, 0 }; in coap_split_path()
380 *buflen = *buflen - tmp.buf.length; in coap_split_path()
387 unsigned char *buf, size_t *buflen) { in coap_split_query() argument
388 struct cnt_str tmp = { { *buflen, buf }, 0 }; in coap_split_query()
405 *buflen = *buflen - tmp.buf.length; in coap_split_query()