xapian-core  1.4.19
Macros
config.h File Reference

Go to the source code of this file.

Macros

#define DIR_SEPS   '/'
 
#define DIR_SEPS_LIST   { '/' }
 
#define HAVE_CLOCK_GETTIME   1
 
#define HAVE_CXXABI_H   1
 
#define HAVE_DECL_EXP10   1
 
#define HAVE_DECL_LOG2   1
 
#define HAVE_DECL_SIGLONGJMP   1
 
#define HAVE_DECL_SIGSETJMP   1
 
#define HAVE_DECL_STRERROR_R   1
 
#define HAVE_DECL__BYTESWAP_UINT64   0
 
#define HAVE_DECL__BYTESWAP_ULONG   0
 
#define HAVE_DECL__BYTESWAP_USHORT   0
 
#define HAVE_DECL__PUTENV_S   0
 
#define HAVE_DECL___BUILTIN_ADD_OVERFLOW   1
 
#define HAVE_DECL___BUILTIN_BSWAP16   1
 
#define HAVE_DECL___BUILTIN_BSWAP32   1
 
#define HAVE_DECL___BUILTIN_BSWAP64   1
 
#define HAVE_DECL___BUILTIN_CLZ   1
 
#define HAVE_DECL___BUILTIN_CLZL   1
 
#define HAVE_DECL___BUILTIN_CLZLL   1
 
#define HAVE_DECL___BUILTIN_CTZ   1
 
#define HAVE_DECL___BUILTIN_CTZL   1
 
#define HAVE_DECL___BUILTIN_CTZLL   1
 
#define HAVE_DECL___BUILTIN_EXPECT   1
 
#define HAVE_DECL___BUILTIN_MUL_OVERFLOW   1
 
#define HAVE_DECL___BUILTIN_POPCOUNT   1
 
#define HAVE_DECL___BUILTIN_POPCOUNTL   1
 
#define HAVE_DECL___BUILTIN_POPCOUNTLL   1
 
#define HAVE_DECL___EXP10   1
 
#define HAVE_DECL___POPCNT   0
 
#define HAVE_DECL___POPCNT64   0
 
#define HAVE_DLFCN_H   1
 
#define HAVE_FCNTL_H   1
 
#define HAVE_FDATASYNC   1
 
#define HAVE_FORK   1
 
#define HAVE_FSYNC   1
 
#define HAVE_FTIME   1
 
#define HAVE_FTRUNCATE   1
 
#define HAVE_GETDIRENTRIES   1
 
#define HAVE_GETHOSTNAME   1
 
#define HAVE_GETRLIMIT   1
 
#define HAVE_GETRUSAGE   1
 
#define HAVE_GETTIMEOFDAY   1
 
#define HAVE_INTTYPES_H   1
 
#define HAVE_LIMITS_H   1
 
#define HAVE_LINK   1
 
#define HAVE_MEMORY_H   1
 
#define HAVE_NANOSLEEP   1
 
#define HAVE_NFTW   1
 
#define HAVE_POLL   1
 
#define HAVE_POLL_H   1
 
#define HAVE_POSIX_FADVISE   1
 
#define HAVE_PREAD   1
 
#define HAVE_PWRITE   1
 
#define HAVE_RANDOM   1
 
#define HAVE_SETENV   1
 
#define HAVE_SIGACTION   1
 
#define HAVE_SLEEP   1
 
#define HAVE_SOCKETPAIR   1
 
#define HAVE_SRANDOM   1
 
#define HAVE_STDINT_H   1
 
#define HAVE_STDLIB_H   1
 
#define HAVE_STRERROR_R   1
 
#define HAVE_STRINGS_H   1
 
#define HAVE_STRING_H   1
 
#define HAVE_SYSCONF   1
 
#define HAVE_SYS_ERRLIST_AND_SYS_NERR   1
 
#define HAVE_SYS_RESOURCE_H   1
 
#define HAVE_SYS_SELECT_H   1
 
#define HAVE_SYS_STAT_H   1
 
#define HAVE_SYS_TYPES_H   1
 
#define HAVE_SYS_UTSNAME_H   1
 
#define HAVE_TIMER_CREATE   1
 
#define HAVE_TIMES   1
 
