Searched refs:LOCSIZE (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/libcoap/examples/ |
D | coap-rd.c | 398 #define LOCSIZE 68 in hnd_post_rd() macro 404 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd() 428 memcpy(loc + loc_size, h.s, min(h.length, LOCSIZE - loc_size - 1)); in hnd_post_rd() 429 loc_size += min(h.length, LOCSIZE - loc_size - 1); in hnd_post_rd() 434 ins.s, min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd() 435 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd() 440 snprintf((char *)(loc + loc_size), LOCSIZE - loc_size - 1, in hnd_post_rd() 448 min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd() 449 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd() 455 LOCSIZE - loc_size - 1, in hnd_post_rd() [all …]
|