OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Allocate
(Results
1 - 9
of
9
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_quarantine_test.cc
23
void *
Allocate
(uptr size) {
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_combined.h
19
// PrimaryAllocator is efficient, but may not
allocate
some sizes (alignments).
22
// SecondaryAllocator can
allocate
anything, but is not efficient.
48
void *
Allocate
(AllocatorCache *cache, uptr size, uptr alignment) {
73
res = cache->
Allocate
(&primary_, primary_.ClassID(size));
75
res = secondary_.
Allocate
(&stats_, original_size, alignment);
104
return
Allocate
(cache, new_size, alignment);
112
void *new_p =
Allocate
(cache, new_size, alignment);
sanitizer_allocator_local_cache.h
41
void *
Allocate
(SizeClassAllocator *allocator, uptr class_id) {
143
return (TransferBatch*)
Allocate
(allocator, batch_class_id);
160
void *
Allocate
(SizeClassAllocator *allocator, uptr class_id) {
261
// Failure to
allocate
a batch while releasing memory is non recoverable.
264
Report("FATAL: Internal error: %s's allocator failed to
allocate
a "
sanitizer_allocator.cc
114
return internal_allocator()->
Allocate
(&internal_allocator_cache, size,
117
return internal_allocator()->
Allocate
(cache, size, alignment);
145
Report("FATAL: %s: internal allocator is out of memory trying to
allocate
"
201
void *LowLevelAllocator::
Allocate
(uptr size) {
sanitizer_allocator_secondary.h
67
// This class can (de)
allocate
only large chunks of memory using mmap/unmap.
86
void *
Allocate
(AllocatorStats *stat, uptr size, uptr alignment) {
/src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_allocator.h
40
template <class T> T *
allocate
() XRAY_NEVER_INSTRUMENT {
function in namespace:__xray
70
"XRay Profiling: Failed to
allocate
memory of size %d; Error = %d.\n",
119
"XRay Profiling: Failed to
allocate
memory of size %d; Error = %d.\n",
187
Report("XRay Profiling: Failed to
allocate
memory for allocator.\n");
278
Block
Allocate
() XRAY_NEVER_INSTRUMENT { return {Alloc()}; }
/src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_fake_stack.cc
88
FakeFrame *FakeStack::
Allocate
(uptr stack_size_log, uptr class_id,
207
FakeFrame *ff = fs->
Allocate
(fs->stack_size_log(), class_id, real_stack);
asan_allocator.cc
168
void *
Allocate
(uptr size) {
169
void *res = get_allocator().
Allocate
(cache_, size, 1);
399
void *
Allocate
(uptr size, uptr alignment, BufferedStackTrace *stack,
441
Report("WARNING: AddressSanitizer failed to
allocate
0x%zx bytes\n",
453
allocated = allocator.
Allocate
(cache, needed_size, 8);
457
allocated = allocator.
Allocate
(cache, needed_size, 8);
618
// On Windows, uninstrumented DLLs may
allocate
memory before ASan hooks
661
void *new_ptr =
Allocate
(new_size, 8, stack, FROM_MALLOC, true);
682
void *ptr =
Allocate
(nmemb * size, 8, stack, FROM_MALLOC, false);
876
return SetErrnoOnNull(instance.
Allocate
(size, 8, stack, FROM_MALLOC, true))
[
all
...]
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_allocator.cc
73
Report("WARNING: LeakSanitizer failed to
allocate
0x%zx bytes\n", size);
79
void *
Allocate
(const StackTrace &stack, uptr size, uptr alignment,
85
void *p = allocator.
Allocate
(GetAllocatorCache(), size, alignment);
108
return
Allocate
(stack, size, 1, true);
148
void *ptr =
Allocate
(stack, size, alignment, kAlwaysClearMemory);
150
// OOM error is already taken care of by
Allocate
.
164
return SetErrnoOnNull(
Allocate
(stack, size, alignment, kAlwaysClearMemory));
174
return SetErrnoOnNull(
Allocate
(stack, size, alignment, kAlwaysClearMemory));
178
return SetErrnoOnNull(
Allocate
(stack, size, 1, kAlwaysClearMemory));
195
Allocate
(stack, size, GetPageSizeCached(), kAlwaysClearMemory))
[
all
...]
Completed in 15 milliseconds
Indexes created Sun Sep 21 16:09:51 GMT 2025