Lines Matching refs:DBOptions

183       {offsetof(struct DBOptions, env), sizeof(Env*)},  in TEST_F()
184 {offsetof(struct DBOptions, rate_limiter), in TEST_F()
186 {offsetof(struct DBOptions, sst_file_manager), in TEST_F()
188 {offsetof(struct DBOptions, info_log), sizeof(std::shared_ptr<Logger>)}, in TEST_F()
189 {offsetof(struct DBOptions, statistics), in TEST_F()
191 {offsetof(struct DBOptions, db_paths), sizeof(std::vector<DbPath>)}, in TEST_F()
192 {offsetof(struct DBOptions, db_log_dir), sizeof(std::string)}, in TEST_F()
193 {offsetof(struct DBOptions, wal_dir), sizeof(std::string)}, in TEST_F()
194 {offsetof(struct DBOptions, write_buffer_manager), in TEST_F()
196 {offsetof(struct DBOptions, listeners), in TEST_F()
198 {offsetof(struct DBOptions, row_cache), sizeof(std::shared_ptr<Cache>)}, in TEST_F()
199 {offsetof(struct DBOptions, wal_filter), sizeof(const WalFilter*)}, in TEST_F()
200 {offsetof(struct DBOptions, file_checksum_gen_factory), in TEST_F()
204 char* options_ptr = new char[sizeof(DBOptions)]; in TEST_F()
209 DBOptions* options = new (options_ptr) DBOptions(); in TEST_F()
210 FillWithSpecialChar(options_ptr, sizeof(DBOptions), kDBOptionsBlacklist); in TEST_F()
214 *options = DBOptions(); in TEST_F()
216 NumUnsetBytes(options_ptr, sizeof(DBOptions), kDBOptionsBlacklist); in TEST_F()
218 options->~DBOptions(); in TEST_F()
220 options = new (options_ptr) DBOptions(); in TEST_F()
221 FillWithSpecialChar(options_ptr, sizeof(DBOptions), kDBOptionsBlacklist); in TEST_F()
223 char* new_options_ptr = new char[sizeof(DBOptions)]; in TEST_F()
224 DBOptions* new_options = new (new_options_ptr) DBOptions(); in TEST_F()
225 FillWithSpecialChar(new_options_ptr, sizeof(DBOptions), kDBOptionsBlacklist); in TEST_F()
308 ASSERT_EQ(unset_bytes_base, NumUnsetBytes(new_options_ptr, sizeof(DBOptions), in TEST_F()
311 options->~DBOptions(); in TEST_F()
312 new_options->~DBOptions(); in TEST_F()