#define HAVE_UNISTD_H   1
 
#define HAVE_UUID_UUID_H   1
 
#define HAVE_VALGRIND   1
 
#define HAVE_VALGRIND_MEMCHECK_H   1
 
#define HAVE_ZLIB_H   1
 
#define HAVE__SYS_ERRLIST_AND__SYS_NERR   1
 
#define HAVE___BUILTIN_EXP10   1
 
#define LT_OBJDIR   ".libs/"
 
#define PACKAGE   "xapian-core"
 
#define PACKAGE_BUGREPORT   "https://xapian.org/bugs"
 
#define PACKAGE_NAME   "xapian-core"
 
#define PACKAGE_STRING   "xapian-core 1.4.19"
 
#define PACKAGE_TARNAME   "xapian-core"
 
#define PACKAGE_URL   ""
 
#define PACKAGE_VERSION   "1.4.19"
 
#define SIZEOF_INT   4
 
#define SIZEOF_LONG   8
 
#define SIZEOF_LONG_LONG   8
 
#define SIZEOF_SHORT   2
 
#define SNPRINTF   snprintf
 
#define SOCKLEN_T   socklen_t
 
#define STDC_HEADERS   1
 
#define STRERROR_R_CHAR_P   1
 
#define USE_RTTI   1
 
#define VERSION   "1.4.19"
 
#define _DARWIN_USE_64_BIT_INODE   1
 
#define rare(COND)   __builtin_expect(!!(COND), 0)
 
#define usual(COND)   __builtin_expect(!!(COND), 1)
 
#define XAPIAN_LIB_BUILD   1
 

Macro Definition Documentation

◆ _DARWIN_USE_64_BIT_INODE

#define _DARWIN_USE_64_BIT_INODE   1

Definition at line 395 of file config.h.

◆ DIR_SEPS

#define DIR_SEPS   '/'

Definition at line 8 of file config.h.

Referenced by check_db_table(), Xapian::Database::compact_(), test_driver::get_srcdir(), and main().

◆ DIR_SEPS_LIST

#define DIR_SEPS_LIST   { '/' }

Definition at line 11 of file config.h.

Referenced by main(), and FileIndexer::next_file().

◆ HAVE___BUILTIN_EXP10

#define HAVE___BUILTIN_EXP10   1

Definition at line 296 of file config.h.

◆ HAVE__SYS_ERRLIST_AND__SYS_NERR

#define HAVE__SYS_ERRLIST_AND__SYS_NERR   1

Definition at line 293 of file config.h.

◆ HAVE_CLOCK_GETTIME

#define HAVE_CLOCK_GETTIME   1

Definition at line 20 of file config.h.

◆ HAVE_CXXABI_H

#define HAVE_CXXABI_H   1

Definition at line 29 of file config.h.

◆ HAVE_DECL___BUILTIN_ADD_OVERFLOW

#define HAVE_DECL___BUILTIN_ADD_OVERFLOW   1

Definition at line 69 of file config.h.

◆ HAVE_DECL___BUILTIN_BSWAP16

#define HAVE_DECL___BUILTIN_BSWAP16   1

Definition at line 73 of file config.h.

◆ HAVE_DECL___BUILTIN_BSWAP32

#define HAVE_DECL___BUILTIN_BSWAP32   1

Definition at line 77 of file config.h.

◆ HAVE_DECL___BUILTIN_BSWAP64

#define HAVE_DECL___BUILTIN_BSWAP64   1

Definition at line 81 of file config.h.

◆ HAVE_DECL___BUILTIN_CLZ

#define HAVE_DECL___BUILTIN_CLZ   1

Definition at line 85 of file config.h.

◆ HAVE_DECL___BUILTIN_CLZL

#define HAVE_DECL___BUILTIN_CLZL   1

Definition at line 89 of file config.h.

◆ HAVE_DECL___BUILTIN_CLZLL

#define HAVE_DECL___BUILTIN_CLZLL   1

Definition at line 93 of file config.h.

◆ HAVE_DECL___BUILTIN_CTZ

#define HAVE_DECL___BUILTIN_CTZ   1

Definition at line 97 of file config.h.

◆ HAVE_DECL___BUILTIN_CTZL

