Searched defs:max_size (Results 51 - 75 of 187) sorted by relevance

12345678

/external/chromium/chrome/browser/diagnostics/
H A Drecon_diagnostics.cc197 int64 max_size; member in struct:__anon2085::TestPathInfo
255 if (path_info_.max_size > 0) {
256 if (dir_or_file_size > path_info_.max_size) {
/external/chromium/net/base/
H A Dmime_sniffer.cc280 // Truncates |size| to |max_size| and returns true if |size| is at least
281 // |max_size|.
282 static bool TruncateSize(const size_t max_size, size_t* size) { argument
284 DCHECK_LE(static_cast<int>(max_size), kMaxBytesToSniff);
286 if (*size >= max_size) {
287 *size = max_size;
/external/chromium_org/ash/wm/
H A Dwindow_resizer.cc373 gfx::Size max_size = details.window->delegate()->GetMaximumSize(); local
374 if (max_size.width() != 0)
375 max_width = std::min(max_width, max_size.width());
406 gfx::Size max_size = details.window->delegate()->GetMaximumSize(); local
407 if (max_size.height() != 0)
408 max_height = std::min(max_height, max_size.height());
/external/chromium_org/base/containers/
H A Dmru_cache.h65 // The max_size is the size at which the cache will prune its members to when
69 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { argument
72 MRUCacheBase(size_type max_size, const DeletorType& deletor) argument
73 : max_size_(max_size), deletor_(deletor) {
82 size_type max_size() const { return max_size_; } function in class:base::MRUCacheBase
227 explicit MRUCache(typename ParentType::size_type max_size) argument
228 : ParentType(max_size) {
261 explicit OwningMRUCache(typename ParentType::size_type max_size) argument
262 : ParentType(max_size) {
293 HashingMRUCache(typename ParentType::size_type max_size) argument
[all...]
/external/chromium_org/base/
H A Dsync_socket_win.cc102 DWORD GetNextChunkSize(size_t current_pos, size_t max_size) { argument
104 return static_cast<DWORD>(((max_size - current_pos) <= UINT_MAX) ?
105 (max_size - current_pos) : UINT_MAX);
/external/chromium_org/cc/layers/
H A Dscrollbar_layer_unittest.cc388 int max_size = 0; local
389 context->getIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
390 SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100));
397 int max_size = 0; local
398 context->getIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
399 SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100));
/external/chromium_org/chrome/browser/extensions/
H A Dimage_loader.cc244 const gfx::Size& max_size,
250 max_size,
241 LoadImageAsync( const Extension* extension, const ExtensionResource& resource, const gfx::Size& max_size, const base::Callback<void(const gfx::Image&)>& callback) argument
/external/chromium_org/chrome/browser/net/
H A Devicted_domain_cookie_counter_unittest.cc55 void InitCounter(size_t max_size, size_t purge_count);
126 void EvictedDomainCookieCounterTest::InitCounter(size_t max_size, argument
132 max_size,
/external/chromium_org/chrome/browser/policy/cloud/
H A Dexternal_policy_data_updater.cc174 int64 max_size)
175 : url(url), hash(hash), max_size(max_size) {
180 return url == other.url && hash == other.hash && max_size == other.max_size;
271 static_cast<int64>(data.size()) > request_.max_size ||
298 if (current > request_.max_size || total > request_.max_size)
172 Request(const std::string& url, const std::string& hash, int64 max_size) argument
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel.h183 const gfx::Size& max_size() const { return max_size_; } function in class:Panel
236 void SetSizeRange(const gfx::Size& min_size, const gfx::Size& max_size);
262 // Changes the preferred size to acceptable based on min_size() and max_size()
323 const gfx::Size& min_size, const gfx::Size& max_size);
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dshell_window_frame_view.cc345 gfx::Size max_size = frame_->client_view()->GetMaximumSize(); local
349 if (max_size.width())
350 max_size.Enlarge(width() - client_size.width(), 0);
351 if (max_size.height())
352 max_size.Enlarge(0, height() - client_size.height());
354 return max_size;
/external/chromium_org/components/sessions/
H A Dserialized_navigation_entry.cc220 void SerializedNavigationEntry::WriteToPickle(int max_size, argument
226 WriteStringToPickle(pickle, &bytes_written, max_size,
229 WriteString16ToPickle(pickle, &bytes_written, max_size, title_);
235 WriteStringToPickle(pickle, &bytes_written, max_size,
244 pickle, &bytes_written, max_size,
251 pickle, &bytes_written, max_size,
257 WriteString16ToPickle(pickle, &bytes_written, max_size, search_terms_);
/external/chromium_org/courgette/
H A Dmemory_allocator.h212 if (count > max_size())
247 size_type max_size() const _THROW0() {
292 if (count > max_size())
310 size_type max_size() const {
380 if (size > alloc_.max_size() - size_)
387 const size_t max_size = alloc_.max_size(); variable
390 if (new_size < max_size - new_size) {
393 new_size = max_size;
/external/chromium_org/gpu/command_buffer/client/
H A Dtransfer_buffer.cc164 unsigned int max_size = ring_buffer_->GetLargestFreeOrPendingSize(); local
165 *size_allocated = std::min(max_size, size);
177 unsigned int max_size = ring_buffer_->GetLargestFreeOrPendingSize(); local
178 if (size > max_size) {
/external/chromium_org/media/audio/win/
H A Daudio_low_latency_output_win_unittest.cc127 int max_size = local
132 if (pos_ + static_cast<int>(max_size) > file_size())
133 max_size = file_size() - pos_;
134 int frames = max_size / (audio_bus->channels() * kBitsPerSample / 8);
135 if (max_size) {
138 pos_ += max_size;
/external/chromium_org/net/disk_cache/
H A Deviction.cc61 bool FallingBehind(int current_size, int max_size) { argument
62 return current_size > max_size - kCleanUpMargin * 20;
/external/chromium_org/net/disk_cache/v3/
H A Deviction_v3.cc60 bool FallingBehind(int current_size, int max_size) { argument
61 return current_size > max_size - kCleanUpMargin * 20;
/external/chromium_org/net/http/
H A Dhttp_server_properties_impl.cc70 void HttpServerPropertiesImpl::SetNumPipelinedHostsToRemember(int max_size) { argument
72 pipeline_capability_map_.reset(new CachedPipelineCapabilityMap(max_size));
/external/chromium_org/net/url_request/
H A Durl_request_context_builder.h50 int max_size; member in struct:net::URLRequestContextBuilder::HttpCacheParams
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
H A Dtest_interface.cc166 bool IsSizeInRange(PP_Size size, PP_Size min_size, PP_Size max_size) { argument
167 return (min_size.width <= size.width && size.width <= max_size.width &&
168 min_size.height <= size.height && size.height <= max_size.height);
/external/chromium_org/sync/internal_api/public/base/
H A Dordinal.h438 size_t max_size = std::max(start.length(), end.length()) + 1; local
439 std::string midpoint(max_size, kZeroDigit);
448 for (size_t i = 0; i < max_size; ++i) {
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpkg_gencmn.c116 const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) {
124 maxSize = max_size;
115 createCommonDataFile(const char *destDir, const char *name, const char *entrypointName, const char *type, const char *source, const char *copyRight, const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) argument
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
H A Dstring_piece.h133 size_type max_size() const { return length_; } function in class:i18n::phonenumbers::StringPiece
/external/chromium_org/third_party/libwebp/enc/
H A Dbackward_references.h188 int max_size; // maximum capacity member in struct:__anon11601
197 // Allocate 'max_size' references. Returns false in case of memory error.
198 int VP8LBackwardRefsAlloc(VP8LBackwardRefs* const refs, int max_size);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.c41 int max_size; member in struct:cso_cache
158 int max_size)
161 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data);
166 int max_size, void *user_data)
171 int max_entries = (max_size > hash_size) ? max_size : hash_size;
172 int to_remove = (max_size < max_entries) * max_entries/4;
173 if (hash_size > max_size)
174 to_remove += hash_size - max_size;
191 sanitize_hash(sc, hash, type, sc->max_size);
155 sanitize_hash(struct cso_cache *sc, struct cso_hash *hash, enum cso_cache_type type, int max_size) argument
165 sanitize_cb(struct cso_hash *hash, enum cso_cache_type type, int max_size, void *user_data) argument
[all...]

Completed in 580 milliseconds

12345678