/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | SurroundingText.h | 45 SurroundingText(const Range&, unsigned maxLength); 46 SurroundingText(const Position&, unsigned maxLength); 55 void initialize(const Position&, const Position&, unsigned maxLength);
|
H A D | SurroundingText.cpp | 42 SurroundingText::SurroundingText(const Range& range, unsigned maxLength) argument 46 initialize(range.startPosition(), range.endPosition(), maxLength); 49 SurroundingText::SurroundingText(const Position& position, unsigned maxLength) argument 53 initialize(position, position, maxLength); 56 void SurroundingText::initialize(const Position& startPosition, const Position& endPosition, unsigned maxLength) argument 60 const unsigned halfMaxLength = maxLength / 2; 74 forwardIterator.advance(maxLength - halfMaxLength);
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | HashCode.java | 60 * @param maxLength the maximum number of bytes to write 64 public int writeBytesTo(byte[] dest, int offset, int maxLength) { argument 66 maxLength = Ints.min(maxLength, hash.length); 67 Preconditions.checkPositionIndexes(offset, offset + maxLength, dest.length); 68 System.arraycopy(hash, 0, dest, offset, maxLength); 69 return maxLength;
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | denseranges.cpp | 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} 35 if(i<maxLength) { 36 // The new gap is now one of the maxLength largest. 39 int32_t j= length<maxLength ? length++ : maxLength-1; 78 int32_t maxLength; member in class:__anon12408::LargestGaps 109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; local 110 if(length>=(density*maxLength)/0x100) { 133 // the length of the [minValue..maxValue] range (maxLength). 142 maxLength [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
H A D | denseranges.cpp | 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} 35 if(i<maxLength) { 36 // The new gap is now one of the maxLength largest. 39 int32_t j= length<maxLength ? length++ : maxLength-1; 78 int32_t maxLength; member in class:__anon22220::LargestGaps 109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; local 110 if(length>=(density*maxLength)/0x100) { 133 // the length of the [minValue..maxValue] range (maxLength). 142 maxLength [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | BaseTextInputType.cpp | 35 int BaseTextInputType::maxLength() const function in class:blink::BaseTextInputType 37 return element().maxLength(); 42 int max = element().maxLength(); 47 // it is longer than maxLength.
|
H A D | BaseTextInputType.h | 46 virtual int maxLength() const OVERRIDE FINAL;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLBIOSink.java | 46 int maxLength = Math.min(available(), (int) byteCount); 47 position += maxLength; 51 return maxLength;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebSurroundingText.cpp | 40 void WebSurroundingText::initialize(const WebNode& webNode, const WebPoint& nodePoint, size_t maxLength) argument 46 m_private.reset(new SurroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(nodePoint))).deepEquivalent().parentAnchoredEquivalent(), maxLength)); 49 void WebSurroundingText::initialize(const WebRange& webRange, size_t maxLength) argument 52 m_private.reset(new SurroundingText(*range, maxLength));
|
H A D | WebInputElement.cpp | 85 int WebInputElement::maxLength() const function in class:blink::WebInputElement 87 return constUnwrap<HTMLInputElement>()->maxLength();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowEditText.java | 17 private int maxLength = Integer.MAX_VALUE; field in class:ShadowEditText 27 maxLength = attributeSet.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE); 33 if ( !TextUtils.isEmpty(str) && str.length() > maxLength) { 34 str = str.subSequence(0, maxLength);
|
/external/apache-http/src/org/apache/commons/codec/language/ |
H A D | Soundex.java | 94 private int maxLength = 4; field in class:Soundex 189 * Returns the maxLength. Standard Soundex 195 return this.maxLength; 225 * Sets the maxLength. 228 * @param maxLength 229 * The maxLength to set 231 public void setMaxLength(int maxLength) { argument 232 this.maxLength = maxLength;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | EditTextTest.java | 32 int maxLength = anyInteger(); 33 AttributeSet attrs = attributeSetWithMaxLength(maxLength); 35 String excessiveInput = stringOfLength(maxLength * 2); 39 assertThat(editText.getText().toString(), equalTo(excessiveInput.subSequence(0, maxLength))); 80 private AttributeSet attributeSetWithMaxLength(int maxLength) { argument 82 when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength); 88 when(attrs.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE)).thenReturn(Integer.MAX_VALUE);
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebSurroundingText.h | 53 // The maximum length of the contents retrieved is defined by maxLength. 54 BLINK_EXPORT void initialize(const WebNode&, const WebPoint&, size_t maxLength); 57 // The maximum length of the contents retrieved is defined by maxLength. 59 BLINK_EXPORT void initialize(const WebRange&, size_t maxLength);
|
H A D | WebInputElement.h | 64 BLINK_EXPORT int maxLength() const; 81 // Exposes the default value of the maxLength attribute.
|
/external/proguard/src/proguard/classfile/editor/ |
H A D | VariableCleaner.java | 211 int maxLength = startPCs[localVariableInfo.u2index] - 214 if (localVariableInfo.u2length > maxLength) 216 localVariableInfo.u2length = maxLength; 245 int maxLength = startPCs[localVariableTypeInfo.u2index] - 248 if (localVariableTypeInfo.u2length > maxLength) 250 localVariableTypeInfo.u2length = maxLength;
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
H A D | MediaQueryInputStream.h | 27 inline size_t maxLength() function in class:blink::MediaQueryInputStream
|
H A D | MediaQueryInputStream.cpp | 20 ASSERT((m_offset + lookaheadOffset) <= maxLength()); 28 ASSERT(m_offset + offset <= maxLength());
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | dictionarydata.h | 71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
|
H A D | dictionarydata.cpp | 43 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument 69 if (numChars >= maxLength) { 107 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument 133 if (numChars >= maxLength) {
|
/external/icu/icu4c/source/common/ |
H A D | dictionarydata.h | 71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLTextAreaElement.cpp | 288 int signedMaxLength = maxLength(); 315 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength) argument 317 if (maxLength > 0 && U16_IS_LEAD(proposedValue[maxLength - 1])) 318 --maxLength; 319 return proposedValue.left(maxLength); 447 int HTMLTextAreaElement::maxLength() const function in class:blink::HTMLTextAreaElement 491 return locale().validationMessageTooLongText(computeLengthForSubmission(value()), maxLength()); 516 // longer than maxLength. 520 int max = maxLength(); [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
H A D | SettingsUI.js | 88 * @param {number=} maxLength 96 WebInspector.SettingsUI.createSettingInputField = function(label, setting, numeric, maxLength, width, validatorCallback, instant, clearForZero, placeholder) 105 if (maxLength) 106 inputElement.maxLength = maxLength; 263 element.maxLength = 12;
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
H A D | WebSocketDeflater.cpp | 90 size_t maxLength = deflateBound(m_stream.get(), length); 93 m_buffer.grow(writePosition + maxLength); 94 setStreamParameter(m_stream.get(), data, length, m_buffer.data() + writePosition, maxLength); 98 m_buffer.shrink(writePosition + maxLength - m_stream->avail_out); 99 maxLength *= 2;
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | ByteArray.java | 319 int maxLength = size - cursor; 320 if (length > maxLength) { 321 length = maxLength;
|