HomeSort by relevance Sort by last modified time
    Searched refs:maxLength (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/webkit/Source/WebKit/chromium/public/android/
WebDOMTextContentWalker.h 47 // The maximum length of the contents retrieved by the walker is defined by maxLength.
48 WEBKIT_API WebDOMTextContentWalker(const WebHitTestInfo&, size_t maxLength);
51 // The maximum length of the contents retrieved by the walker is defined by maxLength.
52 WEBKIT_API WebDOMTextContentWalker(WebCore::Node* textNode, size_t offset, size_t maxLength);
  /external/guava/guava/src/com/google/common/hash/
HashCode.java 60 * @param maxLength the maximum number of bytes to write
64 public int writeBytesTo(byte[] dest, int offset, int maxLength) {
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/icu4c/tools/toolutil/
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;
109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1;
110 if(length>=(density*maxLength)/0x100) {
133 // the length of the [minValue..maxValue] range (maxLength).
142 maxLength-=gaps.gapLength(i)
    [all...]
  /external/webkit/Source/WebCore/dom/
DOMTextContentWalker.h 42 DOMTextContentWalker(const VisiblePosition& position, unsigned maxLength);
DOMTextContentWalker.cpp 43 DOMTextContentWalker::DOMTextContentWalker(const VisiblePosition& position, unsigned maxLength)
46 const unsigned halfMaxLength = maxLength / 2;
51 forwardChar.advance(maxLength - halfMaxLength);
InputElement.cpp 138 static String replaceEOLAndLimitLength(const InputElement* inputElement, const String& proposedValue, int maxLength)
148 unsigned newLength = numCharactersInGraphemeClusters(string, maxLength);
172 String InputElement::sanitizeUserInputValue(const InputElement* inputElement, const String& proposedValue, int maxLength)
174 return replaceEOLAndLimitLength(inputElement, proposedValue, maxLength);
180 // Make sure that the text to be inserted will not violate the maxLength.
197 unsigned maxLength = static_cast<unsigned>(inputElement->supportsMaxLength() ? data.maxLength() : s_maximumLength); // maxLength() can never be negative.
198 unsigned appendableLength = maxLength > baseLength ? maxLength - baseLength : 0
    [all...]
InputElement.h 131 int maxLength() const { return m_maxLength; }
145 void setMaxInputCharsAllowed(unsigned maxLength) { m_maxInputCharsAllowed = maxLength; }
  /external/webkit/Source/WebKit/chromium/src/android/
WebDOMTextContentWalker.cpp 50 WebDOMTextContentWalker::WebDOMTextContentWalker(const WebHitTestInfo& hitTestInfo, size_t maxLength)
59 m_private.reset(new DOMTextContentWalker(node->renderer()->positionForPoint(hitTestInfo.point()), maxLength));
62 WebDOMTextContentWalker::WebDOMTextContentWalker(Node* node, size_t offset, size_t maxLength)
67 m_private.reset(new DOMTextContentWalker(VisiblePosition(Position(static_cast<Text*>(node), offset).parentAnchoredEquivalent(), DOWNSTREAM), maxLength));
  /external/apache-http/src/org/apache/commons/codec/language/
Soundex.java 89 private int maxLength = 4;
184 * Returns the maxLength. Standard Soundex
190 return this.maxLength;
220 * Sets the maxLength.
223 * @param maxLength
224 * The maxLength to set
226 public void setMaxLength(int maxLength) {
227 this.maxLength = maxLength;
  /external/icu4c/common/
triedict.h 81 * @param maxLength The maximum number of code units to match.
88 int32_t maxLength,
154 * @param maxLength The maximum number of code units to match.
161 int32_t maxLength,
202 * @param maxLength The maximum number of code units to match.
211 int32_t maxLength,
285 * @param maxLength The maximum number of code units to match.
  /libcore/luni/src/main/java/java/net/
Socks4Message.java 183 * it encounters a null value or reaches the maxLength given.
185 private String getString(int offset, int maxLength) {
187 int lastIndex = index + maxLength;
204 private void setString(int offset, int maxLength, String theString) {
206 int length = Math.min(stringBytes.length, maxLength);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
NameDistance.java 43 * @param maxLength byte arrays are truncated if longer than this number
45 public NameDistance(int maxLength) {
46 mMaxLength = maxLength;
48 mMatchFlags1 = new boolean[maxLength];
49 mMatchFlags2 = new boolean[maxLength];
  /cts/libs/vogar-expect/src/vogar/commands/
Command.java 74 if (builder.maxLength != -1) {
76 if (string.length() > builder.maxLength) {
77 throw new IllegalStateException("Maximum command length " + builder.maxLength
232 private int maxLength = -1;
276 public Builder maxLength(int maxLength) {
277 this.maxLength = maxLength;
  /external/webkit/Source/WebCore/html/
HTMLTextAreaElement.h 48 virtual int maxLength() const;
69 static String sanitizeUserInputValue(const String&, unsigned maxLength);
HTMLTextAreaElement.idl 31 attribute long maxLength setter raises(DOMException);
HTMLTextAreaElement.cpp 247 int signedMaxLength = maxLength();
265 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength)
267 return proposedValue.left(numCharactersInGraphemeClusters(proposedValue, maxLength));
379 int HTMLTextAreaElement::maxLength() const
396 // Return false for the default value even if it is longer than maxLength.
400 int max = maxLength();
  /dalvik/dx/tests/115-merge/com/android/dx/merge/
DexMergeTest.java 146 int maxLength = 0;
151 maxLength = Math.max(maxLength, merged.getLength());
155 assertTrue(maxLength + " < " + maxExpectedLength, maxLength < maxExpectedLength);
  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /dalvik/dx/src/com/android/dx/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /external/dexmaker/src/dx/java/com/android/dx/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
ExtraTextDetector.java 90 int maxLength = 100;
91 if (snippet.length() > maxLength) {
92 snippet = snippet.substring(0, maxLength) + "...";
  /external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp 68 int WebInputElement::maxLength() const
70 return constUnwrap<HTMLInputElement>()->maxLength();
  /external/webkit/Source/WebKit/chromium/public/
WebInputElement.h 63 WEBKIT_API int maxLength() const;
81 // Exposes the default value of the maxLength attribute.
  /external/llvm/utils/TableGen/
RegisterInfoEmitter.cpp 206 unsigned maxLength = 0;
210 maxLength = std::max((size_t)maxLength, RegNums.size());
217 if (!maxLength)
223 for (unsigned i = I->second.size(), e = maxLength; i != e; ++i)
232 for (unsigned i = 0, e = maxLength; i != e; ++i) {
287 for (unsigned i = 0, e = maxLength; i != e; ++i) {
329 unsigned maxLength = 0;
332 maxLength = std::max((size_t)maxLength,
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 96 String maxLength = new String(chars);
97 os.writeUTF(maxLength);

Completed in 1702 milliseconds

1 2 3 4 5