Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Basics.H File Reference

#include "SizeAssert.H"
#include <netinet/in.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <sstream>
#include <iosfwd>
#include <fstream>
#include <pthread.h>
#include "Thread.H"
#include "Text.H"

Go to the source code of this file.

Namespaces

namespace  Basics

Defines

#define NEW(t)   new (__FILE__, __LINE__) t
#define NEW_CONSTR(t, args)   new (__FILE__, __LINE__) t args
#define NEW_ARRAY(t, size)   new (__FILE__, __LINE__) t[size]
#define NEW_PTRFREE(t)   new (Basics::gc_no_pointers, __FILE__, __LINE__) t
#define NEW_PTRFREE_CONSTR(t, args)   new (Basics::gc_no_pointers, __FILE__, __LINE__) t args
#define NEW_PTRFREE_ARRAY(t, size)   new (Basics::gc_no_pointers, __FILE__, __LINE__) t[size]

Typedefs

typedef char int8
typedef unsigned char uint8
typedef short int16
typedef unsigned short uint16
typedef int int32
typedef unsigned int uint32
typedef Basics::uint8 Bit8
typedef Basics::uint16 Bit16
typedef Basics::uint32 Bit32
typedef Basics::uint64 Bit64
typedef Bit64 Word
typedef unsigned long PointerInt
typedef Basics::int8 bool8

Functions

int min (int a, int b)
int max (int a, int b)
uint16 swab16 (uint16 p_x)
uint32 swab32 (uint32 p_x)
uint64 swab64 (uint64 p_x)
uint16 hton16 (uint16 p_x)
uint16 ntoh16 (uint16 p_x)
uint32 hton32 (uint32 p_x)
uint32 ntoh32 (uint32 p_x)
uint64 hton64 (uint64 p_x)
uint64 ntoh64 (uint64 p_x)
void * operator new (size_t size, Basics::gc_no_pointers_t unused, const char *file, unsigned int line)
void * operator new[] (size_t size, Basics::gc_no_pointers_t unused, const char *file, unsigned int line)
void * operator new (size_t size, const char *file, unsigned int line)
void * operator new[] (size_t size, const char *file, unsigned int line)
Text errno_Text (int err)

Variables

const char *const BoolName []
gc_no_pointers_t gc_no_pointers
const char PathnameSep = '\\'


Define Documentation

#define NEW  )     new (__FILE__, __LINE__) t
 

Definition at line 232 of file Basics.H.

