Searched refs:copy_size (Results 1 – 2 of 2) sorted by relevance
174 int copy_size = resid > (size_t) fp->_r ? fp->_r : (int) resid; in fread() local175 (void) memcpy ((void *) p, (void *) fp->_p, (size_t) copy_size); in fread()176 fp->_p += copy_size; in fread()177 fp->_r -= copy_size; in fread()178 p += copy_size; in fread()179 resid -= copy_size; in fread()
26 size_t copy_size = old_size > new_size ? new_size : old_size; in realloc() local27 __builtin_memcpy (new_ptr, old_ptr, copy_size); in realloc()