Lines Matching refs:OptionType
474 bool ParseOptionHelper(char* opt_address, const OptionType& opt_type, in ParseOptionHelper()
477 case OptionType::kBoolean: in ParseOptionHelper()
480 case OptionType::kInt: in ParseOptionHelper()
483 case OptionType::kInt32T: in ParseOptionHelper()
486 case OptionType::kInt64T: in ParseOptionHelper()
489 case OptionType::kVectorInt: in ParseOptionHelper()
492 case OptionType::kUInt: in ParseOptionHelper()
495 case OptionType::kUInt32T: in ParseOptionHelper()
498 case OptionType::kUInt64T: in ParseOptionHelper()
501 case OptionType::kSizeT: in ParseOptionHelper()
504 case OptionType::kString: in ParseOptionHelper()
507 case OptionType::kDouble: in ParseOptionHelper()
510 case OptionType::kCompactionStyle: in ParseOptionHelper()
514 case OptionType::kCompactionPri: in ParseOptionHelper()
518 case OptionType::kCompressionType: in ParseOptionHelper()
522 case OptionType::kVectorCompressionType: in ParseOptionHelper()
525 case OptionType::kSliceTransform: in ParseOptionHelper()
529 case OptionType::kChecksumType: in ParseOptionHelper()
533 case OptionType::kBlockBasedTableIndexType: in ParseOptionHelper()
537 case OptionType::kBlockBasedTableDataBlockIndexType: in ParseOptionHelper()
542 case OptionType::kBlockBasedTableIndexShorteningMode: in ParseOptionHelper()
547 case OptionType::kEncodingType: in ParseOptionHelper()
551 case OptionType::kWALRecoveryMode: in ParseOptionHelper()
555 case OptionType::kAccessHint: in ParseOptionHelper()
559 case OptionType::kInfoLogLevel: in ParseOptionHelper()
563 case OptionType::kCompactionOptionsFIFO: { in ParseOptionHelper()
572 case OptionType::kLRUCacheOptions: { in ParseOptionHelper()
577 case OptionType::kCompactionOptionsUniversal: in ParseOptionHelper()
581 case OptionType::kCompactionStopStyle: in ParseOptionHelper()
592 const OptionType opt_type, in SerializeSingleOptionHelper()
597 case OptionType::kBoolean: in SerializeSingleOptionHelper()
600 case OptionType::kInt: in SerializeSingleOptionHelper()
603 case OptionType::kInt32T: in SerializeSingleOptionHelper()
606 case OptionType::kInt64T: in SerializeSingleOptionHelper()
613 case OptionType::kVectorInt: in SerializeSingleOptionHelper()
616 case OptionType::kUInt: in SerializeSingleOptionHelper()
619 case OptionType::kUInt32T: in SerializeSingleOptionHelper()
622 case OptionType::kUInt64T: in SerializeSingleOptionHelper()
629 case OptionType::kSizeT: in SerializeSingleOptionHelper()
636 case OptionType::kDouble: in SerializeSingleOptionHelper()
639 case OptionType::kString: in SerializeSingleOptionHelper()
643 case OptionType::kCompactionStyle: in SerializeSingleOptionHelper()
647 case OptionType::kCompactionPri: in SerializeSingleOptionHelper()
651 case OptionType::kCompressionType: in SerializeSingleOptionHelper()
655 case OptionType::kVectorCompressionType: in SerializeSingleOptionHelper()
660 case OptionType::kSliceTransform: { in SerializeSingleOptionHelper()
668 case OptionType::kTableFactory: { in SerializeSingleOptionHelper()
676 case OptionType::kComparator: { in SerializeSingleOptionHelper()
693 case OptionType::kCompactionFilter: { in SerializeSingleOptionHelper()
700 case OptionType::kCompactionFilterFactory: { in SerializeSingleOptionHelper()
707 case OptionType::kMemTableRepFactory: { in SerializeSingleOptionHelper()
714 case OptionType::kMergeOperator: { in SerializeSingleOptionHelper()
720 case OptionType::kFilterPolicy: { in SerializeSingleOptionHelper()
726 case OptionType::kChecksumType: in SerializeSingleOptionHelper()
730 case OptionType::kBlockBasedTableIndexType: in SerializeSingleOptionHelper()
736 case OptionType::kBlockBasedTableDataBlockIndexType: in SerializeSingleOptionHelper()
742 case OptionType::kBlockBasedTableIndexShorteningMode: in SerializeSingleOptionHelper()
748 case OptionType::kFlushBlockPolicyFactory: { in SerializeSingleOptionHelper()
755 case OptionType::kEncodingType: in SerializeSingleOptionHelper()
759 case OptionType::kWALRecoveryMode: in SerializeSingleOptionHelper()
763 case OptionType::kAccessHint: in SerializeSingleOptionHelper()
767 case OptionType::kInfoLogLevel: in SerializeSingleOptionHelper()
771 case OptionType::kCompactionOptionsFIFO: in SerializeSingleOptionHelper()
775 case OptionType::kCompactionOptionsUniversal: in SerializeSingleOptionHelper()
779 case OptionType::kCompactionStopStyle: in SerializeSingleOptionHelper()
1425 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1427 {offsetof(struct DBOptions, allow_mmap_reads), OptionType::kBoolean,
1430 {offsetof(struct DBOptions, allow_fallocate), OptionType::kBoolean,
1433 {offsetof(struct DBOptions, allow_mmap_writes), OptionType::kBoolean,
1436 {offsetof(struct DBOptions, use_direct_reads), OptionType::kBoolean,
1439 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1443 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1445 {offsetof(struct DBOptions, allow_2pc), OptionType::kBoolean,
1448 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, true,
1451 {offsetof(struct DBOptions, create_if_missing), OptionType::kBoolean,
1455 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1457 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1460 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1464 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1466 {offsetof(struct DBOptions, error_if_exists), OptionType::kBoolean,
1469 {offsetof(struct DBOptions, is_fd_close_on_exec), OptionType::kBoolean,
1472 {offsetof(struct DBOptions, paranoid_checks), OptionType::kBoolean,
1476 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1479 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1482 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1485 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1488 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1492 OptionType::kSizeT, OptionVerificationType::kNormal, false, 0}},
1494 {offsetof(struct DBOptions, use_adaptive_mutex), OptionType::kBoolean,
1497 {offsetof(struct DBOptions, use_fsync), OptionType::kBoolean,
1500 {offsetof(struct DBOptions, max_background_jobs), OptionType::kInt,
1505 OptionType::kInt, OptionVerificationType::kNormal, true,
1509 OptionType::kInt, OptionVerificationType::kNormal, true,
1512 {offsetof(struct DBOptions, max_background_flushes), OptionType::kInt,
1516 OptionType::kInt, OptionVerificationType::kNormal, false, 0}},
1518 {offsetof(struct DBOptions, max_open_files), OptionType::kInt,
1523 OptionType::kInt, OptionVerificationType::kNormal, false, 0}},
1525 {offsetof(struct DBOptions, db_write_buffer_size), OptionType::kSizeT,
1528 {offsetof(struct DBOptions, keep_log_file_num), OptionType::kSizeT,
1531 {offsetof(struct DBOptions, recycle_log_file_num), OptionType::kSizeT,
1534 {offsetof(struct DBOptions, log_file_time_to_roll), OptionType::kSizeT,
1538 OptionType::kSizeT, OptionVerificationType::kNormal, false, 0}},
1540 {offsetof(struct DBOptions, max_log_file_size), OptionType::kSizeT,
1543 {offsetof(struct DBOptions, db_log_dir), OptionType::kString,
1546 {offsetof(struct DBOptions, wal_dir), OptionType::kString,
1549 {offsetof(struct DBOptions, max_subcompactions), OptionType::kUInt32T,
1552 {offsetof(struct DBOptions, WAL_size_limit_MB), OptionType::kUInt64T,
1555 {offsetof(struct DBOptions, WAL_ttl_seconds), OptionType::kUInt64T,
1558 {offsetof(struct DBOptions, bytes_per_sync), OptionType::kUInt64T,
1562 {offsetof(struct DBOptions, delayed_write_rate), OptionType::kUInt64T,
1567 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1572 OptionType::kUInt64T, OptionVerificationType::kNormal, false, 0}},
1574 {offsetof(struct DBOptions, max_total_wal_size), OptionType::kUInt64T,
1578 {offsetof(struct DBOptions, wal_bytes_per_sync), OptionType::kUInt64T,
1583 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1586 {offsetof(struct DBOptions, stats_dump_period_sec), OptionType::kUInt,
1591 OptionType::kUInt, OptionVerificationType::kNormal, true,
1595 OptionType::kBoolean, OptionVerificationType::kNormal, false,
1599 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1603 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1606 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1608 {offsetof(struct DBOptions, unordered_write), OptionType::kBoolean,
1612 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1615 OptionType::kWALRecoveryMode, OptionVerificationType::kNormal, false,
1619 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1622 OptionType::kUInt64T, OptionVerificationType::kNormal, false, 0}},
1625 OptionType::kUInt64T, OptionVerificationType::kNormal, false, 0}},
1628 OptionType::kUInt64T, OptionVerificationType::kNormal, false, 0}},
1631 OptionType::kAccessHint, OptionVerificationType::kNormal, false, 0}},
1633 {offsetof(struct DBOptions, info_log_level), OptionType::kInfoLogLevel,
1636 {offsetof(struct DBOptions, dump_malloc_stats), OptionType::kBoolean,
1640 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1643 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1647 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1650 {offsetof(struct DBOptions, allow_ingest_behind), OptionType::kBoolean,
1654 {offsetof(struct DBOptions, preserve_deletes), OptionType::kBoolean,
1658 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1661 {offsetof(struct DBOptions, two_write_queues), OptionType::kBoolean,
1665 {offsetof(struct DBOptions, manual_wal_flush), OptionType::kBoolean,
1669 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1672 {offsetof(struct DBOptions, atomic_flush), OptionType::kBoolean,
1677 OptionType::kBoolean, OptionVerificationType::kNormal, false,
1681 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1683 {offsetof(struct DBOptions, log_readahead_size), OptionType::kSizeT,
1687 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1814 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1817 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, false,
1821 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1824 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, true,
1828 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1831 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1834 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1837 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1841 OptionType::kBoolean, OptionVerificationType::kNormal, false, 0}},
1844 OptionType::kBoolean, OptionVerificationType::kDeprecated, false, 0}},
1846 {0, OptionType::kBoolean, OptionVerificationType::kDeprecated, true,
1850 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1855 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1859 {0, OptionType::kDouble, OptionVerificationType::kDeprecated, true,
1862 {0, OptionType::kDouble, OptionVerificationType::kDeprecated, true,
1866 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1869 {0, OptionType::kInt, OptionVerificationType::kDeprecated, true, 0}},
1872 OptionType::kInt, OptionVerificationType::kNormal, true,
1877 OptionType::kInt, OptionVerificationType::kNormal, true,
1881 OptionType::kInt, OptionVerificationType::kNormal, true,
1884 {0, OptionType::kInt, OptionVerificationType::kDeprecated, true, 0}},
1886 {0, OptionType::kInt, OptionVerificationType::kDeprecated, false, 0}},
1889 OptionType::kInt, OptionVerificationType::kNormal, true,
1893 OptionType::kInt, OptionVerificationType::kNormal, false, 0}},
1896 OptionType::kInt64T, OptionVerificationType::kNormal, false, 0}},
1899 OptionType::kInt, OptionVerificationType::kNormal, false, 0}},
1901 {offset_of(&ColumnFamilyOptions::num_levels), OptionType::kInt,
1904 {0, OptionType::kInt, OptionVerificationType::kDeprecated, true, 0}},
1907 OptionType::kInt, OptionVerificationType::kNormal, true,
1910 {offset_of(&ColumnFamilyOptions::arena_block_size), OptionType::kSizeT,
1915 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1919 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1923 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1926 {0, OptionType::kSizeT, OptionVerificationType::kDeprecated, true, 0}},
1929 OptionType::kSizeT, OptionVerificationType::kNormal, true,
1932 {offset_of(&ColumnFamilyOptions::bloom_locality), OptionType::kUInt32T,
1935 {0, OptionType::kUInt32T, OptionVerificationType::kDeprecated, true,
1939 OptionType::kDouble, OptionVerificationType::kNormal, true,
1942 {0, OptionType::kUInt32T, OptionVerificationType::kDeprecated, true,
1946 OptionType::kBoolean, OptionVerificationType::kNormal, true,
1949 {0, OptionType::kUInt32T, OptionVerificationType::kDeprecated, true,
1953 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1956 {0, OptionType::kUInt64T, OptionVerificationType::kDeprecated, true,
1960 OptionType::kDouble, OptionVerificationType::kNormal, true,
1965 OptionType::kVectorInt, OptionVerificationType::kNormal, true,
1970 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1975 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
1978 {0, OptionType::kUInt, OptionVerificationType::kDeprecated, false, 0}},
1981 OptionType::kCompressionType, OptionVerificationType::kNormal, true,
1985 OptionType::kVectorCompressionType, OptionVerificationType::kNormal,
1989 OptionType::kCompressionType, OptionVerificationType::kNormal, false,
1992 {offset_of(&ColumnFamilyOptions::comparator), OptionType::kComparator,
1996 OptionType::kSliceTransform, OptionVerificationType::kByNameAllowNull,
2001 OptionType::kSliceTransform, OptionVerificationType::kByNameAllowNull,
2005 OptionType::kMemTableRepFactory, OptionVerificationType::kByName,
2009 OptionType::kTableFactory, OptionVerificationType::kByName, false,
2013 OptionType::kCompactionFilter, OptionVerificationType::kByName, false,
2017 OptionType::kCompactionFilterFactory, OptionVerificationType::kByName,
2021 OptionType::kMergeOperator,
2025 OptionType::kCompactionStyle, OptionVerificationType::kNormal, false,
2029 OptionType::kCompactionPri, OptionVerificationType::kNormal, false,
2033 OptionType::kCompactionOptionsFIFO, OptionVerificationType::kNormal,
2037 OptionType::kCompactionOptionsUniversal,
2041 {offset_of(&ColumnFamilyOptions::ttl), OptionType::kUInt64T,
2046 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
2050 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
2057 OptionType::kUInt64T, OptionVerificationType::kNormal, true,
2060 {0, OptionType::kUInt64T,
2065 OptionType::kBoolean, OptionVerificationType::kNormal, true,
2071 {offset_of(&CompactionOptionsUniversal::size_ratio), OptionType::kUInt,
2076 OptionType::kUInt, OptionVerificationType::kNormal, true,
2080 OptionType::kUInt, OptionVerificationType::kNormal, true,
2085 OptionType::kUInt, OptionVerificationType::kNormal, true,
2090 OptionType::kInt, OptionVerificationType::kNormal, true,
2095 OptionType::kCompactionStopStyle, OptionVerificationType::kNormal,
2099 OptionType::kBoolean, OptionVerificationType::kNormal, true,
2110 {offset_of(&LRUCacheOptions::capacity), OptionType::kSizeT,
2114 {offset_of(&LRUCacheOptions::num_shard_bits), OptionType::kInt,
2119 OptionType::kBoolean, OptionVerificationType::kNormal, true,
2122 {offset_of(&LRUCacheOptions::high_pri_pool_ratio), OptionType::kDouble,