Basics Namespace Reference


Classes

struct  gc_no_pointers_t
class  Allocator
class  BufStreambuf
class  BufStreamBase
class  IBufStream
class  OBufStream
class  BufStream
class  RegExp
class  mutex
class  cond
class  thread_attr
class  thread
struct  ForkArgs
struct  ParseUnitValFailure

Typedefs

typedef char int8
typedef unsigned char uint8
typedef short int16
typedef unsigned short uint16
typedef int int32
typedef unsigned int uint32

Functions

Text errno_Text (int err)
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 * ThreadStart_Callback (void *arg) throw ()
void ThreadStart_WaitForChild (ForkArgs *forkArgs) throw ()
void * ThreadStart_Callback (void *arg) throw ()
void ThreadStart_WaitForChild (Basics::ForkArgs *forkArgs) throw ()
void * ThreadStart_Callback (void *arg) throw ()
void ThreadStart_WaitForChild (ForkArgs *forkArgs) throw ()
Text FormatUnitVal (Basics::uint64 val, bool decimal) throw ()
Basics::uint64 ParseUnitVal (const char *val, bool decimal) throw (Basics::ParseUnitValFailure)
Basics::uint64 ParseUnitVal (const Text &val, bool decimal=false) throw (ParseUnitValFailure)

Variables

gc_no_pointers_t gc_no_pointers


Typedef Documentation

typedef short Basics::int16

Definition at line 113 of file Basics.H.

typedef int Basics::int32

Definition at line 115 of file Basics.H.

typedef char Basics::int8

Definition at line 111 of file Basics.H.

typedef unsigned short Basics::uint16

Definition at line 114 of file Basics.H.

typedef unsigned int Basics::uint32

Definition at line 116 of file Basics.H.

typedef unsigned char Basics::uint8

Definition at line 112 of file Basics.H.


Function Documentation

Text Basics::errno_Text ( int  err  ) 

Definition at line 30 of file Basics.C.

Referenced by VestaLog::abort(), be_user2(), be_user3(), VForward::checkpoint(), VDirVolatileRoot::checkpoint(), VDirEvaluator::checkpoint(), VestaLog::checkpointEnd(), CheckpointServer(), AtomicFile::close(), VestaLog::commit(), count_current_log_size(), DeleteAllShortIdsBut(), DoDeletions(), RecoveryReader::eof(), VestaLogPrivate::eraseUncommitted(), Repos::errno_to_errorCode(), RecoveryReader::get(), GlueInit(), init_repository_access(), main(), VDirChangeable::makeEntryImmutable(), VestaLog::nextLog(), nfsd_init(), nfsd_nfsproc_write_2(), VestaLog::open(), VestaLog::openCheckpoint(), operator<<(), RecoveryReader::read(), RecoveryReader::readAll(), VestaLogPrivate::readBlock(), LimService::Run(), SourceWeed(), VestaLogPrivate::writeCur(), and xlate_errno().

Here is the caller graph for this function:

Text Basics::FormatUnitVal ( Basics::uint64  val,
bool  decimal = false 
) throw ()

Definition at line 45 of file Units.C.

References BIN_ONE_E, BIN_ONE_G, BIN_ONE_K, BIN_ONE_M, BIN_ONE_P, BIN_ONE_T, DEC_ONE_E, DEC_ONE_G, DEC_ONE_K, DEC_ONE_M, DEC_ONE_P, and DEC_ONE_T.

Referenced by count_current_log_size(), main(), process(), and RecursiveStats::report().

Here is the caller graph for this function:

uint16 Basics::hton16 ( uint16  p_x  )  [inline]

Definition at line 170 of file Basics.H.

Referenced by main(), PickleC::PickleInt16(), SRPC_impl::send_int16(), VLogBlock::data_block::setLen(), and VLogBlock::data_block::setVer().

Here is the caller graph for this function:

uint32 Basics::hton32 ( uint32  p_x  )  [inline]

Definition at line 182 of file Basics.H.

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

Here is the caller graph for this function:

uint64 Basics::hton64 ( uint64  p_x  )  [inline]

