Lines Matching refs:buflen
284 size_t buflen = _buflen;
346 if (uri->path.length > buflen)
348 buflen);
349 res = coap_split_path(uri->path.s, uri->path.length, buf, &buflen);
364 buflen = _buflen;
366 if (uri->query.length > buflen)
368 buflen);
369 res = coap_split_query(uri->query.s, uri->query.length, buf, &buflen);
477 * @param buflen The maximum size of @p buf.
487 unsigned char *buf, size_t buflen, size_t *optionsize) {
492 if (!buflen) {
493 coap_log_debug("make_decoded_option(): buflen is 0!\n");
502 written = coap_opt_setheader(buf, buflen, 0, segmentlen);
504 assert(written <= buflen);
510 buflen -= written;
512 if (buflen < segmentlen) {
601 unsigned char *buf, size_t *buflen) {
602 struct cnt_str tmp = { { *buflen, buf }, 0 };
606 *buflen = *buflen - tmp.buf.length;
613 unsigned char *buf, size_t *buflen) {
614 struct cnt_str tmp = { { *buflen, buf }, 0 };
631 *buflen = *buflen - tmp.buf.length;