Searched refs:copy_this_much (Results 1 – 1 of 1) sorted by relevance
51 size_t copy_this_much = wt->sizeleft; in read_callback() local52 if(copy_this_much > buffer_size) in read_callback()53 copy_this_much = buffer_size; in read_callback()54 memcpy(dest, wt->readptr, copy_this_much); in read_callback()56 wt->readptr += copy_this_much; in read_callback()57 wt->sizeleft -= copy_this_much; in read_callback()58 return copy_this_much; /* we copied this many bytes */ in read_callback()