Referenced by AccessControl_selfInit_inner(), ShortIdBlock::acquire(), AcquireShortIdBlock(), Proc_Totals::add_call(), ValC::AddExtendToDPS(), ValC::AddToDPS(), AddToNewStuff(), And(), Append(), ApplicationFromCache(), ApplyFunction(), ApplyModel(), ApplyRunTool(), Assert(), VestaLogPrivate::balloc(), Basics::thread::fork_inner(), Bind1(), SPKFile::CheckPoint(), EmptyPKLog::CheckpointBegin(), ReposUI::cleanup(), Client(), CollectFunc(), CollectLet(), CollectModel(), commandLineParsing(), VDirVolatileRoot::copy(), UnbndVC::Copy(), SRPC_listener::create(), Defined(), DepPath::DepPathC::DepPathC(), Div(), RunTool::do_it(), do_one_test(), Elem(), EmptyPKLog::EmptyPKLog(), EqualVal(), FuncTEC::Eval(), BindingTEC::Eval(), ListTEC::Eval(), BaseTEC::Eval(), IterateEC::Eval(), PairEC::Eval(), BindEC::Eval(), AssignEC::Eval(), StmtListEC::Eval(), ArgListEC::Eval(), ApplyEC::Eval(), FdCache::PartialCache::close(), Find(), FindR(), ModelVC::Force(), BindingVC::GetElem(), ListVC::GetElem(), GetFP(), GetName(), GetValue(), Greater(), GreaterEq(), Head(), Implies(), RunTool::init(), VestaSource::init(), InitDirShortId(), Interpret(), IsBinding(), IsBool(), IsClosure(), IsErr(), IsInt(), IsList(), IsText(), Leases::Leases(), Length(), Less(), LessEq(), LimService::LimService(), List1(), CacheS::LogCI(), VDirEvaluator::lookup(), Lookup(), DirInfos::LookupDir(), main(), Map(), VDirChangeable::mark(), Weeder::MarkPhase(), Weeder::MarkWork(), Max(), ValC::Merge(), Min(), Minus(), Mod(), ModelCutOff(), ModelFromCache(), ModelName(), Neg(), PairT< Value >::New(), nfsd_thread(), NormalModelFromCache(), Not(), operator-(), Or(), ParMap(), ParseImports::ResolvePath(), PickleC::PickleC(), Plus(), PlusPlus(), SMultiPKFile::PrepareForRewrite(), PrimInit(), Print(), ProcessDirectory(), QueueRecoverMastership(), Call_Data::read(), SPKFile::Read(), RecordErrorOnStack(), CacheS::RecoverCacheLog(), CacheS::RecoverCILog(), CacheS::RecoverGraphLog(), Weeder::RecoverWeeded(), CacheS::RecoverWeededMPKs(), CacheS::RegisterIdleFlushWorker(), LimService::RegisterIdleWorker(), RegisterRecoveryCallback(), ReposStats::getStats(), RunTool(), RunToolFromCache(), SameType(), PKFileObj::Search(), MPKFileObj::Search(), DirObj::Search(), CFPObj::Search(), Tool_Relay::setup(), srpc_recv_identity(), Star(), MultiSRPC::Start(), Stat::Collection::getFanout(), Sub(), Tail(), Thread1(), ThreadDataCreate(), ThreadDataInit(), TypeOf(), AccessControl::UnixIdentityRep::UnixIdentityRep(), SPKFile::Update(), ValInit(), VDirEvaluator::VDirEvaluator(), VestaLog::VestaLog(), VestaSourceAtomic::VestaSourceAtomic(), VestaSourceSRPC_init_inner(), SPKFile::Write(), and SRPC_Call_Stats::Helper::~Helper().

#define NEW_ARRAY t,
size   )     new (__FILE__, __LINE__) t[size]
 

Definition at line 234 of file Basics.H.

Referenced by PrefixTbl::AddArc(), Table< K, V >::Default::AllocBuckets(), SharedTable< K, V >::T::AllocBuckets(), SMultiPKFileRep::Header::AppendNewHeaderEntry(), CacheS::CacheS(), CanonicalDpnd(), Client(), Sequence< Elem, elem_ptrfree >::expand(), FV2::ListApp::Append(), FV::List::Copy(), FV::List::Read(), FV::List::Recover(), FV::List::Recv(), FV::ListApp::Append(), FV::ListApp::Grow(), SharedTable< K, V >::T::GrowBucket(), children::init(), SharedTable< K, V >::T::InitBucket(), FV::ListApp::ListApp(), main(), MultiSRPC::MultiSRPC(), NamesTagsPickle(), NewVal::NewNames(), Sequence< Elem, elem_ptrfree >::operator=(), parse(), PrefixTbl::PrefixTbl(), SPKFileRep::Header::Read(), PrefixTbl::Read(), SMultiPKFileRep::Header::ReadListV1(), PrefixTbl::Recover(), PrefixTbl::Recv(), Sequence< Elem, elem_ptrfree >::Sequence(), ServerArgs::ServerArgs(), SortTest(), MultiSRPC::Start(), table_keys(), Tags(), and SPKFile::Write().

#define NEW_CONSTR t,
args   )     new (__FILE__, __LINE__) t args
 

Definition at line 233 of file Basics.H.

