zenilib: zenilib/jni/external/angle/src/compiler/PoolAlloc.cpp File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
PoolAlloc.cpp File Reference
`#include "compiler/PoolAlloc.h"`
`#include <stdint.h>`
`#include <stdio.h>`
`#include "common/angleutils.h"`
`#include "compiler/InitializeGlobals.h"`
`#include "compiler/osinclude.h"`

Go to the source code of this file.

## Functions

void | FreePoolIndex ()
TPoolAllocator * | GetGlobalPoolAllocator ()
bool | InitializePoolIndex ()
void | SetGlobalPoolAllocator (TPoolAllocator *poolAllocator)

## Variables

OS_TLSIndex | PoolIndex = OS_INVALID_TLS_INDEX

## Function Documentation

void FreePoolIndex | ( |  | ) |

Definition at line 28 of file PoolAlloc.cpp.

References assert, OS_FreeTLSIndex(), and PoolIndex.

Referenced by DetachProcess().

TPoolAllocator* GetGlobalPoolAllocator | ( |  | ) |

Definition at line 36 of file PoolAlloc.cpp.

References assert, OS_GetTLSValue(), and PoolIndex.

Referenced by NewPoolTFieldList(), and NewPoolTString().

bool InitializePoolIndex | ( |  | ) |

Definition at line 20 of file PoolAlloc.cpp.

References assert, OS_AllocTLSIndex(), and PoolIndex.

Referenced by InitProcess().

void SetGlobalPoolAllocator | ( | TPoolAllocator * | poolAllocator | ) |

Definition at line 42 of file PoolAlloc.cpp.

References assert, OS_SetTLSValue(), and PoolIndex.

Referenced by TShHandleBase::TShHandleBase(), and TShHandleBase::~TShHandleBase().

## Variable Documentation

OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX

Definition at line 18 of file PoolAlloc.cpp.

Referenced by FreePoolIndex(), GetGlobalPoolAllocator(), InitializePoolIndex(), and SetGlobalPoolAllocator().