Searched refs:written_len (Results 1 – 2 of 2) sorted by relevance
318 int written_len = (int)(ptr - fs->buffer_start); in icvFSDoResize() local320 new_size = MAX( written_len + len, new_size ); in icvFSDoResize()323 if( written_len > 0 ) in icvFSDoResize()324 memcpy( new_ptr, fs->buffer_start, written_len ); in icvFSDoResize()327 new_ptr += written_len; in icvFSDoResize()
463 int written_len = (int)(ptr - fs->buffer_start); in icvFSDoResize() local465 new_size = MAX( written_len + len, new_size ); in icvFSDoResize()468 if( written_len > 0 ) in icvFSDoResize()469 memcpy( new_ptr, fs->buffer_start, written_len ); in icvFSDoResize()472 new_ptr += written_len; in icvFSDoResize()