#define HAVE_DECL___BUILTIN_CTZL   1

Definition at line 101 of file config.h.

◆ HAVE_DECL___BUILTIN_CTZLL

#define HAVE_DECL___BUILTIN_CTZLL   1

Definition at line 105 of file config.h.

◆ HAVE_DECL___BUILTIN_EXPECT

#define HAVE_DECL___BUILTIN_EXPECT   1

Definition at line 109 of file config.h.

◆ HAVE_DECL___BUILTIN_MUL_OVERFLOW

#define HAVE_DECL___BUILTIN_MUL_OVERFLOW   1

Definition at line 113 of file config.h.

◆ HAVE_DECL___BUILTIN_POPCOUNT

#define HAVE_DECL___BUILTIN_POPCOUNT   1

Definition at line 117 of file config.h.

◆ HAVE_DECL___BUILTIN_POPCOUNTL

#define HAVE_DECL___BUILTIN_POPCOUNTL   1

Definition at line 121 of file config.h.

◆ HAVE_DECL___BUILTIN_POPCOUNTLL

#define HAVE_DECL___BUILTIN_POPCOUNTLL   1

Definition at line 125 of file config.h.

◆ HAVE_DECL___EXP10

#define HAVE_DECL___EXP10   1

Definition at line 129 of file config.h.

◆ HAVE_DECL___POPCNT

#define HAVE_DECL___POPCNT   0

Definition at line 133 of file config.h.

◆ HAVE_DECL___POPCNT64

#define HAVE_DECL___POPCNT64   0

Definition at line 137 of file config.h.

◆ HAVE_DECL__BYTESWAP_UINT64

#define HAVE_DECL__BYTESWAP_UINT64   0

Definition at line 53 of file config.h.

◆ HAVE_DECL__BYTESWAP_ULONG

#define HAVE_DECL__BYTESWAP_ULONG   0

Definition at line 57 of file config.h.

◆ HAVE_DECL__BYTESWAP_USHORT

#define HAVE_DECL__BYTESWAP_USHORT   0

Definition at line 61 of file config.h.

◆ HAVE_DECL__PUTENV_S

#define HAVE_DECL__PUTENV_S   0

Definition at line 65 of file config.h.

◆ HAVE_DECL_EXP10

#define HAVE_DECL_EXP10   1

Definition at line 33 of file config.h.

◆ HAVE_DECL_LOG2

#define HAVE_DECL_LOG2   1

Definition at line 37 of file config.h.

◆ HAVE_DECL_SIGLONGJMP

#define HAVE_DECL_SIGLONGJMP   1

Definition at line 41 of file config.h.

◆ HAVE_DECL_SIGSETJMP

#define HAVE_DECL_SIGSETJMP   1

Definition at line 45 of file config.h.

◆ HAVE_DECL_STRERROR_R

#define HAVE_DECL_STRERROR_R   1

Definition at line 49 of file config.h.

◆ HAVE_DLFCN_H

#define HAVE_DLFCN_H   1

Definition at line 140 of file config.h.

◆ HAVE_FCNTL_H

#define HAVE_FCNTL_H   1

Definition at line 143 of file config.h.

◆ HAVE_FDATASYNC

#define HAVE_FDATASYNC   1

Definition at line 146 of file config.h.

◆ HAVE_FORK

#define HAVE_FORK   1

Definition at line 149 of file config.h.

◆ HAVE_FSYNC

#define HAVE_FSYNC   1

Definition at line 152 of file config.h.

◆ HAVE_FTIME

#define HAVE_FTIME   1

Definition at line 155 of file config.h.

◆ HAVE_FTRUNCATE

#define HAVE_FTRUNCATE   1

Definition at line 158 of file config.h.

◆ HAVE_GETDIRENTRIES

#define HAVE_GETDIRENTRIES   1

Definition at line 161 of file config.h.

◆ HAVE_GETHOSTNAME

#define HAVE_GETHOSTNAME   1

Definition at line 164 of file config.h.

◆ HAVE_GETRLIMIT

#define HAVE_GETRLIMIT   1

Definition at line 167 of file config.h.

◆ HAVE_GETRUSAGE

#define HAVE_GETRUSAGE   1