Referenced by ReadersWritersLock::acquireRead(), Actuals(), DepPathTbl::DPS::Add(), BindingVC::AddBindingAssoc(), VPKFile::AddEntry(), ExpCache::AddEntry(), CacheS::AddEntry(), SPKFile::AddEntryToTable(), DepPathTbl::DPS::AddExtend(), ValC::AddToDPS(), BindingVC::AddToLenDPS(), ListVC::AddToLenDPS(), AddToNewStuff(), AppendDToContext(), SMultiPKFileRep::Header::AppendNewHeaderEntry(), ApplyModel(), Assign(), AssignAssoc(), AtomInit::AtomInit(), Bind1(), BindApplicationArgs(), BindElem(), BindingAppend(), BindingCons(), BindingMinus(), BindRunToolArgs(), Block(), CacheC::CacheC(), CacheEntry::Indices::ReadImmutable(), CacheS::CacheS(), CallCache(), CE::T::CycleNames(), CE::T::Pack(), CE::T::Read(), CE::T::ReadExtras(), CE::T::Recover(), CE::T::T(), VDirChangeable::checkpoint(), ExpCache::Checkpoint(), VestaLog::checkpointBegin(), VestaLog::checkpointEnd(), VestaLog::checkpointResume(), CacheS::ChkptUsedCIs(), Client(), ClosureVC::ClosureVC(), VDirChangeable::collapse(), CollectAllDpnd(), CollectFuncS(), CollectLetS(), CollectModelS(), Call_Data::compute_interval_times(), TextVC::Content(), ContextNames(), Control(), ConvertEnvVars(), ConvertToBindElem(), ConvertVals(), VDirSurrogate::copy(), VDirChangeable::copy(), FpVC::Copy(), ErrorVC::Copy(), ClosureVC::Copy(), ModelVC::Copy(), TextVC::Copy(), PrimitiveVC::Copy(), IntegerVC::Copy(), BooleanVC::Copy(), BindingVC::Copy(), ListVC::Copy(), SrcLoc::Copy(), Weeder::CopyGLtoPending(), VDirChangeable::copyIndexToMutable(), VDirChangeable::copyMutableToImmutable(), core_match_init(), SRPC_listener::create(), VDirVolatileRoot::createVolatileDirectory(), VDirSurrogate::createVolatileDirectory(), DebugC::DebugC(), DepPath::DeepCopy(), BindingVC::Defined(), Defined(), DeleteDuplicatePathsInner(), DepPath::DepPath(), DepPath::DepPathC::DepPathC(), Div(), do_one_test(), EatArc(), Elem(), EmptyPKLog::EmptyPKLog(), EqualVal(), ErrorEC::Eval(), PrimitiveEC::Eval(), ModelEC::Eval(), FileEC::Eval(), FuncEC::Eval(), BindingEC::Eval(), NameEC::Eval(), ListEC::Eval(), ExprListEC::Eval(), ExpCache::ExpCache(), Expr1(), Expr2(), Expr3(), Expr4(), Expr5(), Expr6(), Expr7(), Expression(), SPKFile::ExtractEntries(), FileItem(), FileList(), Files(), AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), Find(), FindR(), CacheS::FindVPKFile(), Formals(), Func(), Time_Ranges::gen_plot(), GenArc(), PrefixTbl::Get(), VDirSurrogate::getBase(), VDirChangeable::getBase(), GetFP(), WeederC::GetLeases(), GetName(), CacheS::GetVPKFile(), GLNodeBuffer::GLNodeBuffer(), Greater(), GreaterEq(), Head(), Implies(), Imports(), IncItem(), IncList(), VestaSource::init(), init(), InitFPShortId(), VDirSurrogate::insertAppendableDirectory(), VDirChangeable::insertAppendableDirectory(), VDirChangeable::insertCommon(), VDirSurrogate::insertFile(), VDirChangeable::insertFile(), VDirSurrogate::insertGhost(), VDirChangeable::insertGhost(), VDirSurrogate::insertImmutableDirectory(), VDirChangeable::insertImmutableDirectory(), VDirSurrogate::insertMutableDirectory(), VDirChangeable::insertMutableDirectory(), VDirSurrogate::insertMutableFile(), VDirChangeable::insertMutableFile(), VDirSurrogate::insertStub(), VDirChangeable::insertStub(), Interpret(), IsType(), Iterate(), IterateAssoc(), Leases::LeaseSet(), BindingVC::Length(), ListVC::Length(), Length(), Less(), LessEq(), VDirChangeable::list(), List1(), ListAppend(), ListCons(), ParCacheC::Locate(), CacheS::LogCacheEntry(), CacheS::LogGraphNode(), VDirSurrogate::LongIdLookup(), VDirVolatileRoot::lookup(), VDirSurrogate::lookup(), VDirEvaluator::lookup(), VDirChangeable::lookup(), Lookup(), SPKFile::LookupEntryV1(), VDirVolatileRoot::lookupIndex(), VDirSurrogate::lookupIndex(), VDirEvaluator::lookupIndex(), VDirChangeable::lookupIndex(), VDirVolatileRoot::lookupIndexAndLock(), LookupPath(), VDirSurrogate::lookupPathname(), main(), VDirChangeable::makeIndexMutable(), VDirSurrogate::makeMutable(), Map(), Weeder::MarkWork(), ValC::MergeAndLenDPS(), ValC::MergeDPS(), ValC::MergeLenDPS(), BindingVC::MergeToLenDPS(), ListVC::MergeToLenDPS(), Minus(), Mod(), Model(), ModelName(), ModelVC::ModelVC(), MPKFileObj::MPKFileObj(), VDirSurrogate::mutableRoot(), BindingVC::Names(), NamesTagsPickle(), Neg(), DupeTable::new_rpc(), VPKFile::NewEntry(), CacheS::NewFlushWorker(), LimService::NewWorker(), VestaLogSeq::Next(), PKFileIter::Next(), MPKFileIter::Next(), Not(), DirEntry::Open(), VestaLog::openCheckpoint(), operator &(), operator-(), operator^(), operator|(), GatherWeedRoots::P(), ParMap(), ParseImports::LocalModelSpace::open(), ParseImports::P(), ParseImports::RemoteModelSpace::open(), PickleC::PickleC(), PKFileObj::PKFileObj(), Plus(), PlusPlus(), Primary(), PrintAllDpnd(), PrintCacheLogEntries(), PushToContext(), Table< K, V >::Default::Put(), SharedTable< K, V >::T::Put(), CacheS::QueueChkpt(), GLNode::Read(), SPKFile::Read(), GraphLog::Root::Read(), GraphLog::Node::Read(), GraphLog::Entry::Read(), Lock_Data::read_reason(), SPKFile::ReadEntries(), SMultiPKFile::ReadHeader(), VestaVal::T::ReadImmutable(), SMultiPKFileRep::Header::ReadListV1(), SMultiPKFileRep::Header::ReadPKFiles(), VDirChangeable::reallyDelete(), recordListCB(), CacheLog::Entry::Recover(), GraphLog::Root::Recover(), GraphLog::Node::Recover(), GraphLog::Entry::Recover(), CacheS::RecoverCacheLog(), CacheS::RecoverCacheLogEntries(), CacheS::RecoverCILog(), CacheS::RecoverGraphLog(), Weeder::RecoverMiscVars(), Weeder::RecoverWeeded(), BindingVC::RemoveBindingAssoc(), VDirChangeable::renameTo(), ExpCache::RenewLeases(), VDirSurrogate::repositoryRoot(), SMultiPKFile::Rewrite(), LimService::Run(), RunTest(), RunTool(), RunToolCalls::RunToolCalls(), S_Multi1(), SameTypeInner(), ReposRoots::Scan(), Token::ScanIdNumber(), Token::ScanText(), MPKFileObj::Search(), DirObj::Search(), CFPObj::Search(), Server(), ParCacheC::SetServerHost(), SRPC::SRPC(), srpc_recv_identity(), Star(), MultiSRPC::Start(), CacheS::StartMark(), WeederC::StartMark(), Stmt(), Sub(), Tail(), TextVC::TextVC(), Type(), TypeDef(), PickleC::UnpickleContext(), PickleC::UnpickleDPS(), PickleC::UnpickleExpr(), PickleC::UnpickleLocation(), PickleC::UnpickleVal(), SPKFile::Update(), ValInit(), VDCLookupResult(), VDirSurrogate_init2(), VestaShip(), VDirSurrogate::volatileRoot(), VSAtomic(), CacheS::VToSCache(), TCP_sock::wait_for_connect(), Weeder::WeededPrefixes(), Weeder::Weeder(), and WeederC::WeederC().

