Searched refs:new_sz (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/heimdal/appl/ftp/common/ |
H A D | buffer.c | 49 size_t new_sz; in alloc_buffer() local 51 new_sz = BUFSIZ; in alloc_buffer() 54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer() 56 if(new_sz > *sz) { in alloc_buffer() 59 oldbuf = malloc (new_sz); in alloc_buffer() 65 *sz = new_sz; in alloc_buffer()
|
/freebsd/usr.bin/dc/ |
H A D | inout.c | 266 int count, ch, i, new_sz, sz; in read_string() local 289 new_sz = sz * 2; in read_string() 290 p = breallocarray(p, 1, new_sz + 1); in read_string() 291 sz = new_sz; in read_string()
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | save.c | 542 size_t new_sz; in remove_settings() local 545 new_sz = map_info.txt_size - strlen(scan); in remove_settings() 555 new_sz = map_info.txt_size - (next - scan); in remove_settings() 557 if (new_sz != map_info.txt_size) in remove_settings() 558 if (truncate(fname, new_sz) < 0) in remove_settings()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.c | 3863 size_t new_sz; in grow_assoc_cache() local 3865 new_sz = prior_sz + 4 * 1024; in grow_assoc_cache() 3867 new_sz -= 4 * sizeof(void *); in grow_assoc_cache() 3869 assoc_cache = erealloc_zero(assoc_cache, new_sz, prior_sz); in grow_assoc_cache() 3870 prior_sz = new_sz; in grow_assoc_cache() 3871 assoc_cache_slots = (u_int)(new_sz / sizeof(assoc_cache[0])); in grow_assoc_cache()
|