Definition at line 170 of file config.h.

◆ HAVE_GETTIMEOFDAY

#define HAVE_GETTIMEOFDAY   1

Definition at line 173 of file config.h.

◆ HAVE_INTTYPES_H

#define HAVE_INTTYPES_H   1

Definition at line 176 of file config.h.

◆ HAVE_LIMITS_H

#define HAVE_LIMITS_H   1

Definition at line 179 of file config.h.

◆ HAVE_LINK

#define HAVE_LINK   1

Definition at line 182 of file config.h.

◆ HAVE_MEMORY_H

#define HAVE_MEMORY_H   1

Definition at line 185 of file config.h.

◆ HAVE_NANOSLEEP

#define HAVE_NANOSLEEP   1

Definition at line 188 of file config.h.

◆ HAVE_NFTW

#define HAVE_NFTW   1

Definition at line 191 of file config.h.

◆ HAVE_POLL

#define HAVE_POLL   1

Definition at line 194 of file config.h.

◆ HAVE_POLL_H

#define HAVE_POLL_H   1

Definition at line 197 of file config.h.

◆ HAVE_POSIX_FADVISE

#define HAVE_POSIX_FADVISE   1

Definition at line 200 of file config.h.

◆ HAVE_PREAD

#define HAVE_PREAD   1

Definition at line 203 of file config.h.

◆ HAVE_PWRITE

#define HAVE_PWRITE   1

Definition at line 206 of file config.h.

◆ HAVE_RANDOM

#define HAVE_RANDOM   1

Definition at line 209 of file config.h.

◆ HAVE_SETENV

#define HAVE_SETENV   1

Definition at line 212 of file config.h.

◆ HAVE_SIGACTION

#define HAVE_SIGACTION   1

Definition at line 215 of file config.h.

◆ HAVE_SLEEP

#define HAVE_SLEEP   1

Definition at line 218 of file config.h.

◆ HAVE_SOCKETPAIR

#define HAVE_SOCKETPAIR   1

Definition at line 221 of file config.h.

◆ HAVE_SRANDOM

#define HAVE_SRANDOM   1

Definition at line 224 of file config.h.

◆ HAVE_STDINT_H

#define HAVE_STDINT_H   1

Definition at line 227 of file config.h.

◆ HAVE_STDLIB_H

#define HAVE_STDLIB_H   1

Definition at line 230 of file config.h.

◆ HAVE_STRERROR_R

#define HAVE_STRERROR_R   1

Definition at line 236 of file config.h.

◆ HAVE_STRING_H

#define HAVE_STRING_H   1

Definition at line 242 of file config.h.

◆ HAVE_STRINGS_H

#define HAVE_STRINGS_H   1

Definition at line 239 of file config.h.

◆ HAVE_SYS_ERRLIST_AND_SYS_NERR

#define HAVE_SYS_ERRLIST_AND_SYS_NERR   1

Definition at line 248 of file config.h.

◆ HAVE_SYS_RESOURCE_H

#define HAVE_SYS_RESOURCE_H   1

Definition at line 251 of file config.h.

◆ HAVE_SYS_SELECT_H

#define HAVE_SYS_SELECT_H   1

Definition at line 254 of file config.h.

◆ HAVE_SYS_STAT_H

#define HAVE_SYS_STAT_H   1

Definition at line 257 of file config.h.

◆ HAVE_SYS_TYPES_H

#define HAVE_SYS_TYPES_H   1

Definition at line 260 of file config.h.

◆ HAVE_SYS_UTSNAME_H

#define HAVE_SYS_UTSNAME_H   1

Definition at line 263 of file config.h.

◆ HAVE_SYSCONF

#define HAVE_SYSCONF   1

Definition at line 245 of file config.h.

◆ HAVE_TIMER_CREATE

#define HAVE_TIMER_CREATE   1

Definition at line 266 of file config.h.

◆ HAVE_TIMES

#define HAVE_TIMES   1

Definition at line 269 of file config.h.

◆ HAVE_UNISTD_H

#define HAVE_UNISTD_H   1

Definition at line 272 of file config.h.

◆ HAVE_UUID_UUID_H

#define HAVE_UUID_UUID_H   1

