OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlockHeader
(Results
1 - 17
of
17
) sorted by null
/external/skia/src/gpu/
GrMemoryPool.h
72
struct
BlockHeader
;
74
static
BlockHeader
* CreateBlock(size_t size);
76
static void DeleteBlock(
BlockHeader
* block);
80
struct
BlockHeader
{
84
BlockHeader
* fNext; ///< doubly-linked list of blocks.
85
BlockHeader
* fPrev;
102
BlockHeader
* fHeader; ///< pointer back to the block header in which an alloc resides
107
BlockHeader
* fHead;
108
BlockHeader
* fTail;
119
kHeaderSize = GR_CT_ALIGN_UP(sizeof(
BlockHeader
), kAlignment)
[
all
...]
GrMemoryPool.cpp
67
BlockHeader
* block = CreateBlock(blockSize);
105
BlockHeader
* block = allocData->fHeader;
114
BlockHeader
* prev = block->fPrev;
115
BlockHeader
* next = block->fNext;
140
GrMemoryPool::
BlockHeader
* GrMemoryPool::CreateBlock(size_t blockSize) {
142
BlockHeader
* block =
143
reinterpret_cast<
BlockHeader
*>(sk_malloc_throw(blockSize));
155
void GrMemoryPool::DeleteBlock(
BlockHeader
* block) {
163
BlockHeader
* block = fHead;
164
BlockHeader
* prev = nullptr
[
all
...]
/external/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
35
const LineFileBlockHeader *
BlockHeader
;
37
if (auto EC = Reader.readObject(
BlockHeader
))
41
BlockHeader
->NumLines *
43
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
46
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
50
// The value recorded in
BlockHeader
->BlockSize includes the size of
52
Len =
BlockHeader
->BlockSize;
53
Item.NameIndex =
BlockHeader
->NameIndex;
54
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
57
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/
ModuleSubstreamVisitor.h
80
const LineFileBlockHeader *
BlockHeader
;
82
if (auto EC = Reader.readObject(
BlockHeader
))
86
BlockHeader
->NumLines *
88
if (
BlockHeader
->BlockSize < sizeof(LineFileBlockHeader))
91
uint32_t Size =
BlockHeader
->BlockSize - sizeof(LineFileBlockHeader);
95
// The value recorded in
BlockHeader
->BlockSize includes the size of
97
Len =
BlockHeader
->BlockSize;
98
Item.NameIndex =
BlockHeader
->NameIndex;
99
if (auto EC = Reader.readArray(Item.LineNumbers,
BlockHeader
->NumLines))
102
if (auto EC = Reader.readArray(Item.Columns,
BlockHeader
->NumLines)
[
all
...]
/external/libchrome/base/metrics/
persistent_memory_allocator.cc
84
struct PersistentMemoryAllocator::
BlockHeader
{
114
volatile
BlockHeader
queue; // Empty block for linked-list head/tail.
138
const volatile
BlockHeader
* block =
165
const volatile
BlockHeader
* block =
211
freeptr / (sizeof(
BlockHeader
) + kAllocAlignment);
264
static_assert(sizeof(
BlockHeader
) % kAllocAlignment == 0,
265
"
BlockHeader
is not a multiple of kAllocAlignment");
278
CHECK(((
BlockHeader
*)0)->next.is_lock_free());
289
volatile
BlockHeader
* const first_block =
290
reinterpret_cast<volatile
BlockHeader
*>(mem_base_
[
all
...]
persistent_memory_allocator.h
296
struct
BlockHeader
;
315
const volatile
BlockHeader
* GetBlock(Reference ref, uint32_t type_id,
318
volatile
BlockHeader
* GetBlock(Reference ref, uint32_t type_id, uint32_t size,
320
return const_cast<volatile
BlockHeader
*>(
/art/runtime/gc/space/
bump_pointer_space-walk-inl.h
79
BlockHeader
* header = reinterpret_cast<
BlockHeader
*>(pos);
81
pos += sizeof(
BlockHeader
); // Skip the header so that we know where the objects
bump_pointer_space.cc
146
AllocNonvirtualWithoutAccounting(bytes + sizeof(
BlockHeader
)));
148
BlockHeader
* header = reinterpret_cast<
BlockHeader
*>(storage);
150
storage += sizeof(
BlockHeader
);
bump_pointer_space.h
192
struct
BlockHeader
{
197
static_assert(sizeof(
BlockHeader
) % kAlignment == 0,
/external/ImageMagick/MagickCore/
memory.c
75
#define
BlockHeader
(block) ((size_t *) (block)-1)
89
#define SizeOfBlock(block) (*
BlockHeader
(block) & SizeMask)
410
assert((*
BlockHeader
(NextBlock(block)) & PreviousBlockBit) == 0);
426
*
BlockHeader
(next)=blocksize;
429
*
BlockHeader
(block)=size | (*
BlockHeader
(block) & ~SizeMask);
432
*
BlockHeader
(NextBlock(block))|=PreviousBlockBit;
829
*
BlockHeader
(block)=size | PreviousBlockBit;
834
*
BlockHeader
(block)=2*sizeof(size_t);
835
*
BlockHeader
(NextBlock(block))=PreviousBlockBit
[
all
...]
Completed in 495 milliseconds