Home | History | Annotate | Download | only in client

Lines Matching refs:pointer

52   //   the pointer to the allocated memory block, or NULL if out of
60 unsigned int GetOffset(void* pointer) {
61 return allocator_.GetOffset(pointer);
67 // pointer: the pointer to the memory block to free.
68 void Free(void* pointer) {
69 allocator_.Free(pointer);
76 // pointer: the pointer to the memory block to free.
78 void FreePendingToken(void* pointer, unsigned int token) {
79 allocator_.FreePendingToken(pointer, token);
87 // Returns true if pointer is in the range of this block.
88 bool IsInChunk(void* pointer) const {
89 return pointer >= shm_.ptr &&
90 pointer < reinterpret_cast<const int8*>(shm_.ptr) + shm_.size;
124 // shm_id: pointer to variable to receive the shared memory id.
125 // shm_offset: pointer to variable to receive the shared memory offset.
127 // pointer to allocated block of memory. NULL if failure.
134 // pointer: the pointer to the memory block to free.
135 void Free(void* pointer);
141 // pointer: the pointer to the memory block to free.
143 void FreePendingToken(void* pointer, int32 token);