Definition at line 278 of file config.h.

◆ HAVE_VALGRIND

#define HAVE_VALGRIND   1

Definition at line 281 of file config.h.

◆ HAVE_VALGRIND_MEMCHECK_H

#define HAVE_VALGRIND_MEMCHECK_H   1

Definition at line 284 of file config.h.

◆ HAVE_ZLIB_H

#define HAVE_ZLIB_H   1

Definition at line 287 of file config.h.

◆ LT_OBJDIR

#define LT_OBJDIR   ".libs/"

Definition at line 299 of file config.h.

◆ PACKAGE

#define PACKAGE   "xapian-core"

Definition at line 306 of file config.h.

◆ PACKAGE_BUGREPORT

#define PACKAGE_BUGREPORT   "https://xapian.org/bugs"

Definition at line 309 of file config.h.

◆ PACKAGE_NAME

#define PACKAGE_NAME   "xapian-core"

Definition at line 312 of file config.h.

◆ PACKAGE_STRING

#define PACKAGE_STRING   "xapian-core 1.4.19"

Definition at line 315 of file config.h.

Referenced by main().

◆ PACKAGE_TARNAME

#define PACKAGE_TARNAME   "xapian-core"

Definition at line 318 of file config.h.

◆ PACKAGE_URL

#define PACKAGE_URL   ""

Definition at line 321 of file config.h.

◆ PACKAGE_VERSION

#define PACKAGE_VERSION   "1.4.19"

Definition at line 324 of file config.h.

◆ rare

#define rare (   COND)    __builtin_expect(!!(COND), 0)

Definition at line 543 of file config.h.

