#include "config.h"
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.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 | ( | a | ) | (sizeof(a) / sizeof(*(a))) |
tcmalloc-0.93/base/basictypes.h の 173 行で定義されています。
#define ATTRIBUTE_SECTION | ( | name | ) |
tcmalloc-0.93/base/basictypes.h の 272 行で定義されています。
#define ATTRIBUTE_SECTION_START | ( | name | ) | (reinterpret_cast<void*>(0)) |
#define ATTRIBUTE_SECTION_STOP | ( | name | ) | (reinterpret_cast<void*>(0)) |
#define ATTRIBUTE_WEAK |
tcmalloc-0.93/base/basictypes.h の 182 行で定義されています。
#define COMPILE_ASSERT | ( | expr, | |||
msg | ) | typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] |
#define DECLARE_ATTRIBUTE_SECTION_VARS | ( | name | ) |
tcmalloc-0.93/base/basictypes.h の 273 行で定義されています。
#define DEFINE_ATTRIBUTE_SECTION_VARS | ( | name | ) |
tcmalloc-0.93/base/basictypes.h の 275 行で定義されています。
#define DISALLOW_EVIL_CONSTRUCTORS | ( | TypeName | ) |
値:
TypeName(const TypeName&); \ void operator=(const TypeName&)
tcmalloc-0.93/base/basictypes.h の 106 行で定義されています。
#define INIT_ATTRIBUTE_SECTION_VARS | ( | name | ) |
#define OFFSETOF_MEMBER | ( | strct, | |||
field | ) |
値:
(reinterpret_cast<char*>(&reinterpret_cast<strct*>(16)->field) - \ reinterpret_cast<char*>(16))
tcmalloc-0.93/base/basictypes.h の 175 行で定義されています。
#define PRId64 "lld" |
tcmalloc-0.93/base/basictypes.h の 92 行で定義されています。
#define PRIu64 "llu" |
#define PRIx64 "llx" |
tcmalloc-0.93/base/basictypes.h の 86 行で定義されています。
#define PRIxPTR PRIx64 |
tcmalloc-0.93/base/basictypes.h の 101 行で定義されています。
#define SCNd64 "lld" |
tcmalloc-0.93/base/basictypes.h の 95 行で定義されています。
#define SCNx64 "llx" |
tcmalloc-0.93/base/basictypes.h の 89 行で定義されています。
typedef int16_t int16 |
tcmalloc-0.93/base/basictypes.h の 54 行で定義されています。
typedef int32_t int32 |
tcmalloc-0.93/base/basictypes.h の 55 行で定義されています。
typedef int64_t int64 |
tcmalloc-0.93/base/basictypes.h の 56 行で定義されています。
typedef int8_t int8 |
tcmalloc-0.93/base/basictypes.h の 53 行で定義されています。
typedef signed char schar |
tcmalloc-0.93/base/basictypes.h の 52 行で定義されています。
typedef uint16_t uint16 |
tcmalloc-0.93/base/basictypes.h の 65 行で定義されています。
typedef uint32_t uint32 |
tcmalloc-0.93/base/basictypes.h の 66 行で定義されています。
typedef uint64_t uint64 |
tcmalloc-0.93/base/basictypes.h の 67 行で定義されています。
typedef uint8_t uint8 |
tcmalloc-0.93/base/basictypes.h の 64 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 74 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 79 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 75 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 80 行で定義されています。
const int64 kint64max = ( ((( int64) kint32max) << 32) | kuint32max ) |
tcmalloc-0.93/base/basictypes.h の 76 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 81 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 73 行で定義されています。
tcmalloc-0.93/base/basictypes.h の 78 行で定義されています。
const uint16 kuint16max = ( (uint16) 0xFFFF) |
tcmalloc-0.93/base/basictypes.h の 69 行で定義されています。
const uint32 kuint32max = ( (uint32) 0xFFFFFFFF) |
tcmalloc-0.93/base/basictypes.h の 70 行で定義されています。
const uint64 kuint64max = ( (((uint64) kuint32max) << 32) | kuint32max ) |
tcmalloc-0.93/base/basictypes.h の 71 行で定義されています。