HomeSort by: relevance | last modified time | path
    Searched refs:allocated (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
standalone_malloc_test.cc 21 vector<pair<char *, size_t> > allocated; local in function:MallocThread
22 allocated.reserve(kNumIters);
36 allocated.push_back(make_pair(x, size));
39 if (allocated.empty()) continue;
40 size_t slot = i % allocated.size();
41 char *p = allocated[slot].first;
43 size_t size = allocated[slot].second;
45 swap(allocated[slot], allocated.back());
46 allocated.pop_back()
    [all...]
sanitizer_allocator_test.cc 38 // space that is always available. Thus, a dynamically allocated address space
206 std::vector<void *> allocated; local in function:TestSizeClassAllocator
223 allocated.push_back(x);
238 for (uptr i = 0; i < allocated.size(); i++) {
239 void *x = allocated[i];
245 allocated.clear();
327 void *allocated[kNumAllocs]; local in function:SizeClassAllocatorMetadataStress
331 allocated[i] = x;
337 void *m = a->GetMetaData(allocated[idx]);
341 cache.Deallocate(a, 1 + i % (Allocator::kNumClasses - 1), allocated[i])
552 char *allocated[kNumAllocs]; local in function:TEST
647 std::vector<void*> allocated; local in function:TestCombinedAllocator
741 void *allocated[kNumAllocs]; local in function:TestSizeClassAllocatorLocalCache
919 std::vector<void *> allocated; local in function:TestSizeClassAllocatorIteration
974 char *allocated[kNumAllocs]; local in function:TEST
1002 char *allocated[kNumAllocs]; local in function:TEST
    [all...]
  /src/usr.sbin/pf/pfs/
parser.h 40 extern size_t allocated;
parse.y 56 size_t allocated;
489 if (allocated == 0) {
490 allocated = 5;
491 states->ps_buf = malloc(allocated * sizeof(struct pfsync_state));
496 if (allocated == (states->ps_len / sizeof(struct pfsync_state))) {
498 allocated = allocated * 2 + 1;
499 buf = realloc(states->ps_buf, allocated * sizeof(struct pfsync_state));
token.l 122 allocated = 0;
  /src/tests/lib/libcurses/director/
returns.h 63 size_t allocated; member in struct:__anon65b358240308
  /src/sys/dev/raidframe/
rf_debugMem.c 57 char allocated; member in struct:mh_struct
77 printf("%s,%d: %s: Debug address allocated\n", file, line,
106 if (!p->allocated)
171 p->allocated = 0;
173 if (p->allocated) {
176 printf("%s: last allocated @%s,%u\n",
183 p->allocated = 1;
196 printf("%s: ERROR: Freeing never-allocated address %p\n",
200 if (!p->allocated) {
210 " free for address %p. Allocated @%s,%u\n", __func__
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common_libcdep.cc 55 stack_depot_stats->allocated) {
56 Printf("%s: StackDepot: %zd ids; %zdM allocated\n",
59 stack_depot_stats->allocated >> 20);
60 prev_reported_stack_depot_size = stack_depot_stats->allocated;
sanitizer_symbolizer_libbacktrace.cc 45 uptr size, allocated; member in struct:__sanitizer::__anon591f2e6f0110::CplusV3DemangleData
52 if (needed > data->allocated) {
53 data->allocated *= 2;
54 if (needed > data->allocated)
55 data->allocated = needed;
56 char *buf = (char *)InternalAlloc(data->allocated);
73 data.allocated = 0;
76 if (data.size + 64 > data.allocated)
  /src/lib/librefuse/
refuse_opt.c 54 if (args->allocated == 0) {
58 args->allocated = ap->allocated;
60 } else if (args->allocated == args->argc) {
61 int na = args->allocated + 10;
66 args->allocated = na;
84 ap->allocated = ((argc / 10) + 1) * 10;
86 if ((ap->argv = calloc((size_t)ap->allocated,
102 if (ap->allocated) {
110 ap->allocated = ap->argc = 0
    [all...]
  /src/usr.bin/make/unit-tests/
directive-if-nested.mk 4 # .if directives is pre-allocated, any deeper nesting is reallocated.
parse.mk 46 # allocated on a page boundary and the following page is not mapped, this line
51 # allocated on a page boundary and the following page is not mapped, this line
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_allocator.cc 154 void *allocated; local in function:__msan::MsanAllocate
157 allocated = allocator.Allocate(cache, size, alignment);
161 allocated = allocator.Allocate(cache, size, alignment);
163 if (UNLIKELY(!allocated)) {
170 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated));
173 __msan_clear_and_unpoison(allocated, size);
175 __msan_poison(allocated, size);
179 __msan_set_origin(allocated, size, o.raw_id());
182 MSAN_MALLOC_HOOK(allocated, size);
183 return allocated;
    [all...]
  /src/sys/external/bsd/libfdt/dist/
fdt_sw.c 270 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated)
276 *allocated = 0;
282 *allocated = 1;
291 int allocated; local in function:fdt_property_placeholder
297 allocated = 1;
300 nameoff = fdt_find_add_string_(fdt, name, &allocated);
307 if (allocated)
fdt_rw.c 117 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated)
125 *allocated = 0;
137 *allocated = 1;
197 int allocated; local in function:fdt_add_property_
202 namestroff = fdt_find_add_string_(fdt, name, &allocated);
211 if (allocated)
  /src/lib/libc/gen/
getpass.c 92 bool lnext, havetty, allocated, opentty, good; local in function:__weak_alias
119 allocated = buf == NULL;
143 if (allocated) {
253 if (allocated) {
315 if (allocated)
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_buddy.c 355 struct list_head allocated = LIST_HEAD_INIT(allocated); local in function:i915_buddy_alloc_range
405 list_add_tail(&block->link, &allocated);
419 list_splice_tail(&allocated, blocks);
426 * free the allocated blocks.
435 i915_buddy_free_list(mm, &allocated);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_vce.c 682 * @allocated: allocated a new handle?
688 uint32_t handle, uint32_t *allocated)
708 *allocated |= 1 << i;
730 uint32_t allocated = 0; local in function:amdgpu_vce_ring_parse_cs
813 &allocated);
830 allocated |= 1 << session_idx;
832 } else if (!(allocated & (1 << session_idx))) {
932 if (allocated & ~created) {
942 /* Error during parsing, free all allocated handle slots *
965 uint32_t allocated = 0; local in function:amdgpu_vce_ring_parse_cs_vm
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_packet_manager.c 98 if (WARN_ON(pm->allocated))
117 pm->allocated = true;
267 pm->allocated = false;
412 if (pm->allocated) {
414 pm->allocated = false;
427 if (!pm->allocated) {
  /src/lib/libform/
internals.h 90 unsigned allocated; member in struct:_formi_field_lines
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_allocator.cc 239 if (!m->allocated)
257 bool LsanMetadata::allocated() const { function in class:__lsan::LsanMetadata
258 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated;
286 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) {
lsan_interceptors.cc 69 static uptr allocated; local in function:INTERCEPTOR
71 void *mem = (void*)&calloc_memory_for_dlsym[allocated];
72 allocated += size_in_words;
73 CHECK(allocated < kCallocPoolSize);
  /src/usr.sbin/altq/libaltq/
qop_cbq.h 64 uint64_t allocated; /* bandwidth used by children */ member in struct:cbq_classinfo
qop_cbq.c 550 parent_clinfo->bandwidth - parent_clinfo->allocated) {
553 "bandwidth overcommitted %uK requested but only %dK available (%uK already allocated)",
556 parent_clinfo->allocated) / 1000,
557 parent_clinfo->allocated / 1000);
560 "cbq admission failed! %uK requested but only %uK available (%uK already allocated)",
563 parent_clinfo->allocated) / 1000,
564 parent_clinfo->allocated / 1000);
574 cbq_clinfo->allocated = 0;
618 parent_clinfo->allocated += bandwidth;
665 parent_clinfo->allocated -= cbq_clinfo->bandwidth
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_malloc_linux.cc 53 // Hack: since glibc 2.27 dlsym no longer uses stack-allocated memory to store
77 uptr allocated = end_mem - alloc_memory_for_dlsym; local in function:PosixMemalignFromLocalPool
78 if (allocated >= kDlsymAllocPoolSize)
81 allocated_for_dlsym = allocated;

Completed in 26 milliseconds

1 2 3