#define NEW_PTRFREE  )     new (Basics::gc_no_pointers, __FILE__, __LINE__) t
 

Definition at line 235 of file Basics.H.

Referenced by CacheS::CacheS(), and VLogBlock::VLogBlock().

#define NEW_PTRFREE_ARRAY t,
size   )     new (Basics::gc_no_pointers, __FILE__, __LINE__) t[size]
 

Definition at line 237 of file Basics.H.

Referenced by PrefixTbl::AddArc(), Histogram::AddVal(), AFStaticStuff::AFStaticStuff(), int_seq_impl::allocate_buffer(), chars_seq_impl::allocate_buffer(), bytes_seq_impl::allocate_buffer(), Token::AppendChar(), Basics::BufStreambuf::alloc_if_needed(), Basics::RegExp::constructor_inner(), BitVectorInit::BitVectorInit(), Tool_Relay::body(), C_Cat2(), CacheEntry::Indices::Read(), CacheEntry::Indices::Recover(), CacheEntry::IndicesApp::Append(), CallCache(), Canonical(), VestaSource::cedeMastership(), AtomicFile::cleanup(), Client(), ClientCall(), CompactFV::List::List(), CompactFV::List::Read(), CompactFV::List::ToFVList(), Derived::Indices::Read(), Derived::Indices::Recover(), Derived::IndicesApp::Append(), TCP_sock::ensure_rcvbuffer(), TCP_sock::ensure_sndbuffer(), Sequence< Elem, elem_ptrfree >::expand(), BitVector::Extend(), CacheS::FlushAll(), AccessControl::formatModeBits(), FP::List::Read(), FP::List::Recover(), FP::List::Recv(), FPShortIdTable::FPShortIdTable(), FS::FdStreambuf::overflow(), FS::FdStreambuf::underflow(), FS::FdStreambuf::xsputn(), FV2::T::ToStr(), GardenerThread(), RecoveryReader::getNewQuotedString(), PrefixTbl::GetString(), AccessControl::GlobalIdentityRep::GlobalIdentityRep(), GlueInit(), IntervalMask::Init(), IntIntTblLR::IntIntTblLR(), FP::List::List(), main(), NamesTagsPickle(), TextVC::NDS(), NewVal::NewCIs(), NewVal::NewDIs(), NewVal::NewFPs(), NewVal::NewValue(), nfsd_init(), VestaLog::open(), AtomicFile::open(), Sequence< Elem, elem_ptrfree >::operator=(), OS::setenv(), PrefixTbl::PrefixTbl(), StatCount::PrintHisto(), IntIntTblLR::Put(), PrefixTbl::Put(), random_str(), IntIntTblLR::Read(), VestaVal::T::Read(), TextIO::Read(), PrefixTbl::Read(), PKPrefix::List::Read(), BitVector::Read(), SRPC_impl::read_item_code(), Lock_Data::read_reason(), ReadCIs(), VDirSurrogate::readWhole(), IntIntTblLR::Recover(), VestaVal::T::Recover(), TextIO::Recover(), PrefixTbl::Recover(), BitVector::Recover(), PKPrefix::List::Recv(), SRPC::recv_bytes(), SRPC::recv_chars(), SRPC::recv_int16_array(), SRPC::recv_int32_array(), SRPC::recv_int64_array(), SRPC::recv_Text(), ReposStats::getStats(), FPShortIdTable::Resize(), RunTest(), S_Addnf(), S_Catnf(), Sequence< Elem, elem_ptrfree >::Sequence(), ServerArgs::ServerArgs(), Tool_Relay::setup(), ShortIdBlock::shortIdToName(), srpc_recv_identity(), Text::Sub(), VestaVal::T::T(), Tags(), Text::Text(), Token::Token(), AccessControl::UnixIdentityRep::UnixIdentityRep(), PickleC::UnpickleAtom(), PickleC::UnpickleLText(), PickleC::UnpickleText(), and write_nbytes().

