Lines Matching refs:result
114 * @param buf The buffer to write the result.
142 coap_print_status_t result;
238 result = coap_print_link(r, p, &left, &offset);
240 if (result & COAP_PRINT_STATUS_ERROR) {
246 p += COAP_PRINT_OUTPUT_LENGTH(result);
257 result = (coap_print_status_t)output_length;
259 if (result + old_offset - offset < *buflen) {
260 result |= COAP_PRINT_STATUS_TRUNC;
262 return result;
607 coap_resource_t *result;
609 RESOURCES_FIND(context->resources, uri_path, result);
611 return result;
620 coap_print_status_t result = 0;
664 result = (coap_print_status_t)output_length;
666 if (result + old_offset - *offset < *len) {
667 result |= COAP_PRINT_STATUS_TRUNC;
670 return result;