Searched refs:new_sz (Results 1 – 3 of 3) sorted by relevance
49 size_t new_sz; in alloc_buffer() local51 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()
542 size_t new_sz; in remove_settings() local545 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()
3863 size_t new_sz;3865 new_sz = prior_sz + 4 * 1024; in grow_assoc_cache() 3867 new_sz -= 4 * sizeof(void *); in grow_assoc_cache() local 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()