Definition at line 195 of file Basics.H.

References swab64().

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint16 Basics::ntoh16 ( uint16  p_x  )  [inline]

Definition at line 175 of file Basics.H.

Referenced by VLogBlock::data_block::getLen(), VLogBlock::data_block::getVer(), input_tests(), main(), SRPC_impl::recv_int16(), and PickleC::UnpickleInt16().

Here is the caller graph for this function:

uint32 Basics::ntoh32 ( uint32  p_x  )  [inline]

Definition at line 187 of file Basics.H.

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

Here is the caller graph for this function:

uint64 Basics::ntoh64 ( uint64  p_x  )  [inline]

Definition at line 208 of file Basics.H.

References hton64().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Basics::uint64 Basics::ParseUnitVal ( const Text val,
bool  decimal = false 
) throw (ParseUnitValFailure) [inline]

Definition at line 58 of file Units.H.

References ParseUnitVal().

Here is the call graph for this function:

Basics::uint64 Basics::ParseUnitVal ( const char *  val,
bool  decimal = false 
) throw (Basics::ParseUnitValFailure)

Definition at line 97 of file Units.C.

References BIN_ONE_E, BIN_ONE_G, BIN_ONE_K, BIN_ONE_M, BIN_ONE_P, BIN_ONE_T, DEC_ONE_E, DEC_ONE_G, DEC_ONE_K, DEC_ONE_M, DEC_ONE_P, DEC_ONE_T, Basics::ParseUnitValFailure::emsg, and Basics::ParseUnitValFailure::val.

Referenced by main(), and ParseUnitVal().

Here is the caller graph for this function:

uint16 Basics::swab16 ( uint16  p_x  )  [inline]

Definition at line 142 of file Basics.H.

uint32 Basics::swab32 ( uint32  p_x  )  [inline]

Definition at line 148 of file Basics.H.

Referenced by GraphLog::Entry::Recover().

Here is the caller graph for this function:

uint64 Basics::swab64 ( uint64  p_x  )  [inline]

Definition at line 156 of file Basics.H.

Referenced by hash_number(), hton64(), and UniqueId().

Here is the caller graph for this function:

void* Basics::ThreadStart_Callback ( void *  arg  )  throw ()

Definition at line 39 of file ThreadStartPlain.C.

References Basics::ForkArgs::arg, and Basics::ForkArgs::proc.

Referenced by Basics::thread::fork_inner().

Here is the caller graph for this function:

void* Basics::ThreadStart_Callback ( void *  arg  )  throw ()

Definition at line 31 of file ThreadStartDECwestGC.C.

References Basics::ForkArgs::arg, Basics::mutex::lock(), Basics::ForkArgs::mu, Basics::ForkArgs::proc, Basics::cond::signal(), Basics::ForkArgs::started, Basics::mutex::unlock(), and Basics::ForkArgs::untilStarted.

Here is the call graph for this function:

void* Basics::ThreadStart_Callback ( void *  arg  )  throw ()

Definition at line 31 of file ThreadStartDECwestGC.C.

References Basics::ForkArgs::arg, and Basics::ForkArgs::proc.

Referenced by Basics::thread::fork_inner().

Here is the caller graph for this function:

void Basics::ThreadStart_WaitForChild ( ForkArgs *  forkArgs  )  throw ()

Definition at line 63 of file ThreadStartPlain.C.

Referenced by Basics::thread::fork_inner().

Here is the caller graph for this function:

void Basics::ThreadStart_WaitForChild ( Basics::ForkArgs forkArgs  )  throw ()

Definition at line 68 of file ThreadStartDECwestGC.C.

void Basics::ThreadStart_WaitForChild ( ForkArgs *  forkArgs  )  throw ()

Definition at line 68 of file ThreadStartDECwestGC.C.

Referenced by Basics::thread::fork_inner().

Here is the caller graph for this function:


Variable Documentation

Basics::gc_no_pointers_t Basics::gc_no_pointers

Definition at line 447 of file GC.C.


Generated on Fri May 25 01:54:51 2007 for Vesta by  doxygen 1.5.1