Lines Matching refs:remaining
218 uint16_t *remaining, size_t *offset, in append_to_coap_pkt() argument
224 if (!*remaining) { in append_to_coap_pkt()
240 if (len > *remaining) { in append_to_coap_pkt()
241 len = *remaining; in append_to_coap_pkt()
246 *remaining -= len; in append_to_coap_pkt()
254 uint16_t *remaining, size_t *offset, in format_uri() argument
266 remaining, offset, current); in format_uri()
271 if (!*remaining) { in format_uri()
279 res = append_to_coap_pkt(response, *p, path_len, remaining, in format_uri()
285 if (!*remaining) { in format_uri()
295 res = append_to_coap_pkt(response, "/", 1, remaining, offset, in format_uri()
301 if (!*remaining) { in format_uri()
308 res = append_to_coap_pkt(response, ">", 1, remaining, offset, current); in format_uri()
313 if (!*remaining) { in format_uri()
325 uint16_t *remaining, size_t *offset, in format_attributes() argument
340 remaining, offset, current); in format_attributes()
345 if (!*remaining) { in format_attributes()
353 remaining, offset, current); in format_attributes()
358 if (*(attr + 1) && !*remaining) { in format_attributes()
370 uint16_t *remaining, size_t *offset, in format_resource() argument
377 r = format_uri(resource->path, response, remaining, in format_resource()
383 if (!*remaining) { in format_resource()
392 return format_attributes(attributes, response, remaining, offset, in format_resource()
446 uint16_t remaining; in coap_well_known_core_get_len() local
507 remaining = coap_block_size_to_bytes(ctx.block_size); in coap_well_known_core_get_len()
510 if (!remaining) { in coap_well_known_core_get_len()
522 r = append_to_coap_pkt(response, ",", 1, &remaining, in coap_well_known_core_get_len()
529 r = format_resource(&resources[i], response, &remaining, &offset, in coap_well_known_core_get_len()