Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc34 uptr requested_size : 54; member
66 m->requested_size = size; in RegisterAllocation()
119 return m->requested_size; in GetMallocUsableSize()
148 if (addr < chunk + m->requested_size) in PointsIntoChunk()
150 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk()
176 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
177 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()
193 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObjectLocked()
Dlsan_common.cc186 pp, p, chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
192 chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
306 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
317 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb()
385 leak_report->AddLeakedChunk(chunk, stack_trace_id, m.requested_size(), in CollectLeaksCb()
Dlsan_common.h191 uptr requested_size() const;
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc27 uptr requested_size; member
99 meta->requested_size = size; in MsanAllocate()
121 uptr size = meta->requested_size; in MsanDeallocate()
122 meta->requested_size = 0; in MsanDeallocate()
155 uptr old_size = meta->requested_size; in MsanReallocate()
159 meta->requested_size = new_size; in MsanReallocate()
179 return b->requested_size; in AllocationSize()
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_buffer_pool.cc42 *memory_size = buffer->shared_memory.requested_size(); in ShareToProcess()
126 if (buffer->shared_memory.requested_size() >= size) { in ReserveForProducerInternal()
131 if (buffer->shared_memory.requested_size() > realloc_size) { in ReserveForProducerInternal()
132 realloc_size = buffer->shared_memory.requested_size(); in ReserveForProducerInternal()
Daudio_input_sync_writer.cc25 DCHECK_EQ(shared_memory->requested_size() % shared_memory_segment_count, 0u); in AudioInputSyncWriter()
27 shared_memory->requested_size() / shared_memory_segment_count; in AudioInputSyncWriter()
29 << shared_memory->requested_size(); in AudioInputSyncWriter()
Daudio_sync_reader.cc45 packet_size_(shared_memory_->requested_size()), in AudioSyncReader()
/external/chromium_org/content/public/common/
Dstorage_quota_params.h22 requested_size(0), in StorageQuotaParams()
29 uint64 requested_size; member
/external/valgrind/main/coregrind/m_ume/
Dmacho.c393 vki_size_t requested_size ) in handle_lcmain() argument
395 if (requested_size == 0) { in handle_lcmain()
396 requested_size = default_stack_size(); in handle_lcmain()
398 requested_size = VG_PGROUNDUP(requested_size); in handle_lcmain()
401 requested_size += HACK; in handle_lcmain()
403 SysRes res = VG_(am_mmap_anon_float_client)(requested_size, in handle_lcmain()
405 check_mmap_float(res, requested_size, "handle_lcmain"); in handle_lcmain()
408 *out_stack_end = *out_stack_start + requested_size; in handle_lcmain()
/external/chromium_org/content/child/
Dquota_dispatcher.cc124 uint64 requested_size, in RequestStorageQuota() argument
136 params.requested_size = requested_size; in RequestStorageQuota()
Dquota_dispatcher.h67 uint64 requested_size,
/external/chromium_org/content/browser/
Dquota_dispatcher_host.cc113 requested_quota_ = base::saturated_cast<int64>(params_.requested_size); in RequestQuotaDispatcher()
151 DidFinish(storage::kQuotaStatusOk, usage, params_.requested_size); in DidGetPersistentUsageAndQuota()
182 net::GetHostOrSpecFromURL(params_.origin_url), params_.requested_size, in DidGetPermissionResponse()
/external/chromium_org/ppapi/shared_impl/
Dppb_audio_config_shared.cc14 uint32_t requested_size) { in CalculateMultipleOfSampleFrameCount() argument
15 const uint32_t multiple = (requested_size + minimum_size - 1) / minimum_size; in CalculateMultipleOfSampleFrameCount()
/external/chromium_org/content/browser/geolocation/
Dwifi_data_provider_win.cc156 bool ResizeBuffer(int requested_size,
602 bool ResizeBuffer(int requested_size, in ResizeBuffer() argument
604 DCHECK_GT(requested_size, 0); in ResizeBuffer()
606 if (requested_size > kMaximumBufferSize) { in ResizeBuffer()
612 realloc(buffer->release(), requested_size))); in ResizeBuffer()
/external/chromium_org/content/common/
Dquota_messages.h23 IPC_STRUCT_TRAITS_MEMBER(requested_size)
/external/chromium_org/chrome/browser/web_applications/
Dupdate_shortcut_worker_win.cc99 int requested_size, in DidDownloadFavicon() argument
106 requested_sizes_in_pixel.push_back(requested_size); in DidDownloadFavicon()
Dupdate_shortcut_worker_win.h43 int requested_size,
/external/chromium_org/base/memory/
Dshared_memory_unittest.cc211 EXPECT_EQ(memory1.requested_size(), kDataSize); in TEST()
235 EXPECT_EQ(memory2.requested_size(), 0U); in TEST()
540 EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size())); in TEST()
542 EXPECT_EQ(0, mprotect(shared_memory.memory(), shared_memory.requested_size(), in TEST()
Dshared_memory.h181 size_t requested_size() const { return requested_size_; } in requested_size() function
/external/chromium_org/chrome/browser/
Dchrome_quota_permission_context.cc289 params.origin_url, params.requested_size, params.user_gesture, in RequestQuotaPermission()
307 infobar_service, this, params.origin_url, params.requested_size, in RequestQuotaPermission()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_x11.h103 virtual void SetSize(const gfx::Size& requested_size) OVERRIDE;
181 gfx::Size AdjustSize(const gfx::Size& requested_size);
Ddesktop_window_tree_host_x11.cc387 void DesktopWindowTreeHostX11::SetSize(const gfx::Size& requested_size) { in SetSize() argument
388 gfx::Size size = AdjustSize(requested_size); in SetSize()
1223 const gfx::Size& requested_size) { in AdjustSize() argument
1229 if (requested_size == displays[i].size()) { in AdjustSize()
1230 return gfx::Size(requested_size.width() - 1, in AdjustSize()
1231 requested_size.height() - 1); in AdjustSize()
1234 return requested_size; in AdjustSize()
/external/stlport/stlport/stl/
D_tempbuf.h107 ptrdiff_t requested_size() const { return _M_original_len; } in requested_size() function
/external/chromium_org/chrome/browser/ui/views/
Dcreate_application_shortcut_view.h114 int requested_size,
/external/chromium_org/cc/layers/
Dtiled_layer.cc138 gfx::Size requested_size = is_tiled ? tile_size : content_bounds(); in UpdateTileSizeAndTilingOption() local
141 requested_size.SetToMin(gfx::Size(max_size, max_size)); in UpdateTileSizeAndTilingOption()
142 SetTileSize(requested_size); in UpdateTileSizeAndTilingOption()

12