Home
last modified time | relevance | path

Searched refs:size_limit (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/plotters-backend/src/rasterizer/
Dline.rs75 let mut size_limit = back.get_size(); in draw_line() localVariable
78 size_limit = (size_limit.1, size_limit.0); in draw_line()
92 (f64::from(to.1.min(size_limit.1 as i32 - 1).max(0) - from.1) / grad).floor() as i32; in draw_line()
94 let batch_start = (f64::from(from.1.min(size_limit.1 as i32 - 2).max(0) - from.1) / grad) in draw_line()
100 to.0.min(size_limit.0 as i32 - 2) in draw_line()
/external/cronet/net/disk_cache/
Dcache_util.cc223 base::ClampedNumeric<int64_t> size_limit = scaled_default_disk_cache_size * 4; in PreferredCacheSize() local
227 size_limit = (size_limit / 2) * 3; in PreferredCacheSize()
229 size_limit = std::min( in PreferredCacheSize()
230 size_limit, base::ClampedNumeric<int64_t>(kMaxWebUICodeCacheSize)); in PreferredCacheSize()
233 DCHECK_LT(size_limit, std::numeric_limits<int32_t>::max()); in PreferredCacheSize()
234 return static_cast<int32_t>(std::min(preferred_cache_size, size_limit)); in PreferredCacheSize()
/external/cronet/net/third_party/quiche/src/quiche/http2/hpack/decoder/
Dhpack_decoder_tables.h88 void DynamicTableSizeUpdate(size_t size_limit);
98 size_t size_limit() const { return size_limit_; } in size_limit() function
135 void DynamicTableSizeUpdate(size_t size_limit) { in DynamicTableSizeUpdate() argument
136 dynamic_table_.DynamicTableSizeUpdate(size_limit); in DynamicTableSizeUpdate()
151 size_t header_table_size_limit() const { return dynamic_table_.size_limit(); } in header_table_size_limit()
Dhpack_decoder_tables.cc73 void HpackDecoderDynamicTable::DynamicTableSizeUpdate(size_t size_limit) { in DynamicTableSizeUpdate() argument
75 << size_limit; in DynamicTableSizeUpdate()
76 EnsureSizeNoMoreThan(size_limit); in DynamicTableSizeUpdate()
77 QUICHE_DCHECK_LE(current_size_, size_limit); in DynamicTableSizeUpdate()
78 size_limit_ = size_limit; in DynamicTableSizeUpdate()
Dhpack_decoder_state.cc145 void HpackDecoderState::OnDynamicTableSizeUpdate(size_t size_limit) { in OnDynamicTableSizeUpdate() argument
147 << size_limit << ", required=" in OnDynamicTableSizeUpdate()
163 if (size_limit > lowest_header_table_size_) { in OnDynamicTableSizeUpdate()
170 } else if (size_limit > final_header_table_size_) { in OnDynamicTableSizeUpdate()
178 decoder_tables_.DynamicTableSizeUpdate(size_limit); in OnDynamicTableSizeUpdate()
Dhpack_decoder_tables_test.cc188 AssertionResult DynamicTableSizeUpdate(size_t size_limit) { in DynamicTableSizeUpdate() argument
190 if (size_limit < current_dynamic_size()) { in DynamicTableSizeUpdate()
192 tables_.DynamicTableSizeUpdate(size_limit); in DynamicTableSizeUpdate()
193 FakeTrim(size_limit); in DynamicTableSizeUpdate()
197 tables_.DynamicTableSizeUpdate(size_limit); in DynamicTableSizeUpdate()
/external/rust/crates/regex/src/
Dre_builder.rs6 pub size_limit: usize, field
22 size_limit: 10 * (1 << 20), in default()
172 pub fn size_limit(
176 self.0.size_limit = limit;
358 pub fn size_limit(
362 self.0.size_limit = limit;
Dcompile.rs37 size_limit: usize, field
64 size_limit: 10 * (1 << 20), in new()
75 pub fn size_limit(mut self, size_limit: usize) -> Self { in size_limit() method
76 self.size_limit = size_limit; in size_limit()
839 if size > self.size_limit { in check_size()
840 Err(Error::CompiledTooBig(self.size_limit)) in check_size()
Dexec.rs318 .size_limit(self.options.size_limit) in build()
323 .size_limit(self.options.size_limit) in build()
328 .size_limit(self.options.size_limit) in build()
/external/cronet/base/allocator/partition_allocator/starscan/
Dpcscan_scheduling.cc63 data.size_limit.store( in UpdateScheduleAfterScan()
104 data.size_limit.store(hard_limit_, std::memory_order_relaxed); in LimitReached()
110 data.size_limit.load(std::memory_order_relaxed))) { in LimitReached()
160 data.size_limit.store( in UpdateScheduleAfterScan()
Dpcscan_scheduling.h32 std::atomic<size_t> size_limit{kQuarantineSizeMinLimit};
195 quarantine_data_.size_limit.load(std::memory_order_relaxed)) && in AccountFreed()
/external/tensorflow/tensorflow/lite/
Doptional_debug_tools.cc368 std::string TruncateString(const char* str, int size_limit, in TruncateString() argument
374 if (length <= size_limit) return truncated; in TruncateString()
376 if (size_limit <= 3) return std::string(size_limit, '.'); in TruncateString()
379 truncated.resize(size_limit); in TruncateString()
381 truncated.replace(size_limit - 3, 3, "..."); in TruncateString()
383 truncated.erase(0, length - size_limit); in TruncateString()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_frame_buffer_pool.cc145 size_t size_limit = 7680 * 4320 * 3 / 2 * 2; in VpxGetFrameBuffer() local
146 if (min_size > size_limit) in VpxGetFrameBuffer()
/external/webrtc/api/
Drtc_event_log_output_file_unittest.cc97 const size_t size_limit = output_str_1.length() + output_str_2.length() - 1; in TEST_F() local
99 std::make_unique<RtcEventLogOutputFile>(output_file_name_, size_limit); in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dpool_allocator_test.cc119 EXPECT_EQ(2, pool.size_limit()); in TEST()
128 EXPECT_EQ(100, pool.size_limit()); in TEST()
/external/google-breakpad/src/client/linux/handler/
Dminidump_descriptor.h112 off_t size_limit() const { return size_limit_; } in size_limit() function
Dexception_handler.cc621 minidump_descriptor_.size_limit(), in DoDump()
632 minidump_descriptor_.size_limit(), in DoDump()
/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.h99 size_t size_limit() const TF_NO_THREAD_SAFETY_ANALYSIS { in size_limit() function
/external/python/cpython3/Lib/
Dsmtpd.py879 size_limit = None variable in Options
911 options.size_limit = int_size
962 options.size_limit, enable_SMTPUTF8=options.enable_SMTPUTF8)
/external/deqp-deps/SPIRV-Tools/include/spirv-tools/
Doptimizer.hpp630 Optimizer::PassToken CreateScalarReplacementPass(uint32_t size_limit = 100);
/external/angle/third_party/vulkan-deps/spirv-tools/src/include/spirv-tools/
Doptimizer.hpp655 Optimizer::PassToken CreateScalarReplacementPass(uint32_t size_limit = 100);
/external/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Doptimizer.hpp635 Optimizer::PassToken CreateScalarReplacementPass(uint32_t size_limit = 100);
/external/cronet/base/trace_event/
Dtrace_log.cc825 size_t size_limit = trace_config.GetTraceBufferSizeInKb(); in SetEnabled() local
826 if (size_limit == 0) in SetEnabled()
827 size_limit = 200 * 1024; in SetEnabled()
829 buffer_config->set_size_kb(checked_cast<uint32_t>(size_limit)); in SetEnabled()
/external/deqp-deps/SPIRV-Tools/source/opt/
Doptimizer.cpp872 Optimizer::PassToken CreateScalarReplacementPass(uint32_t size_limit) { in CreateScalarReplacementPass() argument
874 MakeUnique<opt::ScalarReplacementPass>(size_limit)); in CreateScalarReplacementPass()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Doptimizer.cpp880 Optimizer::PassToken CreateScalarReplacementPass(uint32_t size_limit) { in CreateScalarReplacementPass() argument
882 MakeUnique<opt::ScalarReplacementPass>(size_limit)); in CreateScalarReplacementPass()

12