#define NEW_PTRFREE_CONSTR t,
args   )     new (Basics::gc_no_pointers, __FILE__, __LINE__) t args
 

Definition at line 236 of file Basics.H.

Referenced by ExpCache::AddEntry(), CE::T::CombineFP(), main(), and VPKFile::NewEntry().


Typedef Documentation

typedef Basics::uint16 Bit16
 

Definition at line 256 of file Basics.H.

typedef Basics::uint32 Bit32
 

Definition at line 257 of file Basics.H.

typedef Basics::uint64 Bit64
 

Definition at line 258 of file Basics.H.

typedef Basics::uint8 Bit8
 

Definition at line 255 of file Basics.H.

typedef Basics::int8 bool8
 

Definition at line 282 of file Basics.H.

typedef short Basics::int16
 

Definition at line 120 of file Basics.H.

typedef int Basics::int32
 

Definition at line 122 of file Basics.H.

typedef char Basics::int8
 

Definition at line 118 of file Basics.H.

typedef unsigned long PointerInt
 

Definition at line 274 of file Basics.H.

typedef unsigned short Basics::uint16
 

Definition at line 121 of file Basics.H.

typedef unsigned int Basics::uint32
 

Definition at line 123 of file Basics.H.

typedef unsigned char Basics::uint8
 