Referenced by Xapian::WritableDatabase::add_document(), OmDocumentTerm::add_position(), Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::add_synonym(), Xapian::Database::allterms_begin(), Xapian::WritableDatabase::begin_transaction(), ChertTable::block_to_cursor(), GlassTable::block_to_cursor(), C_unpack_uint_preserving_sort(), Xapian::WritableDatabase::cancel_transaction(), Xapian::WritableDatabase::clear_synonyms(), Xapian::WritableDatabase::commit(), Xapian::WritableDatabase::commit_transaction(), Xapian::Database::Database(), GlassWritableDatabase::delete_document(), ChertWritableDatabase::delete_document(), Xapian::WritableDatabase::delete_document(), InMemoryDocument::do_get_all_values(), InMemoryDocument::do_get_data(), InMemoryDocument::do_get_value(), do_unpack_uint(), Xapian::SnipPipe::done(), GeoEncode::encode(), Xapian::ESet::Internal::expand(), GlassCursor::find_exact(), Uuid::generate(), Xapian::Weight::Internal::get_average_length(), Xapian::Unicode::Internal::get_character_info(), ChertRecordTable::get_doccount(), Inverter::get_doclength(), Xapian::Database::get_doclength(), Xapian::Database::get_doclength_lower_bound(), Xapian::Database::get_document(), Xapian::Weight::Internal::get_max_termweight(), RemoteDatabase::get_message(), RemoteConnection::get_message_chunked(), Xapian::Database::get_metadata(), Glass::Cursor::get_modifiable_p(), MultiMatch::get_mset(), Glass::Cursor::get_p(), Xapian::Database::get_revision(), Xapian::BB2Weight::get_sumpart(), Xapian::DLHWeight::get_sumpart(), Xapian::PL2Weight::get_sumpart(), Xapian::PL2PlusWeight::get_sumpart(), Xapian::DPHWeight::get_sumpart(), AndNotPostList::get_termfreq_est(), OrPostList::get_termfreq_est(), ValueRangePostList::get_termfreq_est(), MaxPostList::get_termfreq_est(), MultiXorPostList::get_termfreq_est(), MultiAndPostList::get_termfreq_est(), Xapian::Database::get_unique_terms(), Xapian::Database::get_value_lower_bound(), GlassVersion::GlassVersion(), OmDocumentTerm::increase_wdf(), Xapian::TermGenerator::Internal::index_text(), Xapian::BM25Weight::init(), Xapian::BM25PlusWeight::init(), Xapian::TradWeight::init(), Xapian::BB2Weight::init(), Xapian::DLHWeight::init(), Xapian::PL2Weight::init(), Xapian::PL2PlusWeight::init(), Xapian::DPHWeight::init(), io_read_block(), io_write_block(), CompressionStream::lazy_alloc_deflate_zstream(), ChertTable::lazy_alloc_deflate_zstream(), CompressionStream::lazy_alloc_inflate_zstream(), ChertTable::lazy_alloc_inflate_zstream(), FlintLock::lock(), LocalSubMatch::make_synonym_postlist(), GlassFreeListChecker::mark_used(), RemoteServer::msg_allterms(), RemoteServer::msg_openmetadatakeylist(), RemoteServer::msg_termlist(), MultiValueList::next(), ChertAllTermsList::next(), GlassAllTermsList::next(), ChertPositionList::next(), GlassPositionList::next(), RealTime::now(), Xapian::MultiValueKeyMaker::operator()(), Xapian::GreatCircleMetric::pointwise_distance(), Xapian::Database::positionlist_begin(), Xapian::Database::postlist_begin(), Xapian::SnipPipe::pump(), Xapian::Query::Query(), Xapian::Internal::QueryScaleWeight::QueryScaleWeight(), GlassVersion::read(), GlassFreeList::read_block(), ChertTable::read_block(), GlassTable::read_block(), register_object(), OmDocumentTerm::remove_position(), Xapian::Document::remove_postings(), Xapian::WritableDatabase::remove_spelling(), Xapian::WritableDatabase::remove_synonym(), Xapian::WritableDatabase::replace_document(), Xapian::WritableDatabase::set_metadata(), Glass::LeafItem_wr::set_size(), Item_wr::set_size(), ChertAllTermsList::skip_to(), GlassAllTermsList::skip_to(), ValueChunkReader::skip_to(), Glass::ValueChunkReader::skip_to(), InMemoryTermList::skip_to(), RealTime::sleep(), Xapian::Database::termlist_begin(), unpack_bool(), unpack_string(), unpack_string_preserving_sort(), unpack_uint(), unpack_uint_last(), unpack_uint_preserving_sort(), Xapian::BoolWeight::unserialise(), Xapian::BM25Weight::unserialise(), Xapian::BM25PlusWeight::unserialise(), Xapian::TradWeight::unserialise(), Xapian::InL2Weight::unserialise(), Xapian::IfB2Weight::unserialise(), Xapian::IneB2Weight::unserialise(), Xapian::BB2Weight::unserialise(), Xapian::DLHWeight::unserialise(), Xapian::PL2Weight::unserialise(), Xapian::PL2PlusWeight::unserialise(), Xapian::DPHWeight::unserialise(), Xapian::LMWeight::unserialise(), Xapian::CoordWeight::unserialise(), Xapian::WritableDatabase::WritableDatabase(), and GlassVersion::write().

◆ SIZEOF_INT

#define SIZEOF_INT   4

Definition at line 333 of file config.h.

◆ SIZEOF_LONG

#define SIZEOF_LONG   8

Definition at line 336 of file config.h.

◆ SIZEOF_LONG_LONG

#define SIZEOF_LONG_LONG   8

Definition at line 339 of file config.h.

◆ SIZEOF_SHORT

#define SIZEOF_SHORT   2

Definition at line 342 of file config.h.

◆ SNPRINTF

#define SNPRINTF   snprintf

Definition at line 346 of file config.h.

Referenced by Xapian::Internal::format().

◆ SOCKLEN_T

#define SOCKLEN_T   socklen_t

Definition at line 349 of file config.h.

Referenced by TcpClient::open_socket().

◆ STDC_HEADERS

#define STDC_HEADERS   1

Definition at line 352 of file config.h.

◆ STRERROR_R_CHAR_P

#define STRERROR_R_CHAR_P   1

Definition at line 355 of file config.h.

◆ USE_RTTI

#define USE_RTTI   1

Definition at line 361 of file config.h.

◆ usual

#define usual (   COND)    __builtin_expect(!!(COND), 1)

◆ VERSION

#define VERSION   "1.4.19"

Definition at line 367 of file config.h.

◆ XAPIAN_LIB_BUILD

#define XAPIAN_LIB_BUILD   1

Definition at line 553 of file config.h.