Searched refs:cursz (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/usr.sbin/unbound/util/ |
| D | alloc.c | 436 size_t cursz; in unbound_stat_realloc() local 447 memcpy(&cursz, ptr, sizeof(cursz)); in unbound_stat_realloc() 448 if(cursz == size) { in unbound_stat_realloc() 456 unbound_mem_freed += cursz; in unbound_stat_realloc() 457 log_info("stat realloc(%p, %u) from %u", ptr+16, (unsigned)size, (unsigned)cursz); in unbound_stat_realloc() 458 if(cursz > size) { in unbound_stat_realloc() 460 } else if(size > cursz) { in unbound_stat_realloc() 461 memcpy(res+16, ptr+16, cursz); in unbound_stat_realloc()
|
| /openbsd/src/sbin/unwind/libunbound/util/ |
| D | alloc.c | 436 size_t cursz; in unbound_stat_realloc() local 447 memcpy(&cursz, ptr, sizeof(cursz)); in unbound_stat_realloc() 448 if(cursz == size) { in unbound_stat_realloc() 456 unbound_mem_freed += cursz; in unbound_stat_realloc() 457 log_info("stat realloc(%p, %u) from %u", ptr+16, (unsigned)size, (unsigned)cursz); in unbound_stat_realloc() 458 if(cursz > size) { in unbound_stat_realloc() 460 } else if(size > cursz) { in unbound_stat_realloc() 461 memcpy(res+16, ptr+16, cursz); in unbound_stat_realloc()
|
| /openbsd/src/usr.bin/rs/ |
| D | rs.c | 313 static size_t cursz; in get_line() local 319 if ((curlen = getline(&curline, &cursz, stdin)) == EOF) { in get_line()
|