Definition at line 119 of file Basics.H.

typedef Bit64 Word
 

Definition at line 266 of file Basics.H.


Function Documentation

Text Basics::errno_Text int  err  ) 
 

Referenced by VestaLog::abort(), VestaLog::checkpointBegin(), VestaLog::checkpointEnd(), VestaLog::checkpointResume(), AtomicFile::close(), VestaLog::commit(), RecoveryReader::eof(), VestaLogPrivate::eraseUncommitted(), RecoveryReader::get(), init_repository_access(), main(), VestaLog::nextLog(), nfsd_init(), VestaLog::open(), VestaLog::openCheckpoint(), operator<<(), RecoveryReader::read(), RecoveryReader::readAll(), VestaLogPrivate::readBlock(), VestaLogPrivate::writeCur(), and xlate_errno().

uint16 Basics::hton16 uint16  p_x  )  [inline]
 

Definition at line 177 of file Basics.H.

Referenced by main(), PickleC::PickleInt16(), and SRPC_impl::send_int16().

uint32 Basics::hton32 uint32  p_x  )  [inline]
 

Definition at line 189 of file Basics.H.

Referenced by IntegerVC::FingerPrint(), main(), PickleC::PickleInt32(), and SRPC_impl::send_int32().

uint64 Basics::hton64 uint64  p_x  )  [inline]
 

Definition at line 202 of file Basics.H.

References Basics::swab64().

Referenced by main(), Basics::ntoh64(), PickleC::PickleInt64(), and SRPC_impl::send_int64().

int max int  a,
int  b
[inline]
 

Definition at line 80 of file Basics.H.

Referenced by PrefixTbl::AddArc(), SMultiPKFileRep::Header::AppendNewHeaderEntry(), Basics::thread_attr::set_guardsize(), Basics::thread_attr::set_stacksize(), CacheConfigInit::CacheConfigInit(), CacheEntry::IndicesApp::Append(), Derived::IndicesApp::Append(), chars_seq_impl::expand(), bytes_seq_impl::expand(), BitVector::ExpandSz(), BitVector::Extend(), Find(), Text::FindChar(), FindR(), Text::FindText(), FV2::ListApp::Append(), FV::ListApp::Append(), Text::Hash(), init(), Table< K, V >::Default::Init(), SharedTable< K, V >::T::Init(), main(), BitVector::NextAvailExcept(), operator^(), BitVector::operator^=(), operator|(), BitVector::operator|=(), LookupStats::Rec::Print(), Histogram::Print(), IntIntTblLR::Put(), Search(), BitVector::SetInterval(), VPKFile::Update(), and LookupStats::Datum::Update().

