Home
last modified time | relevance | path

Searched refs:requested_size (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc31 uptr requested_size : 54; member
77 m->requested_size = size; in RegisterAllocation()
132 return m->requested_size; in GetMallocUsableSize()
161 if (addr < chunk + m->requested_size) in PointsIntoChunk()
163 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk()
189 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
190 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()
206 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObjectLocked()
Dlsan_common.cc158 pp, p, chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
164 chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
278 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
289 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb()
354 leak_report->AddLeakedChunk(chunk, stack_trace_id, m.requested_size(), in CollectLeaksCb()
Dlsan_common.h170 uptr requested_size() const;
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc26 uptr requested_size; member
110 meta->requested_size = size; in MsanAllocate()
130 uptr size = meta->requested_size; in MsanDeallocate()
131 meta->requested_size = 0; in MsanDeallocate()
169 uptr old_size = meta->requested_size; in MsanReallocate()
173 meta->requested_size = new_size; in MsanReallocate()
200 return b->requested_size; in AllocationSize()
/external/valgrind/coregrind/m_ume/
Dmacho.c403 vki_size_t requested_size ) in handle_lcmain() argument
405 if (requested_size == 0) { in handle_lcmain()
406 requested_size = default_stack_size(); in handle_lcmain()
408 requested_size = VG_PGROUNDUP(requested_size); in handle_lcmain()
411 requested_size += HACK; in handle_lcmain()
413 SysRes res = VG_(am_mmap_anon_float_client)(requested_size, in handle_lcmain()
415 check_mmap_float(res, requested_size, "handle_lcmain"); in handle_lcmain()
418 *out_stack_end = *out_stack_start + requested_size - 1; in handle_lcmain()
/external/netperf/
Dnetlib.h489 int requested_size,
Dnetlib.c2500 set_sock_buffer (SOCKET sd, enum sock_buffer which, int requested_size, int *effective_sizep) in set_sock_buffer() argument
2512 if (requested_size >= 0) { in set_sock_buffer()
2514 (char *)&requested_size, sizeof(int)) < 0) { in set_sock_buffer()
2524 requested_size); in set_sock_buffer()
/external/v8/src/heap/
Dspaces.cc186 Address CodeRange::AllocateRawMemory(const size_t requested_size, in AllocateRawMemory() argument
189 DCHECK(commit_size <= requested_size); in AllocateRawMemory()
193 requested_size > allocation_list_[current_allocation_block_index_].size) { in AllocateRawMemory()
195 if (!GetNextAllocationBlock(requested_size)) return NULL; in AllocateRawMemory()
198 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment); in AllocateRawMemory()
Dspaces.h872 bool SetUp(size_t requested_size);
892 MUST_USE_RESULT Address AllocateRawMemory(const size_t requested_size,
/external/compiler-rt/lib/asan/
Dasan_allocator.cc841 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata