Searched refs:page_buf (Results 1 – 1 of 1) sorted by relevance
129 scoped_ptr<char[]> page_buf(new char[page_size]); in CorruptTableOrIndex() local137 if (1u != fread(page_buf.get(), page_size, 1, file.get())) in CorruptTableOrIndex()142 if (page_buf[0] != 0xD && page_buf[0] != 0xA) in CorruptTableOrIndex()164 if (!memcmp(check_page_buf.get(), page_buf.get(), page_size)) in CorruptTableOrIndex()170 if (1u != fwrite(page_buf.get(), page_size, 1, file.get())) in CorruptTableOrIndex()