basictypes.h

#include "config.h"
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>

tcmalloc-0.93/base/basictypes.hのインクルード依存関係図

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

構成

struct  CompileAssert< bool >

マクロ定義

#define PRIx64   "llx"
#define SCNx64   "llx"
#define PRId64   "lld"
#define SCNd64   "lld"
#define PRIu64   "llu"
#define PRIxPTR   PRIx64
#define DISALLOW_EVIL_CONSTRUCTORS(TypeName)
#define COMPILE_ASSERT(expr, msg)   typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
#define arraysize(a)   (sizeof(a) / sizeof(*(a)))
#define OFFSETOF_MEMBER(strct, field)
#define ATTRIBUTE_WEAK
#define ATTRIBUTE_SECTION(name)
#define DECLARE_ATTRIBUTE_SECTION_VARS(name)
#define INIT_ATTRIBUTE_SECTION_VARS(name)
#define DEFINE_ATTRIBUTE_SECTION_VARS(name)
#define ATTRIBUTE_SECTION_START(name)   (reinterpret_cast<void*>(0))
#define ATTRIBUTE_SECTION_STOP(name)   (reinterpret_cast<void*>(0))

型定義

typedef signed char schar
typedef int8_t int8
typedef int16_t int16
typedef int32_t int32
typedef int64_t int64
typedef uint8_t uint8
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64

変数

const uint16 kuint16max = ( (uint16) 0xFFFF)
const uint32 kuint32max = ( (uint32) 0xFFFFFFFF)
const uint64 kuint64max = ( (((uint64) kuint32max) << 32) | kuint32max )
const int8 kint8max = ( ( int8) 0x7F)
const int16 kint16max = ( ( int16) 0x7FFF)
const int32 kint32max = ( ( int32) 0x7FFFFFFF)
const int64 kint64max = ( ((( int64) kint32max) << 32) | kuint32max )
const int8 kint8min = ( ( int8) 0x80)
const int16 kint16min = ( ( int16) 0x8000)
const int32 kint32min = ( ( int32) 0x80000000)
const int64 kint64min = ( ((( int64) kint32min) << 32) | 0 )


マクロ定義

#define arraysize (  )     (sizeof(a) / sizeof(*(a)))

tcmalloc-0.93/base/basictypes.h173 行で定義されています。

#define ATTRIBUTE_SECTION ( name   ) 

tcmalloc-0.93/base/basictypes.h272 行で定義されています。

#define ATTRIBUTE_SECTION_START ( name   )     (reinterpret_cast<void*>(0))

tcmalloc-0.93/base/basictypes.h276 行で定義されています。

参照元 CheckInHookCaller().

#define ATTRIBUTE_SECTION_STOP ( name   )     (reinterpret_cast<void*>(0))

tcmalloc-0.93/base/basictypes.h277 行で定義されています。

参照元 CheckInHookCaller().

#define ATTRIBUTE_WEAK

tcmalloc-0.93/base/basictypes.h182 行で定義されています。

#define COMPILE_ASSERT ( expr,
msg   )     typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]

tcmalloc-0.93/base/basictypes.h170 行で定義されています。

参照元 PackedCache< kKeybits, T >::PackedCache().

#define DECLARE_ATTRIBUTE_SECTION_VARS ( name   ) 

tcmalloc-0.93/base/basictypes.h273 行で定義されています。

#define DEFINE_ATTRIBUTE_SECTION_VARS ( name   ) 

tcmalloc-0.93/base/basictypes.h275 行で定義されています。

#define DISALLOW_EVIL_CONSTRUCTORS ( TypeName   ) 

値:

TypeName(const TypeName&);                    \
  void operator=(const TypeName&)

tcmalloc-0.93/base/basictypes.h106 行で定義されています。

#define INIT_ATTRIBUTE_SECTION_VARS ( name   ) 

tcmalloc-0.93/base/basictypes.h274 行で定義されています。

参照元 CheckInHookCaller().

#define OFFSETOF_MEMBER ( strct,
field   ) 

値:

(reinterpret_cast<char*>(&reinterpret_cast<strct*>(16)->field) -     \
    reinterpret_cast<char*>(16))

tcmalloc-0.93/base/basictypes.h175 行で定義されています。

#define PRId64   "lld"

tcmalloc-0.93/base/basictypes.h92 行で定義されています。

#define PRIu64   "llu"

tcmalloc-0.93/base/basictypes.h98 行で定義されています。

参照元 DumpStats().

#define PRIx64   "llx"

tcmalloc-0.93/base/basictypes.h86 行で定義されています。

#define PRIxPTR   PRIx64

tcmalloc-0.93/base/basictypes.h101 行で定義されています。

#define SCNd64   "lld"

tcmalloc-0.93/base/basictypes.h95 行で定義されています。

#define SCNx64   "llx"

tcmalloc-0.93/base/basictypes.h89 行で定義されています。


型定義

typedef int16_t int16

tcmalloc-0.93/base/basictypes.h54 行で定義されています。

typedef int32_t int32

tcmalloc-0.93/base/basictypes.h55 行で定義されています。

typedef int64_t int64

tcmalloc-0.93/base/basictypes.h56 行で定義されています。

typedef int8_t int8

tcmalloc-0.93/base/basictypes.h53 行で定義されています。

typedef signed char schar

tcmalloc-0.93/base/basictypes.h52 行で定義されています。

typedef uint16_t uint16

tcmalloc-0.93/base/basictypes.h65 行で定義されています。

typedef uint32_t uint32

tcmalloc-0.93/base/basictypes.h66 行で定義されています。

typedef uint64_t uint64

tcmalloc-0.93/base/basictypes.h67 行で定義されています。

typedef uint8_t uint8

tcmalloc-0.93/base/basictypes.h64 行で定義されています。


変数

const int16 kint16max = ( ( int16) 0x7FFF)

tcmalloc-0.93/base/basictypes.h74 行で定義されています。

const int16 kint16min = ( ( int16) 0x8000)

tcmalloc-0.93/base/basictypes.h79 行で定義されています。

const int32 kint32max = ( ( int32) 0x7FFFFFFF)

tcmalloc-0.93/base/basictypes.h75 行で定義されています。

const int32 kint32min = ( ( int32) 0x80000000)

tcmalloc-0.93/base/basictypes.h80 行で定義されています。

const int64 kint64max = ( ((( int64) kint32max) << 32) | kuint32max )

tcmalloc-0.93/base/basictypes.h76 行で定義されています。

const int64 kint64min = ( ((( int64) kint32min) << 32) | 0 )

tcmalloc-0.93/base/basictypes.h81 行で定義されています。

const int8 kint8max = ( ( int8) 0x7F)

tcmalloc-0.93/base/basictypes.h73 行で定義されています。

const int8 kint8min = ( ( int8) 0x80)

tcmalloc-0.93/base/basictypes.h78 行で定義されています。

const uint16 kuint16max = ( (uint16) 0xFFFF)

tcmalloc-0.93/base/basictypes.h69 行で定義されています。

const uint32 kuint32max = ( (uint32) 0xFFFFFFFF)

tcmalloc-0.93/base/basictypes.h70 行で定義されています。

const uint64 kuint64max = ( (((uint64) kuint32max) << 32) | kuint32max )

tcmalloc-0.93/base/basictypes.h71 行で定義されています。


Thu Oct 8 05:01:10 2009に生成されました。  doxygen 1.5.6