HomeSort by relevance Sort by last modified time
    Searched full:maxlength (Results 1 - 25 of 370) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/native/opengl/tools/glgen/stubs/gles11/
glGetProgramInfoLog.java 1 // C function void glGetProgramInfoLog( GLuint program, GLsizei maxLength, GLsizei * length,
glGetShaderInfoLog.java 1 // C function void glGetShaderInfoLog( GLuint shader, GLsizei maxLength, GLsizei * length,
glGetProgramInfoLog.cpp 3 /* void glGetProgramInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */
glGetShaderInfoLog.cpp 3 /* void glGetShaderInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowEditText.java 17 private int maxLength = Integer.MAX_VALUE;
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/
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) {
82 when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength);
88 when(attrs.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE)).thenReturn(Integer.MAX_VALUE);
ShadowEditTextTest.java 20 hash.put("android:maxLength", "5");
  /external/chromium_org/components/test/data/json_schema/
complex_schema.json 13 "maxLength": 10,
  /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/chromium_org/third_party/WebKit/PerformanceTests/DOM/
textarea-dom.html 12 <textarea maxlength=2147483647 id="container"></textarea>
textarea-edit.html 12 <textarea maxlength=2147483647 id="container"></textarea>
  /external/chromium_org/third_party/WebKit/PerformanceTests/Parser/
textarea-parsing.html 14 var htmlText = "<textarea maxlength=2147483647>";
  /external/chromium/chrome/common/
web_app_schema.json 15 "maxLength": 45
19 "maxLength": 132,
  /external/chromium_org/chrome/browser/resources/options/chromeos/
bluetooth_pair_device_overlay.html 9 <input id="bluetooth-passkey" maxlength="6" type="text">
12 <input id="bluetooth-pincode" maxlength="16" type="text">
  /external/chromium_org/chrome/common/
web_app_schema.json 15 "maxLength": 45
19 "maxLength": 132,
  /external/chromium_org/third_party/angle/src/compiler/preprocessor/
Tokenizer.h 41 void setMaxTokenLength(size_t maxLength) { mMaxTokenLength = 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];
  /external/e2fsprogs/intl/
printf.c 183 size_t maxlength = length; local
187 if (maxlength > 0)
189 if (length < maxlength)
191 memcpy (resultbuf, result, maxlength - 1);
192 resultbuf[maxlength - 1] = '\0';
337 size_t maxlength = length; local
341 if (maxlength > 0)
343 if (length < maxlength)
345 memcpy (resultbuf, result, (maxlength - 1) * sizeof (wchar_t));
346 resultbuf[maxlength - 1] = 0
    [all...]
  /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/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/chromium_org/chrome/browser/resources/print_preview/settings/
copies_settings.html 5 <input class="copies" type="text" value="1" maxlength="3">
  /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;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/shortcut/
shortcut_list_reading_utils.cpp 47 const uint8_t *const dictRoot, const int maxLength, int *const outWord, int *const pos) {
48 return ByteArrayUtils::readStringAndAdvancePosition(dictRoot, maxLength, outWord, pos);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
patricia_trie_reading_utils.cpp 68 const NodeFlags flags, const int maxLength, int *const outBuffer, int *const pos) {
71 length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength, outBuffer,
83 } else if (maxLength > 0) {
93 const int maxLength, int *const pos) {
95 return ByteArrayUtils::advancePositionToBehindString(buffer, maxLength, pos);
97 if (maxLength > 0) {
  /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);

Completed in 333 milliseconds

1 2 3 4 5 6 7 8 91011>>