Home
last modified time | relevance | path

Searched refs:maxLength (Results 1 – 25 of 169) sorted by relevance

1234567

/third_party/node/deps/npm/node_modules/gauge/
Dtemplate-item.js21 this.maxLength = null
42 if (isPercent(this.maxLength)) {
43 this.maxLength = Math.round(this.overallOutputLength * percent(this.maxLength))
52 …if (length == null && typeof this.value === 'string' && this.maxLength == null && this.minLength =…
65 if (this.maxLength == null) return null
66 return this.maxLength + this.padLeft + this.padRight
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Ddenseranges.cpp30 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} in LargestGaps()
37 if(i<maxLength) { in add()
41 int32_t j= length<maxLength ? length++ : maxLength-1; in add()
80 int32_t maxLength; member in __anon1ea0f4d40111::LargestGaps
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges() local
112 if(length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
145 if(length>num*2 && length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
/third_party/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp30 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} in LargestGaps()
37 if(i<maxLength) { in add()
41 int32_t j= length<maxLength ? length++ : maxLength-1; in add()
80 int32_t maxLength; member in __anona09cd3a60111::LargestGaps
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges() local
112 if(length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
145 if(length>num*2 && length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
/third_party/node/deps/icu-small/source/tools/toolutil/
Ddenseranges.cpp30 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} in LargestGaps()
37 if(i<maxLength) { in add()
41 int32_t j= length<maxLength ? length++ : maxLength-1; in add()
80 int32_t maxLength; member in __anon497930f50111::LargestGaps
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges() local
112 if(length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
145 if(length>num*2 && length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Ddenseranges.cpp30 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} in LargestGaps()
37 if(i<maxLength) { in add()
41 int32_t j= length<maxLength ? length++ : maxLength-1; in add()
80 int32_t maxLength; member in __anonf3dc1ae90111::LargestGaps
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges() local
112 if(length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
145 if(length>num*2 && length>=(density*maxLength)/0x100) { in uprv_makeDenseRanges()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DFormatSpec.java133 int maxLength = national.maxLength(); in of() local
135 national, carrier, intl, local, minLength, maxLength, nationalPrefixOptional, comment); in of()
151 local.maxLength(), in localFormat()
175 public abstract int maxLength(); in maxLength() method in FormatSpec
194 return RangeTree.from(IntStream.rangeClosed(minLength(), maxLength()) in getLengthBasedBounds()
205 out.append(", maxLength=").append(maxLength()); in toString()
328 n += group.maxLength() - 1;
344 n += group.maxLength() + 1;
433 public int maxLength() {
434 return getLength(this, FormatGroup::maxLength);
[all …]
/third_party/node/deps/npm/node_modules/buffer-from/
Dindex.js16 var maxLength = obj.byteLength - byteOffset variable
18 if (maxLength < 0) {
23 length = maxLength
27 if (length > maxLength) {
/third_party/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp308 int32_t maxLength = getMaxLength() * 10; in main() local
319 NormalizeUTF16 op(*nfc, CommonChars::getLatin1(maxLength)); in main()
324 NormalizeUTF8 op(*nfc, CommonChars::getJapanese(maxLength)); in main()
328 NormalizeUTF16 op(*nfkc_cf, CommonChars::getMixed(maxLength)); in main()
332 NormalizeUTF16 op(*nfkc_cf, CommonChars::getLowercaseLatin1(maxLength)); in main()
336 NormalizeUTF16 op(*nfkc_cf, CommonChars::getJapanese(maxLength)); in main()
340 NormalizeUTF8 op(*nfkc_cf, CommonChars::getMixed(maxLength)); in main()
344 NormalizeUTF8 op(*nfkc_cf, CommonChars::getLowercaseLatin1(maxLength)); in main()
348 NormalizeUTF8 op(*nfkc_cf, CommonChars::getJapanese(maxLength)); in main()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDictionaryMatcher.java31 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
34 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
36 return matches(text, maxLength, lengths, count, limit, null); in matches()
DCharsetMatch.java84 public String getString(int maxLength) throws java.io.IOException { in getString() argument
90 int max = maxLength < 0? Integer.MAX_VALUE : maxLength; in getString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryMatcher.java30 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
33 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
35 return matches(text, maxLength, lengths, count, limit, null); in matches()
DCharsetMatch.java89 public String getString(int maxLength) throws java.io.IOException { in getString() argument
95 int max = maxLength < 0? Integer.MAX_VALUE : maxLength; in getString()
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dtext_formatter.dart131 /// * [maxLength], which discusses the precise meaning of "number of
137 /// The [maxLength] must be null, -1 or greater than zero. If it is null or -1
139 LengthLimitingTextInputFormatter(this.maxLength)
140 : assert(maxLength == null || maxLength == -1 || maxLength > 0);
153 /// generous in the maxLength used.
167 final int maxLength;
174 if (maxLength != null && maxLength > 0 && newValue.text.runes.length > maxLength) {
176 baseOffset: math.min(newValue.selection.start, maxLength),
177 extentOffset: math.min(newValue.selection.end, maxLength),
189 for (int count = 0; count < maxLength; ++count)
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtext_field.dart33 @required int maxLength,
217 /// The [maxLength] property is set to null by default, which means the
219 /// [maxLength] is set a character counter will be displayed below the
225 /// After [maxLength] characters have been input, additional input
228 /// evaluated after the supplied [inputFormatters], if any. The [maxLength]
231 /// If [maxLengthEnforced] is set to false, then more than [maxLength]
239 /// [maxLengthEnforced], [scrollPadding], [maxLines], and [maxLength]
244 /// * [maxLength], which discusses the precise meaning of "number of
268 this.maxLength,
306 assert(maxLength == null || maxLength == TextField.noMaxLength || maxLength > 0),
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DImmutableStringBuilder.h21 ImmutableStringBuilder(size_t maxLength) in ImmutableStringBuilder() argument
22 : mPos(0u), mMaxLength(maxLength), mData(AllocateEmptyPoolCharArray(maxLength)) in ImmutableStringBuilder()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DImmutableStringBuilder.h21 ImmutableStringBuilder(size_t maxLength) in ImmutableStringBuilder() argument
22 : mPos(0u), mMaxLength(maxLength), mData(AllocateEmptyPoolCharArray(maxLength)) in ImmutableStringBuilder()
/third_party/typescript/src/lib/
Des2017.string.d.ts13 padStart(maxLength: number, fillString?: string): string;
26 padEnd(maxLength: number, fillString?: string): string;
/third_party/typescript/lib/
Dlib.es2017.string.d.ts33 padStart(maxLength: number, fillString?: string): string;
46 padEnd(maxLength: number, fillString?: string): string;
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformBufferTest.cpp367 GLint maxLength; in TEST_P() local
370 glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in TEST_P()
371 std::vector<GLchar> strUniformNameBuffer(maxLength + 1, 0); in TEST_P()
377 glGetActiveUniform(program, index, maxLength, &length, &size, &type, &strUniformNameBuffer[0]); in TEST_P()
386 glGetActiveUniform(program, index, maxLength, &length, &size, &type, &strUniformNameBuffer[0]); in TEST_P()
444 GLint maxLength, size; in TEST_P() local
449 glGetProgramiv(program.get(), GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in TEST_P()
450 std::vector<GLchar> strBuffer(maxLength + 1, 0); in TEST_P()
456 glGetActiveUniform(program.get(), index, maxLength, &length, &size, &type, &strBuffer[0]); in TEST_P()
464 glGetActiveUniform(program.get(), index, maxLength, &length, &size, &type, &strBuffer[0]); in TEST_P()
[all …]
/third_party/icu/icu4c/source/common/
Ddictionarydata.h93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
/third_party/skia/third_party/externals/icu/source/common/
Ddictionarydata.h93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DCsvTableCollector.java82 return IntStream.range(0, length).mapToObj(n -> pad(row.get(n), maxLength(n))); in getRow()
91 private int maxLength(int index) { in maxLength() method in CsvTableCollector
97 maxLengths.put(index, Math.max(s.length(), maxLength(index))); in updateMaxLength()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ddictionarydata.h93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
/third_party/node/deps/icu-small/source/common/
Ddictionarydata.h93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeSSBOBlockTests.cpp333 GLint maxLength = 0; in logProgramInfo() local
337 ctx.glGetProgramiv(program, GL_INFO_LOG_LENGTH, &maxLength); in logProgramInfo()
342 if (maxLength == 0) in logProgramInfo()
349 std::vector<GLchar> infoLog(maxLength); in logProgramInfo()
350 ctx.glGetProgramInfoLog(program, maxLength, &maxLength, &infoLog[0]); in logProgramInfo()
352 std::string programLogMessage(&infoLog[0], maxLength); in logProgramInfo()

1234567