Home
last modified time | relevance | path

Searched refs:LOCSIZE (Results 1 – 1 of 1) sorted by relevance

/third_party/libcoap/examples/
Dcoap-rd.c407 #define LOCSIZE 68 in hnd_post_rd() macro
415 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd()
434 memcpy(loc + loc_size, h.s, min(h.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
435 loc_size += min(h.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
440 ins.s, min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
441 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
446 snprintf((char *)(loc + loc_size), LOCSIZE - loc_size - 1, in hnd_post_rd()
454 min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
455 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
461 LOCSIZE - loc_size - 1, in hnd_post_rd()
[all …]