/external/chromium/chrome/browser/diagnostics/ |
H A D | recon_diagnostics.cc | 197 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 D | mime_sniffer.cc | 280 // 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 D | window_resizer.cc | 373 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 D | mru_cache.h | 65 // 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 D | sync_socket_win.cc | 102 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 D | scrollbar_layer_unittest.cc | 388 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 D | image_loader.cc | 244 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 D | evicted_domain_cookie_counter_unittest.cc | 55 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 D | external_policy_data_updater.cc | 174 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 D | panel.h | 183 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 D | shell_window_frame_view.cc | 345 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 D | serialized_navigation_entry.cc | 220 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 D | memory_allocator.h | 212 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 D | transfer_buffer.cc | 164 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 D | audio_low_latency_output_win_unittest.cc | 127 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 D | eviction.cc | 61 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 D | eviction_v3.cc | 60 bool FallingBehind(int current_size, int max_size) { argument 61 return current_size > max_size - kCleanUpMargin * 20;
|
/external/chromium_org/net/http/ |
H A D | http_server_properties_impl.cc | 70 void HttpServerPropertiesImpl::SetNumPipelinedHostsToRemember(int max_size) { argument 72 pipeline_capability_map_.reset(new CachedPipelineCapabilityMap(max_size));
|
/external/chromium_org/net/url_request/ |
H A D | url_request_context_builder.h | 50 int max_size; member in struct:net::URLRequestContextBuilder::HttpCacheParams
|
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
H A D | test_interface.cc | 166 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 D | ordinal.h | 438 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 D | pkg_gencmn.c | 116 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 D | string_piece.h | 133 size_type max_size() const { return length_; } function in class:i18n::phonenumbers::StringPiece
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | backward_references.h | 188 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 D | cso_cache.c | 41 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...] |