/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
|
/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.
|
/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/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/Source/core/editing/ |
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/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/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/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;
|
H A D | DoubleMetaphone.java | 1039 private int maxLength; field in class:DoubleMetaphone.DoubleMetaphoneResult 1041 public DoubleMetaphoneResult(int maxLength) { argument 1042 this.maxLength = maxLength; 1056 if (this.primary.length() < this.maxLength) { 1062 if (this.alternate.length() < this.maxLength) { 1078 int addChars = this.maxLength - this.primary.length(); 1087 int addChars = this.maxLength - this.alternate.length(); 1104 return this.primary.length() >= this.maxLength && 1105 this.alternate.length() >= this.maxLength; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | ShadowList.cpp | 87 size_t maxLength = std::max(fromLength, toLength); local 88 for (size_t i = 0; i < maxLength; ++i) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | shader_query.cpp | 81 GLsizei maxLength, GLsizei * length, GLint * size, 114 _mesa_copy_string(name, maxLength, length, var->name); 80 _mesa_GetActiveAttribARB(GLhandleARB program, GLuint desired_index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | shader_query.cpp | 81 GLsizei maxLength, GLsizei * length, GLint * size, 114 _mesa_copy_string(name, maxLength, length, var->name); 80 _mesa_GetActiveAttribARB(GLhandleARB program, GLuint desired_index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name) argument
|
/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/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
H A D | FormOptions.java | 275 public Builder customizeMaxLength(AddressField field, int maxLength) { argument 279 mMaxLengths.put(field, maxLength);
|
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
H A D | CstString.java | 313 * @param maxLength {@code >= 5;} the maximum length of the string to return 316 public String toQuoted(int maxLength) { argument 321 if (length <= (maxLength - 2)) { 324 string = string.substring(0, maxLength - 5);
|
/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/smali/util/src/main/java/org/jf/util/ |
H A D | ClassFileNameHandler.java | 122 static String shortenPathComponent(@Nonnull String pathComponent, int maxLength) { argument 123 int toRemove = pathComponent.length() - maxLength + 1;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | InjectedScriptCanvasModule.cpp | 137 void InjectedScriptCanvasModule::traceLog(ErrorString* errorString, const TraceLogId& traceLogId, const int* startOffset, const int* maxLength, RefPtr<TraceLog>* traceLog) argument 143 if (maxLength) 144 function.appendArgument(*maxLength);
|
/external/chromium_org/third_party/icu/source/common/ |
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) {
|
H A D | udataswp.c | 279 int32_t maxLength; local 299 maxLength=headerSize-infoSize; 301 for(length=0; length<maxLength && s[length]!=0; ++length) {}
|
/external/clang/lib/Driver/ |
H A D | WindowsToolChain.cpp | 90 char *value, size_t maxLength) { 98 DWORD valueSize = maxLength - 1; 89 getSystemRegistryString(const char *keyPath, const char *valueName, char *value, size_t maxLength) argument
|
/external/icu/icu4c/source/common/ |
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) {
|
H A D | udataswp.c | 328 int32_t maxLength; local 348 maxLength=headerSize-infoSize; 350 for(length=0; length<maxLength && s[length]!=0; ++length) {}
|
/external/smack/src/org/xbill/DNS/ |
H A D | Message.java | 403 int maxLength) 418 if (out.current() > maxLength) { 428 toWire(DNSOutput out, int maxLength) { argument 429 if (maxLength < Header.LENGTH) 434 int tempMaxLength = maxLength; 499 * could happen if maxLength is smaller than a DNS header, for example. 500 * @param maxLength The maximum length of the message. 507 toWire(int maxLength) { argument 509 toWire(out, maxLength); 402 sectionToWire(DNSOutput out, int section, Compression c, int maxLength) argument
|