Lines Matching refs:overwrite
414 // the header does and thus overwrite data that the old
858 int num_to_remove, index, i, overwrite, err;
864 overwrite = (block_num == (*buf_ptr)[blk_index].block_num && size >= (*buf_ptr)[blk_index].block_size);
867 if (blk_index != 0 && !overwrite) {
896 if (!overwrite && block_end <= (*buf_ptr)[blk_index].block_num*jhdr_size) {
897 return 0; // no overlap, no overwrite
898 } else if (overwrite && (blk_index + 1 >= *num_full_ptr || block_end <= (*buf_ptr)[blk_index+1].block_num*jhdr_size)) {
901 return 1; // simple overwrite
962 return 0; // if we got this far, we need to insert the entry into the table (rather than overwrite)
979 // inserted (or the index of the elem to overwrite).