maxLength 20 Source/core/css/parser/MediaQueryInputStream.cpp ASSERT((m_offset + lookaheadOffset) <= maxLength()); maxLength 28 Source/core/css/parser/MediaQueryInputStream.cpp ASSERT(m_offset + offset <= maxLength()); maxLength 27 Source/core/css/parser/MediaQueryInputStream.h inline size_t maxLength() maxLength 42 Source/core/editing/SurroundingText.cpp SurroundingText::SurroundingText(const VisiblePosition& visiblePosition, unsigned maxLength) maxLength 48 Source/core/editing/SurroundingText.cpp const unsigned halfMaxLength = maxLength / 2; maxLength 51 Source/core/editing/SurroundingText.cpp forwardIterator.advance(maxLength - halfMaxLength); maxLength 45 Source/core/editing/SurroundingText.h SurroundingText(const VisiblePosition&, unsigned maxLength); maxLength 568 Source/core/editing/TextIterator.cpp void TextIterator::appendTextToStringBuilder(StringBuilder& builder, unsigned position, unsigned maxLength) const maxLength 570 Source/core/editing/TextIterator.cpp unsigned lengthToAppend = std::min(static_cast<unsigned>(length()) - position, maxLength); maxLength 89 Source/core/editing/TextIterator.h void appendTextToStringBuilder(StringBuilder&, unsigned position = 0, unsigned maxLength = UINT_MAX) const; maxLength 241 Source/core/html/HTMLInputElement.cpp int max = maxLength(); maxLength 1297 Source/core/html/HTMLInputElement.cpp void HTMLInputElement::setMaxLength(int maxLength, ExceptionState& exceptionState) maxLength 1299 Source/core/html/HTMLInputElement.cpp if (maxLength < 0) maxLength 1300 Source/core/html/HTMLInputElement.cpp exceptionState.throwDOMException(IndexSizeError, "The value provided (" + String::number(maxLength) + ") is negative."); maxLength 1302 Source/core/html/HTMLInputElement.cpp setIntegralAttribute(maxlengthAttr, maxLength); maxLength 1671 Source/core/html/HTMLInputElement.cpp int maxLength; maxLength 1672 Source/core/html/HTMLInputElement.cpp if (!parseHTMLInteger(value, maxLength)) maxLength 1673 Source/core/html/HTMLInputElement.cpp maxLength = maximumLength; maxLength 1674 Source/core/html/HTMLInputElement.cpp if (maxLength < 0 || maxLength > maximumLength) maxLength 1675 Source/core/html/HTMLInputElement.cpp maxLength = maximumLength; maxLength 1677 Source/core/html/HTMLInputElement.cpp m_maxLength = maxLength; maxLength 1678 Source/core/html/HTMLInputElement.cpp if (oldMaxLength != maxLength) maxLength 200 Source/core/html/HTMLInputElement.h int maxLength() const; maxLength 291 Source/core/html/HTMLTextAreaElement.cpp int signedMaxLength = maxLength(); maxLength 313 Source/core/html/HTMLTextAreaElement.cpp String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength) maxLength 315 Source/core/html/HTMLTextAreaElement.cpp if (maxLength > 0 && U16_IS_LEAD(proposedValue[maxLength - 1])) maxLength 316 Source/core/html/HTMLTextAreaElement.cpp --maxLength; maxLength 317 Source/core/html/HTMLTextAreaElement.cpp return proposedValue.left(maxLength); maxLength 474 Source/core/html/HTMLTextAreaElement.cpp return locale().validationMessageTooLongText(computeLengthForSubmission(value()), maxLength()); maxLength 496 Source/core/html/HTMLTextAreaElement.cpp int max = maxLength(); maxLength 49 Source/core/html/HTMLTextAreaElement.h int maxLength() const; maxLength 75 Source/core/html/HTMLTextAreaElement.h static String sanitizeUserInputValue(const String&, unsigned maxLength); maxLength 386 Source/core/html/forms/InputType.cpp return locale().validationMessageTooLongText(value.length(), element().maxLength()); maxLength 401 Source/core/html/forms/TextFieldInputType.cpp static String limitLength(const String& string, unsigned maxLength) maxLength 403 Source/core/html/forms/TextFieldInputType.cpp unsigned newLength = std::min(maxLength, string.length()); maxLength 435 Source/core/html/forms/TextFieldInputType.cpp unsigned maxLength = static_cast<unsigned>(isTextType() ? element().maxLength() : HTMLInputElement::maximumLength); // maxLength can never be negative. maxLength 436 Source/core/html/forms/TextFieldInputType.cpp unsigned appendableLength = maxLength > baseLength ? maxLength - baseLength : 0; maxLength 135 Source/core/inspector/InjectedScriptCanvasModule.cpp void InjectedScriptCanvasModule::traceLog(ErrorString* errorString, const TraceLogId& traceLogId, const int* startOffset, const int* maxLength, RefPtr<TraceLog>* traceLog) maxLength 141 Source/core/inspector/InjectedScriptCanvasModule.cpp if (maxLength) maxLength 142 Source/core/inspector/InjectedScriptCanvasModule.cpp function.appendArgument(*maxLength); maxLength 162 Source/core/inspector/InspectorCanvasAgent.cpp void InspectorCanvasAgent::getTraceLog(ErrorString* errorString, const TraceLogId& traceLogId, const int* startOffset, const int* maxLength, RefPtr<TraceLog>& traceLog) maxLength 166 Source/core/inspector/InspectorCanvasAgent.cpp module.traceLog(errorString, traceLogId, startOffset, maxLength, &traceLog); maxLength 86 Source/core/rendering/style/ShadowList.cpp size_t maxLength = std::max(fromLength, toLength); maxLength 87 Source/core/rendering/style/ShadowList.cpp for (size_t i = 0; i < maxLength; ++i) { maxLength 2457 Source/core/testing/Internals.cpp String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long maxLength) maxLength 2462 Source/core/testing/Internals.cpp SurroundingText surroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(point))), maxLength); maxLength 326 Source/core/testing/Internals.h String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); maxLength 90 Source/modules/websockets/WebSocketDeflater.cpp size_t maxLength = deflateBound(m_stream.get(), length); maxLength 93 Source/modules/websockets/WebSocketDeflater.cpp m_buffer.grow(writePosition + maxLength); maxLength 94 Source/modules/websockets/WebSocketDeflater.cpp setStreamParameter(m_stream.get(), data, length, m_buffer.data() + writePosition, maxLength); maxLength 98 Source/modules/websockets/WebSocketDeflater.cpp m_buffer.shrink(writePosition + maxLength - m_stream->avail_out); maxLength 99 Source/modules/websockets/WebSocketDeflater.cpp maxLength *= 2; maxLength 211 Source/platform/text/PlatformLocale.cpp String Locale::validationMessageTooLongText(unsigned valueLength, int maxLength) maxLength 213 Source/platform/text/PlatformLocale.cpp return queryString(WebLocalizedString::ValidationTooLong, convertToLocalizedNumber(String::number(valueLength)), convertToLocalizedNumber(String::number(maxLength))); maxLength 46 Source/platform/text/PlatformLocale.h String validationMessageTooLongText(unsigned valueLength, int maxLength); maxLength 82 Source/web/WebInputElement.cpp return constUnwrap<HTMLInputElement>()->maxLength(); maxLength 42 Source/web/WebSurroundingText.cpp void WebSurroundingText::initialize(const WebNode& webNode, const WebPoint& nodePoint, size_t maxLength) maxLength 48 Source/web/WebSurroundingText.cpp m_private.reset(new SurroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(nodePoint))), maxLength)); maxLength 353 Source/wtf/text/AtomicString.cpp unsigned maxLength = baseString->length() - start; maxLength 354 Source/wtf/text/AtomicString.cpp if (length >= maxLength) { maxLength 357 Source/wtf/text/AtomicString.cpp length = maxLength; maxLength 476 Source/wtf/text/StringImpl.cpp unsigned maxLength = m_length - start; maxLength 477 Source/wtf/text/StringImpl.cpp if (length >= maxLength) { maxLength 480 Source/wtf/text/StringImpl.cpp length = maxLength; maxLength 450 Source/wtf/text/WTFString.cpp unsigned String::copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const maxLength 454 Source/wtf/text/WTFString.cpp unsigned numCharacters = std::min(length - pos, maxLength); maxLength 254 Source/wtf/text/WTFString.h unsigned copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const; maxLength 72 public/web/WebInputElement.h BLINK_EXPORT int maxLength() const; maxLength 53 public/web/WebSurroundingText.h BLINK_EXPORT void initialize(const WebNode&, const WebPoint&, size_t maxLength);