max 127 android_webview/browser/find_helper.cc active_ordinal = std::max(active_ordinal - 1, 0); max 182 android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java long pictureTime = java.lang.Math.max(mLastPictureTime + ON_NEW_PICTURE_MIN_PERIOD_MILLIS, max 197 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java scrollX = Math.max(0, scrollX); max 203 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java scrollY = Math.max(0, scrollY); max 310 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java int distance = Math.max(Math.abs(dx), Math.abs(dy)); max 164 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height); max 183 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width)); max 125 apps/app_window.cc std::max(0, window_constraints.width() - frame_insets.width())); max 129 apps/app_window.cc std::max(0, window_constraints.height() - frame_insets.height())); max 991 apps/app_window.cc std::max(minimum_size.width(), max 994 apps/app_window.cc std::max(minimum_size.height(), max 997 apps/app_window.cc std::max(current_screen_bounds.x(), max 1001 apps/app_window.cc std::max(current_screen_bounds.y(), max 69 apps/size_constraints.cc : std::max(maximum_size_.width(), minimum_size_.width()), max 72 apps/size_constraints.cc : std::max(maximum_size_.height(), minimum_size_.height())); max 12 apps/test/apps_tests_main.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); max 136 apps/ui/views/app_window_frame_view.cc 0, kCaptionHeight, width(), std::max(0, height() - kCaptionHeight)); max 165 apps/ui/views/app_window_frame_view.cc std::max(header_width, window_bounds.width()), max 178 ash/accelerators/accelerator_controller.cc int new_scale_index = std::max(0, std::min(8, scale_index + delta_index)); max 468 ash/desktop_background/desktop_background_controller.cc width = std::max(size_in_pixel.width(), width); max 469 ash/desktop_background/desktop_background_controller.cc height = std::max(size_in_pixel.height(), height); max 1091 ash/display/display_manager.cc offset = std::max( max 1096 ash/display/display_manager.cc offset = std::max( max 194 ash/display/mouse_cursor_event_filter.cc std::max(primary_bounds.x(), secondary_bounds.x())); max 222 ash/display/mouse_cursor_event_filter.cc int upper_shared_y = std::max(primary_bounds.y(), secondary_bounds.y()); max 247 ash/display/mouse_cursor_event_filter.cc std::max(upper_shared_y, upper_indicator_y); max 256 ash/display/mouse_cursor_event_filter.cc std::max(upper_shared_y, lower_indicator_y + kMinimumIndicatorHeight); max 258 ash/display/mouse_cursor_event_filter.cc upper_indicator_y = std::max(upper_indicator_y, upper_shared_y); max 261 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc std::max(kLineWidth, kArrowHeight) + kLineWidth); max 525 ash/frame/custom_frame_view_ash.cc std::max(header_view_->GetMinimumWidth(), min_client_view_size.width()), max 535 ash/frame/custom_frame_view_ash.cc width = std::max(header_view_->GetMinimumWidth(), max_client_size.width()); max 79 ash/frame/header_painter_util.cc int y = std::max(0, (caption_button_container->height() / 2) - (height / 2)); max 80 ash/frame/header_painter_util.cc int width = std::max( max 298 ash/ime/candidate_window_view.cc max_shortcut_width = std::max(max_shortcut_width, shortcut_width); max 299 ash/ime/candidate_window_view.cc max_candidate_width = std::max(max_candidate_width, candidate_width); max 149 ash/shelf/alternate_app_list_button.cc std::max(0, max 152 ash/shelf/alternate_app_list_button.cc std::max(0, max 98 ash/shelf/overflow_bubble_view.cc std::max(0, scroll_offset_.x() + x_offset)); max 108 ash/shelf/overflow_bubble_view.cc std::max(0, scroll_offset_.y() + y_offset)); max 433 ash/shelf/shelf_button.cc x_offset = std::max(0, button_bounds.width() - icon_width) / 2; max 437 ash/shelf/shelf_button.cc y_offset = std::max(0, button_bounds.height() - icon_height) / 2; max 815 ash/shelf/shelf_layout_manager.cc int status_inset = std::max(0, GetPreferredShelfSize() - max 928 ash/shelf/shelf_layout_manager.cc shelf_height = std::max(shelf_height, kAutoHideSize); max 953 ash/shelf/shelf_layout_manager.cc shelf_width = std::max(shelf_width, kAutoHideSize); max 196 ash/shelf/shelf_model.cc index = std::max(std::lower_bound(items_.begin(), items_.end(), weight_dummy, max 808 ash/shelf/shelf_view.cc end_position = std::max(end_position, reserved_icon_space); max 1060 ash/shelf/shelf_view.cc x = std::max(view_model_->ideal_bounds(indices.first).x(), max 1069 ash/shelf/shelf_view.cc y = std::max(view_model_->ideal_bounds(indices.first).y(), max 1087 ash/shelf/shelf_view.cc std::min(indices.second, std::max(target_index, indices.first)); max 62 ash/system/audio/volume_view.cc std::max(1, int(std::ceil(level * (kVolumeLevels - 1))))); max 153 ash/system/chromeos/brightness/tray_brightness.cc double percent = std::max(value * 100.0, kMinBrightnessPercent); max 342 ash/system/chromeos/network/network_icon.cc index = std::max(std::min(index, image_count - 1), 0); max 401 ash/system/chromeos/network/network_icon.cc index = std::max(std::min(index, count - 1), 1); max 166 ash/system/chromeos/power/power_status.cc return std::max(kMinBatteryPercent, max 230 ash/system/chromeos/power/power_status.cc index = std::max(std::min(index, kNumPowerImages - 2), 0); max 343 ash/system/chromeos/session/tray_session_length_limit.cc remaining_session_time_ = std::max( max 207 ash/system/drive/tray_drive.cc std::max(status_img_->GetPreferredSize().height(), max 208 ash/system/drive/tray_drive.cc std::max(label_container_->GetPreferredSize().height(), max 38 ash/system/tray/fixed_sized_scroll_view.cc bounds.set_width(std::max(0, width() - GetScrollBarWidth())); max 51 ash/system/tray/fixed_sized_scroll_view.cc bounds.set_width(std::max(0, width() - GetScrollBarWidth())); max 468 ash/system/tray/system_tray.cc int menu_width = std::max(kMinimumSystemTrayMenuWidth, max 578 ash/system/tray/system_tray.cc height = std::max( max 581 ash/system/tray/system_tray.cc height = std::max( max 97 ash/system/tray/tray_item_view.cc size.set_width(std::max(1, max 100 ash/system/tray/tray_item_view.cc size.set_height(std::max(1, max 58 ash/system/tray/tray_utils.cc int horizontal_padding = std::max(0, max 559 ash/system/user/tray_user.cc int min_width = std::max( max 598 ash/system/user/tray_user.cc const int link_extra_height = std::max( max 706 ash/system/user/tray_user.cc size.set_height(std::max(size.height(), max 731 ash/system/user/tray_user.cc int height = std::max(user_card_area.height(), logout_area.height()); max 739 ash/system/user/tray_user.cc user_card_area.set_width(std::max(0, remaining_width + 1)); max 186 ash/system/web_notification/web_notification_tray.cc std::max(0, work_area.height() - system_tray_height_)); max 374 ash/system/web_notification/web_notification_tray.cc message_center_bubble->SetMaxHeight(std::max(0, max 444 ash/touch/touch_hud_debug.cc float touch_radius = std::max(point->radius_x, point->radius_y); max 231 ash/touch/touch_uma.cc static_cast<int>(std::max(event.radius_x(), event.radius_y())), max 245 ash/touch/touch_uma.cc const int bucket_size_x = std::max(1, max 247 ash/touch/touch_uma.cc const int bucket_size_y = std::max(1, max 275 ash/touch/touch_uma.cc position.set_x(std::min(bounds.width() - 1, std::max(0, position.x()))); max 276 ash/touch/touch_uma.cc position.set_y(std::min(bounds.height() - 1, std::max(0, position.y()))); max 103 ash/wm/app_list_controller.cc std::max(kMinimalAnchorPositionOffset - anchor.x(), 0), 0); max 106 ash/wm/app_list_controller.cc 0, std::max(kMinimalAnchorPositionOffset - anchor.y(), 0)); max 109 ash/wm/app_list_controller.cc 0, std::max(kMinimalAnchorPositionOffset - anchor.y(), 0)); max 253 ash/wm/dock/docked_window_layout_manager.cc int width = std::max(DockedWindowLayoutManager::kMinDockWidth, max 258 ash/wm/dock/docked_window_layout_manager.cc width = std::max(width, window->delegate()->GetMinimumSize().width()); max 276 ash/wm/dock/docked_window_layout_manager.cc minimum_height = std::max(kMinimumHeight, max 283 ash/wm/dock/docked_window_layout_manager.cc target_height = std::max(target_height, minimum_height); max 1124 ash/wm/dock/docked_window_layout_manager.cc largest_min_width = std::max(largest_min_width, min_window_width); max 1127 ash/wm/dock/docked_window_layout_manager.cc int ideal_width = std::max(largest_min_width, max 1130 ash/wm/dock/docked_window_layout_manager.cc ideal_width = std::max(std::min(ideal_width, kMaxDockWidth), kMinDockWidth); max 1184 ash/wm/dock/docked_window_layout_manager.cc bounds.set_y(std::max(work_area.y(), max 809 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), max 1041 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), max 1080 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), max 58 ash/wm/gestures/tray_gesture_handler.cc kMinBubbleHeight + std::max(0, static_cast<int>(-gesture_drag_amount_)), max 391 ash/wm/lock_state_controller.cc duration = std::max(duration, sound_duration); max 399 ash/wm/overview/window_overview.cc size_t columns = std::max( max 67 ash/wm/panels/panel_frame_view.cc std::max(header_painter_->GetMinimumHeaderWidth(), max 137 ash/wm/panels/panel_layout_manager.cc (*first).major_pos = std::max((*first).min_major, std::min( max 150 ash/wm/panels/panel_layout_manager.cc (*first).major_pos = std::max((*first).min_major, max 156 ash/wm/panels/panel_layout_manager.cc (*first).major_pos = std::max((*first).min_major, max 167 ash/wm/panels/panel_layout_manager.cc (*iter).major_pos = std::max((*iter).min_major, max 638 ash/wm/panels/panel_layout_manager.cc position_info.min_major = std::max( max 813 ash/wm/panels/panel_layout_manager.cc distance_until_over_panel = std::max( max 820 ash/wm/panels/panel_layout_manager.cc distance_until_over_panel = std::max( max 77 ash/wm/window_animations.cc int max_area = std::max(old_area, new_area); max 228 ash/wm/window_resizer.cc std::max(screen_work_area.x() - new_bounds.width(), max 43 ash/wm/window_util.cc return std::min(work_area_width, std::max(ideal_width, min_width)); max 51 ash/wm/workspace/phantom_window_controller.cc int x_inset = std::max( max 55 ash/wm/workspace/phantom_window_controller.cc int y_inset = std::max( max 167 ash/wm/workspace/phantom_window_controller.cc int start_width = std::max( max 171 ash/wm/workspace/phantom_window_controller.cc int start_height = std::max( max 267 ash/wm/workspace/workspace_window_resizer.cc WindowSize(int size, int min, int max) max 270 ash/wm/workspace/workspace_window_resizer.cc max_(max) { max 546 ash/wm/workspace/workspace_window_resizer.cc std::max(PrimaryAxisSize(min), kMinOnscreenSize)); max 549 ash/wm/workspace/workspace_window_resizer.cc total_available += std::max(min_size, initial_size) - min_size; max 688 ash/wm/workspace/workspace_window_resizer.cc int max = PrimaryAxisSize(delegate->GetMaximumSize()); max 690 ash/wm/workspace/workspace_window_resizer.cc sizes->push_back(WindowSize(initial_size, min, max)); max 176 base/debug/stack_trace_unittest.cc itoa_r_wrapper(std::numeric_limits<intptr_t>::max(), 128, 10, 0)); max 181 base/debug/stack_trace_unittest.cc itoa_r_wrapper(std::numeric_limits<intptr_t>::max(), 128, 16, 0)); max 187 base/debug/stack_trace_unittest.cc itoa_r_wrapper(std::numeric_limits<intptr_t>::max(), 128, 10, 0)); max 192 base/debug/stack_trace_unittest.cc itoa_r_wrapper(std::numeric_limits<intptr_t>::max(), 128, 16, 0)); max 166 base/file_util.cc return ReadFileToString(path, contents, std::numeric_limits<size_t>::max()); max 702 base/file_util_win.cc int whole_path_limit = std::max(0, MAX_PATH - 1 - static_cast<int>(prefix)); max 33 base/files/file_enumerator_win.cc DCHECK_LE(size.QuadPart, std::numeric_limits<int64>::max()); max 172 base/files/file_path_watcher_linux.cc HANDLE_EINTR(select(std::max(inotify_fd, shutdown_fd) + 1, max 23 base/hash.h if (length > static_cast<size_t>(std::numeric_limits<int>::max())) { max 23 base/i18n/number_formatting_unittest.cc {std::numeric_limits<int64>::max(), max 56 base/i18n/number_formatting_unittest.cc {std::numeric_limits<double>::max(), 6, max 410 base/logging.cc return std::max(-1, LOG_INFO - GetMinLogLevel()); max 53 base/mac/sdk_forward_declarations.h max:(CGFloat)maxDampenThreshold max 59 base/memory/discardable_memory_allocator_android.cc if (size > std::numeric_limits<size_t>::max() - kPageSize + 1) max 487 base/memory/discardable_memory_allocator_android.cc std::max(kMinAshmemRegionSize, AlignToNextPage(ashmem_region_size))), max 518 base/memory/discardable_memory_allocator_android.cc const size_t min_region_size = std::max(kMinAshmemRegionSize, aligned_size); max 519 base/memory/discardable_memory_allocator_android.cc for (size_t region_size = std::max(ashmem_region_size_, aligned_size); max 27 base/memory/discardable_memory_allocator_android_unittest.cc std::numeric_limits<size_t>::max() - kPageSize + 1; max 125 base/memory/discardable_memory_manager.cc if (std::numeric_limits<size_t>::max() - bytes < bytes_allocated_) max 198 base/memory/discardable_memory_manager_unittest.cc size_t massive_size = std::numeric_limits<size_t>::max(); max 22 base/memory/shared_memory_android.cc if (options.size > static_cast<size_t>(std::numeric_limits<int>::max())) max 91 base/memory/shared_memory_nacl.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) max 123 base/memory/shared_memory_posix.cc if (options.size > static_cast<size_t>(std::numeric_limits<int>::max())) max 279 base/memory/shared_memory_posix.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) max 112 base/memory/shared_memory_win.cc static_cast<size_t>(std::numeric_limits<int>::max()) - kSectionMask) max 164 base/memory/shared_memory_win.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) max 51 base/message_loop/message_pump_glib_unittest.cc return std::max(0, static_cast<int>(ceil(delta.InMillisecondsF()))); max 450 base/metrics/histogram.cc double max = 0; max 453 base/metrics/histogram.cc if (current_size > max) max 454 base/metrics/histogram.cc max = current_size; max 456 base/metrics/histogram.cc return max; max 628 base/metrics/histogram.cc double max = maximum; max 632 base/metrics/histogram.cc (min * (bucket_count - 1 - i) + max * (i - 1)) / (bucket_count - 2); max 174 base/metrics/histogram.h #define HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 176 base/metrics/histogram.h base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \ max 188 base/metrics/histogram.h #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 190 base/metrics/histogram.h base::Histogram::FactoryGet(name, min, max, bucket_count, \ max 238 base/metrics/histogram.h #define DHISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 239 base/metrics/histogram.h HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) max 240 base/metrics/histogram.h #define DHISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) \ max 241 base/metrics/histogram.h HISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) max 242 base/metrics/histogram.h #define DHISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 243 base/metrics/histogram.h HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) max 280 base/metrics/histogram.h #define DHISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 281 base/metrics/histogram.h DISCARD_5_ARGUMENTS(name, sample, min, max, bucket_count) max 283 base/metrics/histogram.h #define DHISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) \ max 284 base/metrics/histogram.h DISCARD_5_ARGUMENTS(name, sample, min, max, bucket_count) max 286 base/metrics/histogram.h #define DHISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 287 base/metrics/histogram.h DISCARD_5_ARGUMENTS(name, sample, min, max, bucket_count) max 322 base/metrics/histogram.h #define UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 324 base/metrics/histogram.h base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \ max 336 base/metrics/histogram.h #define UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 338 base/metrics/histogram.h base::Histogram::FactoryGet(name, min, max, bucket_count, \ max 21 base/metrics/histogram_samples.cc HistogramBase::Sample* max, max 51 base/metrics/histogram_samples.cc HistogramBase::Sample* max, max 55 base/metrics/histogram_samples.cc *max = max_; max 107 base/metrics/histogram_samples.cc HistogramBase::Sample max; max 112 base/metrics/histogram_samples.cc it->Get(&min, &max, &count); max 114 base/metrics/histogram_samples.cc !pickle->WriteInt(max) || max 78 base/metrics/histogram_samples.h HistogramBase::Sample* max, max 396 base/metrics/histogram_unittest.cc int max; max 397 base/metrics/histogram_unittest.cc EXPECT_TRUE(iter.ReadInt(&max)); max 398 base/metrics/histogram_unittest.cc EXPECT_EQ(64, max); max 50 base/metrics/sample_map.cc Sample max; max 53 base/metrics/sample_map.cc iter->Get(&min, &max, &count); max 54 base/metrics/sample_map.cc if (min + 1 != max) max 76 base/metrics/sample_map.cc void SampleMapIterator::Get(Sample* min, Sample* max, Count* count) const { max 80 base/metrics/sample_map.cc if (max != NULL) max 81 base/metrics/sample_map.cc *max = iter_->first + 1; max 56 base/metrics/sample_map.h HistogramBase::Sample* max, max 67 base/metrics/sample_map_unittest.cc HistogramBase::Sample max; max 70 base/metrics/sample_map_unittest.cc it->Get(&min, &max, &count); max 72 base/metrics/sample_map_unittest.cc EXPECT_EQ(2, max); max 77 base/metrics/sample_map_unittest.cc it->Get(&min, &max, &count); max 79 base/metrics/sample_map_unittest.cc EXPECT_EQ(3, max); max 83 base/metrics/sample_map_unittest.cc it->Get(&min, &max, &count); max 85 base/metrics/sample_map_unittest.cc EXPECT_EQ(5, max); max 89 base/metrics/sample_map_unittest.cc it->Get(&min, &max, &count); max 91 base/metrics/sample_map_unittest.cc EXPECT_EQ(6, max); max 108 base/metrics/sample_map_unittest.cc HistogramBase::Sample max; max 110 base/metrics/sample_map_unittest.cc EXPECT_DEATH(it->Get(&min, &max, &count), ""); max 59 base/metrics/sample_vector.cc HistogramBase::Sample max; max 65 base/metrics/sample_vector.cc iter->Get(&min, &max, &count); max 67 base/metrics/sample_vector.cc max == bucket_ranges_->range(index + 1)) { max 136 base/metrics/sample_vector.cc HistogramBase::Sample* max, max 141 base/metrics/sample_vector.cc if (max != NULL) max 142 base/metrics/sample_vector.cc *max = bucket_ranges_->range(index_ + 1); max 67 base/metrics/sample_vector.h HistogramBase::Sample* max, max 192 base/metrics/sample_vector_unittest.cc HistogramBase::Sample max; max 194 base/metrics/sample_vector_unittest.cc it.Get(&min, &max, &count); max 196 base/metrics/sample_vector_unittest.cc EXPECT_EQ(1, max); max 202 base/metrics/sample_vector_unittest.cc it.Get(&min, &max, &count); max 204 base/metrics/sample_vector_unittest.cc EXPECT_EQ(3, max); max 222 base/metrics/sample_vector_unittest.cc it2->Get(&min, &max, &count); max 224 base/metrics/sample_vector_unittest.cc EXPECT_EQ(i + 1, max); max 250 base/metrics/sample_vector_unittest.cc HistogramBase::Sample max; max 252 base/metrics/sample_vector_unittest.cc EXPECT_DEATH(it->Get(&min, &max, &count), ""); max 135 base/metrics/sparse_histogram.cc Sample max; max 137 base/metrics/sparse_histogram.cc it->Get(&min, &max, &count); max 151 base/metrics/sparse_histogram.cc Sample max; max 153 base/metrics/sparse_histogram.cc it->Get(&min, &max, &count); max 39 base/metrics/statistics_recorder_unittest.cc HistogramBase::Sample max, max 42 base/metrics/statistics_recorder_unittest.cc Histogram::InitializeBucketRanges(min, max, ranges); max 45 base/metrics/statistics_recorder_unittest.cc return new Histogram(name, min, max, registered_ranges); max 49 base/numerics/safe_conversions.h return std::numeric_limits<Dst>::max(); max 54 base/numerics/safe_conversions.h return std::numeric_limits<Dst>::max(); max 152 base/numerics/safe_conversions_impl.h ? GetRangeConstraint(value <= std::numeric_limits<Dst>::max(), max 153 base/numerics/safe_conversions_impl.h value >= -std::numeric_limits<Dst>::max()) max 154 base/numerics/safe_conversions_impl.h : GetRangeConstraint(value <= std::numeric_limits<Dst>::max(), max 167 base/numerics/safe_conversions_impl.h return GetRangeConstraint(value <= std::numeric_limits<Dst>::max(), true); max 182 base/numerics/safe_conversions_impl.h value <= static_cast<Src>(std::numeric_limits<Dst>::max()), max 199 base/numerics/safe_conversions_impl.h value <= static_cast<Src>(std::numeric_limits<Dst>::max()), max 188 base/numerics/safe_math_impl.h x <= std::numeric_limits<T>::max() / y ? RANGE_VALID : RANGE_OVERFLOW; max 199 base/numerics/safe_math_impl.h y >= std::numeric_limits<T>::max() / x ? RANGE_VALID : RANGE_OVERFLOW; max 211 base/numerics/safe_math_impl.h *validity = (y == 0 || x <= std::numeric_limits<T>::max() / y) max 441 base/numerics/safe_math_impl.h return GetRangeConstraint(value_ <= std::numeric_limits<T>::max(), max 442 base/numerics/safe_math_impl.h value_ >= -std::numeric_limits<T>::max()); max 65 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) + -1); max 70 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(-DstLimits::max()) + -DstLimits::max()); max 78 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) - -DstLimits::max()); max 81 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(-DstLimits::max()) - DstLimits::max()); max 96 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); max 129 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); max 154 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) + 1); max 157 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(-DstLimits::max()) + -DstLimits::max()); max 161 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) - -DstLimits::max()); max 164 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(-DstLimits::max()) - DstLimits::max()); max 180 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(CheckedNumeric<Dst>(DstLimits::max()) * max 181 base/numerics/safe_numerics_unittest.cc DstLimits::max()).IsValid()); max 185 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(CheckedNumeric<Dst>(DstLimits::max()) * max 186 base/numerics/safe_numerics_unittest.cc DstLimits::max()).ValueOrDefault(1)); max 214 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(static_cast<Dst>(DstLimits::max() * -1), max 215 base/numerics/safe_numerics_unittest.cc -CheckedNumeric<Dst>(DstLimits::max())); max 220 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(DstLimits::max(), max 221 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()).Abs()); max 230 base/numerics/safe_numerics_unittest.cc RANGE_OVERFLOW, CheckedNumeric<Dst>(DstLimits::max()) + DstLimits::max()); max 237 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) - 1); max 244 base/numerics/safe_numerics_unittest.cc RANGE_OVERFLOW, CheckedNumeric<Dst>(DstLimits::max()) * DstLimits::max()); max 251 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(DstLimits::max() / 2, max 252 base/numerics/safe_numerics_unittest.cc CheckedNumeric<Dst>(DstLimits::max()) / 2); max 314 base/numerics/safe_numerics_unittest.cc const CheckedNumeric<Dst> checked_dst = SrcLimits::max(); max 320 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_VALID, SrcLimits::max() * checked_dst); max 323 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, SrcLimits::max() * checked_dst); max 330 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max()); max 333 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max() * static_cast<Src>(-1)); max 357 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max()); max 359 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst - SrcLimits::max()); max 361 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max()); max 364 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::max() * -1); max 392 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(SrcLimits::max(), checked_dst + SrcLimits::max()); max 394 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst + -SrcLimits::max()); max 397 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max()); max 416 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max()); max 418 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst + -SrcLimits::max()); max 420 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max()); max 424 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::max() * -1); max 447 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max()); max 451 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max()); max 561 base/numerics/safe_numerics_unittest.cc double double_large = numeric_limits<double>::max(); max 576 base/numerics/safe_numerics_unittest.cc EXPECT_EQ(saturated_cast<int>(double_large), numeric_limits<int>::max()); max 86 base/observer_list.h std::numeric_limits<size_t>::max() : max 329 base/pickle.cc Resize(std::max(capacity_after_header_ * 2, new_size)); max 209 base/process/kill_win.cc DWORD remaining_wait = std::max<int64>( max 612 base/process/launch_posix.cc argv, NULL, output, std::numeric_limits<std::size_t>::max(), true, max 635 base/process/launch_posix.cc cl.argv(), NULL, output, std::numeric_limits<std::size_t>::max(), true, max 125 base/process/launch_win.cc std::numeric_limits<DWORD>::max() / sizeof(HANDLE)) { max 121 base/process/memory_unittest.cc buf = malloc(std::numeric_limits<size_t>::max() - (2 * PAGE_SIZE) - 1); max 171 base/process/memory_unittest.cc test_size_(std::numeric_limits<std::size_t>::max() - 12 * 1024), max 172 base/process/memory_unittest.cc signed_test_size_(std::numeric_limits<ssize_t>::max()) { max 464 base/process/process_util_unittest.cc rlim_t max_int = static_cast<rlim_t>(std::numeric_limits<int32>::max()); max 18 base/rand_util.cc int RandInt(int min, int max) { max 19 base/rand_util.cc DCHECK_LE(min, max); max 21 base/rand_util.cc uint64 range = static_cast<uint64>(max) - min + 1; max 24 base/rand_util.cc DCHECK_LE(result, max); max 54 base/rand_util.cc (std::numeric_limits<uint64>::max() / range) * range - 1; max 19 base/rand_util.h BASE_EXPORT int RandInt(int min, int max); max 18 base/rand_util_unittest.cc const int kIntMax = std::numeric_limits<int>::max(); max 63 base/rand_util_unittest.cc EXPECT_LE(std::numeric_limits<ptrdiff_t>::max(), max 64 base/rand_util_unittest.cc std::numeric_limits<int64>::max()); max 80 base/rand_util_unittest.cc const uint64 kTopOfRange = (std::numeric_limits<uint64>::max() / 4ULL) * 3ULL; max 34 base/rand_util_win.cc output_length, static_cast<size_t>(std::numeric_limits<ULONG>::max()))); max 186 base/security_unittest.cc ASSERT_EQ(numeric_limits<size_t>::max(), kMaxSizeT); max 219 base/security_unittest.cc const size_t kMaxSizeT = numeric_limits<size_t>::max(); max 236 base/security_unittest.cc ptrdiff_t ptr_diff = reinterpret_cast<char*>(std::max(ptr1, ptr2)) - max 88 base/strings/safe_sprintf.cc void SetSafeSPrintfSSizeMaxForTest(size_t max) { max 89 base/strings/safe_sprintf.cc kSSizeMax = max; max 116 base/strings/safe_sprintf.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max()), max 185 base/strings/safe_sprintf.h BASE_EXPORT void SetSafeSPrintfSSizeMaxForTest(size_t max); max 433 base/strings/safe_sprintf_unittest.cc const size_t kSSizeMax = std::numeric_limits<ssize_t>::max(); max 521 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%dc", std::numeric_limits<ssize_t>::max() - 1); max 522 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, SafeSPrintf(buf, fmt, 'A')); max 524 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 551 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%do", std::numeric_limits<ssize_t>::max()-1); max 552 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 555 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%0%do", std::numeric_limits<ssize_t>::max()-1); max 556 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 560 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 585 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%dd", std::numeric_limits<ssize_t>::max()-1); max 586 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 589 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%0%dd", std::numeric_limits<ssize_t>::max()-1); max 590 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 594 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 621 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%dX", std::numeric_limits<ssize_t>::max()-1); max 622 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 625 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%0%dX", std::numeric_limits<ssize_t>::max()-1); max 626 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 630 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 649 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%dp", std::numeric_limits<ssize_t>::max()-1); max 650 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 653 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%0%dp", std::numeric_limits<ssize_t>::max()-1); max 654 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 658 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 677 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%%ds", std::numeric_limits<ssize_t>::max()-1); max 678 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 681 base/strings/safe_sprintf_unittest.cc SafeSPrintf(fmt, "%%0%ds", std::numeric_limits<ssize_t>::max()-1); max 682 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::numeric_limits<ssize_t>::max()-1, max 686 base/strings/safe_sprintf_unittest.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 249 base/strings/string_number_conversions.cc if (*output > static_cast<value_type>(traits::max() / traits::kBase) || max 250 base/strings/string_number_conversions.cc (*output == static_cast<value_type>(traits::max() / traits::kBase) && max 251 base/strings/string_number_conversions.cc new_digit > traits::max() % traits::kBase)) { max 252 base/strings/string_number_conversions.cc *output = traits::max(); max 288 base/strings/string_number_conversions.cc return std::numeric_limits<value_type>::max(); max 35 base/strings/string_number_conversions_unittest.cc { std::numeric_limits<int>::max(), "2147483647", "2147483647" }, max 41 base/strings/string_number_conversions_unittest.cc { std::numeric_limits<int64>::max(), max 341 base/strings/string_number_conversions_unittest.cc size_t size_t_max = std::numeric_limits<size_t>::max(); max 626 base/synchronization/condition_variable_unittest.cc maximum = std::max(maximum, completion_history_[i]); max 72 base/sys_info_android.cc bool overflow = result >= std::numeric_limits<int64>::max() / unit_multiplier; max 91 base/sys_info_android.cc result = std::min<int64>(std::max<int64>(32 * MB, result), 1024 * MB) / MB; max 108 base/sys_info_android.cc result = std::min<int64>(std::max<int64>(16 * MB, result), 512 * MB) / MB; max 44 base/sys_info_linux.cc static_cast<uint64>(limit) > std::numeric_limits<size_t>::max()) { max 491 base/test/launcher/test_launcher.cc std::max(static_cast<size_t>(20), test_started_count_ / 10); max 40 base/test/test_timeouts.cc *value = std::max(*value, timeout); max 43 base/test/test_timeouts.cc *value = std::max(*value, min_value); max 142 base/third_party/symbolize/symbolize.cc SAFE_ASSERT(count <= std::numeric_limits<ssize_t>::max()); max 316 base/third_party/xdg_mime/xdgmimecache.c int i, min, max, mid, cmp; max 326 base/third_party/xdg_mime/xdgmimecache.c max = n_entries - 1; max 327 base/third_party/xdg_mime/xdgmimecache.c while (max >= min) max 329 base/third_party/xdg_mime/xdgmimecache.c mid = (min + max) / 2; max 338 base/third_party/xdg_mime/xdgmimecache.c max = mid - 1; max 362 base/third_party/xdg_mime/xdgmimecache.c int i, min, max, mid, cmp; max 372 base/third_party/xdg_mime/xdgmimecache.c max = n_entries - 1; max 373 base/third_party/xdg_mime/xdgmimecache.c while (max >= min) max 375 base/third_party/xdg_mime/xdgmimecache.c mid = (min + max) / 2; max 384 base/third_party/xdg_mime/xdgmimecache.c max = mid - 1; max 471 base/third_party/xdg_mime/xdgmimecache.c int min, max, mid, n, i; max 478 base/third_party/xdg_mime/xdgmimecache.c max = n_entries - 1; max 479 base/third_party/xdg_mime/xdgmimecache.c while (max >= min) max 481 base/third_party/xdg_mime/xdgmimecache.c mid = (min + max) / 2; max 486 base/third_party/xdg_mime/xdgmimecache.c max = mid - 1; max 840 base/third_party/xdg_mime/xdgmimecache.c int i, j, min, max, med, cmp; max 875 base/third_party/xdg_mime/xdgmimecache.c max = n_entries - 1; max 876 base/third_party/xdg_mime/xdgmimecache.c while (max >= min) max 878 base/third_party/xdg_mime/xdgmimecache.c med = (min + max)/2; max 885 base/third_party/xdg_mime/xdgmimecache.c max = med - 1; max 979 base/third_party/xdg_mime/xdgmimecache.c int i, min, max, mid, cmp; max 989 base/third_party/xdg_mime/xdgmimecache.c max = n_entries - 1; max 990 base/third_party/xdg_mime/xdgmimecache.c while (max >= min) max 992 base/third_party/xdg_mime/xdgmimecache.c mid = (min + max) / 2; max 1001 base/third_party/xdg_mime/xdgmimecache.c max = mid - 1; max 21 base/time/time.cc return TimeDelta(std::numeric_limits<int64>::max()); max 27 base/time/time.cc return std::numeric_limits<int>::max(); max 35 base/time/time.cc return std::numeric_limits<int>::max(); max 43 base/time/time.cc return std::numeric_limits<int>::max(); max 59 base/time/time.cc return std::numeric_limits<int64>::max(); max 75 base/time/time.cc return std::numeric_limits<int64>::max(); max 83 base/time/time.cc return std::numeric_limits<int64>::max(); max 92 base/time/time.cc return std::numeric_limits<int64>::max(); max 101 base/time/time.cc return Time(std::numeric_limits<int64>::max()); max 108 base/time/time.cc if (tt == std::numeric_limits<time_t>::max()) max 118 base/time/time.cc return std::numeric_limits<time_t>::max(); max 120 base/time/time.cc if (std::numeric_limits<int64>::max() - kTimeTToMicrosecondsOffset <= us_) { max 123 base/time/time.cc return std::numeric_limits<time_t>::max(); max 189 base/time/time.cc return std::numeric_limits<int64>::max(); max 97 base/time/time.h return delta_ == std::numeric_limits<int64>::max(); max 264 base/time/time.h return us_ == std::numeric_limits<int64>::max(); max 508 base/time/time.h if (days == std::numeric_limits<int>::max()) max 516 base/time/time.h if (hours == std::numeric_limits<int>::max()) max 524 base/time/time.h if (minutes == std::numeric_limits<int>::max()) max 532 base/time/time.h if (secs == std::numeric_limits<int64>::max()) max 540 base/time/time.h if (ms == std::numeric_limits<int64>::max()) max 548 base/time/time.h if (us == std::numeric_limits<int64>::max()) max 279 base/time/time_posix.cc ? std::numeric_limits<SysTime>::max() max 280 base/time/time_posix.cc : std::numeric_limits<int32_t>::max(); max 364 base/time/time_posix.cc t.tv_sec == std::numeric_limits<time_t>::max()) max 380 base/time/time_posix.cc result.tv_sec = std::numeric_limits<time_t>::max(); max 485 base/time/time_unittest.cc TimeDelta max = TimeDelta::Max(); max 486 base/time/time_unittest.cc EXPECT_TRUE(max.is_max()); max 487 base/time/time_unittest.cc EXPECT_EQ(max, TimeDelta::Max()); max 488 base/time/time_unittest.cc EXPECT_GT(max, TimeDelta::FromDays(100 * 365)); max 489 base/time/time_unittest.cc EXPECT_GT(max, TimeDelta()); max 494 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int64>::max(), t.ToInternalValue()); max 496 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int>::max(), t.InDays()); max 497 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int>::max(), t.InHours()); max 498 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int>::max(), t.InMinutes()); max 500 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int64>::max(), t.InSeconds()); max 502 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int64>::max(), t.InMilliseconds()); max 503 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int64>::max(), t.InMillisecondsRoundedUp()); max 505 base/time/time_unittest.cc t = TimeDelta::FromDays(std::numeric_limits<int>::max()); max 508 base/time/time_unittest.cc t = TimeDelta::FromHours(std::numeric_limits<int>::max()); max 511 base/time/time_unittest.cc t = TimeDelta::FromMinutes(std::numeric_limits<int>::max()); max 514 base/time/time_unittest.cc t = TimeDelta::FromSeconds(std::numeric_limits<int64>::max()); max 517 base/time/time_unittest.cc t = TimeDelta::FromMilliseconds(std::numeric_limits<int64>::max()); max 520 base/time/time_unittest.cc t = TimeDelta::FromMicroseconds(std::numeric_limits<int64>::max()); max 525 base/time/time_unittest.cc Time max = Time::Max(); max 526 base/time/time_unittest.cc EXPECT_TRUE(max.is_max()); max 527 base/time/time_unittest.cc EXPECT_EQ(max, Time::Max()); max 528 base/time/time_unittest.cc EXPECT_GT(max, Time::Now()); max 529 base/time/time_unittest.cc EXPECT_GT(max, Time()); max 534 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<int64>::max(), t.ToInternalValue()); max 544 base/time/time_unittest.cc t = Time::FromTimeT(std::numeric_limits<time_t>::max()); max 546 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); max 550 base/time/time_unittest.cc tval.tv_sec = std::numeric_limits<time_t>::max(); max 555 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<time_t>::max(), tval.tv_sec); max 569 base/time/time_unittest.cc ftime.dwHighDateTime = std::numeric_limits<DWORD>::max(); max 570 base/time/time_unittest.cc ftime.dwLowDateTime = std::numeric_limits<DWORD>::max(); max 574 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<DWORD>::max(), ftime.dwHighDateTime); max 575 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<DWORD>::max(), ftime.dwLowDateTime); max 581 base/time/time_unittest.cc Time t = Time::FromInternalValue(std::numeric_limits<int64>::max() - 1); max 583 base/time/time_unittest.cc EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); max 146 base/time/time_win.cc if (ft.dwHighDateTime == std::numeric_limits<DWORD>::max() && max 147 base/time/time_win.cc ft.dwLowDateTime == std::numeric_limits<DWORD>::max()) max 157 base/time/time_win.cc result.dwHighDateTime = std::numeric_limits<DWORD>::max(); max 158 base/time/time_win.cc result.dwLowDateTime = std::numeric_limits<DWORD>::max(); max 224 base/values_unittest.cc EXPECT_FALSE(list.Remove(std::numeric_limits<size_t>::max(), max 41 base/version.cc const uint16 max = 0xFFFF; max 42 base/version.cc if (num > max) max 371 cc/animation/keyframed_animation_curve.cc *max_scale = std::max(*max_scale, max_scale_for_segment); max 482 cc/animation/layer_animation_controller.cc *max_scale = std::max(*max_scale, animation_scale); max 45 cc/animation/scroll_offset_animation_curve.cc float max_delta = std::max(delta_x, delta_y); max 149 cc/animation/scrollbar_animation_controller_thinning.cc return std::max(std::min(progress, 1.f), 0.f); max 40 cc/animation/timing_function.cc void CubicBezierTimingFunction::Range(float* min, float* max) const { max 45 cc/animation/timing_function.cc *max = static_cast<float>(max_d); max 24 cc/animation/timing_function.h virtual void Range(float* min, float* max) const = 0; max 43 cc/animation/timing_function.h virtual void Range(float* min, float* max) const OVERRIDE; max 166 cc/animation/transform_operation.cc IsOperationIdentity(from) ? std::numeric_limits<SkMScalar>::max() max 169 cc/animation/transform_operation.cc IsOperationIdentity(to) ? std::numeric_limits<SkMScalar>::max() max 62 cc/animation/transform_operations.cc std::max(from_identity ? 0 : from.operations_.size(), max 144 cc/animation/transform_operations.cc std::max(max_scale_3d.x(), std::max(max_scale_3d.y(), max_scale_3d.z())); max 288 cc/animation/transform_operations.cc std::max(from_identity ? 0 : from.operations_.size(), max 882 cc/animation/transform_operations_unittest.cc float max = 1.f; max 883 cc/animation/transform_operations_unittest.cc float size = max - min; max 92 cc/base/math_util.cc *xmax = std::max(p.x(), *xmax); max 94 cc/base/math_util.cc *ymax = std::max(p.y(), *ymax); max 252 cc/base/math_util.cc float xmin = std::numeric_limits<float>::max(); max 253 cc/base/math_util.cc float xmax = -std::numeric_limits<float>::max(); max 254 cc/base/math_util.cc float ymin = std::numeric_limits<float>::max(); max 255 cc/base/math_util.cc float ymax = -std::numeric_limits<float>::max(); max 290 cc/base/math_util.cc float xmin = std::numeric_limits<float>::max(); max 291 cc/base/math_util.cc float xmax = -std::numeric_limits<float>::max(); max 292 cc/base/math_util.cc float ymin = std::numeric_limits<float>::max(); max 293 cc/base/math_util.cc float ymax = -std::numeric_limits<float>::max(); max 519 cc/base/math_util.cc dot_product = std::max(-1.0, std::min(1.0, dot_product)); max 634 cc/base/math_util.cc std::min(value, std::numeric_limits<double>::max()))); max 639 cc/base/math_util.cc std::min(value, std::numeric_limits<float>::max()))); max 91 cc/base/math_util.h template <typename T> static T ClampToRange(T value, T min, T max) { max 92 cc/base/math_util.h return std::min(std::max(value, min), max); max 20 cc/base/tiling_data.cc int num_tiles = std::max(1, max 78 cc/base/tiling_data.cc return std::min(std::max(x, 0), num_tiles_x_ - 1); max 88 cc/base/tiling_data.cc return std::min(std::max(y, 0), num_tiles_y_ - 1); max 98 cc/base/tiling_data.cc return std::min(std::max(x, 0), num_tiles_x_ - 1); max 108 cc/base/tiling_data.cc return std::min(std::max(y, 0), num_tiles_y_ - 1); max 118 cc/base/tiling_data.cc return std::min(std::max(x, 0), num_tiles_x_ - 1); max 128 cc/base/tiling_data.cc return std::min(std::max(y, 0), num_tiles_y_ - 1); max 374 cc/base/tiling_data.cc ignore_left_ = std::max(ignore_left_, consider_left_); max 375 cc/base/tiling_data.cc ignore_top_ = std::max(ignore_top_, consider_top_); max 480 cc/base/tiling_data.cc ignore_left_ = std::max(ignore_left_, consider_left_); max 481 cc/base/tiling_data.cc ignore_top_ = std::max(ignore_top_, consider_top_); max 91 cc/debug/frame_rate_counter.cc *min_fps = std::numeric_limits<double>::max(); max 104 cc/debug/frame_rate_counter.cc *max_fps = std::max(fps, *max_fps); max 29 cc/debug/paint_time_counter.cc base::TimeDelta* max) const { max 31 cc/debug/paint_time_counter.cc *max = base::TimeDelta(); max 38 cc/debug/paint_time_counter.cc if (paint_time > *max) max 39 cc/debug/paint_time_counter.cc *max = paint_time; max 42 cc/debug/paint_time_counter.cc if (*min > *max) max 43 cc/debug/paint_time_counter.cc *min = *max; max 27 cc/debug/paint_time_counter.h void GetMinAndMaxPaintTime(base::TimeDelta* min, base::TimeDelta* max) const; max 105 cc/debug/picture_record_benchmark.cc int y_limit = std::max(1, content_bounds.height() - height); max 106 cc/debug/picture_record_benchmark.cc int x_limit = std::max(1, content_bounds.width() - width); max 148 cc/input/top_controls_manager.cc controls_top_offset = std::max(controls_top_offset, -top_controls_height_); max 56 cc/layers/heads_up_display_layer_impl.cc max(0.0), max 62 cc/layers/heads_up_display_layer_impl.cc double target_upper_bound = std::max(max, default_upper_bound); max 199 cc/layers/heads_up_display_layer_impl.cc fps_counter->GetMinAndMaxFPS(&fps_graph_.min, &fps_graph_.max); max 205 cc/layers/heads_up_display_layer_impl.cc base::TimeDelta latest, min, max; max 209 cc/layers/heads_up_display_layer_impl.cc paint_time_counter->GetMinAndMaxPaintTime(&min, &max); max 213 cc/layers/heads_up_display_layer_impl.cc paint_time_graph_.max = max.InMillisecondsF(); max 357 cc/layers/heads_up_display_layer_impl.cc base::StringPrintf("%.0f-%.0f", fps_graph_.min, fps_graph_.max); max 413 cc/layers/heads_up_display_layer_impl.cc max_bucket_value = std::max(histogram[bucket_index], max_bucket_value); max 542 cc/layers/heads_up_display_layer_impl.cc "%.1f-%.1f", paint_time_graph_.min, paint_time_graph_.max); max 63 cc/layers/heads_up_display_layer_impl.h double max; max 68 cc/layers/picture_image_layer_impl.cc raster_contents_scale_ = std::max(1.f, MinimumContentsScale()); max 453 cc/layers/picture_layer_impl.cc ideal_contents_scale_ = std::max(ideal_contents_scale, min_contents_scale); max 456 cc/layers/picture_layer_impl.cc ideal_source_scale_ = std::max(ideal_source_scale, min_source_scale); max 469 cc/layers/picture_layer_impl.cc max_contents_scale = std::max(max_contents_scale, tiling->contents_scale()); max 1073 cc/layers/picture_layer_impl.cc std::max(raster_contents_scale_, MinimumContentsScale()); max 1078 cc/layers/picture_layer_impl.cc raster_contents_scale_ = std::max( max 1095 cc/layers/picture_layer_impl.cc low_res_raster_contents_scale_ = std::max( max 1108 cc/layers/picture_layer_impl.cc float max_acceptable_high_res_scale = std::max( max 1116 cc/layers/picture_layer_impl.cc max_acceptable_high_res_scale = std::max( max 1118 cc/layers/picture_layer_impl.cc std::max(twin->raster_contents_scale_, twin->ideal_contents_scale_)); max 1167 cc/layers/picture_layer_impl.cc return std::max(1.f / min_dimension, setting_min); max 190 cc/layers/scrollbar_layer_impl_base.cc std::min(std::max(current_pos_, 0.f), static_cast<float>(maximum_)); max 72 cc/layers/solid_color_scrollbar_layer_impl.cc return std::max( max 104 cc/layers/tiled_layer_unittest.cc settings_.max_partial_texture_updates = std::numeric_limits<size_t>::max(); max 12 cc/output/context_provider.cc : max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {} max 155 cc/output/filter_operation.cc return std::max(amount, 0.f); max 157 cc/output/filter_operation.cc return std::max(amount, 1.f); max 213 cc/output/filter_operation.cc std::max(gfx::Tween::LinearIntValueBetween( max 184 cc/output/output_surface.cc return std::max(skipped_begin_impl_frame_args_.deadline, max 92 cc/output/shader.cc int highp_threshold = std::max(*highp_threshold_cache, highp_threshold_min); max 727 cc/output/shader.cc float nonZeroAlpha = max(texColor.a, 0.00001); max 1160 cc/output/shader.cc float nonZeroAlpha = max(texColor.a, 0.00001); max 1221 cc/output/shader.cc float nonZeroAlpha = max(texColor.a, 0.00001); max 1285 cc/output/shader.cc float nonZeroAlpha = max(texColor.a, 0.00001); max 22 cc/resources/memory_history.cc void MemoryHistory::GetMinAndMax(size_t* min, size_t* max) const { max 23 cc/resources/memory_history.cc *min = std::numeric_limits<size_t>::max(); max 24 cc/resources/memory_history.cc *max = 0; max 31 cc/resources/memory_history.cc if (bytes_total > *max) max 32 cc/resources/memory_history.cc *max = bytes_total; max 35 cc/resources/memory_history.cc if (*min > *max) max 36 cc/resources/memory_history.cc *min = *max; max 39 cc/resources/memory_history.h void GetMinAndMax(size_t* min, size_t* max) const; max 305 cc/resources/picture.cc int min_x = std::numeric_limits<int>::max(); max 306 cc/resources/picture.cc int min_y = std::numeric_limits<int>::max(); max 320 cc/resources/picture.cc gfx::Point max( max 326 cc/resources/picture.cc for (int y = min.y(); y <= max.y(); y += cell_size_.height()) { max 327 cc/resources/picture.cc for (int x = min.x(); x <= max.x(); x += cell_size_.width()) { max 335 cc/resources/picture.cc max_x = std::max(max_x, max.x()); max 336 cc/resources/picture.cc max_y = std::max(max_y, max.y()); max 467 cc/resources/picture.cc std::max(min_point_.x(), picture->min_pixel_cell_.x()), max 468 cc/resources/picture.cc std::max(min_point_.y(), picture->min_pixel_cell_.y())); max 317 cc/resources/picture_layer_tiling.cc int inset_left = std::max(0, min_left - current_geometry_rect_.x()); max 318 cc/resources/picture_layer_tiling.cc int inset_top = std::max(0, min_top - current_geometry_rect_.y()); max 170 cc/resources/picture_layer_tiling_set.cc static_cast<size_t>(std::numeric_limits<int>::max())); max 228 cc/resources/picture_pile.cc int repeat_count = std::max(1, slow_down_raster_scale_factor_for_debug_); max 144 cc/resources/picture_pile_base.cc buffer_pixels = std::max(0, buffer_pixels); max 223 cc/resources/picture_pile_impl.cc int inset_left = std::max(0, min_content_left - content_clip.x()); max 224 cc/resources/picture_pile_impl.cc int inset_top = std::max(0, min_content_top - content_clip.y()); max 290 cc/resources/picture_pile_impl.cc int repeat_count = std::max(1, slow_down_raster_scale_factor_for_debug_); max 68 cc/resources/priority_calculator.cc std::max(kLingeringBasePriority, previous_priority + 1)); max 154 cc/resources/raster_worker_pool_perftest.cc std::numeric_limits<size_t>::max()) {} max 144 cc/resources/raster_worker_pool_unittest.cc std::numeric_limits<size_t>::max()); max 175 cc/resources/resource_provider_unittest.cc last_waited_sync_point_ = std::max(sync_point, last_waited_sync_point_); max 315 cc/resources/texture_uploader.cc us_elapsed = std::max(1u, us_elapsed); max 657 cc/resources/tile_manager.cc pending_bin = std::max(pending_bin, EVENTUALLY_BIN); max 879 cc/resources/tile_manager.cc std::max(static_cast<int64>(0), soft_bytes_available); max 881 cc/resources/tile_manager.cc std::max(static_cast<int64>(0), hard_bytes_available); max 882 cc/resources/tile_manager.cc size_t resources_allocatable = std::max(0, resources_available); max 149 cc/scheduler/scheduler.cc base::TimeTicks timebase = std::max(last_begin_impl_frame_args_.frame_time, max 64 cc/test/fake_picture_pile_impl.cc gfx::Size size(std::numeric_limits<int>::max(), max 65 cc/test/fake_picture_pile_impl.cc std::numeric_limits<int>::max()); max 40 cc/test/fake_proxy.cc void FakeProxy::SetMaxPartialTextureUpdates(size_t max) { max 41 cc/test/fake_proxy.cc max_partial_texture_updates_ = max; max 52 cc/test/fake_proxy.h void SetMaxPartialTextureUpdates(size_t max); max 80 cc/test/fake_tile_manager.cc std::numeric_limits<unsigned>::max(), max 92 cc/test/fake_tile_manager.cc std::numeric_limits<unsigned>::max(), max 105 cc/test/fake_tile_manager.cc std::numeric_limits<unsigned>::max(), max 135 cc/test/pixel_comparator.cc max_abs_error_r = std::max(max_abs_error_r, abs_error_r); max 136 cc/test/pixel_comparator.cc max_abs_error_g = std::max(max_abs_error_g, abs_error_g); max 137 cc/test/pixel_comparator.cc max_abs_error_b = std::max(max_abs_error_b, abs_error_b); max 138 cc/test/pixel_comparator.cc max_abs_error_a = std::max(max_abs_error_a, abs_error_a); max 508 cc/test/test_web_graphics_context_3d.cc std::max(peak_transfer_buffer_memory_used_bytes_, max 526 cc/test/test_web_graphics_context_3d.cc std::max(peak_transfer_buffer_memory_used_bytes_, max 76 cc/trees/layer_sorter.cc float abs_max = std::max(std::abs(b), std::abs(a)); max 294 cc/trees/layer_sorter.cc max_z = std::max(max_z, node.shape.transform_origin.z()); max 1561 cc/trees/layer_tree_host_common.cc ? std::max(combined_transform_scales.x(), max 225 cc/trees/layer_tree_host_common.h std::numeric_limits<int>::max() / 2, max 248 cc/trees/layer_tree_host_common.h std::numeric_limits<int>::max() / 2, max 84 cc/trees/layer_tree_host_impl.cc return std::numeric_limits<size_t>::max(); max 2373 cc/trees/layer_tree_host_impl.cc float page = std::max(height * 0.875f, 1.f); max 2445 cc/trees/layer_tree_host_impl.cc return std::numeric_limits<float>::max(); max 2504 cc/trees/layer_tree_host_impl.cc float distance_to_scrollbar = std::numeric_limits<float>::max(); max 1230 cc/trees/layer_tree_host_unittest_animation.cc std::max(expected_impl_tick_time_, last_main_thread_tick_time_); max 44 cc/trees/layer_tree_settings.cc max_partial_texture_updates(std::numeric_limits<size_t>::max()), max 269 cc/trees/single_thread_proxy.cc return std::numeric_limits<size_t>::max(); max 1083 cc/trees/thread_proxy.cc std::max(impl().animation_freeze_time, max 215 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java int availableScreenSpace = Math.max(anchorViewLocation[1], max 220 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java mBottomTouchMovedBound = Math.max(mBottomTouchMovedBound, rawY); max 447 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java edgeSwipeInSlope += Math.max(0.0f, additionalEdgeSwipeInSlop); max 626 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java Math.max(iconStackHeight, Math.max(logoStackHeight, buttonStackHeight)); max 654 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java int biggerStack = Math.max(getHeightWithMargins(mInstallButtonView), max 268 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java mDragXPerMs = mDragDirection * Math.max(androidXPerMs, dragXPerMs); max 375 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java translation = Math.max(0.0f, Math.min(mTotalHeight, translation)); max 482 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java float percentageAdjusted = Math.max(0.0f, percentageSwiped - ALPHA_THRESHOLD); max 219 chrome/android/java/src/org/chromium/chrome/browser/infobar/AnimationHelper.java final int biggestContainerBottom = Math.max(oldContainerBottom, newContainerBottom); max 248 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java int maxHeight = Math.max(getViewToHideHeight(), getViewToShowHeight()); max 444 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java Math.max(groupInfo.greatestMemberWidth, groupChild.getMeasuredWidth()); max 659 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + verticalMargins); max 680 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + verticalMargins); max 215 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java mMinimumWidth = Math.max(mMinimumWidth, estimator.getMeasuredWidth()); max 46 chrome/app/image_pre_reader_win.cc return position <= static_cast<size_t>(std::numeric_limits<LONG>::max()) && max 61 chrome/app/image_pre_reader_win.cc return bytes_to_read <= std::numeric_limits<DWORD>::max() && max 121 chrome/app/image_pre_reader_win.cc return std::max<size_t>(length, 1); max 208 chrome/app/image_pre_reader_win.cc max_chunk_size = std::max(max_chunk_size, kMinChunkSize); max 348 chrome/app/image_pre_reader_win.cc const DWORD actual_step_size = std::max(static_cast<DWORD>(step_size), max 47 chrome/browser/android/most_visited_sites.cc size_t max = static_cast<size_t>(num_sites); max 48 chrome/browser/android/most_visited_sites.cc for (size_t i = 0; i < visited_list.size() && i < max; ++i) { max 277 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(4U, std::max(selection_start, selection_end)); max 293 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(7U, std::max(selection_start, selection_end)); max 265 chrome/browser/autocomplete/autocomplete_match.cc std::max(i->offset, j->offset), i->style | j->style); max 326 chrome/browser/autocomplete/bookmark_provider_unittest.cc for (size_t j = 0; j < std::max(query_data[i].match_count, matches.size()); max 600 chrome/browser/autocomplete/history_url_provider.cc relevance = std::max(relevance, it->relevance); max 173 chrome/browser/autocomplete/search_provider.cc if (std::max(sug_rel, nav_rel) < verbatim_relevance) max 1217 chrome/browser/autocomplete/search_provider.cc double elapsed_time = std::max((base::Time::Now() - time).InSecondsF(), 0.0); max 1242 chrome/browser/autocomplete/search_provider.cc return std::max(0, base_score - score_discount); max 1351 chrome/browser/autocomplete/search_provider.cc max_query_relevance = std::max(max_query_relevance - 1, 0); max 381 chrome/browser/autocomplete/search_provider_unittest.cc last_added_time = std::max(base::Time::Now(), max 408 chrome/browser/autocomplete/shortcuts_provider.cc last_position = std::max(last_position, next_character); max 447 chrome/browser/autocomplete/shortcuts_provider.cc double decay_exponent = std::max(0.0, kLn2 * static_cast<double>( max 285 chrome/browser/bookmarks/bookmark_codec.cc maximum_id_ = std::max(maximum_id_, id); max 69 chrome/browser/bookmarks/bookmark_storage.cc details->set_max_id(std::max(max_node_id, details->max_id())); max 860 chrome/browser/browser_process_impl.cc std::max(std::min(max_per_proxy, 99), max 75 chrome/browser/browsing_data/browsing_data_flash_lso_helper.cc site, kClearAllData, std::numeric_limits<uint64>::max()); max 49 chrome/browser/chrome_page_zoom.cc double max = value_type == PAGE_ZOOM_VALUE_TYPE_LEVEL ? max 52 chrome/browser/chrome_page_zoom.cc if (!found_custom && custom_value > min && custom_value < max) { max 29 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc desired_size = std::max(min_comfortable, desired_size); max 111 chrome/browser/chromeos/display/overscan_calibrator.cc insets_.Set(std::max(insets.top(), 0), max 112 chrome/browser/chromeos/display/overscan_calibrator.cc std::max(insets.left(), 0), max 113 chrome/browser/chromeos/display/overscan_calibrator.cc std::max(insets.bottom(), 0), max 114 chrome/browser/chromeos/display/overscan_calibrator.cc std::max(insets.right(), 0)); max 412 chrome/browser/chromeos/drive/directory_loader.cc int64 directory_changestamp = std::max( max 841 chrome/browser/chromeos/drive/job_scheduler.cc wait_until_ = std::max(wait_until_, base::Time::Now() + delay); max 164 chrome/browser/chromeos/external_metrics.cc int sample, min, max, nbuckets; max 167 chrome/browser/chromeos/external_metrics.cc name, &sample, &min, &max, &nbuckets); max 173 chrome/browser/chromeos/external_metrics.cc if (!CheckValues(name, min, max, nbuckets)) { max 176 chrome/browser/chromeos/external_metrics.cc << ", max=" << max max 183 chrome/browser/chromeos/external_metrics.cc name, min, max, nbuckets, base::Histogram::kUmaTargetedHistogramFlag); max 188 chrome/browser/chromeos/external_metrics.cc int sample, max; max 190 chrome/browser/chromeos/external_metrics.cc int n = sscanf(histogram_data, "%127s %d %d", name, &sample, &max); max 196 chrome/browser/chromeos/external_metrics.cc if (!CheckLinearValues(name, max)) { max 198 chrome/browser/chromeos/external_metrics.cc << ", max=" << max; max 204 chrome/browser/chromeos/external_metrics.cc name, 1, max, max + 1, base::Histogram::kUmaTargetedHistogramFlag); max 22 chrome/browser/chromeos/first_run/first_run_controller.cc size_t NONE_STEP_INDEX = std::numeric_limits<size_t>::max(); max 65 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc std::max(max_widget_list_size_, widget_list_.size()); max 78 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc idle_logout_timeout = std::max(idle_logout_timeout, max 85 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc std::max(idle_logout_warning_duration, max 35 chrome/browser/chromeos/login/proxy_settings_dialog.cc desired_size = std::max(min_comfortable, desired_size); max 392 chrome/browser/chromeos/login/screens/update_screen.cc std::max(status.download_progress - download_last_progress_, 0.0); max 401 chrome/browser/chromeos/login/screens/update_screen.cc double progress_left = std::max(1.0 - status.download_progress, 0.0); max 352 chrome/browser/chromeos/net/network_portal_detector_impl.cc next_attempt_delay_ = std::max(delay, strategy_->GetDelayTillNextAttempt()); max 41 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc value > std::numeric_limits<int>::max()) { max 289 chrome/browser/chromeos/policy/device_status_collector.cc std::max(new_activity_duration - min_day_trim_duration, 0); max 536 chrome/browser/chromeos/policy/device_status_collector.cc std::numeric_limits<int64>::max()); max 193 chrome/browser/chromeos/session_length_limiter.cc base::TimeDelta::FromMilliseconds(std::min(std::max( max 46 chrome/browser/chromeos/settings/owner_key_util.cc if (file_size > static_cast<int64>(std::numeric_limits<int>::max())) { max 357 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks grace_start_time = std::max(reboot_request_time, max 364 chrome/browser/chromeos/system/automatic_reboot_manager.cc std::max(grace_start_time - now, kZeroTimeDelta), max 375 chrome/browser/chromeos/system/automatic_reboot_manager.cc std::max(grace_end_time - now, kZeroTimeDelta), max 104 chrome/browser/custom_home_pages_table_model.cc int last = std::max(insert_before, index_list.back() + 1); max 124 chrome/browser/devtools/adb_client_socket_browsertest.cc int new_size = std::max(output_buffer_->capacity() * 2, size * 2); max 42 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int width = std::max(0, container_size.width() - insets.width()); max 52 chrome/browser/devtools/devtools_contents_resizing_strategy.cc left = std::max(0, std::min(container_size.width(), left)); max 54 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int height = std::max(0, container_size.height() - insets.height()); max 64 chrome/browser/devtools/devtools_contents_resizing_strategy.cc top = std::max(0, std::min(container_size.height(), top)); max 222 chrome/browser/extensions/activity_log/counting_policy.cc using std::max; max 224 chrome/browser/extensions/activity_log/counting_policy.cc max(queued_entry->first->time(), action->time())); max 326 chrome/browser/extensions/api/alarms/alarm_manager.cc std::max(base::TimeDelta::FromSeconds(0), time - clock_->Now()), max 78 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc size->set_width(*width > 0 ? std::max(0, *width - insets.width()) max 88 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc size->set_height(*height > 0 ? std::max(0, *height - insets.height()) max 441 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc std::numeric_limits<int>::max(), max 460 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc std::numeric_limits<int>::max(), max 103 chrome/browser/extensions/api/cast_streaming/performance_test.cc std_dev = sqrt(std::max(0.0, num_values * sqr_sum - sum * sum)) / max 401 chrome/browser/extensions/api/declarative/declarative_rule.h minimum_priority = std::max(minimum_priority, (*i)->minimum_priority()); max 161 chrome/browser/extensions/api/declarative/rules_registry_unittest.cc std::max(*get_rules[0]->priority, *get_rules[1]->priority)); max 155 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc min_priorities[extension_id] = std::max(current_min_priority, max 95 chrome/browser/extensions/api/hid/hid_device_manager.cc DCHECK_LT(next_resource_id_, std::numeric_limits<int>::max()); max 34 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc int max; max 160 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc histogram->HasConstructionArguments(r.min, r.max, r.buckets)); max 84 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc int min, int max, size_t buckets, max 89 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc max = std::min(max, INT_MAX - 3); max 92 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc min = std::max(min, 1); max 93 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc max = std::max(max, min + 1); max 94 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc buckets = std::max(buckets, static_cast<size_t>(3)); max 96 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc if (buckets > static_cast<size_t>(max - min + 2)) max 97 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc buckets = max - min + 2; max 102 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc name, min, max, buckets, max 106 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc name, min, max, buckets, max 128 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc params->metric.min, params->metric.max, max 69 chrome/browser/extensions/api/metrics_private/metrics_private_api.h int min, int max, size_t buckets, max 336 chrome/browser/extensions/api/omnibox/omnibox_api.cc std::max(0, static_cast<int>(description.length()) + style->offset); max 145 chrome/browser/extensions/api/page_capture/page_capture_api.cc if (mhtml_file_size > std::numeric_limits<int>::max()) { max 57 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc int max = device_count * 2; max 58 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc int rand_value = base::RandInt(0, max); max 1049 chrome/browser/extensions/api/tabs/tabs_api.cc index = std::min(std::max(index, -1), tab_strip->count()); max 265 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(std::max( max 686 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal max = max 691 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_TRUE(max.IsValid()); max 692 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_TRUE(min.LessThan(max)); max 696 chrome/browser/extensions/chrome_app_sorting_unittest.cc max = syncer::StringOrdinal(); max 699 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_FALSE(max.IsValid()); max 703 chrome/browser/extensions/chrome_app_sorting_unittest.cc max = app_sorting->GetMinOrMaxAppLaunchOrdinalsOnPage( max 707 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_FALSE(max.IsValid()); max 74 chrome/browser/extensions/convert_web_app.cc double stamp = day_fraction * std::numeric_limits<uint16>::max(); max 54 chrome/browser/extensions/extension_infobar_delegate.cc height_ = std::max(0, height); max 295 chrome/browser/extensions/extension_view_host.cc std::max(0, (bounds.width() - size.width()) / 2), max 296 chrome/browser/extensions/extension_view_host.cc std::max(0, (bounds.height() - size.height()) / 2)); max 98 chrome/browser/extensions/install_verifier.cc return std::max(GetExperimentStatus(), GetCommandLineStatus()); max 152 chrome/browser/extensions/updater/extension_updater.cc frequency_seconds_ = std::max(frequency_seconds_, kMinUpdateFrequencySeconds); max 69 chrome/browser/history/android/sqlite_cursor.cc int count = MoveTo(env, obj, std::numeric_limits<int>::max() - 1) + 1; max 311 chrome/browser/history/download_database.cc return 1 + static_cast<uint32>(std::max( max 303 chrome/browser/history/expire_history_backend.cc std::numeric_limits<int>::max()); max 511 chrome/browser/history/expire_history_backend.cc std::max(0, url_row.visit_count() - i->second.visit_count)); max 513 chrome/browser/history/expire_history_backend.cc std::max(0, url_row.typed_count() - i->second.typed_count)); max 1350 chrome/browser/history/history_backend.cc std::numeric_limits<size_t>::max() : static_cast<int>(options.max_count); max 1511 chrome/browser/history/history_backend.cc int delta_time = std::max(1, std::min(999, max 214 chrome/browser/history/history_types.cc AdjustResultMap(end + 1, std::numeric_limits<size_t>::max(), max 261 chrome/browser/history/history_types.cc std::numeric_limits<int64>::max() : end_time.ToInternalValue(); max 265 chrome/browser/history/history_types.cc return max_count ? max_count : std::numeric_limits<int>::max(); max 40 chrome/browser/history/query_parser.cc mp.second = std::max(mp.second, i->second); max 294 chrome/browser/history/query_parser.cc for (size_t i = 0, max = words.size() - children_.size() + 1; i < max; ++i) { max 201 chrome/browser/history/scored_history_match.cc raw_score_ = std::max(raw_score_, hup_like_score); max 476 chrome/browser/history/scored_history_match.cc std::max( max 531 chrome/browser/history/scored_history_match.cc value_of_transition = std::max(value_of_transition, bookmark_value_); max 34 chrome/browser/history/snippet.cc pair.second = std::max(pair.second, (*match_positions)[offset].second); max 244 chrome/browser/history/snippet.cc start = std::max(start, context_start); max 526 chrome/browser/history/thumbnail_database.cc std::max(100, percentage)); max 299 chrome/browser/history/url_database.cc end_query.push_back(std::numeric_limits<unsigned char>::max()); max 716 chrome/browser/history/url_index_private_data.cc DCHECK_LT(history_id, std::numeric_limits<HistoryID>::max()); max 315 chrome/browser/history/visit_database.cc statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max()); max 317 chrome/browser/history/visit_database.cc max_results ? max_results : std::numeric_limits<int64>::max()); max 340 chrome/browser/history/visit_database.cc statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max()); max 344 chrome/browser/history/visit_database.cc max_results ? max_results : std::numeric_limits<int64>::max()); max 129 chrome/browser/history/visit_filter.cc double decay_exponent = std::max(0.0, kLn2 * static_cast<double>( max 330 chrome/browser/history/visit_filter.cc result->reserve(std::max(vector1.size(), vector2.size())); max 69 chrome/browser/infobars/infobar_container.cc vertical_overlap = std::max(vertical_overlap, -next_infobar_y); max 82 chrome/browser/infobars/infobar_container.cc std::max(height - InfoBar::kSeparatorLineHeight, 0), max 230 chrome/browser/internal_auth.cc dark_tick_ = std::max(dark_tick_, max 458 chrome/browser/internal_auth.cc return std::max(1, std::min(candidate, kVerificationWindowTicks)); max 530 chrome/browser/local_discovery/privet_http_impl.cc dpi_ = std::max(dpis.GetDefault().horizontal, dpis.GetDefault().vertical); max 678 chrome/browser/local_discovery/privet_http_impl.cc std::max(page_size_.width(), page_size_.height()) * scale); max 708 chrome/browser/local_discovery/privet_http_impl.cc timeout = std::max(timeout, kPrivetMinimumTimeout); max 323 chrome/browser/local_discovery/privet_url_fetcher.cc std::max(timeout_seconds_randomized, kPrivetMinimumTimeout); max 346 chrome/browser/metrics/metrics_log.cc screen_info->max_dpi_x = std::max(dpi_x, screen_info->max_dpi_x); max 347 chrome/browser/metrics/metrics_log.cc screen_info->max_dpi_y = std::max(dpi_y, screen_info->max_dpi_y); max 116 chrome/browser/net/network_stats.cc uint32 max, max 119 chrome/browser/net/network_stats.cc name, min, max, bucket_count, max 432 chrome/browser/net/network_stats.cc base::TimeDelta::FromMicroseconds(std::max( max 441 chrome/browser/net/network_stats.cc std::max(1U, (received_packets - 1)); max 795 chrome/browser/net/network_stats.cc std::max(last_arrival_time_ - probe_request_time_ - max 93 chrome/browser/net/network_stats_unittest.cc std::string(std::max(0, padding_size), 0)); max 181 chrome/browser/net/network_stats_unittest.cc std::string(std::max(0, padding_size), 0)); max 1244 chrome/browser/net/predictor.cc peak_pending_lookups_ = std::max(peak_pending_lookups_, max 90 chrome/browser/net/probe_message.cc padding->append(std::string(std::max(0, padding_size), 0)); max 288 chrome/browser/net/ssl_config_service_manager_pref.cc config->version_min = std::max(supported_version_min, version_min); max 242 chrome/browser/net/url_info.cc maximum_ = std::max(maximum_, value); max 410 chrome/browser/notifications/balloon_collection_impl.cc std::max(min_balloon_width(), max 412 chrome/browser/notifications/balloon_collection_impl.cc std::max(min_balloon_height(), max 49 chrome/browser/performance_monitor/metric.cc double max; max 92 chrome/browser/performance_monitor/metric.cc (value < kMetricBounds[type].max || max 93 chrome/browser/performance_monitor/metric.cc kMetricBounds[type].max == kNoMaximum) && max 150 chrome/browser/performance_monitor/performance_monitor.cc gather_interval_in_seconds_ = std::max(specified_interval, max 30 chrome/browser/performance_monitor/process_metrics_history.cc min_cpu_usage_ = std::numeric_limits<double>::max(); max 236 chrome/browser/policy/cloud/test_request_interceptor.cc size_t pending_size = std::numeric_limits<size_t>::max(); max 348 chrome/browser/prerender/prerender_unittest.cc std::max(prerender_manager()->mutable_config().max_link_concurrency, max 431 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::RandInt(0, std::numeric_limits<int>::max())); max 169 chrome/browser/printing/printing_layout_browsertest.cc return std::max(diff_png, diff_emf); max 102 chrome/browser/profiles/profile_info_util.cc int border_size = std::max(width_, height_); max 1072 chrome/browser/renderer_context_menu/render_view_context_menu.cc size_t max = IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST - max 1074 chrome/browser/renderer_context_menu/render_view_context_menu.cc for (size_t i = 0; i < handlers.size() && i <= max; i++) { max 328 chrome/browser/rlz/rlz.cc delay = std::min(kMaxInitDelay, std::max(min_init_delay_, delay)); max 547 chrome/browser/safe_browsing/client_side_detection_service.cc std::max(base::TimeDelta::FromMinutes(kPositiveCacheIntervalMinutes), max 550 chrome/browser/safe_browsing/client_side_detection_service.cc std::max(base::TimeDelta::FromDays(kNegativeCacheIntervalDays), max 896 chrome/browser/safe_browsing/safe_browsing_store_file.cc std::max(static_cast<int>(update_size / 1024), 1)); max 992 chrome/browser/safe_browsing/safe_browsing_store_file.cc process_stride = std::max(in_stride, out_stride); max 70 chrome/browser/search_engines/template_url_parser.cc for (size_t i = 1, max = input_encoding.size(); i < max; ++i) { max 1591 chrome/browser/search_engines/template_url_service.cc next_id_ = std::max(next_id_, (*i)->id()); max 151 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; max 166 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; max 186 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; max 206 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; max 19 chrome/browser/sessions/session_command.cc DCHECK(pickle.size() < std::numeric_limits<size_type>::max()); max 585 chrome/browser/sessions/session_restore.cc int selected_tab_index = std::max( max 607 chrome/browser/sessions/session_restore.cc selected_index = std::max( max 885 chrome/browser/sessions/session_restore.cc : std::max(0, max 1017 chrome/browser/sessions/session_restore.cc selected_index = std::max( max 443 chrome/browser/sessions/session_service.cc range.first = std::max(0, range.first - count); max 444 chrome/browser/sessions/session_service.cc range.second = std::max(0, range.second - count); max 470 chrome/browser/sessions/session_service.cc range.second = std::max(navigation.index(), range.second); max 1154 chrome/browser/sessions/session_service.cc std::max(-1, tab->current_navigation_index - payload.index); max 1310 chrome/browser/sessions/session_service.cc const int min_index = std::max(0, max 40 chrome/browser/sessions/session_types.h return std::max(0, std::min(current_navigation_index, max 514 chrome/browser/sessions/tab_restore_service_helper.cc std::max(0, std::min(tab->current_navigation_index, max 522 chrome/browser/sessions/tab_restore_service_helper.cc std::max(0, std::min(window->selected_tab_index, max 479 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc int max_upload_size = std::max( max 503 chrome/browser/sync/glue/session_model_associator.cc const int min_index = std::max(0, current_index - kMaxSyncNavigationCount); max 957 chrome/browser/sync/glue/session_model_associator.cc selected_index = std::max( max 919 chrome/browser/sync/sessions2/sessions_sync_manager.cc const int min_index = std::max(0, current_index - kMaxSyncNavigationCount); max 17 chrome/browser/sync/test/integration/retry_verifier.cc int64 backoff_s = std::max(static_cast<int64>(1), current_delay * max 25 chrome/browser/sync/test/integration/retry_verifier.cc delay_info.min_delay = std::max(static_cast<int64>(1), max 28 chrome/browser/sync/test/integration/retry_verifier.cc delay_info.max_delay = std::max(static_cast<int64>(1), max 110 chrome/browser/thumbnails/content_analysis.cc float value_min = std::numeric_limits<float>::max(); max 116 chrome/browser/thumbnails/content_analysis.cc value_max = std::max(value_max, *it); max 359 chrome/browser/thumbnails/content_analysis.cc grad_max = std::max(grad_max, grad_x * grad_x + grad_y * grad_y); max 490 chrome/browser/thumbnails/content_analysis.cc int computed_width = std::max(computed_size.width(), target_size.width()); max 491 chrome/browser/thumbnails/content_analysis.cc int computed_height = std::max(computed_size.height(), target_size.height()); max 557 chrome/browser/thumbnails/content_analysis.cc new_computed_width = std::max(new_computed_width, target_size.width()); max 558 chrome/browser/thumbnails/content_analysis.cc new_computed_height = std::max(new_computed_height, target_size.height()); max 439 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(AutoSegmentPeaks(profile_info), std::numeric_limits<float>::max()); max 114 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc std::max(1, received_bitmap.width() - scrollbar_size), max 115 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc std::max(1, received_bitmap.height() - scrollbar_size)); max 208 chrome/browser/thumbnails/simple_thumbnail_crop.cc std::max(1, bitmap.width() - scrollbar_size), max 209 chrome/browser/thumbnails/simple_thumbnail_crop.cc std::max(1, bitmap.height() - scrollbar_size) }; max 180 chrome/browser/ui/app_list/app_list_positioner.cc return std::max(0, cursor.x() - work_area.x()); max 182 chrome/browser/ui/app_list/app_list_positioner.cc return std::max(0, work_area.right() - cursor.x()); max 184 chrome/browser/ui/app_list/app_list_positioner.cc return std::max(0, cursor.y() - work_area.y()); max 186 chrome/browser/ui/app_list/app_list_positioner.cc return std::max(0, work_area.bottom() - cursor.y()); max 1792 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return std::max(static_cast<size_t>(0), max 1076 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc std::min(std::max(local_state->GetInteger(prefs::kSessionLengthLimit), max 584 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc popup_width = std::max(popup_width, row_size); max 163 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int width = std::max(minimum_required_width, max 169 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc width = std::max(width, max 225 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int help_y = std::max(kPopupBorderThickness, divider_bounds_.bottom()); max 72 chrome/browser/ui/autofill/popup_controller_common.cc int right_growth_start = std::max(leftmost_display_x, max 75 chrome/browser/ui/autofill/popup_controller_common.cc int left_growth_end = std::max(leftmost_display_x, max 83 chrome/browser/ui/autofill/popup_controller_common.cc std::max(right_available, left_available)); max 103 chrome/browser/ui/autofill/popup_controller_common.cc int top_growth_end = std::max(topmost_display_y, max 106 chrome/browser/ui/autofill/popup_controller_common.cc int bottom_growth_start = std::max(topmost_display_y, max 187 chrome/browser/ui/find_bar/find_bar_controller.cc view_location.set_x(std::max(view_location.x(), dialog_bounds.x())); max 232 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc int value_content_y = std::max( max 281 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc int subtext_content_y = std::max( max 86 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc return std::max((kButtonWidth + kButtonPadding) * icon_count - kButtonPadding, max 868 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc new_width = std::max(new_width, 0); max 895 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc button_hbox_width = std::max(button_hbox_width - overflow_width, 0); max 382 chrome/browser/ui/gtk/bubble/bubble_gtk.cc std::max(height + kArrowSize + arrow_y - screen_height, 0); max 383 chrome/browser/ui/gtk/bubble/bubble_gtk.cc const int bottom_arrow_bleed = std::max(height + kArrowSize - arrow_y, 0); max 407 chrome/browser/ui/gtk/bubble/bubble_gtk.cc std::max(width + arrow_x - kArrowX - screen_width, 0); max 408 chrome/browser/ui/gtk/bubble/bubble_gtk.cc const int right_arrow_bleed = std::max(width - arrow_x - kArrowX, 0); max 240 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc menu_width = std::max(menu_width, menu_req.width); max 251 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc menu_width = std::max(kMinMediaMenuButtonWidth, menu_width); max 395 chrome/browser/ui/gtk/download/download_item_gtk.cc int showing_width = std::max(kMinDownloadItemWidth, max 136 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc int width = std::max(kMinWidth, std::min(kMaxWidth, new_size.width())); max 137 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc int height = std::max(kMinHeight, std::min(kMaxHeight, new_size.height())); max 452 chrome/browser/ui/gtk/find_bar_gtk.cc std::max(0, parent_allocation.width - (ltr ? 15 : 0)), 0); max 148 chrome/browser/ui/gtk/global_error_bubble.cc message_width_ = std::max(message_width_, width); max 38 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (*reinterpret_cast<int*>(userdata)) += std::max(req.width, 0); max 114 chrome/browser/ui/gtk/gtk_util.cc std::max(pango_font_metrics_get_approximate_char_width(metrics), max 409 chrome/browser/ui/gtk/gtk_util.cc width == -1 ? -1 : std::max(width, requisition.width), max 410 chrome/browser/ui/gtk/gtk_util.cc height == -1 ? -1 : std::max(height, requisition.height)); max 1273 chrome/browser/ui/gtk/location_bar_view_gtk.cc std::max(10, max_chars)); max 117 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double s = std::max(0.5, fg_hsl.s); max 150 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double s = std::max(0.2, std::min(0.8, opposite_s)); max 155 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double l = std::max(0.1, std::min(0.9, opposite_l)); max 344 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t line = std::max(y - kBorderThickness, 0) / kHeightPerResult; max 698 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc int content_y = std::max(line_rect.y(), max 554 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc std::max(sel.cp_max, sel.cp_min) < GetOmniboxTextLength() || max 1792 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gdouble new_scroll = std::max(shift, 0.); max 1793 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const guint new_top_padding = std::max(0., -shift); max 48 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h int selection_max() const { return std::max(cp_min, cp_max); } max 374 chrome/browser/ui/gtk/reload_button_gtk.cc GtkButtonWidth = std::max(GtkButtonWidth, req.width); max 257 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc int desired_width = std::max(volume->width(), cancel_size.width) + max 233 chrome/browser/ui/gtk/status_bubble_gtk.cc int distance = std::max(ltr ? max 187 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc int child_x = std::max((allocation->width - requisition.width) / 2, 0); max 192 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc int child_y = std::max((allocation->height - requisition.height) / 2, 0); max 207 chrome/browser/ui/gtk/tab_contents_container_gtk.cc int child_y = std::max(allocation->height - requisition.height, 0); max 570 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc return std::max(0, std::min(max_index, index)); max 176 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc + mini_tab_count * mini_width_ - std::max(to - from - 1, 0) * 16; max 277 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc int width = std::max(attached_tab_size_.width(), contents_size_.width()) + max 460 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc paint_at = std::max(GetWidthInTabStripFromTo(0, index) - 16, 0); max 578 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int content_height = std::max(gfx::kFaviconSize, title_font_height_); max 579 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return std::max(content_height, close_button_height_); max 796 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc media_indicator_bounds_.set_x(std::max( max 826 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc title_width = std::max(title_width, 0); max 1066 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc std::max(0, width() - kLeftPadding - kRightPadding); max 389 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc std::max(abs(kTabHOffset), max 1546 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc *unselected_width = std::max(desired_tab_width, min_unselected_width); max 1547 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc *selected_width = std::max(desired_tab_width, min_selected_width); max 1565 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc *unselected_width = std::max(calc_width, min_unselected_width); max 1568 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc *selected_width = std::max(available_width - total_offset - max 533 chrome/browser/ui/gtk/task_manager_gtk.cc std::max(1, right - left), max 534 chrome/browser/ui/gtk/task_manager_gtk.cc std::max(1, bottom - top)); max 47 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double s = std::max(0.5, fg_hsl.s); max 83 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double s = std::max(0.2, std::min(0.8, opposite_s)); max 88 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double l = std::max(0.1, std::min(0.9, opposite_l)); max 72 chrome/browser/ui/omnibox/omnibox_popup_model.cc *contents_max_width = std::max( max 77 chrome/browser/ui/omnibox/omnibox_popup_model.cc std::max(*contents_max_width, kMinimumContentsWidth), contents_width); max 141 chrome/browser/ui/panels/docked_panel_collection.cc x = std::max(GetRightMostAvailablePosition() - full_size.width(), max 749 chrome/browser/ui/panels/docked_panel_collection.cc std::max(panel::kPanelMinWidth, max 103 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_width(std::max(bounds_at_start_.width() + max 107 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_height(std::max(bounds_at_start_.height() + max 111 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_width(std::max(bounds_at_start_.width() + max 115 chrome/browser/ui/panels/panel_resize_controller.cc int new_height = std::max(bounds_at_start_.height() + max 91 chrome/browser/ui/singleton_tabs.cc std::max(0, params->browser->tab_strip_model()->active_index()); max 157 chrome/browser/ui/tabs/pinned_tab_codec.cc for (size_t i = 0, max = tabs_list->GetSize(); i < max; ++i) { max 507 chrome/browser/ui/tabs/tab_strip_model.cc MoveSelectedTabsToImpl(std::max(index, total_mini_count), max 732 chrome/browser/ui/tabs/tab_strip_model.cc return mini_tab ? std::min(std::max(0, index), IndexOfFirstNonMiniTab()) : max 733 chrome/browser/ui/tabs/tab_strip_model.cc std::min(count(), std::max(index, IndexOfFirstNonMiniTab())); max 871 chrome/browser/ui/tabs/tab_strip_model.cc int new_index = std::max(active_index() - 1, 0); max 129 chrome/browser/ui/tabs/tab_strip_model_order_controller.cc index = std::max(0, index - 1); max 28 chrome/browser/ui/toolbar/wrench_icon_painter.cc return std::min(1.0, std::max(0.0, staggeredValue)); max 176 chrome/browser/ui/views/autofill/autofill_dialog_views.cc height = std::max(height, size.height()); max 1263 chrome/browser/ui/views/autofill/autofill_dialog_views.cc loading_shield_height_ = std::max(kInitialLoadingShieldHeight, max 1803 chrome/browser/ui/views/autofill/autofill_dialog_views.cc height = std::max(height, kMinimumContentsHeight); max 114 chrome/browser/ui/views/autofill/decorated_textfield.cc return gfx::Size(size.width(), std::max(size.height(), height)); max 44 chrome/browser/ui/views/avatar_label.cc const int difference = std::max<int>(0, 13 - gfx::FontList().GetFontSize()); max 299 chrome/browser/ui/views/avatar_menu_bubble_view.cc int text_width = std::max(name_label_->GetPreferredSize().width(), max 301 chrome/browser/ui/views/avatar_menu_bubble_view.cc text_width = std::max(edit_link_->GetPreferredSize().width(), text_width); max 323 chrome/browser/ui/views/avatar_menu_bubble_view.cc int max_label_width = std::max(width() - label_x, 0); max 333 chrome/browser/ui/views/avatar_menu_bubble_view.cc std::max(state_size.height(), edit_size.height()); max 58 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc ascent = std::max(ascent, baseline); max 59 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc descent = std::max(descent, pref.height() - baseline); max 61 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc height = std::max(pref.height(), height); max 67 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc height = std::max(ascent + descent, height); max 86 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc remaining_width = std::max(0, width() - x); max 1652 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc throbbing_view_->StartThrobbing(std::numeric_limits<int>::max()); max 321 chrome/browser/ui/views/content_setting_bubble_contents.cc menu_width = std::max(menu_width, max 333 chrome/browser/ui/views/content_setting_bubble_contents.cc menu_width = std::max(kMinMediaMenuButtonWidth, menu_width); max 464 chrome/browser/ui/views/content_setting_bubble_contents.cc width = std::max(width, button->GetPreferredSize().width()); max 468 chrome/browser/ui/views/create_application_shortcut_view.cc int preferred_size = std::max(unprocessed_icons_.back().width, max 200 chrome/browser/ui/views/download/download_item_view.cc box_height_ = std::max<int>(2 * kVerticalPadding + font_list_.GetHeight() + max 371 chrome/browser/ui/views/download/download_item_view.cc height = std::max<int>(height, DownloadShelf::kSmallProgressIconSize); max 382 chrome/browser/ui/views/download/download_item_view.cc height = std::max<int>(height, 2 * kVerticalPadding + button_size.height()); max 384 chrome/browser/ui/views/download/download_item_view.cc height = std::max<int>(height, 2 * kVerticalPadding + max 1222 chrome/browser/ui/views/download/download_item_view.cc size.SetSize(std::max(size.width(), discard_size.width()), max 1223 chrome/browser/ui/views/download/download_item_view.cc std::max(size.height(), discard_size.height())); max 85 chrome/browser/ui/views/download/download_shelf_view.cc size->set_height(std::max(view_preferred.height(), size->height())); max 89 chrome/browser/ui/views/download/download_shelf_view.cc return std::max((target_size - size) / 2, kTopBottomPadding); max 222 chrome/browser/ui/views/download/download_shelf_view.cc std::max<int>(0, width() - kRightPadding - close_button_size.width() - max 256 chrome/browser/ui/views/dropdown_bar_host.cc max_x = std::max(max_x, static_cast<int>(polygon[i].x)); max 257 chrome/browser/ui/views/dropdown_bar_host.cc max_y = std::max(max_y, static_cast<int>(polygon[i].y)); max 1244 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc std::max(gfx::GetStringWidth( max 410 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc return gfx::Size(width, std::max(height, kIconSize + 2 * kVertOuterMargin)); max 153 chrome/browser/ui/views/extensions/extension_popup.cc sz.set_width(std::max(kMinWidth, std::min(kMaxWidth, sz.width()))); max 154 chrome/browser/ui/views/extensions/extension_popup.cc sz.set_height(std::max(kMinHeight, std::min(kMaxHeight, sz.height()))); max 212 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc std::max(height, kIconSize + views::kPanelVertMargin * 2)); max 56 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc height = std::max(parent()->height(), height); max 53 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc height = std::max(parent()->height(), height); max 106 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc std::max(area.width() / 2 - folder_viewer_width, max 327 chrome/browser/ui/views/find_bar_view.cc int find_text_width = std::max(0, match_count_x - kMarginLeftOfFindTextfield); max 328 chrome/browser/ui/views/find_bar_view.cc find_text_->SetBounds(std::max(0, match_count_x - find_text_width), max 121 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc min_size.set_width(std::max(min_size.width(), max 138 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), max 139 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, client_bounds.y() - top_height), max 268 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return std::max(FrameBorderThickness() + IconSize(), max 284 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return std::max(BrowserFrame::GetTitleFontList().height(), kIconMinimumSize); max 444 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(client_area_top, client_area_bounds.bottom()); max 504 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, close_button_->x() - kTitleCloseButtonSpacing - title_x), max 513 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, width - (2 * border_thickness)), max 514 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, height - top_height - border_thickness)); max 143 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc std::max(0, width() - left_inset - right_inset), max 331 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc int min_width = std::max(header_painter_->GetMinimumHeaderWidth(), max 338 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc min_width = std::max(min_width, max 241 chrome/browser/ui/views/frame/browser_view_layout.cc bounding_box.set_height(std::max(0, bounding_box.height() + height_delta)); max 246 chrome/browser/ui/views/frame/browser_view_layout.cc bounding_box.set_width(std::max(0, bounding_box.width() - scrollbar_width)); max 467 chrome/browser/ui/views/frame/browser_view_layout.cc top = std::max(toolbar_->bounds().bottom(), LayoutBookmarkBar(top)); max 521 chrome/browser/ui/views/frame/browser_view_layout.cc std::max(0, bottom - top)); max 546 chrome/browser/ui/views/frame/browser_view_layout.cc height = std::max(height, delegate_->GetTopInsetInBrowserView()); max 44 chrome/browser/ui/views/frame/contents_layout_manager.cc int height = std::max(0, contents_container->height() - top); max 141 chrome/browser/ui/views/frame/glass_browser_frame_view.cc std::max(0, tabstrip_width), max 181 chrome/browser/ui/views/frame/glass_browser_frame_view.cc min_size.set_width(std::max(min_tabstrip_area_width, min_size.width())); max 209 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Rect(std::max(0, client_bounds.x() - insets.left()), max 210 chrome/browser/ui/views/frame/glass_browser_frame_view.cc std::max(0, client_bounds.y() - insets.top()), max 402 chrome/browser/ui/views/frame/glass_browser_frame_view.cc std::max(client_area_top, height() - NonClientBorderThickness()); max 461 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return std::max(BrowserFrame::GetTitleFontList().GetHeight(), max 820 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc std::max(client_area_top, height() - NonClientBorderThickness()); max 932 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc top_area_height = std::max(top_area_height, max 159 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc std::max(0, tabstrip_width), max 181 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc min_size.set_width(std::max(min_size.width(), minimum_size_for_buttons_)); max 199 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), max 200 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc std::max(0, client_bounds.y() - top_height), max 221 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc return std::max(FrameBorderThickness(restored) + delegate_->GetIconSize(), max 267 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc std::max(0, width - (2 * border_thickness)), max 268 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc std::max(0, height - top_height - border_thickness)); max 375 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc int text_width = std::max( max 12 chrome/browser/ui/views/frame/system_menu_insertion_delegate_win.cc return std::max(0, GetMenuItemCount(native_menu) - 1); max 45 chrome/browser/ui/views/infobars/after_translate_infobar.cc AssignWidths(&labels, std::max(0, EndX() - x - NonLabelWidth())); max 41 chrome/browser/ui/views/infobars/before_translate_infobar.cc AssignWidths(&labels, std::max(0, EndX() - x - NonLabelWidth())); max 44 chrome/browser/ui/views/infobars/confirm_infobar.cc AssignWidths(&labels, std::max(0, EndX() - x - NonLabelWidth())); max 110 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::Size(std::max(0, EndX() - StartX() - NonExtensionViewWidth()), max 116 chrome/browser/ui/views/infobars/extension_infobar.cc std::max(arrow_height(), OffsetY(extension_view)))); max 222 chrome/browser/ui/views/infobars/infobar_view.cc SkIntToScalar(std::max(arrow_height() - kSeparatorLineHeight, 0)); max 263 chrome/browser/ui/views/infobars/infobar_view.cc std::max(start_x + content_minimum_width + max 308 chrome/browser/ui/views/infobars/infobar_view.cc height = std::max(height, child_height + kMinimumVerticalPadding); max 356 chrome/browser/ui/views/infobars/infobar_view.cc std::max((bar_target_height() - view->height()) / 2, 0) - max 26 chrome/browser/ui/views/infobars/translate_message_infobar.cc std::min(label_->width(), std::max(0, EndX() - x - NonLabelWidth())); max 188 chrome/browser/ui/views/location_bar/content_setting_image_view.cc std::max(width() - GetTotalSpacingWhileAnimating() - icon_width, 0), max 136 chrome/browser/ui/views/location_bar/location_bar_layout.cc std::max((*i)->view->GetMinimumSize().width(), max_width)); max 794 chrome/browser/ui/views/location_bar/location_bar_view.cc const int bubble_height = std::max(location_height - (kBubblePadding * 2), 0); max 918 chrome/browser/ui/views/location_bar/location_bar_view.cc std::max(full_width, full_width - entry_width), location_height); max 1481 chrome/browser/ui/views/location_bar/location_bar_view.cc return std::max(total_height - (vertical_edge_thickness() * 2), 0); max 457 chrome/browser/ui/views/notifications/balloon_view_views.cc int max_button_height = std::max(std::max( max 182 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc max_match_contents_width_ = std::max( max 145 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(font_list.GetHeight(), max 214 chrome/browser/ui/views/omnibox/omnibox_result_view.cc return gfx::Size(0, std::max( max 309 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(offset, max_match_contents_width)); max 321 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const int start_offset = std::max(prefix_width, max 424 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(glyph_bounds.start(), glyph_bounds.end()) : max 513 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(width() - kw_text_x - edge_item_padding_, 0), height()); max 518 chrome/browser/ui/views/omnibox/omnibox_result_view.cc text_bounds_.SetRect(text_x, 0, std::max(text_width, 0), height()); max 97 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc std::max(child->GetState(), next_child->GetState()), max 398 chrome/browser/ui/views/panels/panel_frame_view.cc std::max(0, width() - border_thickness * 2), max 399 chrome/browser/ui/views/panels/panel_frame_view.cc std::max(0, height() - titlebar_height - border_thickness)); max 555 chrome/browser/ui/views/panels/panel_frame_view.cc std::max(0, right - panel::kTitleAndButtonPadding - title_x), max 223 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc maximum = std::max(maximum, GetFieldWidth((*i->second), type)); max 227 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc maximum = std::max( max 272 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const int first_field_width = std::max( max 278 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const int second_field_width = std::max( max 327 chrome/browser/ui/views/profile_chooser_view.cc std::max(title_label_->GetPreferredSize().height(), max 227 chrome/browser/ui/views/screen_capture_notification_ui_views.cc width = std::max(width, kMinimumWidth); max 229 chrome/browser/ui/views/screen_capture_notification_ui_views.cc return gfx::Size(width, std::max(label_size.height(), max 230 chrome/browser/ui/views/screen_capture_notification_ui_views.cc std::max(hide_link_size.height(), max 260 chrome/browser/ui/views/screen_capture_notification_ui_views.cc std::max(stop_button_rect.height(), hide_link_rect.height()))); max 253 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); max 254 chrome/browser/ui/views/speech_recognition_bubble_views.cc control_width = std::max(icon_->GetPreferredSize().width(), max 256 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); max 259 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); max 461 chrome/browser/ui/views/status_bubble_views.cc std::max(0, text_width), max 462 chrome/browser/ui/views/status_bubble_views.cc std::max(0, text_height)); max 566 chrome/browser/ui/views/status_bubble_views.cc int min_duration = std::max(kMinExpansionStepDurationMS, max 892 chrome/browser/ui/views/status_bubble_views.cc std::max(GetStandardStatusBubbleWidth(), max 908 chrome/browser/ui/views/status_bubble_views.cc return static_cast<int>(std::max(0, base_view_->bounds().width() - max 89 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::max(initial_x + delta, GetMinDragX(active_index())); max 236 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc x = std::min(GetMaxX(index), std::max(x, GetMinX(index))); max 326 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int active_x = std::max(GetMinX(active_index()), max 342 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc next_x = std::max(GetMinXCompressed(i), next_x - tab_offset()); max 351 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::max(GetMinX(active_index()), x)); max 375 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int x = std::max(min_x, ideal_x(i + 1) - (tab_offset())); max 383 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int x = std::max(min_x, max 398 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::max(ideal_x(i), ideal_x(i + 1) - tab_offset()))); max 409 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, std::max(ideal_x(i) - delta, GetMinDragX(i))); max 417 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc i, std::max(min_x, std::min(ideal_x(i), max_x))); max 426 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc i, std::max(min_x, std::min(ideal_x(i), max_x))); max 538 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return std::max(x_ + stacked_padding_for_count(leading_count), max 564 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return std::max( max 177 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h return (count * size_.width()) + (std::max(count - 1, 0) * padding_); max 613 chrome/browser/ui/views/tabs/tab.cc animation->StartThrobbing(std::numeric_limits<int>::max()); max 791 chrome/browser/ui/views/tabs/tab.cc int content_height = std::max(tab_icon_size(), font_height_); max 794 chrome/browser/ui/views/tabs/tab.cc content_height = std::max(content_height, close_button_size.height()); max 853 chrome/browser/ui/views/tabs/tab.cc std::max(lb.x(), right - media_indicator_bounds_.width())); max 887 chrome/browser/ui/views/tabs/tab.cc title_width = std::max(title_width, 0); max 1572 chrome/browser/ui/views/tabs/tab.cc std::max(0, width() - left_padding() - right_padding()); max 174 chrome/browser/ui/views/tabs/tab_drag_controller.cc source_tab_index_(std::numeric_limits<size_t>::max()), max 820 chrome/browser/ui/views/tabs/tab_drag_controller.cc to_index = std::max(to_index, attach_index_); max 1300 chrome/browser/ui/views/tabs/tab_drag_controller.cc return std::max(0, std::min(max_index, index)); max 1328 chrome/browser/ui/views/tabs/tab_drag_controller.cc int mid_x = std::max(previous_x + kStackedDistance, max 1393 chrome/browser/ui/views/tabs/tab_drag_controller.cc return gfx::Point(std::min(std::max(x, 0), max_x), 0); max 1777 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::max(max_size.width() / 2, new_bounds.width())); max 1779 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::max(max_size.height() / 2, new_bounds.height())); max 199 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc return std::max(TabDragController::kTouchVerticalDetachMagnetism, max 1824 chrome/browser/ui/views/tabs/tab_strip.cc new_bounds.set_x(std::max(min_x, new_bounds.x() - adjusted_delta)); max 1833 chrome/browser/ui/views/tabs/tab_strip.cc int new_x = std::max(new_bounds.x() + delta, max_x); max 2241 chrome/browser/ui/views/tabs/tab_strip.cc *unselected_width = std::max(desired_tab_width, min_unselected_width); max 2242 chrome/browser/ui/views/tabs/tab_strip.cc *selected_width = std::max(desired_tab_width, min_selected_width); max 2257 chrome/browser/ui/views/tabs/tab_strip.cc *unselected_width = std::max(static_cast<double>( max 2263 chrome/browser/ui/views/tabs/tab_strip.cc *selected_width = std::max(available_width - total_offset - max 386 chrome/browser/ui/views/task_manager_view.cc int max = stats->GetMaxCounters(); max 388 chrome/browser/ui/views/task_manager_view.cc for (int i = 1; i < max; i++) { max 221 chrome/browser/ui/views/toolbar/browser_actions_container.cc std::max(ContainerMinSize(), container_width_ - resize_amount_), max 333 chrome/browser/ui/views/toolbar/browser_actions_container.cc int before_icon = std::min(std::max(before_icon_unclamped, 0), max 456 chrome/browser/ui/views/toolbar/browser_actions_container.cc std::min(std::max(0, container_width_ - resize_amount), max_width); max 853 chrome/browser/ui/views/toolbar/browser_actions_container.cc std::max(0, available_space + kItemSpacing) / IconWidth(true)); max 639 chrome/browser/ui/views/toolbar/toolbar_view.cc int available_width = std::max(0, width() - kRightEdgeSpacing - max 660 chrome/browser/ui/views/toolbar/toolbar_view.cc std::max(available_width, 0), location_height); max 571 chrome/browser/ui/views/toolbar/wrench_menu.cc width = std::max(width, child_at(i)->GetPreferredSize().width()); max 692 chrome/browser/ui/views/toolbar/wrench_menu.cc int button_width = std::max(increment_button_->GetPreferredSize().width(), max 707 chrome/browser/ui/views/toolbar/wrench_menu.cc int button_width = std::max(increment_button_->GetPreferredSize().width(), max 785 chrome/browser/ui/views/toolbar/wrench_menu.cc max_w = std::max(w, max_w); max 1210 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int i = 0, max = model->GetItemCount(); i < max; ++i) { max 1233 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_LT(i + 2, max); max 272 chrome/browser/ui/views/translate/translate_bubble_view.cc width = std::max(width, child->GetPreferredSize().width()); max 55 chrome/browser/ui/views/validation_message_bubble_delegate.cc label_width = std::max(label_width, sub_label->GetPreferredSize().width()); max 417 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width = std::max(width, site_data_content_->GetPreferredSize().width()); max 419 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width = std::max(width, permissions_content_->GetPreferredSize().width()); max 368 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc std::max(std::min(oobe_timer_update_interval_, max 397 chrome/browser/ui/webui/ntp/foreign_session_handler.cc modification_time = std::max(modification_time, max 65 chrome/browser/ui/window_sizer/window_sizer.cc bounds->SetRect(left, top, std::max(0, right - left), max 66 chrome/browser/ui/window_sizer/window_sizer.cc std::max(0, bottom - top)); max 81 chrome/browser/ui/window_sizer/window_sizer.cc std::max(0, work_area_right - work_area_left), max 82 chrome/browser/ui/window_sizer/window_sizer.cc std::max(0, work_area_bottom - work_area_top)); max 360 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_height(std::max(kMinVisibleHeight, bounds->height())); max 361 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_width(std::max(kMinVisibleWidth, bounds->width())); max 377 chrome/browser/ui/window_sizer/window_sizer.cc std::max(work_area.x(), max 380 chrome/browser/ui/window_sizer/window_sizer.cc std::max(work_area.y(), max 409 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_y(std::max(min_y, std::min(max_y, bounds->y()))); max 410 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_x(std::max(min_x, std::min(max_x, bounds->x()))); max 240 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc std::max(kWindowTilePixels + max 514 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc std::max(ash::WindowPositioner::kDesktopBorderSize, max 42 chrome/browser/ui/window_sizer/window_sizer_gtk.cc std::max(corner.x(), limit.x()), max 43 chrome/browser/ui/window_sizer/window_sizer_gtk.cc std::max(corner.y(), limit.y())); max 132 chrome/browser/ui/window_sizer/window_sizer_unittest.cc std::max(kWindowTilePixels * 2, max 220 chrome/browser/usb/usb_device_handle.cc static_cast<size_t>(std::max(handle->actual_length, 0)); max 240 chrome/browser/usb/usb_device_handle.cc std::max(actual_length, static_cast<size_t>(1))); max 86 chrome/browser/web_applications/update_shortcut_worker_win.cc int preferred_size = std::max(unprocessed_icons_.back().width, max 58 chrome/browser/webdata/autocomplete_syncable_service.cc *date_last_used = std::max(local_entry.date_last_used(), sync_date_last_used); max 177 chrome/common/badge_util.cc badge_width = std::max(kBadgeHeight, badge_width); max 43 chrome/common/importer/firefox_importer_utils_win.cc highest_version = std::max(highest_version, _wtoi(ver_buffer)); max 131 chrome/common/instant_restricted_id_cache.h last_restricted_id_ = std::max(item_id.first, last_restricted_id_); max 139 chrome/common/metrics/metrics_log_base.cc HistogramBase::Sample max; max 141 chrome/common/metrics/metrics_log_base.cc it->Get(&min, &max, &count); max 144 chrome/common/metrics/metrics_log_base.cc bucket->set_max(max); max 152 chrome/common/metrics/metrics_log_base.cc bucket->max() == histogram_proto->bucket(i + 1).min()) { max 154 chrome/common/metrics/metrics_log_base.cc } else if (bucket->max() == bucket->min() + 1) { max 96 chrome/common/metrics/metrics_log_base_unittest.cc EXPECT_EQ(7, histogram_proto.bucket(1).max()); max 101 chrome/common/metrics/metrics_log_base_unittest.cc EXPECT_EQ(9, histogram_proto.bucket(2).max()); max 111 chrome/common/metrics/metrics_log_base_unittest.cc EXPECT_EQ(12, histogram_proto.bucket(4).max()); max 48 chrome/common/net/x509_certificate_model.cc ret.reserve(std::max(kMin, data_length * 3 - 1)); max 594 chrome/installer/gcapi/gcapi.cc int days_since_last_run = std::numeric_limits<int>::max(); max 620 chrome/installer/gcapi/gcapi.cc if (days_since_last_run == std::numeric_limits<int>::max()) { max 187 chrome/installer/test/alternate_version_generator.cc static_cast<int64>(std::numeric_limits<DWORD>::max())) { max 202 chrome/installer/test/alternate_version_generator.cc LOG(DFATAL) << "Files larger than " << std::numeric_limits<DWORD>::max() max 22 chrome/installer/util/delete_tree_work_item.cc if (left > static_cast<L>(std::numeric_limits<R>::max())) max 129 chrome/installer/util/registry_key_backup.cc DWORD max_name_len = std::max(max_subkey_name_len, max_value_name_len) + 1; max 2238 chrome/installer/util/shell_util.cc } else if (size >= std::numeric_limits<size_t>::max() / 8) { max 545 chrome/renderer/extensions/dispatcher.cc int64 forced_delay_ms = std::max( max 55 chrome/renderer/extensions/set_icon_natives.cc int max_width = (std::numeric_limits<int>::max() / 4) / height; max 107 chrome/renderer/pepper/pepper_uma_host.cc int64_t max, max 112 chrome/renderer/pepper/pepper_uma_host.cc RETURN_IF_BAD_ARGS(min, max, bucket_count); max 118 chrome/renderer/pepper/pepper_uma_host.cc base::TimeDelta::FromMilliseconds(max), max 133 chrome/renderer/pepper/pepper_uma_host.cc int32_t max, max 138 chrome/renderer/pepper/pepper_uma_host.cc RETURN_IF_BAD_ARGS(min, max, bucket_count); max 144 chrome/renderer/pepper/pepper_uma_host.cc max, max 48 chrome/renderer/pepper/pepper_uma_host.h int64_t max, max 56 chrome/renderer/pepper/pepper_uma_host.h int32_t max, max 670 chrome/renderer/translate/translate_helper.cc uint64 max_int32 = std::numeric_limits<int32>::max(); max 446 chrome/service/cloud_print/cloud_print_connector.cc int min_xmpp_timeout = std::numeric_limits<int>::max(); max 461 chrome/service/cloud_print/cloud_print_connector.cc if (min_xmpp_timeout != std::numeric_limits<int>::max()) { max 19 chrome/test/base/browser_tests_main.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); max 76 chrome/test/data/dromaeo/store.php $id, $row->collection, $row->version, $row->name, $row->scale, $row->median, $row->min, $row->max, $row->mean, $row->deviation, $row->runs) ); max 127 chrome/tools/profile_reset/jtl_compiler.cc value.size() > std::numeric_limits<uint32>::max()) max 69 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, category_column.rows_read()); max 70 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, date_column.rows_read()); max 71 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, filename_column.rows_read()); max 72 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, name_column.rows_read()); max 73 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, token_column.rows_read()); max 74 chrome/utility/media_galleries/picasa_album_table_reader.cc row_count = std::max(row_count, uid_column.rows_read()); max 17 chromeos/audio/cras_audio_handler.cc using std::max; max 195 chromeos/audio/cras_audio_handler.cc volume_percent = min(max(volume_percent, 0), 100); max 278 chromeos/audio/cras_audio_handler.cc value = min(max(value, 0), 100); max 774 chromeos/dbus/power_manager_client.cc battery_percentage_ = std::min(std::max(battery_percentage_, 0), 100); max 785 chromeos/dbus/power_manager_client.cc std::max(1, battery_percentage_ * kSecondsToEmptyFullBattery / 100); max 818 chromeos/dbus/power_manager_client.cc props_.set_battery_time_to_full_sec(std::max(static_cast<int64>(1), max 833 chromeos/dbus/power_manager_client.cc brightness_ = std::min(std::max(0.0, percent), 100.0); max 46 chromeos/process_proxy/process_output_watcher.cc max_fd_ = std::max(out_fd_, stop_fd_); max 417 components/autofill/content/browser/wallet/wallet_items.cc active_account_index_(std::numeric_limits<size_t>::max()), max 1134 components/autofill/core/browser/autofill_manager.cc DCHECK(cc_id <= std::numeric_limits<unsigned short>::max()); max 1135 components/autofill/core/browser/autofill_manager.cc DCHECK(profile_id <= std::numeric_limits<unsigned short>::max()); max 1147 components/autofill/core/browser/autofill_manager.cc std::numeric_limits<unsigned short>::max(); max 1148 components/autofill/core/browser/autofill_manager.cc int profile_id = id & std::numeric_limits<unsigned short>::max(); max 358 components/autofill/core/browser/webdata/autofill_table.cc return std::numeric_limits<time_t>::max(); max 341 components/cloud_devices/printer_description.cc int32 diff = std::max(std::abs(width_um - kMediaDefinitions[i].width_um), max 159 components/domain_reliability/scheduler.cc base::TimeDelta min_delay = std::max(min_by_deadline, min_by_backoff) - now; max 160 components/domain_reliability/scheduler.cc base::TimeDelta max_delay = std::max(max_by_deadline, min_by_backoff) - now; max 104 components/domain_reliability/scheduler_unittest.cc void ScheduleUploadCallback(TimeDelta min, TimeDelta max) { max 107 components/domain_reliability/scheduler_unittest.cc callback_max_ = max; max 375 components/nacl/browser/pnacl_host.cc info.size >= std::numeric_limits<int>::max()) { max 126 components/nacl/loader/nacl_ipc_adapter.cc if (std::numeric_limits<int64_t>::max() - length < offset) max 131 components/nacl/loader/nonsfi/elf_loader.cc end = std::max(end, phdr.p_vaddr + phdr.p_memsz); max 363 components/password_manager/core/browser/login_database.cc s.BindInt64(1, delete_end.is_null() ? std::numeric_limits<int64>::max() max 523 components/password_manager/core/browser/login_database.cc s.BindInt64(1, end.is_null() ? std::numeric_limits<int64>::max() max 105 components/policy/core/browser/configuration_policy_handler.cc int max, max 109 components/policy/core/browser/configuration_policy_handler.cc max_(max), max 145 components/policy/core/browser/configuration_policy_handler.cc value = std::min(std::max(value, min_), max_); max 237 components/policy/core/browser/configuration_policy_handler.cc int max, max 239 components/policy/core/browser/configuration_policy_handler.cc : IntRangePolicyHandlerBase(policy_name, min, max, clamp), max 265 components/policy/core/browser/configuration_policy_handler.cc int max, max 267 components/policy/core/browser/configuration_policy_handler.cc : IntRangePolicyHandlerBase(policy_name, min, max, clamp), max 112 components/policy/core/browser/configuration_policy_handler.h int max, max 207 components/policy/core/browser/configuration_policy_handler.h int max, max 230 components/policy/core/browser/configuration_policy_handler.h int max, max 107 components/policy/core/browser/url_blacklist_manager.cc const FilterComponents* max = NULL; max 113 components/policy/core/browser/url_blacklist_manager.cc if (!max || FilterTakesPrecedence(filter, *max)) max 114 components/policy/core/browser/url_blacklist_manager.cc max = &filter; max 118 components/policy/core/browser/url_blacklist_manager.cc if (!max) max 121 components/policy/core/browser/url_blacklist_manager.cc return !max->allow; max 99 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc refresh_delay_ms_ = std::min(std::max(refresh_delay, kRefreshDelayMinMs), max 313 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc std::max((last_refresh_ + delta) - base::Time::NowFromSystemTime(), max 443 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc CheckTiming(std::max(std::min(expected_delay_ms, kPolicyRefreshRate), max 111 components/policy/core/common/config_dir_policy_loader.cc last_modification = std::max(last_modification, info.last_modified); max 49 components/policy/core/common/policy_statistics_collector.cc TimeDelta delay = std::max(Time::Now() - last_update, TimeDelta::FromDays(0)); max 384 components/sync_driver/model_association_manager.cc std::max(base::TimeDelta(), type_start_time - association_start_time_); max 109 components/translate/core/common/translate_metrics_unittest.cc HistogramBase::Sample max; max 111 components/translate/core/common/translate_metrics_unittest.cc i->Get(&min, &max, &count); max 112 components/translate/core/common/translate_metrics_unittest.cc if (min <= value && value <= max && count >= 1) max 37 components/variations/entropy_provider.cc (std::numeric_limits<uint32>::max() / range) * range - 1; max 110 components/variations/entropy_provider.cc DCHECK_LE(low_entropy_source_max, std::numeric_limits<uint16>::max()); max 336 components/variations/entropy_provider_unittest.cc const uint32 kTopOfRange = (std::numeric_limits<uint32>::max() / 4ULL) * 3ULL; max 133 components/webdata/common/web_database.cc int current_version = std::max(meta_table_.GetVersionNumber(), max 244 content/browser/accessibility/browser_accessibility.cc int overlap_start = std::max(start, child_start); max 37 content/browser/accessibility/browser_accessibility_manager_android.cc int Clamp(int val, int min, int max) { max 38 content/browser/accessibility/browser_accessibility_manager_android.cc return std::min(std::max(val, min), max); max 81 content/browser/android/date_time_chooser_android.cc double max, max 112 content/browser/android/date_time_chooser_android.cc max, max 35 content/browser/android/date_time_chooser_android.h double max, max 311 content/browser/android/edge_effect.cc std::numeric_limits<float>::max(); max 15 content/browser/android/overscroll_glow.cc using std::max; max 283 content/browser/android/overscroll_glow.cc max(overscroll_pull.y(), 0.f), // Bottom max 284 content/browser/android/overscroll_glow.cc max(overscroll_pull.x(), 0.f) // Right max 308 content/browser/android/overscroll_glow.cc old_overscroll.y() <= 0 && overscroll.y() > 0 ? max(velocity.y(), 0.f) : 0, max 309 content/browser/android/overscroll_glow.cc old_overscroll.x() <= 0 && overscroll.x() > 0 ? max(velocity.x(), 0.f) : 0 max 220 content/browser/byte_stream.cc size_t space_limit = std::numeric_limits<size_t>::max() - max 595 content/browser/byte_stream_unittest.cc std::numeric_limits<size_t>::max(), max 602 content/browser/byte_stream_unittest.cc std::numeric_limits<size_t>::max())); max 237 content/browser/dom_storage/session_storage_database_unittest.cc max_map_id = std::max(map_id, max_map_id); max 223 content/browser/download/download_stats.cc int64 max = 1024 * 1024 * 1024; // One Terabyte. max 228 content/browser/download/download_stats.cc max, max 331 content/browser/download/download_stats.cc int max = 1024 * 1024; // One Megabyte. max 332 content/browser/download/download_stats.cc UMA_HISTOGRAM_CUSTOM_COUNTS("Download.WriteSize", data_len, 1, max, 256); max 342 content/browser/download/download_stats.cc int64 max = 1024 * 1024 * 1024; // One Terabyte. max 350 content/browser/download/download_stats.cc max, max 356 content/browser/download/download_stats.cc max, max 364 content/browser/download/download_stats.cc max, max 17 content/browser/gamepad/raw_input_data_fetcher_win.cc float NormalizeAxis(long value, long min, long max) { max 18 content/browser/gamepad/raw_input_data_fetcher_win.cc return (2.f * (value - min) / static_cast<float>(max - min)) - 1.f; max 288 content/browser/gamepad/raw_input_data_fetcher_win.cc gamepad_info->buttons_length = std::max( max 309 content/browser/gamepad/raw_input_data_fetcher_win.cc std::max(gamepad_info->axes_length, axis_index + 1); max 332 content/browser/gamepad/raw_input_data_fetcher_win.cc std::max(gamepad_info->axes_length, next_index + 1); max 163 content/browser/gamepad/xbox_data_fetcher_mac.cc (std::numeric_limits<uint8>::max() - kXbox360TriggerDeadzone); max 63 content/browser/geolocation/network_location_request.cc const int max = 20; max 66 content/browser/geolocation/network_location_request.cc count, min, max, buckets); max 31 content/browser/geolocation/wifi_data.cc std::max(access_point_data.size(), other.access_point_data.size()); max 259 content/browser/gpu/gpu_data_manager_impl_private.cc int landscape_width = std::max(display_width, display_height); max 483 content/browser/gpu/gpu_process_host.cc std::max(0, gpu_recent_crash_count - hours_different); max 540 content/browser/indexed_db/indexed_db_backing_store.cc const int max = 300; max 546 content/browser/indexed_db/indexed_db_backing_store.cc max, max 222 content/browser/indexed_db/indexed_db_leveldb_coding.cc inline void EncodeIntSafely(int64 nParam, int64 max, std::string* into) { max 223 content/browser/indexed_db/indexed_db_leveldb_coding.cc DCHECK_LE(nParam, max); max 1335 content/browser/indexed_db/indexed_db_leveldb_coding.cc return Encode(std::numeric_limits<int64>::max()); max 1444 content/browser/indexed_db/indexed_db_leveldb_coding.cc std::numeric_limits<int64>::max(), max 1508 content/browser/indexed_db/indexed_db_leveldb_coding.cc std::numeric_limits<int64>::max(), max 1564 content/browser/indexed_db/indexed_db_leveldb_coding.cc return Encode(database_id, std::numeric_limits<int64>::max()); max 1614 content/browser/indexed_db/indexed_db_leveldb_coding.cc database_id, object_store_id, std::numeric_limits<int64>::max()); max 1973 content/browser/indexed_db/indexed_db_leveldb_coding.cc std::numeric_limits<int64>::max()); max 886 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc IndexDataKey::EncodeMaxKey(1, 2, std::numeric_limits<int32>::max() - 1)); max 338 content/browser/media/capture/desktop_capture_device.cc base::TimeDelta capture_period = std::max( max 34 content/browser/media/capture/desktop_capture_device_aura.cc return std::max(0, std::min(x, 255)); max 113 content/browser/media/capture/video_capture_oracle.cc std::max<int64>(0, token_bucket_.InMicroseconds())); max 125 content/browser/media/capture/video_capture_oracle.cc std::max<int64>(0, token_bucket_.InMicroseconds())); max 97 content/browser/media/capture/web_contents_video_capture_device.cc result.set_width(std::max(kMinFrameWidth, MakeEven(result.width()))); max 98 content/browser/media/capture/web_contents_video_capture_device.cc result.set_height(std::max(kMinFrameHeight, MakeEven(result.height()))); max 40 content/browser/media/webrtc_identity_store.cc int serial_number = base::RandInt(0, std::numeric_limits<int>::max()); max 237 content/browser/plugin_data_remover_impl.cc std::numeric_limits<uint64>::max() : max 545 content/browser/renderer_host/backing_store_gtk.cc (std::numeric_limits<size_t>::max() / image->bytes_per_line)) { max 639 content/browser/renderer_host/backing_store_gtk.cc std::max(clip_rect.y(), clip_rect.y() - delta.y()), max 643 content/browser/renderer_host/backing_store_gtk.cc std::max(clip_rect.y(), clip_rect.y() + delta.y()) /* dest y */ max 650 content/browser/renderer_host/backing_store_gtk.cc std::max(clip_rect.x(), clip_rect.x() - delta.x()), max 654 content/browser/renderer_host/backing_store_gtk.cc std::max(clip_rect.x(), clip_rect.x() + delta.x()) /* dest x */, max 315 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc EXPECT_GE(std::max(expected_bitmap.width(), expected_bitmap.height()) * 2, max 380 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()) * 2, max 384 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()), max 389 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()), max 102 content/browser/renderer_host/input/motion_event_web.cc return 2.f * std::max(event_.touches[pointer_index].radiusX, max 282 content/browser/renderer_host/java/java_bound_object.cc intermediate = std::max(intermediate, static_cast<double>(kint32min)); max 376 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc int64_t reservation_amount = std::max<int64_t>(kMinimumQuotaReservationSize, max 1326 content/browser/renderer_host/render_message_filter.cc if (stride > std::numeric_limits<uint32>::max()) { max 1332 content/browser/renderer_host/render_message_filter.cc if (buffer_size > std::numeric_limits<size_t>::max()) { max 382 content/browser/renderer_host/render_process_host_impl.cc max_count = std::max(max_count, kMinRendererProcessCount); max 1328 content/browser/renderer_host/render_process_host_impl.cc size_t smallest_size = std::numeric_limits<size_t>::max(); max 299 content/browser/renderer_host/ui_events_helper.cc point->radiusX = std::max(1.f, event.radius_x()); max 300 content/browser/renderer_host/ui_events_helper.cc point->radiusY = std::max(1.f, event.radius_y()); max 792 content/browser/speech/speech_recognizer_impl.cc level = std::min(std::max(0.0f, level), kAudioMeterRangeMaxUnclipped); max 799 content/browser/speech/speech_recognizer_impl.cc noise_level = std::min(std::max(0.0f, noise_level), max 883 content/browser/tracing/tracing_controller_impl.cc std::max(maximum_trace_buffer_percent_full_, percent_full); max 51 content/browser/vibration/vibration_message_filter.cc milliseconds = std::max(kMinimumVibrationDurationMs, std::min(milliseconds, max 211 content/browser/web_contents/aura/gesture_nav_simple.cc int y = std::max(0, (window_bounds.height() - kArrowHeight) / 2); max 140 content/browser/web_contents/aura/window_slider.cc std::max(delta_x_ + active_start_threshold_, max 853 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(std::max(-bounds.width(), delta_x), 0); max 885 content/browser/web_contents/web_contents_view_aura.cc brightness = std::max(kBrightnessMin, brightness); max 466 content/child/blink_platform_impl.cc const char* name, int sample, int min, int max, int bucket_count) { max 470 content/child/blink_platform_impl.cc base::Histogram::FactoryGet(name, min, max, bucket_count, max 91 content/child/blink_platform_impl.h const char* name, int sample, int min, int max, int bucket_count); max 290 content/child/npapi/plugin_url_fetcher.cc int expected_length = std::max(static_cast<int>(info.content_length), 0); max 243 content/child/npapi/webplugin_delegate_impl_gtk.cc std::max(1, width), std::max(1, height), max 414 content/child/npapi/webplugin_delegate_impl_gtk.cc std::max(1, pixmap_rect.width()), max 415 content/child/npapi/webplugin_delegate_impl_gtk.cc std::max(1, pixmap_rect.height()), max 839 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.top = std::max(0, clip_rect_.y()); max 840 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.left = std::max(0, clip_rect_.x()); max 841 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.bottom = std::max(0, clip_rect_.y() + clip_rect_.height()); max 842 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.right = std::max(0, clip_rect_.x() + clip_rect_.width()); max 743 content/child/resource_dispatcher.cc int64 result = std::max(browser_completion_time.ToInternalValue(), max 97 content/child/touch_fling_gesture_curve.cc float max_start_velocity = std::max(fabs(initial_velocity.x), max 42 content/child/webthemeengine_impl_mac.cc trackInfo.max = scrollbarInfo.maxValue; max 706 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::CheckerboardDrawQuad)); max 709 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::DebugBorderDrawQuad)); max 712 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::IOSurfaceDrawQuad)); max 715 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::PictureDrawQuad)); max 718 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::TextureDrawQuad)); max 721 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::RenderPassDrawQuad)); max 724 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::SolidColorDrawQuad)); max 727 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::SurfaceDrawQuad)); max 730 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::TileDrawQuad)); max 733 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::StreamVideoDrawQuad)); max 736 content/common/cc_messages_unittest.cc largest = std::max(largest, sizeof(cc::YUVVideoDrawQuad)); max 802 content/common/cc_messages_unittest.cc int max = std::numeric_limits<int>::max(); max 803 content/common/cc_messages_unittest.cc frame_in.size = gfx::Size(max, max); max 259 content/common/cursors/webcursor.cc hotspot_.set_x(std::max(0, max 261 content/common/cursors/webcursor.cc hotspot_.set_y(std::max(0, max 199 content/common/gpu/client/context_provider_command_buffer.cc ? std::numeric_limits<size_t>::max() : mapped_memory_limit; max 150 content/common/gpu/client/gl_helper_unittest.cc pixels->getAddr32(std::max(0, std::min(x, pixels->width() - 1)), max 151 content/common/gpu/client/gl_helper_unittest.cc std::max(0, std::min(y, pixels->height() - 1))); max 162 content/common/gpu/client/gl_helper_unittest.cc v = std::max(0, std::min(v, 255)); max 197 content/common/gpu/gpu_memory_manager.cc bytes_available_gpu_memory_ = std::max(bytes_available_gpu_memory_, max 423 content/common/gpu/gpu_memory_manager.cc return std::numeric_limits<uint64>::max(); max 444 content/common/gpu/gpu_memory_manager.cc return std::numeric_limits<uint64>::max(); max 469 content/common/gpu/gpu_memory_manager.cc bytes_required = std::max(bytes_required, GetMinimumClientAllocation()); max 473 content/common/gpu/gpu_memory_manager.cc bytes_nicetohave = std::max(bytes_nicetohave, GetMinimumClientAllocation()); max 474 content/common/gpu/gpu_memory_manager.cc bytes_nicetohave = std::max(bytes_nicetohave, bytes_required); max 488 content/common/gpu/gpu_memory_manager.cc uint64 bytes_above_required_cap = std::numeric_limits<uint64>::max(); max 489 content/common/gpu/gpu_memory_manager.cc uint64 bytes_above_minimum_cap = std::numeric_limits<uint64>::max(); max 559 content/common/gpu/gpu_memory_manager.cc bytes_above_minimum_cap = std::numeric_limits<uint64>::max(); max 578 content/common/gpu/gpu_memory_manager.cc bytes_allocated_max_client_allocation = std::max( max 216 content/common/gpu/gpu_memory_manager_unittest.cc bytes = std::max(bytes, memmgr_.GetDefaultAvailableGpuMemory()); max 115 content/common/gpu/media/dxva_video_decode_accelerator.cc sample.Attach(CreateEmptySampleWithBuffer(std::max(min_size, size), max 878 content/common/gpu/media/vaapi_h264_decoder.cc CHECK(to <= std::numeric_limits<int>::max() - 2); max 1258 content/common/gpu/media/vaapi_h264_decoder.cc std::max<int>(parser_.GetSPS(curr_sps_id_)->max_num_ref_frames, max 1261 content/common/gpu/media/vaapi_h264_decoder.cc std::max<int>(parser_.GetSPS(curr_sps_id_)->max_num_ref_frames, max 1241 content/common/gpu/media/video_decode_accelerator_unittest.cc int delay_after_frame_num = std::numeric_limits<int>::max(); max 1507 content/common/gpu/media/video_decode_accelerator_unittest.cc std::numeric_limits<int>::max(), max 39 content/common/gpu/media/video_encode_accelerator_unittest.cc std::numeric_limits<unsigned int>::max() - kMaxKeyframeDelay; max 325 content/common/page_state_serialization.cc static_cast<size_t>(std::numeric_limits<int>::max())); max 368 content/common/page_state_serialization.cc CHECK_LT(v.size(), std::numeric_limits<int>::max() / sizeof(T)); max 376 content/common/page_state_serialization.cc if (std::numeric_limits<int>::max() / element_size <= num_elements) { max 339 content/common/sandbox_linux/sandbox_linux.cc rlim_t address_space_limit = std::numeric_limits<uint32_t>::max(); max 358 content/common/sandbox_linux/sandbox_linux.cc const rlim_t kNewDataSegmentMaxSize = std::numeric_limits<int>::max(); max 109 content/ppapi_plugin/ppapi_thread.cc base::RandInt(0, std::numeric_limits<PP_Module>::max())), max 230 content/ppapi_plugin/ppapi_thread.cc plugin_dispatchers_.size() >= std::numeric_limits<uint32>::max()) { max 2301 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java contentWidth = Math.max(contentWidth, max 2303 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java contentHeight = Math.max(contentHeight, max 2905 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int maxScrollXPix = Math.max(0, mRenderCoordinates.getMaxHorizontalScrollPixInt()); max 2906 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int maxScrollYPix = Math.max(0, mRenderCoordinates.getMaxVerticalScrollPixInt()); max 568 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java int rangeType, float min, float max, float current) { max 663 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java int rangeType, float min, float max, float current) { max 668 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java bundle.putFloat("AccessibilityNodeInfo.RangeInfo.max", max); max 60 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java int rangeType, float min, float max, float current) { max 62 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java rangeType, min, max, current)); max 93 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java int rangeType, float min, float max, float current) { max 423 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java int b = Math.max(start, end); max 41 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java double min, double max, double step, max 43 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java mInputDialogContainer.showDialog(dialogType, dialogValue, min, max, step, suggestions); max 51 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java double min, double max, double step, max 57 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java chooser.showDialog(dialogType, dialogValue, min, max, step, suggestions); max 63 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java double min, double max) { max 67 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java mMaxTimeMillis = (long) max; max 80 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java double min, double max, double step) { max 110 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java 0, 0, 0, 0, 0, min, max, step); max 115 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java 0, 0, 0, min, max, step); max 126 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java 0, min, max, step); max 129 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java 0, 0, 0, 0, 0, min, max, step); max 133 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java showPickerDialog(dialogType, year, 0, 0, 0, 0, 0, 0, week, min, max, step); max 139 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java final double min, final double max, final double step, max 150 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java showPickerDialog(dialogType, dialogValue, min, max, step); max 198 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java double min, double max, double step, max 204 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java showPickerDialog(type, value, min, max, step); max 206 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java showSuggestionDialog(type, value, min, max, step, suggestions); max 213 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java double min, double max, double step) { max 225 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java (long) min, (long) max); max 233 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java (int) min, (int) max, stepTime, max 242 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java DateFormat.is24HourFormat(mContext), min, max); max 245 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java year, month, min, max); max 248 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java year, week, min, max); max 325 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java coords[0] = Math.max(0, coords[0]); max 54 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java int min, int max, int step, boolean is24hourFormat, max 61 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java if (min >= max) { max 63 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java max = 24 * HOUR_IN_MILLIS - 1; max 82 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java int maxHour = max / HOUR_IN_MILLIS; max 84 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java max -= maxHour * HOUR_IN_MILLIS; max 140 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java int maxMinute = max / MINUTE_IN_MILLIS; max 142 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java max -= maxMinute * MINUTE_IN_MILLIS; max 173 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java int maxSecond = max / SECOND_IN_MILLIS; max 175 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java max -= maxSecond * SECOND_IN_MILLIS; max 207 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java mMilliSpinner.setMaxValue(max / step); max 209 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java if (min == max) { max 230 content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java for (int i = min; i < max; i += step) { max 69 content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java assertTrue(viewportWidth <= Math.max(981, metrics.widthPixels / metrics.density + 1)); max 360 content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java double min, double max, double step) { max 371 content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java mExpectedMax = max; max 379 content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java double min, double max, double step) { max 390 content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java assertEquals(mExpectedMax, max); max 1111 content/renderer/browser_plugin/browser_plugin.cc std::max(sizeof(unsigned int), max 35 content/renderer/disambiguation_popup_helper.cc using std::max; max 45 content/renderer/disambiguation_popup_helper.cc smallest_target = max(smallest_target, 1.0f); max 46 content/renderer/disambiguation_popup_helper.cc return min(kDisambiguationPopupMaxScale, max(kDisambiguationPopupMinScale, max 111 content/renderer/gpu/render_widget_compositor.cc std::numeric_limits<int>::max(), &default_tile_width); max 116 content/renderer/gpu/render_widget_compositor.cc std::numeric_limits<int>::max(), &default_tile_height); max 124 content/renderer/gpu/render_widget_compositor.cc std::numeric_limits<int>::max(), max 130 content/renderer/gpu/render_widget_compositor.cc std::numeric_limits<int>::max(), max 231 content/renderer/gpu/render_widget_compositor.cc 1, std::numeric_limits<int>::max(), max 36 content/renderer/image_loading_helper.cc uint32_t max_dimension = std::max(image.width(), image.height()); max 65 content/renderer/image_loading_helper.cc max_image_size = std::numeric_limits<uint32_t>::max(); max 68 content/renderer/image_loading_helper.cc uint32_t min_image_size = std::numeric_limits<uint32_t>::max(); max 75 content/renderer/image_loading_helper.cc uint32_t current_size = std::max(it->width(), it->height()); max 98 content/renderer/media/android/audio_decoder_android.cc const float kMaxScale = 1.0f / std::numeric_limits<int16_t>::max(); max 456 content/renderer/media/android/audio_decoder_android.cc decoded_samples.reserve(std::max(samples_in_pipe, max 695 content/renderer/media/android/media_source_delegate.cc if (duration_ms > std::numeric_limits<int32>::max()) { max 698 content/renderer/media/android/media_source_delegate.cc return std::numeric_limits<int32>::max(); max 428 content/renderer/media/android/webmediaplayer_android.cc return std::min(std::numeric_limits<int32>::max() / 1000.0, duration()); max 1439 content/renderer/media/android/webmediaplayer_android.cc if (system_code > std::numeric_limits<unsigned short>::max()) { max 1441 content/renderer/media/android/webmediaplayer_android.cc short_system_code = std::numeric_limits<unsigned short>::max(); max 79 content/renderer/media/buffered_resource_loader.cc playback_rate = std::max(playback_rate, 1.0f); max 85 content/renderer/media/buffered_resource_loader.cc *out_forward_capacity = std::max( max 87 content/renderer/media/buffered_resource_loader.cc *out_backward_capacity = std::max( max 17 content/renderer/media/media_stream_audio_level_calculator.cc int max = 0, absolute = 0; max 20 content/renderer/media/media_stream_audio_level_calculator.cc if (absolute > max) max 21 content/renderer/media/media_stream_audio_level_calculator.cc max = absolute; max 25 content/renderer/media/media_stream_audio_level_calculator.cc DCHECK(max <= std::abs(std::numeric_limits<int16>::min())); max 27 content/renderer/media/media_stream_audio_level_calculator.cc return max; max 49 content/renderer/media/media_stream_audio_level_calculator.cc int max = MaxAmplitude(audio_data, number_of_channels * number_of_frames); max 50 content/renderer/media/media_stream_audio_level_calculator.cc max_amplitude_ = std::max(max_amplitude_, max); max 69 content/renderer/media/media_stream_audio_processor.cc int buffer_size = std::max( max 253 content/renderer/media/media_stream_audio_processor.cc std::numeric_limits<base::subtle::Atomic32>::max()); max 468 content/renderer/media/media_stream_audio_processor.cc std::numeric_limits<base::subtle::Atomic32>::max()); max 241 content/renderer/media/media_stream_video_source.cc int best_diff = std::numeric_limits<int>::max(); max 266 content/renderer/media/media_stream_video_source.cc int max_width = std::numeric_limits<int>::max(); max 267 content/renderer/media/media_stream_video_source.cc int max_height = std::numeric_limits<int>::max();; max 753 content/renderer/media/rtc_video_decoder.cc size_t size_to_allocate = std::max(min_size, kSharedMemorySegmentBytes); max 434 content/renderer/media/video_capture_impl.cc width = std::max(width, it->second.requested_format.frame_size.width()); max 435 content/renderer/media/video_capture_impl.cc height = std::max(height, it->second.requested_format.frame_size.height()); max 439 content/renderer/media/video_capture_impl.cc width = std::max(width, it->second.requested_format.frame_size.width()); max 440 content/renderer/media/video_capture_impl.cc height = std::max(height, it->second.requested_format.frame_size.height()); max 1070 content/renderer/media/webmediaplayer_impl.cc if (system_code > std::numeric_limits<unsigned short>::max()) { max 1072 content/renderer/media/webmediaplayer_impl.cc short_system_code = std::numeric_limits<unsigned short>::max(); max 205 content/renderer/npapi/webplugin_impl.cc static_cast<uint32>(std::max(response.expectedContentLength(), 0LL)); max 256 content/renderer/pepper/message_channel.cc if (std::numeric_limits<size_t>::max() / sizeof(NPIdentifier) <= max 96 content/renderer/pepper/pepper_browser_connection.cc if (next_sequence_number_ == std::numeric_limits<int32_t>::max()) max 368 content/renderer/pepper/pepper_video_capture_host.cc buffer_count_hint_ = std::min(std::max(buffer_count, 1U), kMaxBuffers); max 371 content/renderer/pepper/pepper_video_capture_host.cc std::min(std::max(device_info.frames_per_second, 1U), max 80 content/renderer/pepper/ppb_image_data_impl.cc std::numeric_limits<int32>::max() / 4) max 2713 content/renderer/render_frame_impl.cc std::max(render_view_->last_page_id_sent_to_browser_, max 224 content/renderer/render_thread_impl.cc const char *name, int min, int max, size_t buckets) { max 236 content/renderer/render_thread_impl.cc histogram_name, min, max, buckets, max 841 content/renderer/render_thread_impl.cc if (size > static_cast<size_t>(std::numeric_limits<int>::max())) max 259 content/renderer/render_widget.cc std::max(original_size_.width() - 2 * params_.viewInsets.width, 1); max 261 content/renderer/render_widget.cc std::max(original_size_.height() - 2 * params_.viewInsets.height, 1); max 266 content/renderer/render_widget.cc float ratio = std::max(1.0f, std::max(width_ratio, height_ratio)); max 364 content/renderer/renderer_webkitplatformsupport_impl.cc sudden_termination_disables_ = std::max(sudden_termination_disables_ - 1, max 35 content/renderer/sad_plugin.cc SkIntToScalar(std::max(0, (width - sad_plugin_bitmap.width()) / 2)), max 36 content/renderer/sad_plugin.cc SkIntToScalar(std::max(0, (height - sad_plugin_bitmap.height()) / 2))); max 593 content/shell/renderer/test_runner/WebTestProxy.cpp int left = max(damageRect.x, clientRect.x); max 594 content/shell/renderer/test_runner/WebTestProxy.cpp int top = max(damageRect.y, clientRect.y); max 713 content/shell/renderer/test_runner/WebTestProxy.cpp int right = max(m_paintRect.x + m_paintRect.width, rect.x + rect.width); max 714 content/shell/renderer/test_runner/WebTestProxy.cpp int bottom = max(m_paintRect.y + m_paintRect.height, rect.y + rect.height); max 802 content/shell/renderer/test_runner/web_ax_object_proxy.cc int right = std::max(bounds.x + bounds.width, next.x + next.width); max 803 content/shell/renderer/test_runner/web_ax_object_proxy.cc int bottom = std::max(bounds.y + bounds.height, next.y + next.height); max 131 content/test/content_test_launcher.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); max 321 courgette/adjustment_method_2.cc void Print(int max) { max 328 courgette/adjustment_method_2.cc if (++count > max) break; max 606 courgette/adjustment_method_2.cc size_t max) { max 613 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->model_histogram_, " ", max); max 615 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->program_histogram_, " ", max); max 756 courgette/adjustment_method_2.cc candidates->Print(std::numeric_limits<int>::max()); max 1088 courgette/adjustment_method_2.cc *slot = std::max(*slot, score); max 130 courgette/ensemble_create.cc size_t high_size = std::max(old_size, new_size); max 184 courgette/ensemble_create.cc size_t best_difference = std::numeric_limits<size_t>::max(); max 142 crypto/hmac_win.cc size_t key_blob_size = std::max(offsetof(KeyBlob, key_data) + key_length, max 190 dbus/dbus_statistics.cc dminutes = std::max(dminutes, 1); max 33 extensions/browser/api/storage/local_value_store_cache.cc std::numeric_limits<size_t>::max(), max 34 extensions/browser/api/storage/local_value_store_cache.cc std::numeric_limits<size_t>::max() max 125 gpu/command_buffer/client/fenced_allocator.cc max_size = std::max(max_size, block.size); max 138 gpu/command_buffer/client/fenced_allocator.cc max_size = std::max(max_size, current_size); max 145 gpu/command_buffer/client/fenced_allocator.cc return std::max(max_size, current_size); max 1972 gpu/command_buffer/client/gles2_implementation.cc std::max(static_cast<size_t>(0), max 2043 gpu/command_buffer/client/gles2_implementation.cc std::max(static_cast<size_t>(0), max 3149 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei max = std::numeric_limits<GLsizei>::max(); max 3150 gpu/command_buffer/client/gles2_implementation_unittest.cc EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _)) max 3152 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_->CreateImageCHROMIUM(max, max, 0); max 3167 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei max = std::numeric_limits<GLsizei>::max(); max 3168 gpu/command_buffer/client/gles2_implementation_unittest.cc EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _)) max 3170 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_->CreateImageCHROMIUM(max, max, 0); max 352 gpu/command_buffer/client/program_info_manager.cc max_attrib_name_length_ = std::max( max 363 gpu/command_buffer/client/program_info_manager.cc max_uniform_name_length_ = std::max( max 458 gpu/command_buffer/client/program_info_manager.cc std::max(static_cast<size_t>(0), max 492 gpu/command_buffer/client/program_info_manager.cc std::max(static_cast<size_t>(0), max 117 gpu/command_buffer/client/ring_buffer.cc return std::max(size_ - free_offset_, in_use_offset_); max 147 gpu/command_buffer/client/transfer_buffer.cc needed_buffer_size = std::max(needed_buffer_size, min_buffer_size_); max 148 gpu/command_buffer/client/transfer_buffer.cc needed_buffer_size = std::max(needed_buffer_size, default_buffer_size_); max 584 gpu/command_buffer/client/vertex_array_object_manager.cc std::numeric_limits<GLsizei>::max()); max 77 gpu/command_buffer/common/gles2_cmd_format_test.cc uint32 async_token = std::numeric_limits<uint32>::max() - kCount / 2; max 52 gpu/command_buffer/common/gles2_cmd_utils_unittest.cc const int32 kMax = std::numeric_limits<int32>::max(); max 126 gpu/command_buffer/service/buffer_manager.cc offset <= std::numeric_limits<int32>::max() && max 127 gpu/command_buffer/service/buffer_manager.cc size <= std::numeric_limits<int32>::max() && max 3598 gpu/command_buffer/service/gles2_cmd_decoder.cc width = std::max(1U, width); max 3599 gpu/command_buffer/service/gles2_cmd_decoder.cc height = std::max(1U, height); max 4980 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.z_near = std::min(1.0f, std::max(0.0f, znear)); max 4981 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.z_far = std::min(1.0f, std::max(0.0f, zfar)); max 4986 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.sample_coverage_value = std::min(1.0f, std::max(0.0f, value)); max 7421 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint dest_x_offset = std::max(-x, 0); max 7433 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint read_x = std::max(0, x); max 7434 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint read_end_x = std::max(0, std::min(max_size.width(), max_x)); max 10078 gpu/command_buffer/service/gles2_cmd_decoder.cc level_width = std::max(1, level_width >> 1); max 10079 gpu/command_buffer/service/gles2_cmd_decoder.cc level_height = std::max(1, level_height >> 1); max 10098 gpu/command_buffer/service/gles2_cmd_decoder.cc level_width = std::max(1, level_width >> 1); max 10099 gpu/command_buffer/service/gles2_cmd_decoder.cc level_height = std::max(1, level_height >> 1); max 2399 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint read_x = std::max(0, in_read_x); max 2400 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint read_y = std::max(0, in_read_y); max 2401 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint read_end_x = std::max(0, std::min(kWidth, in_read_x + in_read_width)); max 2402 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint read_end_y = std::max(0, std::min(kHeight, in_read_y + in_read_height)); max 2435 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint num_left_pixels = std::max(-in_read_x, 0); max 2440 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint num_right_pixels = std::max(in_read_x + in_read_width - kWidth, 0); max 2447 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint x = std::max(in_read_x, 0); max 2449 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc std::max(in_read_width - num_left_pixels - num_right_pixels, 0); max 8674 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc InitializeContextState(&prev_state, std::numeric_limits<uint32>::max(), 0); max 8705 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc InitializeContextState(&prev_state, std::numeric_limits<uint32>::max(), 0); max 403 gpu/command_buffer/service/program_manager.cc max_attrib_name_length_ = std::max( max 913 gpu/command_buffer/service/program_manager.cc std::max(max_uniform_name_length_, max 477 gpu/command_buffer/service/test_helper.cc max_attrib_len = std::max(max_attrib_len, len); max 510 gpu/command_buffer/service/test_helper.cc max_uniform_len = std::max(max_uniform_len, len); max 297 gpu/command_buffer/service/texture_manager.cc width = std::max(1, width >> 1); max 298 gpu/command_buffer/service/texture_manager.cc height = std::max(1, height >> 1); max 299 gpu/command_buffer/service/texture_manager.cc depth = std::max(1, depth >> 1); max 502 gpu/command_buffer/service/texture_manager.cc max_level_set_ = std::max(max_level_set_, level); max 730 gpu/command_buffer/service/texture_manager.cc width = std::max(1, width >> 1); max 731 gpu/command_buffer/service/texture_manager.cc height = std::max(1, height >> 1); max 732 gpu/command_buffer/service/texture_manager.cc depth = std::max(1, depth >> 1); max 1278 gpu/command_buffer/service/texture_manager.cc base::bits::Log2Floor(std::max(std::max(width, height), depth)); max 112 gpu/command_buffer/tests/gl_pointcoord_unittest.cc point_step = std::max(1, point_step); max 38 ipc/ipc_channel.cc base::RandInt(0, std::numeric_limits<int32>::max())); max 511 ipc/ipc_channel_win.cc secret = base::RandInt(0, std::numeric_limits<int>::max()); max 48 ipc/ipc_perftests.cc max_duration_ = std::max(max_duration_, duration); max 151 jingle/glue/channel_socket_adapter.cc CHECK_LT(data_size, static_cast<size_t>(std::numeric_limits<int>::max())); max 434 jingle/glue/pseudotcp_adapter.cc base::TimeDelta::FromMilliseconds(std::max(timeout, 0L)), this, max 66 media/audio/alsa/alsa_input.cc latency_us = std::max(latency_us, AlsaPcmOutputStream::kMinLatencyMicros); max 283 media/audio/alsa/alsa_input.cc long max = 0; max 286 media/audio/alsa/alsa_input.cc &max)) { max 291 media/audio/alsa/alsa_input.cc DCHECK(max > 0); max 293 media/audio/alsa/alsa_input.cc return static_cast<double>(max); max 145 media/audio/alsa/alsa_output.cc latency_(std::max( max 169 media/audio/alsa/alsa_wrapper.cc long* min, long* max) { max 170 media/audio/alsa/alsa_wrapper.cc return snd_mixer_selem_get_capture_volume_range(elem, min, max); max 72 media/audio/alsa/alsa_wrapper.h long* min, long* max); max 362 media/audio/android/audio_manager_android.cc return std::max(kDefaultOutputBufferSize, max 129 media/audio/audio_manager_base.h void SetMaxOutputStreamsAllowed(int max) { max_num_output_streams_ = max; } max 117 media/audio/audio_output_dispatcher_impl.cc CloseIdleStreams(std::max(idle_proxies_, static_cast<size_t>(1))); max 140 media/audio/audio_output_resampler.cc std::max(params_.frames_per_buffer(), kMinLowLatencyFrameSize); max 56 media/audio/audio_power_monitor.cc average_power_ = std::max(0.0f, std::min(1.0f, sum_power / num_channels)); max 355 media/audio/win/audio_low_latency_input_win.cc size_t capture_buffer_size = std::max( max 166 media/base/android/java/src/org/chromium/media/AudioRecordInput.java int audioRecordBufferSizeInBytes = Math.max(mBuffer.capacity(), minBufferSize); max 547 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java Math.max(presentationTimeUs - MAX_PRESENTATION_TIMESTAMP_SHIFT_US, 0); max 288 media/base/android/media_codec_bridge.cc DCHECK(subsamples[i].clear_bytes <= std::numeric_limits<uint16>::max()); max 290 media/base/android/media_codec_bridge.cc static_cast<uint32>(std::numeric_limits<jint>::max())) { max 403 media/base/android/media_decoder_job.cc presentation_timestamp = std::max( max 146 media/base/android/media_source_player.cc base::TimeDelta::FromMilliseconds(std::numeric_limits<int32>::max()); max 937 media/base/android/media_source_player.cc timeout = std::max(timeout, kMinStarvationTimeout); max 151 media/base/audio_buffer_converter.cc std::max(buffer->frame_count(), max 44 media/base/audio_bus.cc float min, float max) { max 54 media/base/audio_bus.cc channel_data[i] = v * (v < 0 ? -min : max); max 64 media/base/audio_bus.cc int frames, void* dst, Fixed min, Fixed max) { max 79 media/base/audio_bus.cc sample = v >= 1 ? max : static_cast<Fixed>(v * max); max 141 media/base/audio_renderer_mixer_unittest.cc 0, frames, 0, std::numeric_limits<double>::max()); max 376 media/base/audio_renderer_mixer_unittest.cc ASSERT_TRUE(RenderAndValidateAudioData(std::max( max 103 media/base/clock.cc return std::max(std::min(time, duration_), base::TimeDelta()); max 105 media/base/multi_channel_resampler_unittest.cc max_error = std::max(max_error, error); max 827 media/base/pipeline.cc base::TimeDelta seek_timestamp = std::max(time, demuxer_->GetStartTime()); max 99 media/base/ranges.h ranges_[i].second = std::max(ranges_[i].second, ranges_[i + 1].second); max 144 media/base/ranges.h T max_start = std::max(start(i), other.start(j)); max 16 media/base/simd/convert_rgb_to_yuv_unittest.cc return std::max(0, std::min(255, y)); max 22 media/base/simd/convert_rgb_to_yuv_unittest.cc return std::max(0, std::min(255, u)); max 28 media/base/simd/convert_rgb_to_yuv_unittest.cc return std::max(0, std::min(255, v)); max 111 media/base/simd/vector_math_sse.cc result.second = std::max(result.second, sample_squared); max 131 media/base/stream_parser_buffer.cc std::max(overlapping_buffer->timestamp() + overlapping_buffer->duration(), max 114 media/base/vector_math.cc result.second = std::max(result.second, sample_squared); max 205 media/base/vector_math.cc result.second = std::max(result.second, sample_squared); max 309 media/cast/audio_receiver/audio_receiver.cc playout_time = now + std::max(rtp_time_diff_delta - time_diff_delta, max 342 media/cast/audio_receiver/audio_receiver.cc time_to_send = std::max( max 367 media/cast/audio_receiver/audio_receiver.cc time_to_send = std::max( max 113 media/cast/audio_sender/audio_sender.cc time_to_next = std::max( max 56 media/cast/congestion_control/congestion_control.cc rtt = std::max(rtt, base::TimeDelta::FromMilliseconds(1)); max 61 media/cast/congestion_control/congestion_control.cc base::TimeDelta change_interval = std::max( max 100 media/cast/congestion_control/congestion_control.cc base::TimeDelta change_interval = std::max( max 115 media/cast/congestion_control/congestion_control.cc std::max(static_cast<uint32>(bitrate_ * congestion_control_back_off_), max 155 media/cast/logging/logging_defines.h int max; max 89 media/cast/logging/stats_event_subscriber.cc stats.max = generic_event.value; max 98 media/cast/logging/stats_event_subscriber.cc } else if (it->second.max < generic_event.value) { max 99 media/cast/logging/stats_event_subscriber.cc it->second.max = generic_event.value; max 155 media/cast/logging/stats_event_subscriber_unittest.cc EXPECT_GE(value, it->second.max); max 428 media/cast/rtcp/rtcp.cc rtt = std::max(rtt, base::TimeDelta::FromMilliseconds(1)); max 431 media/cast/rtcp/rtcp.cc max_rtt_ = std::max(max_rtt_, rtt); max 91 media/cast/test/utility/barcode.cc int min_row = std::max(0, frame->rows(VideoFrame::kYPlane) / 2 - 10); max 119 media/cast/transport/pacing/paced_sender.cc time_to_next = std::max(time_to_next, base::TimeDelta()); max 189 media/cast/transport/pacing/paced_sender.cc packets_to_send = std::max(packets_to_send, max 194 media/cast/transport/pacing/paced_sender.cc std::max(packets_to_send / kPacingMaxBurstsPerFrame, burst_size_); max 464 media/cast/video_receiver/video_receiver.cc time_to_send = std::max( max 486 media/cast/video_receiver/video_receiver.cc time_to_next = std::max( max 401 media/cast/video_sender/codecs/vp8/vp8_encoder.cc return std::max(target_pct, kMinIntra); max 201 media/cast/video_sender/video_sender.cc time_to_next = std::max( max 276 media/cast/video_sender/video_sender.cc time_to_next = std::max( max 319 media/cast/video_sender/video_sender.cc time_to_next = std::max( max 359 media/cast/video_sender/video_sender.cc rtt = std::max(rtt, avg_rtt); max 132 media/ffmpeg/ffmpeg_unittest.cc duration_ = std::max(duration_, duration); max 140 media/ffmpeg/ffmpeg_unittest.cc duration_ = std::max(duration_, duration); max 213 media/ffmpeg/ffmpeg_unittest.cc ReadUntil(std::numeric_limits<int64>::max()); max 563 media/ffmpeg/ffmpeg_unittest.cc std::max(decoded_audio_time() + decoded_audio_duration(), max 685 media/filters/audio_renderer_impl.cc earliest_end_time_ = std::max( max 313 media/filters/audio_renderer_impl_unittest.cc AudioBus::Create(kChannels, std::max(requested_frames, 1)); max 53 media/filters/chunk_demuxer.cc highest_end_time = std::max(highest_end_time, itr->end(itr->size() - 1)); max 354 media/filters/chunk_demuxer.cc max_duration = std::max(max_duration, audio_->GetBufferedDuration()); max 357 media/filters/chunk_demuxer.cc max_duration = std::max(max_duration, video_->GetBufferedDuration()); max 361 media/filters/chunk_demuxer.cc max_duration = std::max(max_duration, itr->second->GetBufferedDuration()); max 1587 media/filters/chunk_demuxer.cc max_duration = std::max(max_duration, max 637 media/filters/ffmpeg_demuxer.cc max_duration = std::max(max_duration, streams_[i]->duration()); max 660 media/filters/ffmpeg_demuxer.cc std::max(max_duration, max 52 media/filters/ffmpeg_video_decoder.cc decode_threads = std::max(decode_threads, 0); max 550 media/filters/gpu_video_decoder.cc size_t size_to_allocate = std::max(min_size, kSharedMemorySegmentBytes); max 91 media/filters/h264_parser.cc #define IN_RANGE_OR_RETURN(val, min, max) \ max 93 media/filters/h264_parser.cc if ((val) < (min) || (val) > (max)) { \ max 95 media/filters/h264_parser.cc << " in range [" << (min) << ":" << (max) << "]" \ max 770 media/filters/source_buffer_stream.cc std::max(max_interbuffer_distance_, interbuffer_distance); max 2073 media/filters/source_buffer_stream.cc std::max(base::TimeDelta(), GetStartTimestamp() - GetFudgeRoom()); max 69 media/filters/vpx_video_decoder.cc decode_threads = std::max(decode_threads, 0); max 253 media/filters/wsola_internals.cc int lim_low = std::max(0, optimal_index - kSearchDecimation); max 161 media/formats/mp4/track_run_iterator.cc int64 a_greater = std::max(a_aux, a.sample_start_offset); max 163 media/formats/mp4/track_run_iterator.cc int64 b_greater = std::max(b_aux, b.sample_start_offset); max 533 media/formats/webm/webm_cluster_parser.cc estimated_next_frame_duration_ = std::max(duration, max 228 media/midi/midi_manager_alsa.cc delay = std::max(time_to_send - base::TimeTicks::Now(), base::TimeDelta()); max 579 media/midi/midi_manager_win.cc delay = std::max(time_to_send - base::TimeTicks::Now(), base::TimeDelta()); max 220 mojo/common/message_pump_mojo.cc std::max(static_cast<MojoDeadline>(0), max 412 mojo/examples/sample_app/spinning_cube.cc std::max(1.0f, fling_multiplier_ - (fling_multiplier_ - 1.0f) / 50); max 137 mojo/gles2/command_buffer_client_impl.cc if (size >= std::numeric_limits<uint32_t>::max()) max 130 mojo/public/cpp/bindings/tests/buffer_unittest.cc buf.Allocate(std::numeric_limits<size_t>::max() - 8u)); max 218 mojo/public/cpp/system/core.h if (handles.size() > std::numeric_limits<uint32_t>::max()) max 223 mojo/system/core_impl_unittest.cc std::numeric_limits<uint32_t>::max(), max 230 mojo/system/core_impl_unittest.cc std::numeric_limits<uint32_t>::max() / max 50 mojo/system/data_pipe.cc out_options->capacity_num_bytes = std::max( max 177 mojo/system/data_pipe_unittest.cc std::numeric_limits<uint32_t>::max(), // |element_num_bytes|. max 178 mojo/system/data_pipe_unittest.cc std::numeric_limits<uint32_t>::max() // |capacity_num_bytes|. max 188 mojo/system/data_pipe_unittest.cc std::numeric_limits<uint32_t>::max() - 1000, // |element_num_bytes|. max 189 mojo/system/data_pipe_unittest.cc std::numeric_limits<uint32_t>::max() - 1000 // |capacity_num_bytes|. max 16 mojo/system/memory.cc if (count > std::numeric_limits<size_t>::max() / size) max 135 mojo/system/message_pipe_dispatcher_unittest.cc d0->WriteMessage(buffer, std::numeric_limits<uint32_t>::max(), max 287 mojo/system/raw_channel.cc size_t new_size = std::max(read_buffer_->buffer_.size(), kReadSize); max 41 mojo/system/raw_shared_buffer_posix.cc static_cast<uint64_t>(std::numeric_limits<off_t>::max())) { max 97 mojo/system/raw_shared_buffer_posix.cc static_cast<uint64_t>(std::numeric_limits<off_t>::max())); max 129 mojo/system/raw_shared_buffer_unittest.cc const size_t kMaxSizeT = std::numeric_limits<size_t>::max(); max 26 mojo/system/raw_shared_buffer_win.cc static_cast<uint64_t>(std::numeric_limits<DWORD>::max())) { max 59 mojo/system/raw_shared_buffer_win.cc static_cast<uint64_t>(std::numeric_limits<DWORD>::max())); max 113 mojo/system/shared_buffer_dispatcher.cc if (offset > static_cast<uint64_t>(std::numeric_limits<size_t>::max())) max 115 mojo/system/shared_buffer_dispatcher.cc if (num_bytes > static_cast<uint64_t>(std::numeric_limits<size_t>::max())) max 180 mojo/system/shared_buffer_dispatcher_unittest.cc std::numeric_limits<uint64_t>::max(), max 57 mojo/system/waiter.cc if (deadline > static_cast<uint64_t>(std::numeric_limits<int64_t>::max())) { max 66 native_client_sdk/src/examples/api/audio/audio.cc const int16_t max_int16 = std::numeric_limits<int16_t>::max(); max 117 native_client_sdk/src/examples/api/gamepad/gamepad.cc for (int y = std::max(0, top); max 120 native_client_sdk/src/examples/api/gamepad/gamepad.cc for (int x = std::max(0, left); max 27 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc uint8_t RandUint8(uint8_t min, uint8_t max) { max 29 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc uint8_t result = static_cast<uint8_t>(r * (max - min + 1) / RAND_MAX) + min; max 153 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc (std::numeric_limits<int16_t>::max() + 1) + mid_height; max 252 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point left_top(std::max(0, center_x - region_of_interest_radius), max 253 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc std::max(0, center_y - region_of_interest_radius)); max 305 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point left_top(std::max(0, center_x - abs_mouse_x), max 306 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc std::max(0, center_y - abs_mouse_y)); max 136 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc double max = *std::max_element(histogram_, histogram_ + kHistogramSize); max 138 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc histogram_[i] /= max; max 649 native_client_sdk/src/examples/demo/earth/earth.cc ui_zoom_ = std::min(kZoomMax, std::max(kZoomMin, zoom)); max 654 native_client_sdk/src/examples/demo/earth/earth.cc ui_light_ = std::min(kLightMax, std::max(kLightMin, light)); max 675 native_client_sdk/src/examples/demo/earth/earth.cc float spin_x = std::min(10.0f, std::max(-10.0f, delta_x * 0.5f)); max 676 native_client_sdk/src/examples/demo/earth/earth.cc float spin_y = std::min(10.0f, std::max(-10.0f, delta_y * 0.5f)); max 483 native_client_sdk/src/examples/demo/voronoi/voronoi.cc point_count_ = std::min(kMaxPointCount, std::max(0, num_points)); max 708 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc ui_zoom_ = std::min(kZoomMax, std::max(kZoomMin, zoom)); max 713 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc ui_light_ = std::min(kLightMax, std::max(kLightMin, light)); max 755 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc float spin_x = std::min(10.0f, std::max(-10.0f, delta_x * 0.5f)); max 756 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc float spin_y = std::min(10.0f, std::max(-10.0f, delta_y * 0.5f)); max 452 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc point_count_ = std::min(kMaxPointCount, std::max(0, num_points)); max 12 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc : fifo_(std::max<size_t>(1, size)) { max 76 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc size_t max = dirents_.size() * sizeof(dirent); max 77 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc if (offs >= max) { max 82 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc if (offs + size >= max) max 83 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc size = max - offs; max 72 native_client_sdk/src/libraries/nacl_io/kernel_object.cc size_t max = abs_parts.Size(); max 74 native_client_sdk/src/libraries/nacl_io/kernel_object.cc FsMap_t::iterator it = filesystems_.find(abs_parts.Range(0, max - len)); max 77 native_client_sdk/src/libraries/nacl_io/kernel_object.cc rel_parts->Append(abs_parts.Range(max - len, max)); max 12 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc : fifo_(std::max<size_t>(1, size)) { max 93 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::max(0, std::min<int32_t>(bytes_to_read, contents_.size() - offset)); max 352 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t max_readable = std::max<size_t>(0, body.length() - offset); max 53 net/base/backoff_entry.cc exponential_backoff_release_time_ = std::max( max 93 net/base/backoff_entry.cc return unused_since_ms >= std::max(policy_->maximum_backoff_ms, max 119 net/base/backoff_entry.cc std::max(0, failure_count_ - policy_->num_errors_to_ignore); max 129 net/base/backoff_entry.cc return std::max(ImplGetTimeNow(), exponential_backoff_release_time_); max 139 net/base/backoff_entry.cc const int64 kMaxInt64 = std::numeric_limits<int64>::max(); max 149 net/base/backoff_entry.cc return std::max( max 144 net/base/escape.cc for (size_t i = 0, max = escaped_text.size(); i < max; ++i) { max 21 net/base/ip_pattern.cc void AppendRange(uint32 min, uint32 max); max 27 net/base/ip_pattern.cc Range(uint32 min, uint32 max) : minimum(min), maximum(max) {} max 40 net/base/ip_pattern.cc void IPPattern::ComponentPattern::AppendRange(uint32 min, uint32 max) { max 41 net/base/ip_pattern.cc ranges_.push_back(Range(min, max)); max 154 net/base/ip_pattern.cc uint32 max = min; // Sometimes we have no distinct max. max 156 net/base/ip_pattern.cc if (!ValueTextToInt(range_pair.token(), &max)) max 164 net/base/ip_pattern.cc pattern->AppendRange(min, max); max 211 net/base/net_util_win.cc net_prefix = std::max<size_t>(net_prefix, prefix->PrefixLength); max 102 net/base/upload_data_stream_unittest.cc bytes_remaining_ = std::max(0, bytes_remaining_ - read_result_); max 2244 net/cookies/cookie_monster.cc return std::max(Time::Now(), max 282 net/disk_cache/blockfile/entry_impl.cc int to_add = std::max(required - current_size, kMaxBlockSize * 4); max 283 net/disk_cache/blockfile/entry_impl.cc to_add = std::max(current_size, to_add); max 1447 net/disk_cache/blockfile/entry_impl.cc int size = std::max(entry_.Data()->data_size[index], min_len); max 231 net/disk_cache/blockfile/entry_impl_v3.cc int to_add = std::max(required - current_size, kMaxBlockSize * 4); max 232 net/disk_cache/blockfile/entry_impl_v3.cc to_add = std::max(current_size, to_add); max 1269 net/disk_cache/blockfile/entry_impl_v3.cc int size = std::max(entry_.Data()->data_size[index], min_len); max 19 net/disk_cache/blockfile/histogram_macros.h #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 22 net/disk_cache/blockfile/histogram_macros.h name, min, max, bucket_count, \ max 36 net/disk_cache/blockfile/histogram_macros.h #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 39 net/disk_cache/blockfile/histogram_macros.h name, min, max, bucket_count, \ max 20 net/disk_cache/blockfile/histogram_macros_v3.h #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ max 25 net/disk_cache/blockfile/histogram_macros_v3.h name, min, max, bucket_count, \ max 39 net/disk_cache/blockfile/histogram_macros_v3.h #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ max 44 net/disk_cache/blockfile/histogram_macros_v3.h name, min, max, bucket_count, \ max 674 net/disk_cache/blockfile/index_table_v3.cc return std::max(delta.InMinutes(), 0); max 788 net/disk_cache/blockfile/sparse_control.cc int empty_start = std::max((found << 10) - child_offset_, 0); max 789 net/disk_cache/blockfile/sparse_control_v3.cc int empty_start = std::max((found << 10) - child_offset_, 0); max 610 net/disk_cache/memory/mem_entry_impl.cc int first_pos = std::max(current_child_offset, child_first_pos); max 73 net/disk_cache/simple/simple_backend_impl.cc std::max(1, std::atoi(thread_count_field_trial.c_str())); max 951 net/disk_cache/simple/simple_entry_impl.cc data_size_[stream_index] = std::max(offset + buf_len, max 1484 net/disk_cache/simple/simple_entry_impl.cc truncate ? offset + buf_len : std::max(offset + buf_len, data_size); max 111 net/disk_cache/simple/simple_index.cc DCHECK_GE(implicit_cast<int64>(std::numeric_limits<uint32>::max()), max 371 net/disk_cache/simple/simple_synchronous_entry.cc index, std::max(out_entry_stat->data_size(index), offset + buf_len)); max 100 net/disk_cache/simple/simple_util.cc DCHECK_GE(implicit_cast<int64>(std::numeric_limits<int32>::max()), data_size); max 258 net/dns/dns_session.cc timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs)); max 289 net/dns/dns_session.cc timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs)); max 457 net/dns/dns_transaction_unittest.cc int GetNextId(int min, int max) { max 462 net/dns/dns_transaction_unittest.cc EXPECT_LE(id, max); max 1620 net/dns/host_resolver_impl.cc std::max(ttl, base::TimeDelta::FromSeconds(kMinimumTTLSeconds)); max 345 net/dns/mdns_cache_unittest.cc std::max(results[0]->type(), results[1]->type())); max 2326 net/http/http_cache_transaction.cc const int result_for_histogram = std::max(0, -result); max 380 net/http/http_proxy_client_socket_pool.cc max_pool_timeout = std::max(max_pool_timeout, max 1083 net/http/http_response_headers.cc TimeDelta apparent_age = std::max(TimeDelta(), response_time - date_value); max 1084 net/http/http_response_headers.cc TimeDelta corrected_received_age = std::max(apparent_age, age_value); max 15 net/quic/congestion_control/cubic.cc using std::max; max 77 net/quic/congestion_control/cubic.cc QuicTcpCongestionWindow highest_new_cwnd = std::max(new_cubic_mode_cwnd, max 114 net/quic/congestion_control/cubic.cc return max(last_target_congestion_window_, max 14 net/quic/congestion_control/fix_rate_sender.cc using std::max; max 107 net/quic/congestion_control/fix_rate_sender.cc return max(kDefaultMaxPacketSize, window_size_bytes); max 11 net/quic/congestion_control/hybrid_slow_start.cc using std::max; max 138 net/quic/congestion_control/hybrid_slow_start.cc max(accepted_variance_us, kHybridStartDelayMinThresholdUs)); max 12 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc using std::max; max 42 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc available_channel_estimate_ = max(new_rate, available_channel_estimate); max 43 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc channel_estimate_ = max(channel_estimate, available_channel_estimate_); max 12 net/quic/congestion_control/inter_arrival_overuse_detector.cc using std::max; max 125 net/quic/congestion_control/inter_arrival_overuse_detector.cc return max(slope_estimate_, delta_estimate_); max 12 net/quic/congestion_control/inter_arrival_probe.cc using std::max; max 117 net/quic/congestion_control/inter_arrival_probe.cc max(available_channel_estimate, max 12 net/quic/congestion_control/inter_arrival_sender.cc using std::max; max 181 net/quic/congestion_control/inter_arrival_sender.cc new_rate = max(new_rate, max 381 net/quic/congestion_control/inter_arrival_sender.cc new_estimate = max(current_bandwidth_, max 439 net/quic/congestion_control/inter_arrival_sender.cc decrease_factor = max(decrease_factor, kMinBitrateReduction); max 449 net/quic/congestion_control/inter_arrival_sender.cc new_target_bitrate = max(new_target_bitrate, min_delay_bitrate); max 469 net/quic/congestion_control/inter_arrival_sender.cc new_rate = max(new_rate, max 11 net/quic/congestion_control/paced_sender.cc using std::max; max 46 net/quic/congestion_control/paced_sender.cc pacing_window = max(pacing_window, min_window_size); max 12 net/quic/congestion_control/tcp_cubic_sender.cc using std::max; max 80 net/quic/congestion_control/tcp_cubic_sender.cc largest_acked_sequence_number_ = max(acked_sequence_number, max 114 net/quic/crypto/common_cert_set.cc size_t max = kSets[j].num_certs - 1; max 115 net/quic/crypto/common_cert_set.cc while (max >= min) { max 116 net/quic/crypto/common_cert_set.cc size_t mid = min + ((max - min) / 2); max 122 net/quic/crypto/common_cert_set.cc max = mid - 1; max 125 net/quic/crypto/quic_server_info.cc state_.certs.size() > std::numeric_limits<uint32>::max() || max 24 net/quic/port_suggester.cc int PortSuggester::SuggestPort(int min, int max) { max 34 net/quic/port_suggester.cc DCHECK_LE(min, max); max 36 net/quic/port_suggester.cc int range = max - min + 1; max 30 net/quic/port_suggester.h int SuggestPort(int min, int max); max 73 net/quic/quic_config.cc void QuicNegotiableUint32::set(uint32 max, uint32 default_value) { max 74 net/quic/quic_config.cc DCHECK_LE(default_value, max); max 75 net/quic/quic_config.cc max_value_ = max; max 79 net/quic/quic_config.h void set(uint32 max, uint32 default_value); max 34 net/quic/quic_connection.cc using std::max; max 1756 net/quic/quic_connection.cc QuicTime time_of_last_packet = max(time_of_last_received_packet_, max 67 net/quic/quic_data_writer.cc result = numeric_limits<uint16>::max(); max 99 net/quic/quic_data_writer.cc if (val.length() > numeric_limits<uint16>::max()) { max 130 net/quic/quic_data_writer.cc DCHECK_LE(length, numeric_limits<uint32>::max()); max 156 net/quic/quic_fec_group.cc return numeric_limits<size_t>::max(); max 22 net/quic/quic_framer.cc using std::max; max 1029 net/quic/quic_framer.cc if (cur_range_length != numeric_limits<uint8>::max() && max 1037 net/quic/quic_framer.cc ack_info.max_delta = max(ack_info.max_delta, *iter - last_missing); max 1043 net/quic/quic_framer.cc ack_info.max_delta = max(ack_info.max_delta, max 2083 net/quic/quic_framer.cc min(static_cast<size_t>(numeric_limits<uint8>::max()), max_num_ranges); max 2193 net/quic/quic_framer.cc static_cast<size_t>(numeric_limits<uint8>::max())); max 2232 net/quic/quic_framer.cc DCHECK_GE(numeric_limits<uint8>::max(), max 2235 net/quic/quic_framer.cc numeric_limits<uint8>::max()) { max 2262 net/quic/quic_framer.cc DCHECK_GE(numeric_limits<uint16>::max(), sequence_delta); max 2263 net/quic/quic_framer.cc if (sequence_delta > numeric_limits<uint16>::max()) { max 591 net/quic/quic_framer_test.cc const uint64 max_number = numeric_limits<uint64>::max(); max 16 net/quic/quic_packet_creator.cc using std::max; max 126 net/quic/quic_packet_creator.cc const uint64 delta = max(current_delta, congestion_window); max 298 net/quic/quic_protocol.cc DCHECK_LE(error_code, numeric_limits<uint8>::max()); max 533 net/quic/quic_protocol.cc DCHECK_LE(error_code, numeric_limits<uint8>::max()); max 12 net/quic/quic_received_packet_manager.cc using std::max; max 52 net/quic/quic_received_packet_manager.cc max(received_info_.largest_observed + 1, peer_least_packet_awaiting_ack_), max 11 net/quic/quic_sent_entropy_manager.cc using std::max; max 19 net/quic/quic_sent_packet_manager.cc using std::max; max 677 net/quic/quic_sent_packet_manager.cc int64 delay_ms = max<int64>(kMinHandshakeTimeoutMs, max 690 net/quic/quic_sent_packet_manager.cc max(kMinTailLossProbeTimeoutMs, max 21 net/quic/quic_stream_sequencer.cc max_frame_memory_(numeric_limits<size_t>::max()), max 22 net/quic/quic_stream_sequencer.cc close_offset_(numeric_limits<QuicStreamOffset>::max()), max 32 net/quic/quic_stream_sequencer.cc close_offset_(numeric_limits<QuicStreamOffset>::max()), max 147 net/quic/quic_stream_sequencer.cc const QuicStreamOffset kMaxOffset = numeric_limits<QuicStreamOffset>::max(); max 12 net/quic/quic_unacked_packet_map.cc using std::max; max 157 net/quic/quic_unacked_packet_map.cc it->second.nack_count = max(min_nacks, it->second.nack_count); max 358 net/quic/quic_unacked_packet_map.cc largest_sent_packet_ = max(sequence_number, largest_sent_packet_); max 22 net/quic/test_tools/quic_test_utils.cc using std::max; max 515 net/quic/test_tools/quic_test_utils.cc const int max_len = max(actual_len, expected_len); max 333 net/server/web_socket.cc static size_t max_length = std::numeric_limits<size_t>::max(); max 580 net/socket/client_socket_pool_base.cc max_state = std::max(max_state, (*job_it)->GetLoadState()); max 3168 net/socket/ssl_client_socket_nss.cc version_range.max = ssl_config_.version_max; max 342 net/socket/ssl_server_socket_nss.cc version_range.max = ssl_config_.version_max; max 22 net/spdy/spdy_framer_test.cc using std::max; max 59 net/spdy/spdy_protocol_test.cc EXPECT_EQ(std::numeric_limits<int32>::max(), kSpdyMaximumWindowSize); max 47 net/spdy/spdy_read_queue_unittest.cc size_t padding = std::max(static_cast<size_t>(4096), queue->GetTotalSize()); max 62 net/spdy/spdy_test_utils.cc const int max_len = std::max(actual_len, expected_len); max 226 net/ssl/server_bound_cert_service.cc serial_number_(base::RandInt(0, std::numeric_limits<int>::max())), max 684 net/third_party/nss/ssl/ssl3con.c return vrange->max >= SSL_LIBRARY_VERSION_TLS_1_2; max 911 net/third_party/nss/ssl/ssl3con.c (peerVersion > ss->vrange.max && !allowLargerPeerVersion)) { max 916 net/third_party/nss/ssl/ssl3con.c ss->version = PR_MIN(peerVersion, ss->vrange.max); max 5035 net/third_party/nss/ssl/ssl3con.c ss->clientHelloVersion > ss->vrange.max) { max 8110 net/third_party/nss/ssl/ssl3con.c if (ss->vrange.max > ss->clientHelloVersion) { max 12341 net/third_party/nss/ssl/ssl3con.c spec->version = ss->vrange.max; max 247 net/third_party/nss/ssl/sslcon.c ss->vrange.max = SSL_LIBRARY_VERSION_NONE; max 3031 net/third_party/nss/ssl/sslcon.c sid->version <= ss->vrange.max) || max 3140 net/third_party/nss/ssl/sslcon.c SSL_LIBRARY_VERSION_2 : ss->vrange.max; max 516 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_TLS_1_0; max 524 net/third_party/nss/ssl/sslsock.c vrange->max = PR_MAX(vrange->max, SSL_LIBRARY_VERSION_TLS_1_0); max 528 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_3_0; max 532 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_NONE; max 546 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_3_0; max 559 net/third_party/nss/ssl/sslsock.c if (vrange->max > SSL_LIBRARY_VERSION_3_0) { max 564 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_NONE; max 846 net/third_party/nss/ssl/sslsock.c on = ss->vrange.max >= SSL_LIBRARY_VERSION_TLS_1_0; max 910 net/third_party/nss/ssl/sslsock.c on = versions_defaults_stream.max >= SSL_LIBRARY_VERSION_TLS_1_0; max 1800 net/third_party/nss/ssl/sslsock.c vrange->min <= vrange->max && max 1802 net/third_party/nss/ssl/sslsock.c ssl3_VersionIsSupported(protocolVariant, vrange->max); max 1817 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_MAX_SUPPORTED; max 1821 net/third_party/nss/ssl/sslsock.c vrange->max = SSL_LIBRARY_VERSION_MAX_SUPPORTED; max 1927 net/third_party/nss/ssl/sslsock.c if (ss->vrange.max >= SSL_LIBRARY_VERSION_TLS_1_2 && max 1937 net/third_party/nss/ssl/sslsock.c ss->vrange.max = SSL_LIBRARY_VERSION_TLS_1_1; max 185 net/third_party/nss/ssl/sslt.h PRUint16 max; max 374 net/tools/balsa/balsa_frame.cc const size_t kMaxDiv10 = std::numeric_limits<size_t>::max() / 10; max 389 net/tools/balsa/balsa_frame.cc (std::numeric_limits<size_t>::max() - status_code_x_10) < c) { max 649 net/tools/balsa/balsa_frame.cc const size_t kMaxDiv10 = std::numeric_limits<size_t>::max() / 10; max 653 net/tools/balsa/balsa_frame.cc (std::numeric_limits<size_t>::max() - length_x_10) < c) { max 1152 net/tools/balsa/balsa_frame.cc return std::numeric_limits<size_t>::max(); max 1324 net/tools/balsa/balsa_frame.cc const size_t kMaxDiv16 = std::numeric_limits<size_t>::max() / 16; max 1326 net/tools/balsa/balsa_frame.cc ((std::numeric_limits<size_t>::max() - length_x_16) < max 396 net/tools/epoll_server/epoll_server.cc wait_time_in_us = std::max(alarm_timeout_in_us, static_cast<int64>(0)); max 59 net/tools/quic/test_tools/packet_dropping_test_writer.cc uint32 seed = base::RandInt(0, std::numeric_limits<int32>::max()); max 210 net/tools/tld_cleanup/tld_cleanup_util.cc result = std::max(result, new_result); max 340 net/udp/udp_socket_unittest.cc int PrivilegedRand(int min, int max) { max 186 net/url_request/url_request_throttler_entry.cc std::max(std::max(now, earliest_time), max 187 net/url_request/url_request_throttler_entry.cc std::max(GetBackoffEntry()->GetReleaseTime(), max 234 net/url_request/url_request_throttler_simulation_unittest.cc max_value = std::max(max_value, columns[cx]); max 596 net/url_request/url_request_throttler_simulation_unittest.cc Server server(std::numeric_limits<int>::max(), 1.0); max 744 net/url_request/url_request_throttler_simulation_unittest.cc max_increase_ratio = std::max(max_increase_ratio, increase_ratio); max 50 net/websockets/websocket_basic_stream.cc const int kMaximumTotalSize = std::numeric_limits<int>::max(); max 44 ppapi/c/private/ppb_uma_private.h int64_t max, max 55 ppapi/c/private/ppb_uma_private.h int32_t max, max 40 ppapi/cpp/private/uma_private.cc int64_t max, max 46 ppapi/cpp/private/uma_private.cc sample, min, max, bucket_count); max 52 ppapi/cpp/private/uma_private.cc int32_t max, max 58 ppapi/cpp/private/uma_private.cc sample, min, max, bucket_count); max 28 ppapi/cpp/private/uma_private.h int64_t max, max 34 ppapi/cpp/private/uma_private.h int32_t max, max 28 ppapi/cpp/rect.cc set_width(std::max<int32_t>(width() - left - right, 0)); max 29 ppapi/cpp/rect.cc set_height(std::max<int32_t>(height() - top - bottom, 0)); max 53 ppapi/cpp/rect.cc int32_t rx = std::max(x(), rect.x()); max 54 ppapi/cpp/rect.cc int32_t ry = std::max(y(), rect.y()); max 73 ppapi/cpp/rect.cc int32_t rr = std::max(right(), rect.right()); max 74 ppapi/cpp/rect.cc int32_t rb = std::max(bottom(), rect.bottom()); max 53 ppapi/cpp/var_array_buffer.cc uint32_t byte_length = std::numeric_limits<uint32_t>::max(); max 30 ppapi/examples/2d/paint_manager_example.cc for (int y = std::max(0, top); max 33 ppapi/examples/2d/paint_manager_example.cc for (int x = std::max(0, left); max 25 ppapi/examples/2d/scroll.cc for (int y = std::max(0, rect.y()); max 28 ppapi/examples/2d/scroll.cc for (int x = std::max(0, rect.x()); max 87 ppapi/examples/audio/audio.cc const int16_t max_int16 = std::numeric_limits<int16_t>::max(); max 210 ppapi/examples/audio_input/audio_input.cc (std::numeric_limits<int16_t>::max() + 1) + mid_height; max 26 ppapi/examples/gamepad/gamepad.cc for (int y = std::max(0, top); max 29 ppapi/examples/gamepad/gamepad.cc for (int x = std::max(0, left); max 417 ppapi/examples/gles2_spinning_cube/spinning_cube.cc std::max(1.0f, fling_multiplier_ - (fling_multiplier_ - 1.0f) / 50); max 47 ppapi/examples/ime/ime.cc for (int y = std::max(0, top); max 50 ppapi/examples/ime/ime.cc for (int x = std::max(0, left); max 378 ppapi/examples/ime/ime.cc return std::max(caret_pos_, anchor_pos_); max 30 ppapi/examples/input/pointer_event_input.cc for (int y = std::max(0, top); max 33 ppapi/examples/input/pointer_event_input.cc for (int x = std::max(0, left); max 150 ppapi/examples/media_stream_audio/media_stream_audio.cc (std::numeric_limits<int16_t>::max() + 1) + mid_height; max 17 ppapi/examples/mouse_cursor/mouse_cursor.cc for (int y = std::max(0, top); max 20 ppapi/examples/mouse_cursor/mouse_cursor.cc for (int x = std::max(0, left); max 210 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc coordinator->split_module_count_ = std::min(4, std::max(1, cpus)); max 3888 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes(PP_Instance instance, struct PP_Var* name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) { max 3890 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->HistogramCustomTimes(instance, *name, sample, min, max, bucket_count); max 3893 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts(PP_Instance instance, struct PP_Var* name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) { max 3895 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->HistogramCustomCounts(instance, *name, sample, min, max, bucket_count); max 5311 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .HistogramCustomTimes = (void (*)(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count))&Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes, max 5312 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .HistogramCustomCounts = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count))&Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts, max 37 ppapi/proxy/graphics_2d_resource.cc std::numeric_limits<int32>::max() / 4; max 245 ppapi/proxy/nacl_message_scanner.cc if (std::numeric_limits<int64_t>::max() - reserved_quota_ < delta) max 168 ppapi/proxy/plugin_main_irt.cc plugin_dispatchers_.size() >= std::numeric_limits<uint32>::max()) { max 160 ppapi/proxy/plugin_resource.cc if (next_sequence_number_ == std::numeric_limits<int32_t>::max()) max 175 ppapi/proxy/ppp_instance_proxy.cc std::max(static_cast<size_t>(1), argn.size())); max 177 ppapi/proxy/ppp_instance_proxy.cc std::max(static_cast<size_t>(1), argn.size())); max 102 ppapi/proxy/truetype_font_resource.cc output.StoreArray(&tag_array[0], std::max(0, result)); max 122 ppapi/proxy/truetype_font_resource.cc output.StoreArray(data.data(), std::max(0, result)); max 45 ppapi/proxy/uma_private_resource.cc int64_t max, max 53 ppapi/proxy/uma_private_resource.cc max, max 62 ppapi/proxy/uma_private_resource.cc int32_t max, max 70 ppapi/proxy/uma_private_resource.cc max, max 32 ppapi/proxy/uma_private_resource.h int64_t max, max 39 ppapi/proxy/uma_private_resource.h int32_t max, max 48 ppapi/shared_impl/array_var.cc if (index == std::numeric_limits<uint32_t>::max()) max 62 ppapi/shared_impl/array_var.cc if (elements_.size() > std::numeric_limits<uint32_t>::max()) { max 111 ppapi/shared_impl/ppb_audio_config_shared.cc std::max(kHighLatencySampleFrameCount, hardware_sample_frame_count)); max 127 ppapi/shared_impl/ppb_audio_config_shared.cc std::max(2 * kLowLatencySampleFrameCount, hardware_sample_frame_count); max 135 ppapi/shared_impl/ppb_graphics_3d_shared.cc std::max(kMaxTransferBufferSize, transfer_buffer_size), max 54 ppapi/shared_impl/resource_tracker.cc std::numeric_limits<ResourceAndRefCount::second_type>::max()) max 142 ppapi/shared_impl/var_tracker.cc if (last_var_id_ == std::numeric_limits<int32>::max() >> kPPIdTypeBits) max 184 ppapi/shared_impl/var_value_conversions.cc if (size > std::numeric_limits<uint32>::max()) max 85 ppapi/tests/test_broker.cc assert(message_len < std::numeric_limits<DWORD>::max()); max 91 ppapi/tests/test_broker.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 106 ppapi/tests/test_broker.cc assert(message_len < std::numeric_limits<DWORD>::max()); max 112 ppapi/tests/test_broker.cc static_cast<size_t>(std::numeric_limits<ssize_t>::max())); max 274 ppapi/tests/test_file_mapping.cc std::numeric_limits<int64_t>::max(), max 287 ppapi/tests/test_graphics_2d.cc size.width = std::numeric_limits<int32_t>::max(); max 288 ppapi/tests/test_graphics_2d.cc size.height = std::numeric_limits<int32_t>::max(); max 130 ppapi/tests/test_net_address_private_untrusted.cc if (nport == std::numeric_limits<uint16_t>::max()) max 312 ppapi/tests/test_truetype_font.cc 0, std::numeric_limits<int32_t>::max(), max 322 ppapi/tests/test_truetype_font.cc 0, std::numeric_limits<int32_t>::max(), max 381 ppapi/tests/test_truetype_font.cc 0, std::numeric_limits<int32_t>::max(), max 395 ppapi/tests/test_truetype_font.cc 0, std::numeric_limits<int32_t>::max(), max 84 ppapi/tests/test_var.cc uint32_t len = std::numeric_limits<uint32_t>::max(); max 90 ppapi/tests/test_var.cc len = std::numeric_limits<uint32_t>::max(); max 98 ppapi/tests/test_var.cc len = std::numeric_limits<uint32_t>::max(); max 126 ppapi/tests/test_var_deprecated.cc uint32_t len = std::numeric_limits<uint32_t>::max(); max 132 ppapi/tests/test_var_deprecated.cc len = std::numeric_limits<uint32_t>::max(); max 140 ppapi/tests/test_var_deprecated.cc len = std::numeric_limits<uint32_t>::max(); max 24 ppapi/thunk/ppb_uma_private_thunk.cc int64_t max, max 34 ppapi/thunk/ppb_uma_private_thunk.cc max, max 42 ppapi/thunk/ppb_uma_private_thunk.cc int32_t max, max 52 ppapi/thunk/ppb_uma_private_thunk.cc max, max 22 ppapi/thunk/ppb_uma_singleton_api.h int64_t max, max 29 ppapi/thunk/ppb_uma_singleton_api.h int32_t max, max 613 printing/emf_win.cc page_size.set_width(std::max<int>(1, page_size.width() * scale)); max 614 printing/emf_win.cc page_size.set_height(std::max<int>(1, page_size.height() * scale)); max 62 printing/page_number.cc std::numeric_limits<int>::max())); max 120 printing/page_setup.cc effective_margins_.header = std::max(requested_margins_.header, max 122 printing/page_setup.cc effective_margins_.footer = std::max(requested_margins_.footer, max 125 printing/page_setup.cc effective_margins_.left = std::max(requested_margins_.left, max 127 printing/page_setup.cc effective_margins_.top = std::max(std::max(requested_margins_.top, max 130 printing/page_setup.cc effective_margins_.right = std::max(requested_margins_.right, max 134 printing/page_setup.cc std::max(std::max(requested_margins_.bottom, max 142 printing/page_setup.cc overlay_area_.set_width(std::max(0, max 146 printing/page_setup.cc overlay_area_.set_height(std::max(0, max 155 printing/page_setup.cc content_area_.set_width(std::max(0, max 159 printing/page_setup.cc content_area_.set_height(std::max(0, max 44 printing/page_setup_unittest.cc effective_margins.header = std::max(margins.header, printable_area.y()); max 45 printing/page_setup_unittest.cc effective_margins.left = std::max(margins.left, printable_area.x()); max 46 printing/page_setup_unittest.cc effective_margins.top = std::max(margins.top, max 48 printing/page_setup_unittest.cc effective_margins.footer = std::max(margins.footer, max 51 printing/page_setup_unittest.cc effective_margins.right = std::max(margins.right, max 54 printing/page_setup_unittest.cc effective_margins.bottom = std::max(margins.bottom, max 344 printing/printing_context_win.cc dev_mode->dmCopies = std::max(settings_.copies(), 1); max 92 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java mPointerCount = Math.max(mPointerCount, event.getPointerCount()); max 176 remoting/base/compound_buffer.cc int relative_start = std::max(0, start - pos); max 12 remoting/base/plugin_thread_task_runner.cc return std::max(when - base::TimeTicks::Now(), base::TimeDelta()); max 101 remoting/base/rsa_key_pair.cc base::RandInt(1, std::numeric_limits<int>::max()), max 553 remoting/client/plugin/chromoting_instance.cc y = std::max(y, 0); max 562 remoting/client/plugin/chromoting_instance.cc x = std::max(x, 0); max 161 remoting/codec/codec_test.cc max_error = std::max(max_error, error); max 18 remoting/codec/video_encoder_vpx_unittest.cc const int kIntMax = std::numeric_limits<int>::max(); max 101 remoting/host/audio_capturer_win.cc std::max(device_period_in_milliseconds, kMinTimerInterval)); max 199 remoting/host/daemon_process.cc next_terminal_id_ = std::max(next_terminal_id_, terminal_id + 1); max 211 remoting/host/desktop_resizer_linux.cc int width = std::min(std::max(preferred.dimensions().width(), min_width), max 213 remoting/host/desktop_resizer_linux.cc int height = std::min(std::max(preferred.dimensions().height(), min_height), max 218 remoting/host/desktop_resizer_linux.cc webrtc::DesktopSize(std::max(640, width), std::max(480, height)), max 251 remoting/host/desktop_session_win.cc std::max(kMinRdpScreenWidth, host_size.width())), max 253 remoting/host/desktop_session_win.cc std::max(kMinRdpScreenHeight, host_size.height()))); max 24 remoting/host/host_secret.cc int CryptoRandomInt(int max) { max 27 remoting/host/host_secret.cc return random_int32 % max; max 332 remoting/host/input_injector_linux.cc latest_mouse_position_.set(std::max(0, new_mouse_position.x()), max 333 remoting/host/input_injector_linux.cc std::max(0, new_mouse_position.y())); max 256 remoting/host/input_injector_mac.cc std::max(desktop_config.pixel_bounds.left(), max 258 remoting/host/input_injector_mac.cc std::max(desktop_config.pixel_bounds.top(), max 265 remoting/host/input_injector_win.cc int x = std::max(0, std::min(width, event.x())); max 266 remoting/host/input_injector_win.cc int y = std::max(0, std::min(height, event.y())); max 120 remoting/host/policy_hack/policy_watcher_linux.cc last_modification = std::max(last_modification, max 36 remoting/host/screen_resolution.cc static_cast<int64>(std::numeric_limits<int32>::max())); max 38 remoting/host/screen_resolution.cc static_cast<int64>(std::numeric_limits<int32>::max())); max 43 remoting/host/screen_resolution_unittest.cc int32 max_int = std::numeric_limits<int32>::max(); max 98 remoting/host/verify_config_window_win.cc x = std::max(x, area_rect.left); max 100 remoting/host/verify_config_window_win.cc y = std::max(y, area_rect.top); max 149 remoting/host/win/unprivileged_process_delegate.cc base::RandInt(1, std::numeric_limits<int>::max())); max 34 remoting/protocol/mouse_input_filter.cc out_event.set_x(std::max(0, std::min(output_max_.width(), x))); max 39 remoting/protocol/mouse_input_filter.cc out_event.set_y(std::max(0, std::min(output_max_.height(), y))); max 379 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(std::numeric_limits<int>::max() - kExpectedReturnValue - 1 >= max 265 sandbox/linux/seccomp-bpf/trap.cc trap_array_size_ >= std::numeric_limits<typeof(id)>::max()) { max 172 sandbox/linux/tests/unit_tests.cc msg_buf.resize(len + std::max(rc, static_cast<ssize_t>(0))); max 224 skia/ext/convolver.cc int max_color_channel = std::max(out_row[byte_offset + 0], max 225 skia/ext/convolver.cc std::max(out_row[byte_offset + 1], out_row[byte_offset + 2])); max 320 skia/ext/convolver.cc max_filter_ = std::max(max_filter_, filter_length); max 253 skia/ext/image_operations.cc int src_begin = std::max(0, FloorInt(src_pixel - src_support)); max 303 skia/ext/image_operations_unittest.cc std::max(tested_pixel.max_color_distance, max 81 skia/ext/pixel_ref_utils.cc max_point.set(std::max(max_point.x(), point.x()), max 82 skia/ext/pixel_ref_utils.cc std::max(max_point.y(), point.y())); max 255 skia/ext/pixel_ref_utils.cc max_point.set(std::max(x, max_point.x()), std::max(y, max_point.y())); max 129 skia/ext/recursive_gaussian_convolution.cc max_output = std::max(max_output, out[output_index]); max 410 skia/ext/vector_canvas_unittest.cc return std::max(diff1, diff2); max 415 skia/ext/vector_canvas_unittest.cc return std::max(std::max(diff1, diff2), diff); max 45 sync/engine/backoff_delay_provider.cc std::max(static_cast<int64>(1), max 56 sync/engine/backoff_delay_provider.cc backoff_s = std::max(static_cast<int64>(1), max 3483 sync/engine/syncer_unittest.cc int64 really_big_int = std::numeric_limits<int64>::max() - 12; max 375 sync/engine/syncer_util.cc std::max(target->GetServerVersion(), target->GetBaseVersion()) + 1); max 431 sync/internal_api/public/base/ordinal.h return std::max(drop_length, kMinLength); max 438 sync/internal_api/public/base/ordinal.h size_t max_size = std::max(start.length(), end.length()) + 1; max 153 sync/notifier/registration_manager.cc return std::max(min_retry_interval, max 202 sync/sessions/data_type_tracker.cc return std::max(base::TimeDelta::FromSeconds(0), max 208 sync/sessions/data_type_tracker.cc unthrottle_time_ = std::max(unthrottle_time_, now + duration); max 70 sync/test/fake_server/fake_server.cc int64 version = std::max(new_version, it->second); max 131 sync/test/fake_server/fake_server.cc int64 min_version = std::numeric_limits<int64>::max(); max 288 sync/test/fake_server/fake_server.cc max_response_version = std::max(max_response_version, max 536 third_party/bintrees/bintrees/ctrees.c int lh, rh, max; max 565 third_party/bintrees/bintrees/ctrees.c max = avl_max(lh, rh); max 566 third_party/bintrees/bintrees/ctrees.c BALANCE(up[top]) = max + 1; max 636 third_party/bintrees/bintrees/ctrees.c int max = avl_max(lh, rh); max 639 third_party/bintrees/bintrees/ctrees.c BALANCE(up[top]) = max + 1; max 959 third_party/harfbuzz-ng/src/hb-open-type-private.hh int min = 0, max = (int) this->len - 1; max 960 third_party/harfbuzz-ng/src/hb-open-type-private.hh while (min <= max) max 962 third_party/harfbuzz-ng/src/hb-open-type-private.hh int mid = (min + max) / 2; max 965 third_party/harfbuzz-ng/src/hb-open-type-private.hh max = mid - 1; max 1010 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int max = i; max 1014 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc max = MAX (max, j); max 1019 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (i != max) max 1020 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (i, max + 1); max 62 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp static inline bool InRange(double d, T min, U max) { max 63 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp return d >= min && d <= max; max 78 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp static inline bool InRange(double d, T min, U max) { max 79 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp return d >= integerToDouble(min) && d <= integerToDouble(max); max 4 third_party/lcov/example/gauss.h extern int gauss_get_sum (int min, int max); max 4 third_party/lcov/example/iterate.h extern int iterate_get_sum (int min, int max); max 38 third_party/lcov/example/methods/gauss.c int gauss_get_sum (int min, int max) max 42 third_party/lcov/example/methods/gauss.c if (max < min) max 47 third_party/lcov/example/methods/gauss.c return (int) ((max + min) * (double) (max - min + 1) / 2); max 19 third_party/lcov/example/methods/iterate.c int iterate_get_sum (int min, int max) max 28 third_party/lcov/example/methods/iterate.c for (i = min; i <= max; i++) max 584 third_party/libXNVCtrl/NVCtrl.c values->u.range.max = rep.max; max 674 third_party/libXNVCtrl/NVCtrl.c values->u.range.max = rep.max_64; max 2165 third_party/libXNVCtrl/NVCtrl.h #define NV_CTRL_GVO_COMPOSITE_MAKE_RANGE(range, enable, min, max) \ max 2167 third_party/libXNVCtrl/NVCtrl.h (((max) & 0x3FF) << 10) | \ max 2171 third_party/libXNVCtrl/NVCtrl.h #define NV_CTRL_GVO_COMPOSITE_GET_RANGE(val, range, enable, min, max) \ max 2173 third_party/libXNVCtrl/NVCtrl.h (max) = ((val) >> 10) & 0x3FF; \ max 4530 third_party/libXNVCtrl/NVCtrl.h int64_t max; max 328 third_party/libXNVCtrl/nv_control.h INT32 max B32; max 186 third_party/libevent/devpoll.c devpoll_recalc(struct event_base *base, void *arg, int max) max 190 third_party/libevent/devpoll.c if (max >= devpollop->nfds) { max 195 third_party/libevent/devpoll.c while (nfds <= max) max 155 third_party/libevent/epoll.c epoll_recalc(struct event_base *base, void *arg, int max) max 159 third_party/libevent/epoll.c if (max >= epollop->nfds) { max 164 third_party/libevent/epoll.c while (nfds <= max) max 2638 third_party/libevent/evdns.c strtoint_clipped(const char *const str, int min, int max) max 2645 third_party/libevent/evdns.c else if (r>max) max 2646 third_party/libevent/evdns.c return max; max 4297 third_party/libpng/pngrtran.c png_uint_32 last, max; max 4311 third_party/libpng/pngrtran.c max = (png_uint_32)(fin * (double)((png_uint_32)num << 8)); max 4312 third_party/libpng/pngrtran.c while (last <= max) max 24 third_party/libwebp/dsp/enc.c static WEBP_INLINE int clip_max(int v, int max) { max 25 third_party/libwebp/dsp/enc.c return (v > max) ? max : v; max 80 third_party/libwebp/enc/analysis.c int min = centers[0], max = centers[0]; max 86 third_party/libwebp/enc/analysis.c if (max < centers[n]) max = centers[n]; max 89 third_party/libwebp/enc/analysis.c if (max == min) max = min + 1; max 90 third_party/libwebp/enc/analysis.c assert(mid <= max && mid >= min); max 92 third_party/libwebp/enc/analysis.c const int alpha = 255 * (centers[n] - mid) / (max - min); max 93 third_party/libwebp/enc/analysis.c const int beta = 255 * (centers[n] - min) / (max - min); max 73 third_party/libwebp/enc/frame.c static float Clamp(float v, float min, float max) { max 74 third_party/libwebp/enc/frame.c return (v < min) ? min : (v > max) ? max : v; max 415 third_party/libxml/src/include/libxml/valid.h int max); max 421 third_party/libxml/src/include/libxml/valid.h int max); max 82 third_party/libxml/src/include/libxml/xmlautomata.h int max, max 91 third_party/libxml/src/include/libxml/xmlautomata.h int max, max 99 third_party/libxml/src/include/libxml/xmlautomata.h int max, max 108 third_party/libxml/src/include/libxml/xmlautomata.h int max, max 132 third_party/libxml/src/include/libxml/xmlautomata.h int max); max 181 third_party/libxml/src/include/libxml/xmlregexp.h int max); max 2793 third_party/libxml/src/parser.c int max = XML_MAX_NAMELEN; max 2815 third_party/libxml/src/parser.c while ((c != 0) && (c != ':') && (len < max)) { /* tested bigname.xml */ max 2819 third_party/libxml/src/parser.c if (len >= max) { max 2824 third_party/libxml/src/parser.c max = len * 2; max 2826 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); max 2833 third_party/libxml/src/parser.c if (len + 10 > max) { max 2836 third_party/libxml/src/parser.c max *= 2; max 2838 third_party/libxml/src/parser.c max * sizeof(xmlChar)); max 2864 third_party/libxml/src/parser.c max = XML_MAX_NAMELEN; max 2894 third_party/libxml/src/parser.c while ((c != 0) && (len < max)) { /* tested bigname2.xml */ max 2898 third_party/libxml/src/parser.c if (len >= max) { max 2903 third_party/libxml/src/parser.c max = len * 2; max 2905 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); max 2912 third_party/libxml/src/parser.c if (len + 10 > max) { max 2915 third_party/libxml/src/parser.c max *= 2; max 2917 third_party/libxml/src/parser.c max * sizeof(xmlChar)); max 3385 third_party/libxml/src/parser.c int max = len * 2; max 3387 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); max 3394 third_party/libxml/src/parser.c if (len + 10 > max) { max 3396 third_party/libxml/src/parser.c max *= 2; max 3398 third_party/libxml/src/parser.c max * sizeof(xmlChar)); max 3462 third_party/libxml/src/parser.c int max = len * 2; max 3464 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); max 3479 third_party/libxml/src/parser.c if (len + 10 > max) { max 3482 third_party/libxml/src/parser.c max *= 2; max 3484 third_party/libxml/src/parser.c max * sizeof(xmlChar)); max 3989 third_party/libxml/src/relaxng.c int max = 0; max 4005 third_party/libxml/src/relaxng.c max = 10; max 4007 third_party/libxml/src/relaxng.c xmlMalloc((max + 1) * sizeof(xmlRelaxNGDefinePtr)); max 4012 third_party/libxml/src/relaxng.c } else if (max <= len) { max 4015 third_party/libxml/src/relaxng.c max *= 2; max 4017 third_party/libxml/src/relaxng.c (max + 1) * sizeof(xmlRelaxNGDefinePtr)); max 133 third_party/libxml/src/testAutomata.c int min, max; max 160 third_party/libxml/src/testAutomata.c max = scanNumber(&ptr); max 168 third_party/libxml/src/testAutomata.c BAD_CAST ptr, min, max, NULL); max 25934 third_party/libxml/src/testapi.c int max; /* the size of the array */ max 25945 third_party/libxml/src/testapi.c max = gen_int(n_max, 3); max 25947 third_party/libxml/src/testapi.c ret_val = xmlValidGetPotentialChildren(ctree, (const xmlChar **)names, len, max); max 25953 third_party/libxml/src/testapi.c des_int(n_max, max, 3); max 25991 third_party/libxml/src/testapi.c int max; /* the size of the array */ max 26002 third_party/libxml/src/testapi.c max = gen_int(n_max, 3); max 26004 third_party/libxml/src/testapi.c ret_val = xmlValidGetValidElements(prev, next, (const xmlChar **)names, max); max 26010 third_party/libxml/src/testapi.c des_int(n_max, max, 3); max 29120 third_party/libxml/src/testapi.c int max; /* the maximal value on the counter */ max 29129 third_party/libxml/src/testapi.c max = gen_int(n_max, 2); max 29131 third_party/libxml/src/testapi.c ret_val = xmlAutomataNewCounter(am, min, max); max 29136 third_party/libxml/src/testapi.c des_int(n_max, max, 2); max 710 third_party/libxml/src/trio.c int max; max 1794 third_party/libxml/src/trio.c unsigned int max; max 1822 third_party/libxml/src/trio.c max = (unsigned int)(&format[index] - tmpformat); max 1823 third_party/libxml/src/trio.c if (max > MAX_USER_DATA) max 1824 third_party/libxml/src/trio.c max = MAX_USER_DATA; max 1826 third_party/libxml/src/trio.c max, max 1834 third_party/libxml/src/trio.c max = (int)(&format[index] - tmpformat); max 1835 third_party/libxml/src/trio.c if (max > MAX_USER_NAME) max 1836 third_party/libxml/src/trio.c max = MAX_USER_NAME; max 1838 third_party/libxml/src/trio.c max, max 3424 third_party/libxml/src/trio.c data.max = destinationSize; max 3570 third_party/libxml/src/trio.c if (self->processed < self->max) max 3980 third_party/libxml/src/trio.c TRIO_VARGS4((buffer, max, format, va_alist), max 3982 third_party/libxml/src/trio.c size_t max, max 3993 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, max 3995 third_party/libxml/src/trio.c if (max > 0) max 4012 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), max 4014 third_party/libxml/src/trio.c size_t max, max 4023 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, max 4025 third_party/libxml/src/trio.c if (max > 0) max 4041 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), max 4043 third_party/libxml/src/trio.c size_t max, max 4052 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, max 4054 third_party/libxml/src/trio.c if (max > 0) max 4066 third_party/libxml/src/trio.c TRIO_VARGS4((buffer, max, format, va_alist), max 4068 third_party/libxml/src/trio.c size_t max, max 4084 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, max 4093 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), max 4095 third_party/libxml/src/trio.c size_t max, max 4107 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, max 6386 third_party/libxml/src/trio.c data.max = sourceSize; max 103 third_party/libxml/src/trio.h int trio_snprintf TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); max 109 third_party/libxml/src/trio.h int trio_snprintfcat TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); max 210 third_party/libxml/src/triostr.c TRIO_ARGS3((target, max, source), max 212 third_party/libxml/src/triostr.c size_t max, max 222 third_party/libxml/src/triostr.c if (max > length) max 224 third_party/libxml/src/triostr.c strncat(target, source, max - length - 1); max 298 third_party/libxml/src/triostr.c TRIO_ARGS3((target, max, source), max 300 third_party/libxml/src/triostr.c size_t max, max 305 third_party/libxml/src/triostr.c assert(max > 0); /* Includes != 0 */ max 307 third_party/libxml/src/triostr.c (void)strncpy(target, source, max - 1); max 308 third_party/libxml/src/triostr.c target[max - 1] = (char)0; max 365 third_party/libxml/src/triostr.c trio_duplicate_max TRIO_ARGS2((source, max), max 367 third_party/libxml/src/triostr.c size_t max) max 372 third_party/libxml/src/triostr.c assert(max > 0); max 375 third_party/libxml/src/triostr.c if (length > max) max 377 third_party/libxml/src/triostr.c length = max; max 462 third_party/libxml/src/triostr.c TRIO_ARGS3((first, max, second), max 464 third_party/libxml/src/triostr.c size_t max, max 472 third_party/libxml/src/triostr.c return (0 == strncmp(first, second, max)); max 517 third_party/libxml/src/triostr.c TRIO_ARGS3((first, max, second), max 519 third_party/libxml/src/triostr.c size_t max, max 528 third_party/libxml/src/triostr.c return (0 == strncasecmp(first, second, max)); max 532 third_party/libxml/src/triostr.c while ((*first != NIL) && (*second != NIL) && (cnt <= max)) max 542 third_party/libxml/src/triostr.c return ((cnt == max) || ((*first == NIL) && (*second == NIL))); max 596 third_party/libxml/src/triostr.c TRIO_ARGS4((target, max, format, datetime), max 598 third_party/libxml/src/triostr.c size_t max, max 605 third_party/libxml/src/triostr.c assert(max > 0); max 607 third_party/libxml/src/triostr.c return strftime(target, max, format, datetime); max 886 third_party/libxml/src/triostr.c TRIO_ARGS3((string, max, substring), max 888 third_party/libxml/src/triostr.c size_t max, max 899 third_party/libxml/src/triostr.c if (size <= max) max 901 third_party/libxml/src/triostr.c for (count = 0; count <= max - size; count++) max 1788 third_party/libxml/src/triostr.c TRIO_ARGS3((self, max, other), max 1790 third_party/libxml/src/triostr.c size_t max, max 1796 third_party/libxml/src/triostr.c return trio_equal_max(self->content, max, other->content); max 1807 third_party/libxml/src/triostr.c TRIO_ARGS3((self, max, other), max 1809 third_party/libxml/src/triostr.c size_t max, max 1815 third_party/libxml/src/triostr.c return trio_equal_max(self->content, max, other); max 1862 third_party/libxml/src/triostr.c TRIO_ARGS3((self, max, other), max 1864 third_party/libxml/src/triostr.c size_t max, max 1870 third_party/libxml/src/triostr.c return trio_equal_case_max(self->content, max, other->content); max 1881 third_party/libxml/src/triostr.c TRIO_ARGS3((self, max, other), max 1883 third_party/libxml/src/triostr.c size_t max, max 1889 third_party/libxml/src/triostr.c return trio_equal_case_max(self->content, max, other); max 1900 third_party/libxml/src/triostr.c TRIO_ARGS4((self, max, format, datetime), max 1902 third_party/libxml/src/triostr.c size_t max, max 1908 third_party/libxml/src/triostr.c return trio_format_date_max(self->content, max, format, datetime); max 45 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_copy_max TRIO_PROTO((char *target, size_t max, const char *source)); max 52 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_equal_max TRIO_PROTO((const char *first, size_t max, const char *second)); max 63 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_append_max TRIO_PROTO((char *target, size_t max, const char *source)); max 66 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC char *trio_duplicate_max TRIO_PROTO((const char *source, size_t max)); max 67 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_equal_case_max TRIO_PROTO((const char *first, size_t max, const char *second)); max 69 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC size_t trio_format_date_max TRIO_PROTO((char *target, size_t max, const char *format, const struct tm *datetime)); max 79 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC char *trio_substring_max TRIO_PROTO((const char *string, size_t max, const char *substring)); max 116 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_string_equal_max TRIO_PROTO((trio_string_t *self, size_t max, trio_string_t *second)); max 118 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_string_equal_case_max TRIO_PROTO((trio_string_t *self, size_t max, trio_string_t *other)); max 120 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC size_t trio_string_format_date_max TRIO_PROTO((trio_string_t *self, size_t max, const char *format, const struct tm *datetime)); max 135 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_xstring_equal_max TRIO_PROTO((trio_string_t *self, size_t max, const char *other)); max 137 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_xstring_equal_case_max TRIO_PROTO((trio_string_t *self, size_t max, const char *other)); max 1005 third_party/libxml/src/uri.c int max; max 1010 third_party/libxml/src/uri.c max = 80; max 1011 third_party/libxml/src/uri.c ret = (xmlChar *) xmlMallocAtomic((max + 1) * sizeof(xmlChar)); max 1022 third_party/libxml/src/uri.c if (len >= max) { max 1023 third_party/libxml/src/uri.c max *= 2; max 1024 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, (max + 1) * sizeof(xmlChar)); max 1035 third_party/libxml/src/uri.c if (len >= max) { max 1036 third_party/libxml/src/uri.c max *= 2; max 1037 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, (max + 1) * sizeof(xmlChar)); max 1051 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1052 third_party/libxml/src/uri.c max *= 2; max 1053 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, (max + 1) * sizeof(xmlChar)); max 1074 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1075 third_party/libxml/src/uri.c max *= 2; max 1076 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, (max + 1) * sizeof(xmlChar)); max 1090 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1091 third_party/libxml/src/uri.c max *= 2; max 1093 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1116 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1117 third_party/libxml/src/uri.c max *= 2; max 1119 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1132 third_party/libxml/src/uri.c if (len >= max) { max 1133 third_party/libxml/src/uri.c max *= 2; max 1135 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1147 third_party/libxml/src/uri.c if (len + 10 >= max) { max 1148 third_party/libxml/src/uri.c max *= 2; max 1150 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1159 third_party/libxml/src/uri.c len += snprintf((char *) &ret[len], max - len, ":%d", uri->port); max 1162 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1163 third_party/libxml/src/uri.c max *= 2; max 1165 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1178 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1179 third_party/libxml/src/uri.c max *= 2; max 1181 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1204 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1205 third_party/libxml/src/uri.c max *= 2; max 1207 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1231 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1232 third_party/libxml/src/uri.c max *= 2; max 1234 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1246 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1247 third_party/libxml/src/uri.c max *= 2; max 1249 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1273 third_party/libxml/src/uri.c if (len + 1 >= max) { max 1274 third_party/libxml/src/uri.c max *= 2; max 1276 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1288 third_party/libxml/src/uri.c if (len + 1 >= max) { max 1289 third_party/libxml/src/uri.c max *= 2; max 1291 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1303 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1304 third_party/libxml/src/uri.c max *= 2; max 1306 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1318 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1319 third_party/libxml/src/uri.c max *= 2; max 1321 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1343 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1344 third_party/libxml/src/uri.c max *= 2; max 1346 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1358 third_party/libxml/src/uri.c if (len + 3 >= max) { max 1359 third_party/libxml/src/uri.c max *= 2; max 1361 third_party/libxml/src/uri.c (max + 1) * sizeof(xmlChar)); max 1381 third_party/libxml/src/uri.c if (len >= max) { max 1382 third_party/libxml/src/uri.c max *= 2; max 1383 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, (max + 1) * sizeof(xmlChar)); max 6873 third_party/libxml/src/valid.c int *len, int max) { max 6878 third_party/libxml/src/valid.c if (*len >= max) return(*len); max 6892 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c1, names, len, max); max 6893 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c2, names, len, max); max 6896 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c1, names, len, max); max 6897 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c2, names, len, max); max 6939 third_party/libxml/src/valid.c int max) { max 6961 third_party/libxml/src/valid.c if (max <= 0) return(-1); max 7018 third_party/libxml/src/valid.c if (nb_valid_elements >= max) break; max 185 third_party/libxml/src/xmlregexp.c int max; max 205 third_party/libxml/src/xmlregexp.c int max; max 795 third_party/libxml/src/xmlregexp.c ret->max = 0; max 847 third_party/libxml/src/xmlregexp.c ret->max = atom->max; max 1093 third_party/libxml/src/xmlregexp.c fprintf(output, "%d-%d ", atom->min, atom->max); max 1201 third_party/libxml/src/xmlregexp.c ctxt->counters[i].max); max 1279 third_party/libxml/src/xmlregexp.c ctxt->counters[ctxt->nbCounters].max = -1; max 1632 third_party/libxml/src/xmlregexp.c copy->max = 0; max 1640 third_party/libxml/src/xmlregexp.c ctxt->counters[counter].max = atom->max - 1; max 1658 third_party/libxml/src/xmlregexp.c ctxt->counters[counter].max = atom->max - 1; max 1672 third_party/libxml/src/xmlregexp.c atom->max = 0; max 1681 third_party/libxml/src/xmlregexp.c if ((atom->min == 0) && (atom->max == 0) && max 3226 third_party/libxml/src/xmlregexp.c if (!((atom->min == 0) && (atom->max > 0))) max 3257 third_party/libxml/src/xmlregexp.c trans->count, count, counter->min, counter->max); max 3259 third_party/libxml/src/xmlregexp.c ret = ((count >= counter->min) && (count <= counter->max)); max 3260 third_party/libxml/src/xmlregexp.c if ((ret) && (counter->min != counter->max)) max 3269 third_party/libxml/src/xmlregexp.c if ((ret == 1) && (atom->min >= 0) && (atom->max > 0)) { max 3289 third_party/libxml/src/xmlregexp.c if (exec->counts[trans->counter] >= counter->max) max 3305 third_party/libxml/src/xmlregexp.c if (exec->transcount == atom->max) { max 3356 third_party/libxml/src/xmlregexp.c } else if ((ret == 0) && (atom->min == 0) && (atom->max > 0)) { max 3366 third_party/libxml/src/xmlregexp.c } else if ((atom->min == 0) && (atom->max > 0)) { max 3397 third_party/libxml/src/xmlregexp.c if (exec->counts[trans->counter] >= counter->max) max 3844 third_party/libxml/src/xmlregexp.c if ((count < counter->max) && max 3851 third_party/libxml/src/xmlregexp.c (count < counter->max) && max 3879 third_party/libxml/src/xmlregexp.c if ((count < counter->min) || (count > counter->max)) { max 3896 third_party/libxml/src/xmlregexp.c trans->count, count, counter->min, counter->max); max 3898 third_party/libxml/src/xmlregexp.c ret = ((count >= counter->min) && (count <= counter->max)); max 3916 third_party/libxml/src/xmlregexp.c if (count >= counter->max) max 3920 third_party/libxml/src/xmlregexp.c if ((ret == 1) && (atom->min > 0) && (atom->max > 0)) { max 3937 third_party/libxml/src/xmlregexp.c if (exec->transcount == atom->max) { max 4291 third_party/libxml/src/xmlregexp.c if ((counter == NULL) || (count < counter->max)) { max 4452 third_party/libxml/src/xmlregexp.c trans->count, count, counter->min, counter->max); max 4454 third_party/libxml/src/xmlregexp.c ret = ((count >= counter->min) && (count <= counter->max)); max 4462 third_party/libxml/src/xmlregexp.c if ((ret == 1) && (atom->min > 0) && (atom->max > 0)) { max 4476 third_party/libxml/src/xmlregexp.c if (exec->transcount == atom->max) { max 5190 third_party/libxml/src/xmlregexp.c int min = 0, max = 0; max 5199 third_party/libxml/src/xmlregexp.c max = INT_MAX; max 5203 third_party/libxml/src/xmlregexp.c max = cur; max 5214 third_party/libxml/src/xmlregexp.c if (max == 0) max 5215 third_party/libxml/src/xmlregexp.c max = min; max 5219 third_party/libxml/src/xmlregexp.c ctxt->atom->max = max; max 5422 third_party/libxml/src/xmlregexp.c regexp->counters[i].max); max 5855 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { max 5863 third_party/libxml/src/xmlregexp.c if ((max < min) || (max < 1)) max 5894 third_party/libxml/src/xmlregexp.c atom->max = max; max 5901 third_party/libxml/src/xmlregexp.c am->counters[counter].max = max; max 5941 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { max 5949 third_party/libxml/src/xmlregexp.c if ((max < min) || (max < 1)) max 5960 third_party/libxml/src/xmlregexp.c atom->max = max; max 5967 third_party/libxml/src/xmlregexp.c am->counters[counter].max = max; max 6010 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { max 6018 third_party/libxml/src/xmlregexp.c if ((max < min) || (max < 1)) max 6047 third_party/libxml/src/xmlregexp.c atom->max = max; max 6053 third_party/libxml/src/xmlregexp.c am->counters[counter].max = 1; max 6089 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { max 6097 third_party/libxml/src/xmlregexp.c if ((max < min) || (max < 1)) max 6106 third_party/libxml/src/xmlregexp.c atom->max = max; max 6112 third_party/libxml/src/xmlregexp.c am->counters[counter].max = 1; max 6203 third_party/libxml/src/xmlregexp.c xmlAutomataNewCounter(xmlAutomataPtr am, int min, int max) { max 6213 third_party/libxml/src/xmlregexp.c am->counters[ret].max = max; max 6544 third_party/libxml/src/xmlregexp.c const xmlChar *name, int min, int max) { max 6560 third_party/libxml/src/xmlregexp.c if (min == max) { max 6573 third_party/libxml/src/xmlregexp.c if (max == -1) max 6576 third_party/libxml/src/xmlregexp.c kbase = max - min; max 6701 third_party/libxml/src/xmlregexp.c if ((insert->exp_min == min) && (insert->exp_max == max) && max 6727 third_party/libxml/src/xmlregexp.c entry->exp_max = max; max 6731 third_party/libxml/src/xmlregexp.c if (max < 0) max 6734 third_party/libxml/src/xmlregexp.c entry->c_max = max * entry->exp_left->c_max; max 6908 third_party/libxml/src/xmlregexp.c xmlExpNewRange(xmlExpCtxtPtr ctxt, xmlExpNodePtr subset, int min, int max) { max 6911 third_party/libxml/src/xmlregexp.c if ((subset == NULL) || (min < 0) || (max < -1) || max 6912 third_party/libxml/src/xmlregexp.c ((max >= 0) && (min > max))) { max 6917 third_party/libxml/src/xmlregexp.c NULL, NULL, min, max)); max 7129 third_party/libxml/src/xmlregexp.c int min, max; max 7146 third_party/libxml/src/xmlregexp.c max = -1; max 7148 third_party/libxml/src/xmlregexp.c max = exp->exp_max - 1; max 7155 third_party/libxml/src/xmlregexp.c NULL, min, max); max 7435 third_party/libxml/src/xmlregexp.c int min, max; max 7448 third_party/libxml/src/xmlregexp.c max = -1; max 7450 third_party/libxml/src/xmlregexp.c max = sub->exp_max -1; max 7463 third_party/libxml/src/xmlregexp.c sub->exp_left, NULL, NULL, min, max); max 7490 third_party/libxml/src/xmlregexp.c int min, max; max 7514 third_party/libxml/src/xmlregexp.c max = -1; max 7533 third_party/libxml/src/xmlregexp.c max = -1; max 7536 third_party/libxml/src/xmlregexp.c max = -1; max 7551 third_party/libxml/src/xmlregexp.c max = exp->exp_max - sub->exp_max * mult; max 7570 third_party/libxml/src/xmlregexp.c max = -1; max 7576 third_party/libxml/src/xmlregexp.c max = -1; max 7586 third_party/libxml/src/xmlregexp.c max = -1; max 7595 third_party/libxml/src/xmlregexp.c max = -1; max 7598 third_party/libxml/src/xmlregexp.c max = -1; max 7613 third_party/libxml/src/xmlregexp.c max = exp->exp_max - sub->exp_max; max 7621 third_party/libxml/src/xmlregexp.c NULL, NULL, min, max); max 7643 third_party/libxml/src/xmlregexp.c max = -1; max 7645 third_party/libxml/src/xmlregexp.c max = exp->exp_max - 1; max 7652 third_party/libxml/src/xmlregexp.c NULL, NULL, min, max); max 7899 third_party/libxml/src/xmlregexp.c int min, max; max 7910 third_party/libxml/src/xmlregexp.c max = xmlExpParseNumber(ctxt); max 7913 third_party/libxml/src/xmlregexp.c max = min; max 7920 third_party/libxml/src/xmlregexp.c min, max); max 5487 third_party/libxml/src/xmlschemas.c xmlNodePtr node, int min, int max) max 5507 third_party/libxml/src/xmlschemas.c ret->maxOccurs = max; max 5995 third_party/libxml/src/xmlschemas.c int min, int max, int def, const char *expected) max 6007 third_party/libxml/src/xmlschemas.c if (max != UNBOUNDED) { max 6038 third_party/libxml/src/xmlschemas.c if ((*cur != 0) || (ret < min) || ((max != -1) && (ret > max))) { max 6060 third_party/libxml/src/xmlschemas.c int min, int max, int def, const char *expected) max 6090 third_party/libxml/src/xmlschemas.c if ((*cur != 0) || (ret < min) || ((max != -1) && (ret > max))) { max 6877 third_party/libxml/src/xmlschemas.c int min, max; max 6907 third_party/libxml/src/xmlschemas.c max = xmlGetMaxOccurs(ctxt, node, 0, UNBOUNDED, 1, max 6911 third_party/libxml/src/xmlschemas.c xmlSchemaPCheckParticleCorrect_2(ctxt, NULL, node, min, max); max 6936 third_party/libxml/src/xmlschemas.c if ((min == 0) && (max == 0)) { max 6943 third_party/libxml/src/xmlschemas.c particle = xmlSchemaAddParticle(ctxt, node, min, max); max 8443 third_party/libxml/src/xmlschemas.c int min, max, isRef = 0; max 8486 third_party/libxml/src/xmlschemas.c max = xmlGetMaxOccurs(ctxt, node, 0, UNBOUNDED, 1, "(xs:nonNegativeInteger | unbounded)"); max 8487 third_party/libxml/src/xmlschemas.c xmlSchemaPCheckParticleCorrect_2(ctxt, NULL, node, min, max); max 8488 third_party/libxml/src/xmlschemas.c particle = xmlSchemaAddParticle(ctxt, node, min, max); max 8549 third_party/libxml/src/xmlschemas.c if ((min == 0) && (max == 0)) max 9335 third_party/libxml/src/xmlschemas.c int min, max; max 9352 third_party/libxml/src/xmlschemas.c max = xmlGetMaxOccurs(ctxt, node, 0, UNBOUNDED, 1, max 9374 third_party/libxml/src/xmlschemas.c item = xmlSchemaAddParticle(ctxt, node, min, max); max 9383 third_party/libxml/src/xmlschemas.c xmlSchemaPCheckParticleCorrect_2(ctxt, item, node, min, max); max 9405 third_party/libxml/src/xmlschemas.c if ((min == 0) && (max == 0)) max 11200 third_party/libxml/src/xmlschemas.c int min = 1, max = 1, isElemRef, hasRefs = 0; max 11214 third_party/libxml/src/xmlschemas.c max = xmlGetMaxOccurs(ctxt, node, 1, 1, 1, "1"); max 11218 third_party/libxml/src/xmlschemas.c max = xmlGetMaxOccurs(ctxt, node, 0, UNBOUNDED, 1, max 11221 third_party/libxml/src/xmlschemas.c xmlSchemaPCheckParticleCorrect_2(ctxt, NULL, node, min, max); max 11225 third_party/libxml/src/xmlschemas.c particle = xmlSchemaAddParticle(ctxt, node, min, max); max 11432 third_party/libxml/src/xmlschemas.c if ((max == 0) && (min == 0)) max 14682 third_party/libxml/src/xmlschemas.c int max = -1, cur; max 14696 third_party/libxml/src/xmlschemas.c if ((max < cur) || (max == -1)) max 14697 third_party/libxml/src/xmlschemas.c max = cur; max 14700 third_party/libxml/src/xmlschemas.c return (particle->maxOccurs * max); max 9264 third_party/libxml/src/xpath.c int offset, max; max 9280 third_party/libxml/src/xpath.c max = xmlUTF8Strlen(to->stringval); max 9284 third_party/libxml/src/xpath.c if (offset < max) { max 9882 third_party/libxml/src/xpath.c int max = len * 2; max 9884 third_party/libxml/src/xpath.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); max 9894 third_party/libxml/src/xpath.c if (len + 10 > max) { max 9895 third_party/libxml/src/xpath.c max *= 2; max 9897 third_party/libxml/src/xpath.c max * sizeof(xmlChar)); max 179 third_party/libxslt/libexslt/math.c double max, cur; max 185 third_party/libxslt/libexslt/math.c max = xmlXPathCastNodeToNumber(ns->nodeTab[0]); max 186 third_party/libxslt/libexslt/math.c if (xmlXPathIsNaN(max)) max 197 third_party/libxslt/libexslt/math.c if (cur < max) max 199 third_party/libxslt/libexslt/math.c if (cur > max) { max 200 third_party/libxslt/libexslt/math.c max = cur; max 629 third_party/libxslt/libxslt/numbers.c int max, max 687 third_party/libxslt/libxslt/numbers.c if (amount >= max) max 797 third_party/libxslt/libxslt/numbers.c int max = sizeof(numarray)/sizeof(numarray[0]); max 803 third_party/libxslt/libxslt/numbers.c max, max 103 third_party/libxslt/libxslt/trio.h int trio_snprintf TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); max 109 third_party/libxslt/libxslt/trio.h int trio_snprintfcat TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); max 1885 third_party/libxslt/libxslt/xsltutils.c int max; max 1898 third_party/libxslt/libxslt/xsltutils.c max = MAX_TEMPLATES; max 1899 third_party/libxslt/libxslt/xsltutils.c templates = xmlMalloc(max * sizeof(xsltTemplatePtr)); max 1907 third_party/libxslt/libxslt/xsltutils.c if (nb >= max) max 2008 third_party/libxslt/libxslt/xsltutils.c int nb = 0, max = 0, i, j; max 2017 third_party/libxslt/libxslt/xsltutils.c max = 10000; max 2019 third_party/libxslt/libxslt/xsltutils.c (xsltTemplatePtr *) xmlMalloc(max * sizeof(xsltTemplatePtr)); max 2030 third_party/libxslt/libxslt/xsltutils.c if (nb >= max) max 80 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnlen(const char *str, PRUint32 max); max 104 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncpy(char *dest, const char *src, PRUint32 max); max 127 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncpyz(char *dest, const char *src, PRUint32 max); max 165 third_party/npapi/npspy/extern/nspr/plstr.h PL_strndup(const char *s, PRUint32 max); max 192 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncat(char *dst, const char *src, PRUint32 max); max 206 third_party/npapi/npspy/extern/nspr/plstr.h PL_strcatn(char *dst, PRUint32 max, const char *src); max 232 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncmp(const char *a, const char *b, PRUint32 max); max 256 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncasecmp(const char *a, const char *b, PRUint32 max); max 393 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnrstr(const char *big, const char *little, PRUint32 max); max 424 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncasestr(const char *big, const char *little, PRUint32 max); max 435 third_party/npapi/npspy/extern/nspr/plstr.h PL_strncaserstr(const char *big, const char *little, PRUint32 max); max 267 third_party/npapi/npspy/windows/dirpick.cpp ListBox_SetTopIndex(hWndLB, max((int)(index - 2), 0)); max 542 third_party/npapi/npspy/windows/dirpick.cpp cyItem = max(ITEM_BITMAPHEIGHT, tm.tmHeight); max 851 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java int newSize = Math.max(initialCapacity, max 852 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java Math.max(minSize, flushedBuffersTotalBytes >>> 1)); max 134 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java treeDepth = Math.max(left.getTreeDepth(), right.getTreeDepth()) + 1; max 192 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int newDepth = Math.max(left.getTreeDepth(), right.getTreeDepth()) + 1; max 223 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final int max = ByteString.MAX_READ_FROM_CHUNK_SIZE; max 241 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max - 1)); max 242 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max)); max 243 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max + 1)); max 245 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max * 2 - 1)); max 246 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max * 2)); max 247 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(max * 2 + 1)); max 333 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyObject* arg, T* value, PyObject* min, PyObject* max) { max 340 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc if (PyObject_Compare(min, arg) > 0 || PyObject_Compare(max, arg) < 0) { max 1183 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc int min, max; max 1192 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc min = max = from; max 1206 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc max = to - 1; max 1209 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc max = from; max 1218 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc while (i >= min && i <= max) { max 980 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "field_count", SimpleItoa(max(1, descriptor_->field_count()))); max 362 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc int max_fd = max(child_stdin_, child_stdout_); max 160 third_party/protobuf/src/google/protobuf/io/coded_stream.cc total_bytes_limit_ = max(current_position, total_bytes_limit); max 168 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc max(old_size * 2, max 49 third_party/protobuf/src/google/protobuf/repeated_field.cc total_size_ = max(kMinRepeatedFieldAllocationSize, max 50 third_party/protobuf/src/google/protobuf/repeated_field.cc max(total_size_ * 2, new_size)); max 753 third_party/protobuf/src/google/protobuf/repeated_field.h total_size_ = max(google::protobuf::internal::kMinRepeatedFieldAllocationSize, max 754 third_party/protobuf/src/google/protobuf/repeated_field.h max(total_size_ * 2, new_size)); max 68 third_party/qcms/src/transform-sse1.c const __m128 max = _mm_load_ps(clampMaxValueX4); max 107 third_party/qcms/src/transform-sse1.c vec_r = _mm_min_ps(max, vec_r); max 140 third_party/qcms/src/transform-sse1.c vec_r = _mm_min_ps(max, vec_r); max 188 third_party/qcms/src/transform-sse1.c const __m128 max = _mm_load_ps(clampMaxValueX4); max 233 third_party/qcms/src/transform-sse1.c vec_r = _mm_min_ps(max, vec_r); max 268 third_party/qcms/src/transform-sse1.c vec_r = _mm_min_ps(max, vec_r); max 68 third_party/qcms/src/transform-sse2.c const __m128 max = _mm_load_ps(clampMaxValueX4); max 107 third_party/qcms/src/transform-sse2.c vec_r = _mm_min_ps(max, vec_r); max 138 third_party/qcms/src/transform-sse2.c vec_r = _mm_min_ps(max, vec_r); max 182 third_party/qcms/src/transform-sse2.c const __m128 max = _mm_load_ps(clampMaxValueX4); max 227 third_party/qcms/src/transform-sse2.c vec_r = _mm_min_ps(max, vec_r); max 260 third_party/qcms/src/transform-sse2.c vec_r = _mm_min_ps(max, vec_r); max 618 third_party/re2/re2/compile.cc Rune max = MaxRune(i); max 619 third_party/re2/re2/compile.cc if (lo <= max && max < hi) { max 620 third_party/re2/re2/compile.cc AddRuneRangeUTF8(lo, max, foldcase); max 621 third_party/re2/re2/compile.cc AddRuneRangeUTF8(max+1, hi, foldcase); max 87 third_party/re2/re2/dfa.cc bool PossibleMatchRange(string* min, string* max, int maxlen); max 1977 third_party/re2/re2/dfa.cc bool DFA::PossibleMatchRange(string* min, string* max, int maxlen) { max 2004 third_party/re2/re2/dfa.cc *max = ""; max 2074 third_party/re2/re2/dfa.cc max->clear(); max 2078 third_party/re2/re2/dfa.cc << " for state s=" << s << " and max=" << CEscape(*max); max 2092 third_party/re2/re2/dfa.cc max->append(1, j); max 2104 third_party/re2/re2/dfa.cc *max = PrefixSuccessor(*max); max 2112 third_party/re2/re2/dfa.cc if (max->empty()) max 2119 third_party/re2/re2/dfa.cc bool Prog::PossibleMatchRange(string* min, string* max, int maxlen) { max 2131 third_party/re2/re2/dfa.cc return dfa->PossibleMatchRange(min, max, maxlen); max 70 third_party/re2/re2/mimics_pcre.cc if (re->max() == -1 && CanBeEmptyString(re->sub()[0])) max 483 third_party/re2/re2/onepass.cc Rune lo = max<Rune>(ip->lo(), 'a') + 'A' - 'a'; max 87 third_party/re2/re2/parse.cc bool PushRepetition(int min, int max, const StringPiece& s, bool nongreedy); max 468 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushRepetition(int min, int max, max 471 third_party/re2/re2/parse.cc if ((max != -1 && max < min) || min > 1000 || max > 1000) { max 486 third_party/re2/re2/parse.cc re->max_ = max; max 330 third_party/re2/re2/prog.h bool PossibleMatchRange(string* min, string* max, int maxlen); max 351 third_party/re2/re2/re2.cc int max = 0; max 359 third_party/re2/re2/re2.cc if (n > max) max 360 third_party/re2/re2/re2.cc max = n; max 364 third_party/re2/re2/re2.cc return max; max 481 third_party/re2/re2/re2.cc bool RE2::PossibleMatchRange(string* min, string* max, int maxlen) const { max 515 third_party/re2/re2/re2.cc *max = ""; max 520 third_party/re2/re2/re2.cc *max = pmax; max 424 third_party/re2/re2/re2.h bool PossibleMatchRange(string* min, string* max, int maxlen) const; max 274 third_party/re2/re2/regexp.cc Regexp* Regexp::Repeat(Regexp* sub, ParseFlags flags, int min, int max) { max 279 third_party/re2/re2/regexp.cc re->max_ = max; max 359 third_party/re2/re2/regexp.cc a->max() == b->max(); max 707 third_party/re2/re2/regexp.cc Rune lo1 = max<Rune>(lo, 'A'); max 712 third_party/re2/re2/regexp.cc lo1 = max<Rune>(lo, 'a'); max 327 third_party/re2/re2/regexp.h int max() { DCHECK_EQ(op_, kRegexpRepeat); return max_; } max 392 third_party/re2/re2/regexp.h static Regexp* Repeat(Regexp* sub, ParseFlags flags, int min, int max); max 125 third_party/re2/re2/simplify.cc static Regexp* SimplifyRepeat(Regexp* re, int min, int max, max 313 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::SimplifyRepeat(Regexp* re, int min, int max, max 316 third_party/re2/re2/simplify.cc if (max == -1) { max 337 third_party/re2/re2/simplify.cc if (min == 0 && max == 0) max 341 third_party/re2/re2/simplify.cc if (min == 1 && max == 1) max 359 third_party/re2/re2/simplify.cc if (max > min) { max 361 third_party/re2/re2/simplify.cc for (int i = min+1; i < max; i++) max 372 third_party/re2/re2/simplify.cc LOG(DFATAL) << "Malformed repeat " << re->ToString() << " " << min << " " << max; max 98 third_party/re2/re2/testing/dfa_test.cc int max = 24; max 99 third_party/re2/re2/testing/dfa_test.cc for (int i = 17; i < max; i++) { max 130 third_party/re2/re2/testing/dump.cc s->append(StringPrintf("%d,%d ", re->min(), re->max())); max 27 third_party/re2/re2/testing/possible_match_test.cc const char* max; max 107 third_party/re2/re2/testing/possible_match_test.cc string min, max; max 114 third_party/re2/re2/testing/possible_match_test.cc CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen)) max 119 third_party/re2/re2/testing/possible_match_test.cc CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); max 122 third_party/re2/re2/testing/possible_match_test.cc EXPECT_EQ(t.max, max) << t.regexp; max 129 third_party/re2/re2/testing/possible_match_test.cc string min, max; max 132 third_party/re2/re2/testing/possible_match_test.cc EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); max 138 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 139 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 141 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 142 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 144 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 145 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 147 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 148 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 150 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 151 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 153 third_party/re2/re2/testing/possible_match_test.cc PossibleMatchRange(&min, &max, 10)) max 154 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 157 third_party/re2/re2/testing/possible_match_test.cc EXPECT_FALSE(RE2("*hello").PossibleMatchRange(&min, &max, 10)) max 158 third_party/re2/re2/testing/possible_match_test.cc << "min=" << CEscape(min) << ", max=" << CEscape(max); max 202 third_party/re2/re2/testing/possible_match_test.cc string min, max; max 203 third_party/re2/re2/testing/possible_match_test.cc if(!re.PossibleMatchRange(&min, &max, 10)) { max 218 third_party/re2/re2/testing/possible_match_test.cc CHECK_GE(s, min) << " regexp: " << regexp << " max: " << max; max 219 third_party/re2/re2/testing/possible_match_test.cc CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; max 722 third_party/re2/re2/testing/re2_test.cc static const int32 max = 0x7fffffff; max 723 third_party/re2/re2/testing/re2_test.cc static const int32 min = -max - 1; max 726 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("2147483647", "(-?\\d+)", &v)); CHECK_EQ(v, max); max 732 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(v, max); max 738 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(v, max); max 743 third_party/re2/re2/testing/re2_test.cc static const uint32 max = 0xfffffffful; max 745 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("4294967295", "(\\d+)", &v)); CHECK_EQ(v, max); max 749 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch(zeros + "4294967295", "(\\d+)", &v)); CHECK_EQ(v, max); max 753 third_party/re2/re2/testing/re2_test.cc static const int64 max = 0x7fffffffffffffffull; max 754 third_party/re2/re2/testing/re2_test.cc static const int64 min = -max - 1; max 760 third_party/re2/re2/testing/re2_test.cc snprintf(buf, sizeof(buf), "%lld", (long long int)max); max 761 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch(buf, "(-?\\d+)", &v)); CHECK_EQ(v, max); max 766 third_party/re2/re2/testing/re2_test.cc snprintf(buf, sizeof(buf), "%lld", (long long int)max); max 779 third_party/re2/re2/testing/re2_test.cc static const uint64 max = 0xffffffffffffffffull; max 785 third_party/re2/re2/testing/re2_test.cc snprintf(buf, sizeof(buf), "%llu", (long long unsigned)max); max 786 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch(buf, "(-?\\d+)", &v)); CHECK_EQ(v, max); max 208 third_party/re2/re2/tostring.cc if (re->max() == -1) max 210 third_party/re2/re2/tostring.cc else if (re->min() == re->max()) max 213 third_party/re2/re2/tostring.cc t_->append(StringPrintf("{%d,%d}", re->min(), re->max())); max 112 third_party/re2/util/benchmark.cc n = max(last+1, min(n+n/2, 100*last)); max 149 third_party/re2/util/benchmark.cc for(int k = max(b->lo, 1); k <= max(b->hi, 1); k<<=1) max 41 third_party/re2/util/util.h using std::max; max 12954 third_party/sqlite/amalgamation/sqlite3.c int max; max 12962 third_party/sqlite/amalgamation/sqlite3.c max = va_arg(ap, int); max 12973 third_party/sqlite/amalgamation/sqlite3.c if( val<min || val>max || (nextC!=0 && nextC!=*zDate) ){ max 83028 third_party/sqlite/amalgamation/sqlite3.c int max; max 83039 third_party/sqlite/amalgamation/sqlite3.c max = sqlite3_user_data(context)!=0; max 83041 third_party/sqlite/amalgamation/sqlite3.c if( (max && cmp<0) || (!max && cmp>0) ){ max 83217 third_party/sqlite/amalgamation/sqlite3.c FUNCTION(max, -1, 1, 1, minmaxFunc ), max 83218 third_party/sqlite/amalgamation/sqlite3.c FUNCTION(max, 0, 1, 1, 0 ), max 83219 third_party/sqlite/amalgamation/sqlite3.c AGGREGATE(max, 1, 1, 1, minmaxStep, minMaxFinalize ), max 450 third_party/sqlite/src/ext/fts2/fts2.c static int getVarintSafe(const char *p, sqlite_int64 *v, int max){ max 453 third_party/sqlite/src/ext/fts2/fts2.c if( max>VARINT_MAX ) max = VARINT_MAX; max 454 third_party/sqlite/src/ext/fts2/fts2.c while( max && (*q & 0x80) == 0x80 ){ max 455 third_party/sqlite/src/ext/fts2/fts2.c max--; max 459 third_party/sqlite/src/ext/fts2/fts2.c if ( !max ){ max 472 third_party/sqlite/src/ext/fts2/fts2.c static int getVarint32Safe(const char *p, int *pi, int max){ max 474 third_party/sqlite/src/ext/fts2/fts2.c int ret = getVarintSafe(p, &i, max); max 105 third_party/sqlite/src/src/date.c int max; max 113 third_party/sqlite/src/src/date.c max = va_arg(ap, int); max 124 third_party/sqlite/src/src/date.c if( val<min || val>max || (nextC!=0 && nextC!=*zDate) ){ max 1329 third_party/sqlite/src/src/func.c int max; max 1340 third_party/sqlite/src/src/func.c max = sqlite3_user_data(context)!=0; max 1342 third_party/sqlite/src/src/func.c if( (max && cmp<0) || (!max && cmp>0) ){ max 1518 third_party/sqlite/src/src/func.c FUNCTION(max, -1, 1, 1, minmaxFunc ), max 1519 third_party/sqlite/src/src/func.c FUNCTION(max, 0, 1, 1, 0 ), max 1520 third_party/sqlite/src/src/func.c AGGREGATE(max, 1, 1, 1, minmaxStep, minMaxFinalize ), max 1892 third_party/sqlite/src/tool/lemon.c int max, len; max 1893 third_party/sqlite/src/tool/lemon.c max = 0; max 1913 third_party/sqlite/src/tool/lemon.c if( len>max ) max = len; max 1919 third_party/sqlite/src/tool/lemon.c fprintf(errstream," -%-*s %s\n",max,op[i].label,op[i].message); max 1924 third_party/sqlite/src/tool/lemon.c (int)(max-lemonStrlen(op[i].label)-9),"",op[i].message); max 1929 third_party/sqlite/src/tool/lemon.c (int)(max-lemonStrlen(op[i].label)-6),"",op[i].message); max 1934 third_party/sqlite/src/tool/lemon.c (int)(max-lemonStrlen(op[i].label)-8),"",op[i].message); max 330 third_party/talloc/libreplace/replace.c size_t rep_strnlen(const char *s, size_t max) max 334 third_party/talloc/libreplace/replace.c for (len = 0; len < max; len++) { max 208 third_party/talloc/libreplace/snprintf.c int max; max 230 third_party/talloc/libreplace/snprintf.c char *value, int flags, int min, int max); max 232 third_party/talloc/libreplace/snprintf.c LLONG value, int base, int min, int max, int flags); max 234 third_party/talloc/libreplace/snprintf.c LDOUBLE fvalue, int min, int max, int flags); max 385 third_party/talloc/libreplace/snprintf.c if (cnk->max < 0) max 386 third_party/talloc/libreplace/snprintf.c cnk->max = 0; max 387 third_party/talloc/libreplace/snprintf.c cnk->max = 10 * cnk->max + char_to_int (ch); max 394 third_party/talloc/libreplace/snprintf.c if (cnk->max <= 0) /* what ?? */ max 396 third_party/talloc/libreplace/snprintf.c cnk->num = cnk->max; max 397 third_party/talloc/libreplace/snprintf.c cnk->max = -1; max 659 third_party/talloc/libreplace/snprintf.c int len, min, max; max 663 third_party/talloc/libreplace/snprintf.c if (cnk->max_star) max = cnk->max_star->value; max 664 third_party/talloc/libreplace/snprintf.c else max = cnk->max; max 681 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 10, min, max, cnk->flags); max 685 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 8, min, max, cnk->flags); max 689 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 16, min, max, cnk->flags); max 693 third_party/talloc/libreplace/snprintf.c fmtfp (buffer, &currlen, maxlen, cnk->fvalue, min, max, cnk->flags); max 701 third_party/talloc/libreplace/snprintf.c if (max == -1) { max 702 third_party/talloc/libreplace/snprintf.c max = strlen(cnk->strvalue); max 704 third_party/talloc/libreplace/snprintf.c fmtstr (buffer, &currlen, maxlen, cnk->strvalue, cnk->flags, min, max); max 708 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, (long)(cnk->strvalue), 16, min, max, cnk->flags); max 762 third_party/talloc/libreplace/snprintf.c char *value, int flags, int min, int max) max 768 third_party/talloc/libreplace/snprintf.c printf("fmtstr min=%d max=%d s=[%s]\n", min, max, value); max 774 third_party/talloc/libreplace/snprintf.c for (strln = 0; strln < max && value[strln]; ++strln); /* strlen */ max 785 third_party/talloc/libreplace/snprintf.c while (*value && (cnt < max)) { max 798 third_party/talloc/libreplace/snprintf.c LLONG value, int base, int min, int max, int flags) max 808 third_party/talloc/libreplace/snprintf.c if (max < 0) max 809 third_party/talloc/libreplace/snprintf.c max = 0; max 836 third_party/talloc/libreplace/snprintf.c zpadlen = max - place; max 837 third_party/talloc/libreplace/snprintf.c spadlen = min - MAX (max, place) - (signvalue ? 1 : 0); max 849 third_party/talloc/libreplace/snprintf.c zpadlen, spadlen, min, max, place); max 951 third_party/talloc/libreplace/snprintf.c LDOUBLE fvalue, int min, int max, int flags) max 971 third_party/talloc/libreplace/snprintf.c if (max < 0) max 972 third_party/talloc/libreplace/snprintf.c max = 6; max 992 third_party/talloc/libreplace/snprintf.c if (max == 0) ufvalue += 0.5; /* if max = 0 we must round */ max 999 third_party/talloc/libreplace/snprintf.c if (max > 9) max 1000 third_party/talloc/libreplace/snprintf.c max = 9; max 1009 third_party/talloc/libreplace/snprintf.c fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); max 1011 third_party/talloc/libreplace/snprintf.c if (fracpart >= POW10(max)) { max 1013 third_party/talloc/libreplace/snprintf.c fracpart -= POW10(max); max 1047 third_party/talloc/libreplace/snprintf.c padlen = min - iplace - max - 1 - ((signvalue) ? 1 : 0); max 1048 third_party/talloc/libreplace/snprintf.c zpadlen = max - fplace; max 1084 third_party/talloc/libreplace/snprintf.c if (max > 0) { max 1120 third_party/talloc/libreplace/snprintf.c new_c->max = -1; max 1139 third_party/talloc/libreplace/snprintf.c int max; max 1144 third_party/talloc/libreplace/snprintf.c max = chunk->num; max 1147 third_party/talloc/libreplace/snprintf.c l = (struct pr_chunk_x *)malloc(sizeof(struct pr_chunk_x) * max); max 1150 third_party/talloc/libreplace/snprintf.c l = (struct pr_chunk_x *)realloc(*list, sizeof(struct pr_chunk_x) * max); max 1154 third_party/talloc/libreplace/snprintf.c for (i = 0; i < max; i++) { max 1159 third_party/talloc/libreplace/snprintf.c for (i = pos; i < max; i++) { max 1165 third_party/talloc/libreplace/snprintf.c max = max_num; max 1176 third_party/talloc/libreplace/snprintf.c for (i = 0; i < max; i++) { max 1186 third_party/talloc/libreplace/snprintf.c return max; max 42 third_party/tcmalloc/chromium/src/central_freelist.cc using std::max; max 74 third_party/tcmalloc/chromium/src/central_freelist.cc (max)(1, (1024 * 1024) / (bytes * objs_to_move))); max 1078 third_party/tcmalloc/chromium/src/debugallocation.cc i.max_object_size = numeric_limits<size_t>::max(); max 105 third_party/tcmalloc/chromium/src/heap-checker.cc using std::max; max 136 third_party/tcmalloc/chromium/src/memory_region_map.cc using std::max; max 201 third_party/tcmalloc/chromium/src/memory_region_map.cc max_stack_depth_ = max(max_stack_depth_, max_stack_depth); max 142 third_party/tcmalloc/chromium/src/tcmalloc.cc using STL_NAMESPACE::max; max 307 third_party/tcmalloc/chromium/src/tcmalloc.cc return alloc_size <= ((std::numeric_limits<int>::max)() - kPageSize); max 755 third_party/tcmalloc/chromium/src/tcmalloc.cc Length num_pages = max<Length>(num_bytes >> kPageShift, 1); max 873 third_party/tcmalloc/chromium/src/tcmalloc.cc span_info.max_object_size = (numeric_limits<size_t>::max)(); max 1252 third_party/tcmalloc/chromium/src/tcmalloc.cc (std::numeric_limits<size_t>::max)() - old_size); // Avoid overflow. max 57 third_party/tcmalloc/chromium/src/tests/sampler_test.cc using std::max; max 339 third_party/tcmalloc/chromium/src/tests/sampler_test.cc max_ratio_error = max(max_ratio_error, max 340 third_party/tcmalloc/chromium/src/tests/sampler_test.cc max(truelog/fastlog-1, fastlog/truelog-1)); max 137 third_party/tcmalloc/chromium/src/tests/system-alloc_unittest.cc const size_t kHugeSize = (std::numeric_limits<size_t>::max)() / 2; max 44 third_party/tcmalloc/chromium/src/thread_cache.cc using std::max; max 268 third_party/tcmalloc/chromium/src/thread_cache.cc max<int>(list->max_length() - batch_size, batch_size)); max 480 third_party/tcmalloc/chromium/src/thread_cache.cc double ratio = space / max<double>(1, per_thread_cache_size_); max 59 third_party/tcmalloc/chromium/src/windows/port.cc pagesize = std::max(system_info.dwPageSize, max 42 third_party/tcmalloc/vendor/src/central_freelist.cc using std::max; max 74 third_party/tcmalloc/vendor/src/central_freelist.cc (max)(1, (1024 * 1024) / (bytes * objs_to_move))); max 1071 third_party/tcmalloc/vendor/src/debugallocation.cc i.max_object_size = numeric_limits<size_t>::max(); max 105 third_party/tcmalloc/vendor/src/heap-checker.cc using std::max; max 135 third_party/tcmalloc/vendor/src/memory_region_map.cc using std::max; max 193 third_party/tcmalloc/vendor/src/memory_region_map.cc max_stack_depth_ = max(max_stack_depth_, max_stack_depth); max 153 third_party/tcmalloc/vendor/src/tcmalloc.cc using STL_NAMESPACE::max; max 748 third_party/tcmalloc/vendor/src/tcmalloc.cc Length num_pages = max<Length>(num_bytes >> kPageShift, 1); max 866 third_party/tcmalloc/vendor/src/tcmalloc.cc span_info.max_object_size = (numeric_limits<size_t>::max)(); max 57 third_party/tcmalloc/vendor/src/tests/sampler_test.cc using std::max; max 339 third_party/tcmalloc/vendor/src/tests/sampler_test.cc max_ratio_error = max(max_ratio_error, max 340 third_party/tcmalloc/vendor/src/tests/sampler_test.cc max(truelog/fastlog-1, fastlog/truelog-1)); max 137 third_party/tcmalloc/vendor/src/tests/system-alloc_unittest.cc const size_t kHugeSize = (std::numeric_limits<size_t>::max)() / 2; max 44 third_party/tcmalloc/vendor/src/thread_cache.cc using std::max; max 262 third_party/tcmalloc/vendor/src/thread_cache.cc max<int>(list->max_length() - batch_size, batch_size)); max 469 third_party/tcmalloc/vendor/src/thread_cache.cc double ratio = space / max<double>(1, per_thread_cache_size_); max 58 third_party/tcmalloc/vendor/src/windows/port.cc pagesize = std::max(system_info.dwPageSize, max 997 third_party/wtl/include/atlctrlx.h int cyMax = __max(rcLeft.bottom, max(rcLink.bottom, rcRight.bottom)); max 72 third_party/wtl/include/atlddx.h #define DDX_INT_RANGE(nID, var, min, max) \ max 75 third_party/wtl/include/atlddx.h if(!DDX_Int(nID, var, TRUE, bSaveAndValidate, TRUE, min, max)) \ max 86 third_party/wtl/include/atlddx.h #define DDX_UINT_RANGE(nID, var, min, max) \ max 89 third_party/wtl/include/atlddx.h if(!DDX_Int(nID, var, FALSE, bSaveAndValidate, TRUE, min, max)) \ max 101 third_party/wtl/include/atlddx.h #define DDX_FLOAT_RANGE(nID, var, min, max) \ max 104 third_party/wtl/include/atlddx.h if(!DDX_Float(nID, var, bSaveAndValidate, TRUE, min, max)) \ max 114 third_party/wtl/include/atlddx.h #define DDX_FLOAT_P_RANGE(nID, var, min, max, precision) \ max 117 third_party/wtl/include/atlddx.h if(!DDX_Float(nID, var, bSaveAndValidate, TRUE, min, max, precision)) \ max 42 third_party/zlib/inftrees.c unsigned min, max; /* minimum and maximum code lengths */ max 114 third_party/zlib/inftrees.c for (max = MAXBITS; max >= 1; max--) max 115 third_party/zlib/inftrees.c if (count[max] != 0) break; max 116 third_party/zlib/inftrees.c if (root > max) root = max; max 117 third_party/zlib/inftrees.c if (max == 0) { /* no symbols to code at all */ max 126 third_party/zlib/inftrees.c for (min = 1; min < max; min++) max 137 third_party/zlib/inftrees.c if (left > 0 && (type == CODES || max != 1)) max 255 third_party/zlib/inftrees.c if (len == max) break; max 271 third_party/zlib/inftrees.c while (curr + drop < max) { max 134 tools/android/forwarder2/forwarder.cc *max_fd = std::max(*max_fd, fd); max 88 tools/android/forwarder2/forwarders_manager.cc max_fd = std::max(max_fd, notifier_fd); max 404 tools/android/forwarder2/host_forwarder_main.cc value > std::numeric_limits<uint16>::max()) { max 245 tools/android/memdump/memdump.cc DCHECK(times_mapped <= std::numeric_limits<int32_t>::max()); max 161 tools/imagediff/image_diff.cc int max_w = std::max(baseline.w(), actual.w()); max 162 tools/imagediff/image_diff.cc int max_h = std::max(baseline.h(), actual.h()); max 212 tools/imagediff/image_diff.cc int max_w = std::max(baseline.w(), actual.w()); max 213 tools/imagediff/image_diff.cc int max_h = std::max(baseline.h(), actual.h()); max 170 tools/win/link_limiter/limiter.cc max_concurrent = std::min(std::max(max_concurrent, 1), max 223 ui/android/java/src/org/chromium/ui/ColorPickerAdvanced.java saturationValue = Math.max(saturationValue, 0); max 228 ui/android/java/src/org/chromium/ui/ColorPickerAdvanced.java valueValue = Math.max(valueValue, 0); max 133 ui/android/java/src/org/chromium/ui/UiUtils.java double scale = maximumDimension / Math.max(originalWidth, originalHeight); max 152 ui/android/java/src/org/chromium/ui/UiUtils.java double scale = maximumDimension / Math.max(originalWidth, originalHeight); max 156 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java mAnchorWidth = Math.max(getDesiredWidth(cleanedData), mAnchorWidth); max 211 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java float localMax = Math.max(labelWidth, bounds.width()); max 212 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java maxTextWidth = Math.max(maxTextWidth, localMax); max 35 ui/app_list/pagination_model.cc SelectPage(std::max(total_pages_ - 1, 0), false /* animate */); max 215 ui/app_list/pagination_model.cc return std::max(start_page, std::min(end_page, target_page)); max 48 ui/app_list/speech_ui_model.cc maximum_sound_level_ = std::max(level, maximum_sound_level_); max 53 ui/app_list/speech_ui_model.cc maximum_sound_level_ = std::max( max 62 ui/app_list/speech_ui_model.cc std::min(std::max(minimum_sound_level_, sound_level_), max 117 ui/app_list/views/app_list_folder_view.cc int width = std::max(header_size.width(), grid_size.width()); max 181 ui/app_list/views/app_list_main_view.cc const int selected_page = std::max(0, pagination_model_->selected_page()); max 107 ui/app_list/views/apps_container_view.cc int width = std::max(grid_size.width(), folder_view_size.width()); max 108 ui/app_list/views/apps_container_view.cc int height = std::max(grid_size.height(), folder_view_size.height()); max 767 ui/app_list/views/apps_grid_view.cc int start = std::max(0, (page_index - kPrerenderPages) * tiles_per_page()); max 1031 ui/app_list/views/apps_grid_view.cc std::max(selected.page + page_delta, 0)); max 1246 ui/app_list/views/apps_grid_view.cc drop_target_.slot = std::max(0, std::min( max 183 ui/app_list/views/contents_view.cc const int selected_page = std::max(0, pagination_model_->selected_page()); max 193 ui/app_list/views/contents_view.cc int width = std::max(container_size.width(), results_size.width()); max 194 ui/app_list/views/contents_view.cc int height = std::max(container_size.height(), results_size.height()); max 202 ui/app_list/views/page_switcher.cc std::max(kMinButtonSpacing, button_spacing)); max 208 ui/app_list/views/page_switcher.cc std::max(kMinButtonWidth, button_width)); max 46 ui/app_list/views/search_result_actions_view.cc action_index = std::min(child_count(), std::max(-1, action_index)); max 118 ui/app_list/views/search_result_list_view.cc SetSelectedIndex(std::max(selected_index_ - 1, 0)); max 123 ui/app_list/views/search_result_list_view.cc SetSelectedIndex(std::max(selected_index_ - 1, 0)); max 881 ui/aura/window.cc std::max(min_size.width(), actual_new_bounds.width())); max 883 ui/aura/window.cc std::max(min_size.height(), actual_new_bounds.height())); max 22 ui/aura/window_tree_host_win.cc using std::max; max 184 ui/aura/window_tree_host_win.cc gfx::Point(max(0, min(size.width(), static_cast<int>(pt.x))), max 185 ui/aura/window_tree_host_win.cc max(0, min(size.height(), static_cast<int>(pt.y)))); max 50 ui/aura/window_tree_host_x11.cc using std::max; max 612 ui/aura/window_tree_host_x11.cc *location_return = gfx::Point(max(0, min(bounds_.width(), win_x_return)), max 613 ui/aura/window_tree_host_x11.cc max(0, min(bounds_.height(), win_y_return))); max 322 ui/base/clipboard/clipboard_gtk.cc if (title.length() >= std::numeric_limits<size_t>::max() / 4 || max 323 ui/base/clipboard/clipboard_gtk.cc url.length() >= std::numeric_limits<size_t>::max() / 4) max 245 ui/base/gtk/gtk_floating_container.cc child_allocation.width = std::max(1, std::min(child_requisition.width, max 247 ui/base/gtk/gtk_floating_container.cc child_allocation.height = std::max(1, std::min(child_requisition.height, max 43 ui/base/ime/composition_text_util_pango.cc char16_offsets[std::max(0, std::min(char_length, cursor_position))]; max 29 ui/base/l10n/l10n_util_win.cc font_size_scaler = std::max(std::min(font_size_scaler, 2.0), 0.7); max 47 ui/base/l10n/time_format.cc cutoff = std::numeric_limits<int>::max(); max 107 ui/base/layout.cc float smallest_diff = std::numeric_limits<float>::max(); max 139 ui/base/layout.cc float smallest_diff = std::numeric_limits<float>::max(); max 105 ui/base/models/list_selection_model.cc for (int i = std::min(index, anchor_), end = std::max(index, anchor_); max 845 ui/display/chromeos/output_configurator.cc size.set_width(std::max<int>(size.width(), mode_info->size().width())); max 53 ui/display/chromeos/x11/touchscreen_delegate_x11.cc width = valuator_info->max; max 59 ui/display/chromeos/x11/touchscreen_delegate_x11.cc height = valuator_info->max; max 286 ui/events/gesture_detection/gesture_provider.cc double ratio = std::max(0., distance - scaled_touch_slop_) / distance; max 220 ui/events/gestures/gesture_point.cc radius = std::max(event.radius_x(), event.radius_y()); max 455 ui/events/gestures/gesture_sequence.cc return std::max(nu * velocity, -GestureConfiguration::fling_velocity_cap()); max 809 ui/events/gestures/gesture_sequence.cc float left = std::numeric_limits<float>::max(); max 810 ui/events/gestures/gesture_sequence.cc float top = std::numeric_limits<float>::max(); max 811 ui/events/gestures/gesture_sequence.cc float right = -std::numeric_limits<float>::max(); max 812 ui/events/gestures/gesture_sequence.cc float bottom = -std::numeric_limits<float>::max(); max 822 ui/events/gestures/gesture_sequence.cc right = std::max(right, point.x()); max 824 ui/events/gestures/gesture_sequence.cc bottom = std::max(bottom, point.y()); max 1037 ui/events/gestures/gesture_sequence.cc float ratio = std::max((length - slop) / length, 0.0f); max 193 ui/events/latency_info.cc it->second.sequence_number = std::max(component_sequence_number, max 78 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc x_max_ = std::numeric_limits<int>::max(); max 80 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc y_max_ = std::numeric_limits<int>::max(); max 250 ui/events/x/device_data_manager.cc valuator_max_[deviceid][data_type] = v->max; max 558 ui/events/x/device_data_manager.cc double* min, double* max) { max 563 ui/events/x/device_data_manager.cc *max = valuator_max_[deviceid][type]; max 207 ui/events/x/device_data_manager.h double* max); max 118 ui/events/x/events_x.cc double radius = ui::GetTouchRadiusX(native_event), min, max; max 122 ui/events/x/events_x.cc deviceid, ui::DeviceDataManager::DT_TOUCH_MAJOR, &min, &max)) { max 126 ui/events/x/events_x.cc return radius * 2 == max; max 49 ui/gfx/animation/linear_animation.cc new_value = std::max(0.0, std::min(1.0, new_value)); max 23 ui/gfx/animation/throb_animation.cc std::numeric_limits<int>::max(); max 74 ui/gfx/animation/tween.cc return std::min(std::max(ToRoundedInt(f * 255.f), 0), 255); max 46 ui/gfx/break_list.h void SetMax(size_t max); max 47 ui/gfx/break_list.h size_t max() const { return max_; } max 111 ui/gfx/break_list.h void BreakList<T>::SetMax(size_t max) { max 112 ui/gfx/break_list.h typename std::vector<Break>::iterator i = GetBreak(max); max 113 ui/gfx/break_list.h i += (i == breaks_.begin() || i->first < max) ? 1 : 0; max 115 ui/gfx/break_list.h max_ = max; max 31 ui/gfx/break_list_unittest.cc const size_t max = 99; max 32 ui/gfx/break_list_unittest.cc breaks.SetMax(max); max 57 ui/gfx/break_list_unittest.cc breaks.ApplyValue(false, Range(0, max)); max 63 ui/gfx/break_list_unittest.cc breaks.ApplyValue(false, Range(7, max)); max 69 ui/gfx/break_list_unittest.cc breaks.ApplyValue(true, Range(6, max)); max 93 ui/gfx/break_list_unittest.cc breaks.ApplyValue(true, Range(7, max)); max 314 ui/gfx/canvas.cc int x2 = std::max(rect.x(), rect.right()); max 316 ui/gfx/canvas.cc int y2 = std::max(rect.y(), rect.bottom()); max 380 ui/gfx/canvas.cc DLOG_ASSERT(src_x + src_w < std::numeric_limits<int16_t>::max() && max 381 ui/gfx/canvas.cc src_y + src_h < std::numeric_limits<int16_t>::max()); max 195 ui/gfx/canvas_skia.cc w = std::max(w, string_size.width()); max 499 ui/gfx/color_analysis.cc float min_val = std::numeric_limits<float>::max(); max 509 ui/gfx/color_analysis.cc max_val = std::max(max_val, gray_level); max 139 ui/gfx/color_analysis_unittest.cc *min_gl = std::numeric_limits<uint8_t>::max(); max 145 ui/gfx/color_analysis_unittest.cc *max_gl = std::max(*max_gl, *current_color); max 83 ui/gfx/color_utils.cc return std::max(std::min(luma, 255), 0); max 96 ui/gfx/color_utils.cc double vmax = std::max(std::max(r, g), b); max 107 ui/gfx/display.cc device_scale_factor_ = std::max(1.0f, device_scale_factor_); max 138 ui/gfx/font_list_impl.cc const int size = std::max(1, old_size + size_delta); max 230 ui/gfx/font_list_impl.cc ascent = std::max(ascent, i->GetBaseline()); max 231 ui/gfx/font_list_impl.cc descent = std::max(descent, i->GetHeight() - i->GetBaseline()); max 279 ui/gfx/font_list_unittest.cc EXPECT_EQ(std::max(font1.GetHeight() - font1.GetBaseline(), max 283 ui/gfx/font_list_unittest.cc EXPECT_EQ(std::max(font1.GetBaseline(), font2.GetBaseline()), max 28 ui/gfx/geometry/box_f.cc void BoxF::ExpandTo(const Point3F& min, const Point3F& max) { max 29 ui/gfx/geometry/box_f.cc DCHECK_LE(min.x(), max.x()); max 30 ui/gfx/geometry/box_f.cc DCHECK_LE(min.y(), max.y()); max 31 ui/gfx/geometry/box_f.cc DCHECK_LE(min.z(), max.z()); max 36 ui/gfx/geometry/box_f.cc float max_x = std::max(right(), max.x()); max 37 ui/gfx/geometry/box_f.cc float max_y = std::max(bottom(), max.y()); max 38 ui/gfx/geometry/box_f.cc float max_z = std::max(front(), max.z()); max 114 ui/gfx/geometry/box_f.h void ExpandTo(const Point3F& min, const Point3F& max); max 38 ui/gfx/geometry/cubic_bezier.cc x1 = std::min(std::max(x1, 0.0), 1.0); max 39 ui/gfx/geometry/cubic_bezier.cc x2 = std::min(std::max(x2, 0.0), 1.0); max 40 ui/gfx/geometry/cubic_bezier.cc x = std::min(std::max(x, 0.0), 1.0); max 81 ui/gfx/geometry/cubic_bezier.cc void CubicBezier::Range(double* min, double* max) const { max 83 ui/gfx/geometry/cubic_bezier.cc *max = 1; max 125 ui/gfx/geometry/cubic_bezier.cc *max = std::max(std::max(*max, sol_1), sol_2); max 23 ui/gfx/geometry/cubic_bezier.h void Range(double* min, double* max) const; max 71 ui/gfx/geometry/cubic_bezier_unittest.cc double min, max; max 76 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 78 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 82 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 84 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 88 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 90 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 94 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 96 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 100 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 102 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 106 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 108 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_NEAR(max, 1.28818, epsilon); max 110 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 112 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 116 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 118 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_NEAR(max, 1.10755, epsilon); max 122 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 124 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 128 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 130 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1, max); max 134 ui/gfx/geometry/cubic_bezier_unittest.cc function->Range(&min, &max); max 136 ui/gfx/geometry/cubic_bezier_unittest.cc EXPECT_EQ(1.f, max); max 63 ui/gfx/geometry/quad_f.h float rr = std::max(std::max(p1_.x(), p2_.x()), std::max(p3_.x(), p4_.x())); max 65 ui/gfx/geometry/quad_f.h float rb = std::max(std::max(p1_.y(), p2_.y()), std::max(p3_.y(), p4_.y())); max 105 ui/gfx/geometry/rect.cc int rr = std::max(p1.x(), p2.x()); max 106 ui/gfx/geometry/rect.cc int rb = std::max(p1.y(), p2.y()); max 65 ui/gfx/geometry/rect_base_impl.h set_width(std::max(width() - left - right, static_cast<Type>(0))); max 66 ui/gfx/geometry/rect_base_impl.h set_height(std::max(height() - top - bottom, static_cast<Type>(0))); max 171 ui/gfx/geometry/rect_base_impl.h Type rx = std::max(x(), rect.x()); max 172 ui/gfx/geometry/rect_base_impl.h Type ry = std::max(y(), rect.y()); max 199 ui/gfx/geometry/rect_base_impl.h Type rr = std::max(right(), rect.right()); max 200 ui/gfx/geometry/rect_base_impl.h Type rb = std::max(bottom(), rect.bottom()); max 326 ui/gfx/geometry/rect_base_impl.h Type x_distance = std::max<Type>(0, std::max( max 328 ui/gfx/geometry/rect_base_impl.h Type y_distance = std::max<Type>(0, std::max( max 349 ui/gfx/geometry/rect_base_impl.h Type x = std::max<Type>(0, c.width() - width() - rect.width() + kEpsilon); max 350 ui/gfx/geometry/rect_base_impl.h Type y = std::max<Type>(0, c.height() - height() - rect.height() + kEpsilon); max 20 ui/gfx/geometry/rect_conversions.cc int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0); max 21 ui/gfx/geometry/rect_conversions.cc int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0); max 30 ui/gfx/geometry/rect_conversions.cc int width = std::max(ToFlooredInt(max_x) - min_x, 0); max 31 ui/gfx/geometry/rect_conversions.cc int height = std::max(ToFlooredInt(max_y) - min_y, 0); max 55 ui/gfx/geometry/rect_f.cc float rr = std::max(p1.x(), p2.x()); max 56 ui/gfx/geometry/rect_f.cc float rb = std::max(p1.y(), p2.y()); max 449 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 450 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 451 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 452 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 453 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max() } max 485 ui/gfx/geometry/rect_unittest.cc { std::numeric_limits<float>::max(), max 486 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 488 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 489 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 492 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 493 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 495 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 496 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max() }, max 537 ui/gfx/geometry/rect_unittest.cc { std::numeric_limits<float>::max(), max 538 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 540 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 541 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 544 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 545 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<float>::max(), max 547 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max(), max 548 ui/gfx/geometry/rect_unittest.cc std::numeric_limits<int>::max() }, max 792 ui/gfx/geometry/rect_unittest.cc float max = std::numeric_limits<int>::max(); max 796 ui/gfx/geometry/rect_unittest.cc min + 200, min + 200, max - 200, max - 200).IsExpressibleAsRect()); max 798 ui/gfx/geometry/rect_unittest.cc min - 200, min + 200, max + 200, max + 200).IsExpressibleAsRect()); max 800 ui/gfx/geometry/rect_unittest.cc min + 200 , min - 200, max + 200, max + 200).IsExpressibleAsRect()); max 802 ui/gfx/geometry/rect_unittest.cc min + 200, min + 200, max + 200, max - 200).IsExpressibleAsRect()); max 804 ui/gfx/geometry/rect_unittest.cc min + 200, min + 200, max - 200, max + 200).IsExpressibleAsRect()); max 806 ui/gfx/geometry/rect_unittest.cc EXPECT_TRUE(RectF(0, 0, max - 200, max - 200).IsExpressibleAsRect()); max 807 ui/gfx/geometry/rect_unittest.cc EXPECT_FALSE(RectF(200, 0, max + 200, max - 200).IsExpressibleAsRect()); max 808 ui/gfx/geometry/rect_unittest.cc EXPECT_FALSE(RectF(0, 200, max - 200, max + 200).IsExpressibleAsRect()); max 809 ui/gfx/geometry/rect_unittest.cc EXPECT_FALSE(RectF(0, 0, max + 200, max - 200).IsExpressibleAsRect()); max 810 ui/gfx/geometry/rect_unittest.cc EXPECT_FALSE(RectF(0, 0, max - 200, max + 200).IsExpressibleAsRect()); max 18 ui/gfx/geometry/safe_integer_conversions.h if (value >= std::numeric_limits<int>::max()) max 19 ui/gfx/geometry/safe_integer_conversions.h return std::numeric_limits<int>::max(); max 45 ui/gfx/geometry/safe_integer_conversions.h if (value > std::numeric_limits<int>::max()) max 16 ui/gfx/geometry/safe_integer_conversions_unittest.cc float max = std::numeric_limits<int>::max(); max 20 ui/gfx/geometry/safe_integer_conversions_unittest.cc int int_max = std::numeric_limits<int>::max(); max 24 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ClampToInt(max)); max 25 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ClampToInt(max + 100)); max 39 ui/gfx/geometry/safe_integer_conversions_unittest.cc float max = std::numeric_limits<int>::max(); max 43 ui/gfx/geometry/safe_integer_conversions_unittest.cc int int_max = std::numeric_limits<int>::max(); max 47 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToFlooredInt(max)); max 48 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToFlooredInt(max + 100)); max 62 ui/gfx/geometry/safe_integer_conversions_unittest.cc float max = std::numeric_limits<int>::max(); max 66 ui/gfx/geometry/safe_integer_conversions_unittest.cc int int_max = std::numeric_limits<int>::max(); max 70 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToCeiledInt(max)); max 71 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToCeiledInt(max + 100)); max 85 ui/gfx/geometry/safe_integer_conversions_unittest.cc float max = std::numeric_limits<int>::max(); max 89 ui/gfx/geometry/safe_integer_conversions_unittest.cc int int_max = std::numeric_limits<int>::max(); max 93 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToRoundedInt(max)); max 94 ui/gfx/geometry/safe_integer_conversions_unittest.cc EXPECT_EQ(int_max, ToRoundedInt(max + 100)); max 119 ui/gfx/image/image_skia.cc float smallest_diff = std::numeric_limits<float>::max(); max 52 ui/gfx/image/image_util.cc *trailing = std::max(1, image.width()) - 1; max 73 ui/gfx/nine_image_painter.cc Paint(canvas, bounds, std::numeric_limits<uint8>::max()); max 238 ui/gfx/platform_font_win.cc const int height = std::max<int>(1, font_metrics.tmHeight); max 239 ui/gfx/platform_font_win.cc const int baseline = std::max<int>(1, font_metrics.tmAscent); max 241 ui/gfx/platform_font_win.cc std::max<int>(1, font_metrics.tmAscent - font_metrics.tmInternalLeading); max 242 ui/gfx/platform_font_win.cc const int ave_char_width = std::max<int>(1, font_metrics.tmAveCharWidth); max 244 ui/gfx/platform_font_win.cc std::max<int>(1, font_metrics.tmHeight - font_metrics.tmInternalLeading); max 33 ui/gfx/range/range.cc return Range(std::numeric_limits<size_t>::max()); max 45 ui/gfx/range/range.cc return std::max(start(), end()); max 71 ui/gfx/range/range.cc size_t min = std::max(GetMin(), range.GetMin()); max 72 ui/gfx/range/range.cc size_t max = std::min(GetMax(), range.GetMax()); max 74 ui/gfx/range/range.cc if (min >= max) // No intersection. max 77 ui/gfx/range/range.cc return Range(min, max); max 37 ui/gfx/range/range_win.cc const LONG kLONGMax = std::numeric_limits<LONG>::max(); max 74 ui/gfx/render_text.cc return baseline + std::max(min_shift, std::min(max_shift, baseline_shift)); max 911 ui/gfx/render_text.cc if (line_breaks_.max() != 0) max 152 ui/gfx/render_text_mac.cc ascent = std::max(ascent, font_list_baseline); max 153 ui/gfx/render_text_mac.cc descent = std::max(descent, font_list_height - font_list_baseline); max 91 ui/gfx/render_text_pango.cc return Size(width, std::max(height, font_list().GetHeight())); max 363 ui/gfx/render_text_pango.cc TextIndexToLayoutIndex(std::max(bold->first, italic->first)); max 211 ui/gfx/render_text_win.cc *next_char = std::max(word->first, start_char); max 425 ui/gfx/render_text_win.cc line_ascent_ = std::max(line_ascent_, min_baseline_); max 426 ui/gfx/render_text_win.cc line_descent_ = std::max(line_descent_, min_height_ - min_baseline_); max 432 ui/gfx/render_text_win.cc total_size_.set_width(std::max(total_size_.width(), line->size.width())); max 447 ui/gfx/render_text_win.cc line_ascent_ = std::max(line_ascent_, run->font.GetBaseline()); max 448 ui/gfx/render_text_win.cc line_descent_ = std::max(line_descent_, max 643 ui/gfx/render_text_win.cc pos = std::max<int>(selection.caret_pos() - 1, 0); max 907 ui/gfx/render_text_win.cc runs = std::max(runs + 1, std::min(runs * 2, kMaxRuns))) { max 1006 ui/gfx/render_text_win.cc ascent = std::max(ascent, run->font.GetBaseline()); max 1007 ui/gfx/render_text_win.cc descent = std::max(descent, max 1204 ui/gfx/render_text_win.cc max_glyphs = std::max(max_glyphs + 1, std::min(max_glyphs * 2, kMaxGlyphs)); max 61 ui/gfx/shadow_value.cc left = std::max(left, blur - shadow.x()); max 62 ui/gfx/shadow_value.cc top = std::max(top, blur - shadow.y()); max 63 ui/gfx/shadow_value.cc right = std::max(right, blur + shadow.x()); max 64 ui/gfx/shadow_value.cc bottom = std::max(bottom, blur + shadow.y()); max 382 ui/gfx/skbitmap_operations.cc vmax = std::max(r, b); max 385 ui/gfx/skbitmap_operations.cc vmax = std::max(g, b); max 421 ui/gfx/skbitmap_operations.cc vmax = std::max(r, b); max 424 ui/gfx/skbitmap_operations.cc vmax = std::max(g, b); max 460 ui/gfx/skbitmap_operations.cc vmax = std::max(r, b); max 463 ui/gfx/skbitmap_operations.cc vmax = std::max(g, b); max 125 ui/gfx/text_elider.cc std::max(available_pixel_width - full_username_width, max 760 ui/gfx/text_elider.cc size_t max = length - 1; max 765 ui/gfx/text_elider.cc if (max == 0) max 776 ui/gfx/text_elider.cc return string.substr(0, max) + kElideString; max 778 ui/gfx/text_elider.cc int32_t index = bi->preceding(static_cast<int32_t>(max)); max 780 ui/gfx/text_elider.cc index = static_cast<int32_t>(max); max 788 ui/gfx/text_elider.cc index = static_cast<int32_t>(max); max 71 ui/gfx/transform_util.cc product = std::min(std::max(product, -1.0), 1.0); max 417 ui/gfx/transform_util.cc 0.5 * std::sqrt(std::max(1.0 + row[0][0] - row[1][1] - row[2][2], 0.0)); max 419 ui/gfx/transform_util.cc 0.5 * std::sqrt(std::max(1.0 - row[0][0] + row[1][1] - row[2][2], 0.0)); max 421 ui/gfx/transform_util.cc 0.5 * std::sqrt(std::max(1.0 - row[0][0] - row[1][1] + row[2][2], 0.0)); max 423 ui/gfx/transform_util.cc 0.5 * std::sqrt(std::max(1.0 + row[0][0] + row[1][1] + row[2][2], 0.0)); max 114 ui/gl/gl_context_android.cc physical_memory_mb = std::max(dalvik_mb * 4, max 40 ui/message_center/message_center_style.cc std::max(0.5 + container_size.width() * proportion, 1.0)); max 43 ui/message_center/message_center_style.cc std::max(0.5 + container_size.height() / proportion, 1.0), max 94 ui/message_center/views/bounded_label.cc if (lines == std::numeric_limits<int>::max()) { max 95 ui/message_center/views/bounded_label.cc int text_width = std::max(width - owner_->GetInsets().width(), 0); max 107 ui/message_center/views/bounded_label.cc if (size.height() == std::numeric_limits<int>::max()) { max 109 ui/message_center/views/bounded_label.cc int text_width = (width < 0) ? std::numeric_limits<int>::max() : max 110 ui/message_center/views/bounded_label.cc std::max(width - insets.width(), 0); max 111 ui/message_center/views/bounded_label.cc int text_height = std::numeric_limits<int>::max(); max 132 ui/message_center/views/bounded_label.cc int height = std::numeric_limits<int>::max(); max 134 ui/message_center/views/bounded_label.cc int line_height = std::max(font_list().GetHeight(), max 136 ui/message_center/views/bounded_label.cc int max_lines = std::numeric_limits<int>::max() / line_height - 1; max 144 ui/message_center/views/bounded_label.cc width = std::max(width, max 151 ui/message_center/views/bounded_label.cc (width < 0) ? std::numeric_limits<int>::max() : width, max 223 ui/message_center/views/bounded_label.cc int lines = std::numeric_limits<int>::max(); max 244 ui/message_center/views/bounded_label.cc gfx::Size size(width_and_lines.first, std::numeric_limits<int>::max()); max 293 ui/message_center/views/bounded_label.cc line_limit_ = std::max(lines, -1); max 207 ui/message_center/views/bounded_label_unittest.cc TEST_LINES(1, "123 456", std::numeric_limits<int>::max(), 1); max 47 ui/message_center/views/message_center_bubble.cc int contents_width = std::max(width - GetInsets().width(), 0); max 178 ui/message_center/views/message_center_button_bar.cc int image_margin = std::max(0, (kButtonSize - settings_image->width()) / 2); max 184 ui/message_center/views/message_center_button_bar.cc std::max(0, kFooterRightMargin - image_margin)); max 290 ui/message_center/views/message_center_view.cc width = std::max(width, child->GetPreferredSize().width()); max 771 ui/message_center/views/message_center_view.cc int content_width = std::max(source_view_->GetPreferredSize().width(), max 773 ui/message_center/views/message_center_view.cc int width = std::max(content_width, max 782 ui/message_center/views/message_center_view.cc width = std::max(width, child->GetPreferredSize().width()); max 460 ui/message_center/views/notification_view.cc int preferred_width = std::max(top_width, bottom_width) + GetInsets().width(); max 482 ui/message_center/views/notification_view.cc int content_height = std::max(top_height, kIconSize) + bottom_height; max 487 ui/message_center/views/notification_view.cc content_height = std::max(content_height, max 510 ui/message_center/views/notification_view.cc int bottom_y = insets.top() + std::max(top_height, kIconSize); max 170 ui/message_center/views/notifier_settings_view.cc int y = std::max((height() - content_height) / 2, 0); max 672 ui/message_center/views/notifier_settings_view.cc return gfx::Size(std::max(title_size.width(), content_size.width()), max 29 ui/message_center/views/padded_button.cc padding_.Set(std::max(vertical_padding, 0), max 30 ui/message_center/views/padded_button.cc std::max(horizontal_padding, 0), max 31 ui/message_center/views/padded_button.cc std::max(-vertical_padding, 0), max 32 ui/message_center/views/padded_button.cc std::max(-horizontal_padding, 0)); max 641 ui/native_theme/native_theme_base.cc static_cast<float>(std::max(rect.width(), rect.height())) / 2); max 791 ui/native_theme/native_theme_base.cc skrect.set(std::max(rect.x(), kMidX - 2), max 797 ui/native_theme/native_theme_base.cc std::max(rect.y(), kMidY - 2), max 887 ui/native_theme/native_theme_base.cc dest_left_border_width = std::max(dest_left_border_width, 1); max 891 ui/native_theme/native_theme_base.cc dest_right_border_width = std::max(dest_right_border_width, 1); max 898 ui/native_theme/native_theme_base.cc new_tile_width = std::max(new_tile_width, 1); max 1030 ui/native_theme/native_theme_base.cc SkScalar max) const { max 1031 ui/native_theme/native_theme_base.cc return std::min(std::max(value, min), max); max 180 ui/native_theme/native_theme_base.h SkScalar max) const; max 163 ui/surface/accelerated_surface_mac.cc return gfx::Size(std::max(size.width(), 1), std::max(size.height(), 1)); max 49 ui/views/animation/scroll_animator.cc float v = std::max(fabs(velocity_x), fabs(velocity_y)); max 224 ui/views/bubble/bubble_border.cc return std::max(min, std::min(arrow_offset_, edge_length - min)); max 253 ui/views/bubble/bubble_border.cc int second_inset = std::max(inset, images_->arrow_thickness); max 277 ui/views/bubble/bubble_border.cc std::max(images_->arrow_thickness + images_->border_interior_thickness, max 45 ui/views/bubble/bubble_frame_view.cc return std::max(0, available_bounds.y() - window_bounds.y()) + max 46 ui/views/bubble/bubble_frame_view.cc std::max(0, window_bounds.bottom() - available_bounds.bottom()); max 47 ui/views/bubble/bubble_frame_view.cc return std::max(0, available_bounds.x() - window_bounds.x()) + max 48 ui/views/bubble/bubble_frame_view.cc std::max(0, window_bounds.right() - available_bounds.right()); max 168 ui/views/bubble/bubble_frame_view.cc insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0); max 192 ui/views/bubble/bubble_frame_view.cc const int title_width = std::max(0, close_->bounds().x() - title_bounds.x()); max 200 ui/views/bubble/bubble_frame_view.cc size.SetToMin(gfx::Size(std::max(0, extra_width), size.height())); max 146 ui/views/bubble/tray_bubble_view.cc arrow_offset = std::max(arrow_offset, kArrowMinOffset); max 157 ui/views/bubble/tray_bubble_view.cc arrow_offset = std::max(arrow_offset, kArrowMinOffset); max 374 ui/views/bubble/tray_bubble_view.cc width = std::max(std::min(width, params_.max_width), params_.min_width); max 436 ui/views/bubble/tray_bubble_view.cc width = std::max(width - GetInsets().width(), 0); max 157 ui/views/color_chooser/color_chooser_view.cc level_ = std::max(kBorderWidth, max 241 ui/views/controls/button/label_button.cc std::max(child_area.width() - image_size.width() - kSpacing, 0)); max 287 ui/views/controls/button/text_button.cc gfx::Size prefsize(std::max(max_text_size_.width(), max 289 ui/views/controls/button/text_button.cc std::max(max_text_size_.height(), max 295 ui/views/controls/button/text_button.cc prefsize.set_width(std::max(prefsize.width(), min_width_)); max 296 ui/views/controls/button/text_button.cc prefsize.set_height(std::max(prefsize.height(), min_height_)); max 312 ui/views/controls/button/text_button.cc return std::max(height, min_height_); max 345 ui/views/controls/button/text_button.cc max_text_size_.SetSize(std::max(max_text_size_.width(), text_size_.width()), max 346 ui/views/controls/button/text_button.cc std::max(max_text_size_.height(), max 422 ui/views/controls/button/text_button.cc content_x = insets.left() + std::max(0, max 601 ui/views/controls/button/text_button.cc prefsize.set_height(std::max(prefsize.height(), icon_.height())); max 615 ui/views/controls/button/text_button.cc prefsize.set_width(std::max( max 618 ui/views/controls/button/text_button.cc prefsize.set_height(std::max( max 624 ui/views/controls/button/text_button.cc prefsize.set_width(std::max(prefsize.width(), min_width_)); max 625 ui/views/controls/button/text_button.cc prefsize.set_height(std::max(prefsize.height(), min_height_)); max 362 ui/views/controls/combobox/combobox.cc int arrow_button_x = std::max(0, text_button_width); max 363 ui/views/controls/combobox/combobox.cc text_button_->SetBounds(0, 0, std::max(0, text_button_width), height()); max 414 ui/views/controls/combobox/combobox.cc int total_width = std::max(kMinComboboxWidth, content_size_.width()) + max 623 ui/views/controls/combobox/combobox.cc width = std::max(width, gfx::GetStringWidth(text, font_list)); max 196 ui/views/controls/label.cc label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); max 254 ui/views/controls/label.cc w = std::max(0, w - GetInsets().width()); max 346 ui/views/controls/label.cc GetAvailableRect().width() : std::numeric_limits<int>::max(); max 444 ui/views/controls/label.cc std::max(0, (available_rect.height() - text_size.height())) / 2); max 285 ui/views/controls/menu/menu_controller.cc std::max(0, start_y_ - delta_y) : max 1715 ui/views/controls/menu/menu_controller.cc y = std::max(0, state_.initial_bounds.y() - pref.height()) + max 606 ui/views/controls/menu/menu_item_view.cc icon_area_width_ = std::max(icon_area_width_, GetMaxIconViewWidth()); max 955 ui/views/controls/menu/menu_item_view.cc dimensions.height = std::max(dimensions.height, max 982 ui/views/controls/menu/menu_item_view.cc string_width = std::max(string_width, max 995 ui/views/controls/menu/menu_item_view.cc std::max(dimensions.height, max 998 ui/views/controls/menu/menu_item_view.cc dimensions.height = std::max(dimensions.height, max 1054 ui/views/controls/menu/menu_item_view.cc width = std::max(width, temp_width); max 159 ui/views/controls/menu/menu_scroll_view_container.cc child->SetY(-std::max(0, std::min( max 104 ui/views/controls/menu/submenu_view.cc new_y = std::max(parent()->height() - pref_height, y()); max 141 ui/views/controls/menu/submenu_view.cc max_simple_width = std::max( max 144 ui/views/controls/menu/submenu_view.cc std::max(max_minor_text_width_, dimensions.minor_text_width); max 145 ui/views/controls/menu/submenu_view.cc max_complex_width = std::max(max_complex_width, max 151 ui/views/controls/menu/submenu_view.cc max_complex_width = std::max(max_complex_width, child_pref_size.width()); max 161 ui/views/controls/menu/submenu_view.cc std::max(max_complex_width, max 162 ui/views/controls/menu/submenu_view.cc std::max(max_simple_width + max_minor_text_width_ + max 239 ui/views/controls/menu/submenu_view.cc int first_vis_index = std::max(0, max 490 ui/views/controls/menu/submenu_view.cc y = std::max(y, 0); max 162 ui/views/controls/prefix_selector.cc int row = std::max(0, prefix_delegate_->GetSelectedRow()); max 147 ui/views/controls/progress_bar.cc std::max(current_value_, min_display_value_), max_display_value_); max 297 ui/views/controls/progress_bar.cc std::max(0, progress_width - kHighlightWidth - kBorderWidth); max 46 ui/views/controls/scroll_view.cc int max = std::max(content_size - viewport_size, 0); max 49 ui/views/controls/scroll_view.cc if (current_pos > max) max 50 ui/views/controls/scroll_view.cc return max; max 76 ui/views/controls/scroll_view.cc const int max_position = std::max(0, content_size - viewport_size); max 214 ui/views/controls/scroll_view.cc width = std::max(0, width - insets.width()); max 216 ui/views/controls/scroll_view.cc return std::min(std::max(height, min_height_), max_height_); max 224 ui/views/controls/scroll_view.cc content_width = std::max(content_width - GetScrollBarWidth(), 0); max 251 ui/views/controls/scroll_view.cc std::max(0, viewport_bounds.height() - header_height)); max 288 ui/views/controls/scroll_view.cc std::max(0, viewport_bounds.height() - horiz_sb_height)); max 464 ui/views/controls/scroll_view.cc std::max(contents_viewport_->width(), contents_->width()); max 466 ui/views/controls/scroll_view.cc std::max(contents_viewport_->height(), contents_->height()); max 469 ui/views/controls/scroll_view.cc int x = std::max(0, std::min(contents_max_x, rect.x())); max 470 ui/views/controls/scroll_view.cc int y = std::max(0, std::min(contents_max_y, rect.y())); max 494 ui/views/controls/scroll_view.cc (vis_rect.x() > x) ? x : std::max(0, max_x - contents_viewport_->width()); max 496 ui/views/controls/scroll_view.cc (vis_rect.y() > y) ? y : std::max(0, max_y - max 586 ui/views/controls/scroll_view.cc return std::max(0, bottom_row_info.origin - y); max 590 ui/views/controls/scroll_view.cc RowInfo last_page_info = GetRowInfo(std::max(0, last_page_y)); max 592 ui/views/controls/scroll_view.cc return std::max(0, y - last_page_info.origin - last_page_info.height); max 593 ui/views/controls/scroll_view.cc return std::max(0, y - last_page_info.origin); max 607 ui/views/controls/scroll_view.cc row = GetRowInfo(std::max(0, row.origin - 1)); max 36 ui/views/controls/scroll_view_unittest.cc width = std::max(parent()->width(), width); max 37 ui/views/controls/scroll_view_unittest.cc height = std::max(parent()->height(), height); max 67 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::max(GetMinPosition(), offset); max 75 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::max(GetMinPosition(), offset); max 398 ui/views/controls/scrollbar/base_scroll_bar.cc contents_size_ = std::max(1, content_size); max 400 ui/views/controls/scrollbar/base_scroll_bar.cc viewport_size_ = std::max(1, viewport_size); max 33 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc size = std::max(size, scroll_bar_->IsHorizontal() ? prefsize.width() : max 360 ui/views/controls/scrollbar/native_scroll_bar_views.cc bounds.set_width(std::max(0, bounds.width() - 2 * size.width())); max 364 ui/views/controls/scrollbar/native_scroll_bar_views.cc bounds.set_height(std::max(0, bounds.height() - 2 * size.height())); max 399 ui/views/controls/scrollbar/native_scroll_bar_views.cc return std::max(track_size.height(), button_size.height()); max 421 ui/views/controls/scrollbar/native_scroll_bar_views.cc return std::max(track_size.width(), button_size.width()); max 23 ui/views/controls/scrollbar/scroll_bar.cc max_pos_ = std::max(0, content_size - viewport_size); max 75 ui/views/controls/single_split_view.cc height = std::max(height, pref.height()); max 77 ui/views/controls/single_split_view.cc width = std::max(width, pref.width()); max 132 ui/views/controls/single_split_view.cc std::max(0, bounds.width() - divider_at - divider_size), max 138 ui/views/controls/single_split_view.cc std::max(0, bounds.height() - divider_at - divider_size)); max 165 ui/views/controls/single_split_view.cc int new_size = std::max(GetPrimaryAxisSize(min.width(), min.height()), max 247 ui/views/controls/single_split_view.cc return std::max(0, (primary_axis_size - GetDividerSize()) / 2); max 249 ui/views/controls/single_split_view.cc std::max(primary_axis_size - GetDividerSize(), 0)); max 192 ui/views/controls/slider.cc return gfx::Size(std::max(width(), kSizeMajor), kSizeMinor); max 193 ui/views/controls/slider.cc return gfx::Size(kSizeMinor, std::max(height(), kSizeMajor)); max 212 ui/views/controls/slider.cc int middle = std::max(full, images_[LEFT]->width()); max 190 ui/views/controls/tabbed_pane/tabbed_pane.cc std::max(size.height(), child_size.height())); max 327 ui/views/controls/tabbed_pane/tabbed_pane.cc std::max(0, height() - size.height())); max 245 ui/views/controls/table/table_header.cc std::max(kMinColumnWidth, resize_details_->initial_width + delta)); max 31 ui/views/controls/table/table_utils.cc width = std::max(width, cell_width); max 315 ui/views/controls/table/table_view.cc width = std::max(parent()->width(), width); max 316 ui/views/controls/table/table_view.cc height = std::max(parent()->height(), height); max 661 ui/views/controls/table/table_view.cc std::max(0, bounds->right() - kTextHorizontalPadding - text_x)); max 689 ui/views/controls/table/table_view.cc std::max(kTextHorizontalPadding, TableHeader::kHorizontalPadding) * 2, max 707 ui/views/controls/table/table_view.cc std::max(0, bounds.y() / row_height_)); max 803 ui/views/controls/table/table_view.cc view_index = std::max(0, view_index - 1); max 833 ui/views/controls/table/table_view.cc end = std::max(view_index, ModelToView(model->anchor())); max 564 ui/views/controls/textfield/textfield.cc const size_t max = std::max(selection.GetMax(), max 567 ui/views/controls/textfield/textfield.cc selection.set_start(reversed ? max : min); max 568 ui/views/controls/textfield/textfield.cc selection.set_end(reversed ? min : max); max 347 ui/views/controls/tree/tree_view.cc width = std::max(parent()->width(), width); max 348 ui/views/controls/tree/tree_view.cc height = std::max(parent()->height(), height); max 612 ui/views/controls/tree/tree_view.cc int min_row = std::max(0, (min_y - kVerticalInset) / row_height_); max 958 ui/views/controls/tree/tree_view.cc int new_row = std::min(GetRowCount() - 1, std::max(0, row + delta)); max 1039 ui/views/controls/tree/tree_view.cc max_width = std::max(max_width, max 142 ui/views/corewm/tooltip_aura.cc *width = std::max(*width, line_width); max 112 ui/views/corewm/tooltip_aura_unittest.cc expected_width = std::max(expected_width, max 20 ui/views/examples/progress_bar_example.cc return std::min(std::max(percent, 0.0), 1.0); max 93 ui/views/layout/box_layout.cc width = std::max(width, child->GetPreferredSize().width()); max 92 ui/views/layout/grid_layout.cc for (int i = start, max = start + length; i < max; ++i) { max 116 ui/views/layout/grid_layout.cc size_ = std::max(size_, size); max 248 ui/views/layout/grid_layout.cc size = std::max(size, (*i)->Size()); max 290 ui/views/layout/grid_layout.cc max_ascent_ = std::max(ascent, max_ascent_); max 291 ui/views/layout/grid_layout.cc max_descent_ = std::max(descent, max_descent_); max 844 ui/views/layout/grid_layout.cc out.SetSize(std::max(out.width(), minimum_size_.width()), max 845 ui/views/layout/grid_layout.cc std::max(out.height(), minimum_size_.height())); max 870 ui/views/layout/grid_layout.cc pref->set_width(std::max(pref->width(), (*i)->LayoutWidth())); max 980 ui/views/layout/grid_layout.cc remaining_row_span_ = std::max(remaining_row_span_, view_state->row_span); max 47 ui/views/layout/grid_layout_unittest.cc return std::max(0, circumference_ / 2 - width); max 96 ui/views/touchui/touch_selection_controller_impl.cc int rr = std::max(r1.right(), r2.right()); max 97 ui/views/touchui/touch_selection_controller_impl.cc int rb = std::max(r1.bottom(), r2.bottom()); max 311 ui/views/view.cc SetBoundsRect(gfx::Rect(x, y, std::max(0, width), std::max(0, height))); max 54 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size expanded(std::max(size.width(), 64), std::max(size.height(), 64)); max 861 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::max(0, std::min(bounds_.width(), win_x_return)), max 862 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::max(0, std::min(bounds_.height(), win_y_return))); max 270 ui/views/window/custom_frame_view.cc return std::max(FrameBorderThickness() + IconSize(), max 292 ui/views/window/custom_frame_view.cc return std::max(GetTitleFontList().GetHeight(), kIconMinimumSize); max 415 ui/views/window/custom_frame_view.cc std::max(client_area_top, client_area_bounds.bottom()); max 552 ui/views/window/custom_frame_view.cc std::max(0, minimize_button_->x() - kTitleCaptionSpacing - max 565 ui/views/window/custom_frame_view.cc std::max(0, width() - (2 * border_thickness)), max 566 ui/views/window/custom_frame_view.cc std::max(0, height() - top_height - border_thickness)); max 201 ui/views/window/dialog_client_view.cc size.set_width(std::max(size.width(), contents_size.width())); max 207 ui/views/window/dialog_client_view.cc size.set_width(std::max(size.width(), footnote_size.width())); max 406 ui/views/window/dialog_client_view.cc int buttons_height = std::max( max 409 ui/views/window/dialog_client_view.cc return std::max(extra_view_height, buttons_height); max 20 ui/wm/core/image_grid.cc using std::max; max 71 ui/wm/core/image_grid.cc base_top_row_height_ = max(GetImageSize(top_left_image).height(), max 72 ui/wm/core/image_grid.cc max(GetImageSize(top_image).height(), max 74 ui/wm/core/image_grid.cc base_bottom_row_height_ = max(GetImageSize(bottom_left_image).height(), max 75 ui/wm/core/image_grid.cc max(GetImageSize(bottom_image).height(), max 77 ui/wm/core/image_grid.cc base_left_column_width_ = max(GetImageSize(top_left_image).width(), max 78 ui/wm/core/image_grid.cc max(GetImageSize(left_image).width(), max 80 ui/wm/core/image_grid.cc base_right_column_width_ = max(GetImageSize(top_right_image).width(), max 81 ui/wm/core/image_grid.cc max(GetImageSize(right_image).width(), max 106 ui/wm/core/image_grid.cc int center_width = std::max(size.width() - left - right, 0); max 107 ui/wm/core/image_grid.cc int center_height = std::max(size.height() - top - bottom, 0); max 122 ui/wm/core/user_activity_detector_unittest.cc AdvanceTime(std::max(kIgnoreMouseTime, advance_delta)); max 301 webkit/browser/appcache/appcache_database.cc *last_response_id = std::max(max_response_id_from_entries, max 503 webkit/browser/appcache/appcache_service.cc base::TimeDelta increment = std::max(k30Seconds, next_reinit_delay_); max 657 webkit/browser/appcache/appcache_storage_impl.cc space_available_ = std::max(static_cast<int64>(0), quota - usage); max 439 webkit/browser/blob/blob_url_request_job.cc int64 max_remaining = std::numeric_limits<int>::max(); max 65 webkit/browser/fileapi/quota/open_file_handle_context.cc std::max(GetEstimatedFileSize(), file_size) - initial_file_size_; max 121 webkit/browser/fileapi/quota/quota_backend_impl.cc normalized_info.delta = std::max(static_cast<int64>(0), new_usage - usage); max 617 webkit/browser/fileapi/sandbox_directory_database_unittest.cc 0, std::numeric_limits<size_t>::max()); max 638 webkit/browser/fileapi/sandbox_directory_database_unittest.cc 0, std::numeric_limits<size_t>::max()); max 236 webkit/browser/fileapi/sandbox_origin_database_unittest.cc 0, std::numeric_limits<size_t>::max()); max 175 webkit/browser/quota/quota_temporary_storage_evictor.cc int64 usage_overage = std::max( max 181 webkit/browser/quota/quota_temporary_storage_evictor.cc int64 diskspace_shortage = std::max( max 193 webkit/browser/quota/quota_temporary_storage_evictor.cc int64 amount_to_evict = std::max(usage_overage, diskspace_shortage); max 136 webkit/browser/quota/storage_monitor.cc std::max<int64>(cached_usage_, 0), max 137 webkit/browser/quota/storage_monitor.cc std::max<int64>(cached_quota_, 0)); max 202 webkit/browser/quota/storage_monitor.cc std::max<int64>(cached_usage_, 0), max 203 webkit/browser/quota/storage_monitor.cc std::max<int64>(cached_quota_, 0)); max 443 win8/metro_driver/ime/text_store.cc *acp_result_start = std::min(std::max(committed_size, acp_test_start), max 445 win8/metro_driver/ime/text_store.cc *acp_result_end = std::min(std::max(committed_size, acp_test_end),