int min int  a,
int  b
[inline]
 

Definition at line 79 of file Basics.H.

Referenced by CanonicalDpnd(), Text::FindCharR(), FS::Copy(), main(), BitVector::NextAvailExcept(), operator &(), BitVector::operator &=(), operator-(), BitVector::operator-=(), operator<(), operator<=(), operator==(), operator^(), BitVector::operator^=(), operator|(), BitVector::operator|=(), BitVector::Pack(), PKPrefix::T::Pathname(), VestaVal::T::Print(), BitVector::Print(), TCP_sock::recv_data(), BitVector::ReduceSz(), BitVector::Reset(), BitVector::ResetInterval(), TCP_sock::send_data(), Stat::LevelName(), Sequence< Elem, elem_ptrfree >::sub(), Test(), LookupStats::Datum::Update(), and BitVector::WriteWord().

uint16 Basics::ntoh16 uint16  p_x  )  [inline]
 

Definition at line 182 of file Basics.H.

Referenced by input_tests(), main(), SRPC_impl::recv_int16(), and PickleC::UnpickleInt16().

uint32 Basics::ntoh32 uint32  p_x  )  [inline]
 

Definition at line 194 of file Basics.H.

Referenced by input_tests(), main(), SRPC_impl::recv_int32(), and PickleC::UnpickleInt32().

uint64 Basics::ntoh64 uint64  p_x  )  [inline]
 

Definition at line 215 of file Basics.H.

References Basics::hton64().

Referenced by main(), SRPC_impl::recv_int64(), and PickleC::UnpickleInt64().

void* operator new size_t  size,
const char *  file,
unsigned int  line
 

Definition at line 461 of file GC.C.

References operator().

void* operator new size_t  size,
Basics::gc_no_pointers_t  unused,
const char *  file,
unsigned int  line
 

Definition at line 449 of file GC.C.

void* operator new[] size_t  size,
const char *  file,
unsigned int  line
 

Definition at line 467 of file GC.C.

References operator().

void* operator new[] size_t  size,
Basics::gc_no_pointers_t  unused,
const char *  file,
unsigned int  line
 

Definition at line 455 of file GC.C.

uint16 Basics::swab16 uint16  p_x  )  [inline]
 

Definition at line 149 of file Basics.H.

uint32 Basics::swab32 uint32  p_x  )  [inline]
 

Definition at line 155 of file Basics.H.

Referenced by GraphLog::Entry::Read(), and GraphLog::Entry::Recover().

uint64 Basics::swab64 uint64  p_x  )  [inline]
 

Definition at line 163 of file Basics.H.

Referenced by Basics::hton64(), and UniqueId().


Variable Documentation

const char* const BoolName[]
 

Definition at line 28 of file Basics.C.

Referenced by CacheC::Checkpoint(), ExpCache::Checkpoint(), GraphLog::Root::DebugFull(), CacheC::FreeVariables(), CacheS::RecoverDeleting(), ExpCache::RenewLeases(), VPKFile::SendAllNames(), WeederC::WeederRecovering(), and ExpCache::WeederRecovering().

Basics::gc_no_pointers_t Basics::gc_no_pointers
 

Definition at line 29 of file NoGC.C.

const char PathnameSep = '\\'
 

Definition at line 312 of file Basics.H.

Referenced by AcquireShortIdBlock(), VestaLog::checkpointAbort(), VestaLog::checkpointBegin(), VestaLog::checkpointEnd(), VestaLog::checkpointResume(), AtomicFile::cleanup(), DepPath::DepPathC::DepPathC(), FileEC::Eval(), DepPath::Extend(), DepPath::ExtendLow(), FS::SplitPath(), main(), MainModel(), SMultiPKFile::MakeDirs(), ModelPath(), VestaLog::nextLog(), VestaLog::open(), VestaLog::openCheckpoint(), ShortIdBlock::shortIdToName(), test_thread(), and vsToFilename().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2