Home
last modified time | relevance | path

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

/third_party/libcoap/examples/
H A Dcoap-rd.c390 #define LOCSIZE 68 in hnd_post_rd() macro
398 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd()
417 memcpy(loc + loc_size, h.s, min(h.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
418 loc_size += min(h.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
423 ins.s, min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
424 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
429 snprintf((char *)(loc + loc_size), LOCSIZE - loc_size - 1, in hnd_post_rd()
437 min(ins.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()
438 loc_size += min(ins.length, LOCSIZE - loc_size - 1); in hnd_post_rd()
444 LOCSIZE in hnd_post_rd()
[all...]

Completed in 1 milliseconds