/external/freetype/src/base/ |
D | ftinit.c | 107 #define MAX_LENGTH 128 macro 118 char module_name[MAX_LENGTH + 1]; in FT_Set_Default_Properties() 119 char property_name[MAX_LENGTH + 1]; in FT_Set_Default_Properties() 120 char property_value[MAX_LENGTH + 1]; in FT_Set_Default_Properties() 137 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties() 150 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties() 163 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties()
|
/external/brotli/java/org/brotli/dec/ |
D | Huffman.java | 14 private static final int MAX_LENGTH = 15; field in Huffman 48 while (len < MAX_LENGTH) { in nextTableBitSize() 67 int[] count = new int[MAX_LENGTH + 1]; // Number of codes of each length. in buildHuffmanTable() 68 int[] offset = new int[MAX_LENGTH + 1]; // Offsets in sorted table for each length. in buildHuffmanTable() 78 for (int len = 1; len < MAX_LENGTH; len++) { in buildHuffmanTable() 94 if (offset[MAX_LENGTH] == 1) { in buildHuffmanTable() 115 for (int len = rootBits + 1, step = 2; len <= MAX_LENGTH; len++, step <<= 1) { in buildHuffmanTable()
|
/external/ltp/testcases/kernel/syscalls/sethostname/ |
D | sethostname02.c | 85 #define LARGE_LENGTH MAX_LENGTH + 1 86 #define MAX_LENGTH _UTSNAME_LENGTH - 1 macro 92 static char hostname[MAX_LENGTH]; 93 static char hname[MAX_LENGTH];
|
D | sethostname01.c | 74 #define MAX_LENGTH __NEW_UTS_LEN macro 81 static char hname[MAX_LENGTH]; /* host name */
|
D | sethostname03.c | 78 #define MAX_LENGTH __NEW_UTS_LEN macro 84 static char hname[MAX_LENGTH];
|
/external/webp/src/enc/ |
D | backward_references_enc.c | 221 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength() 270 if (len > MAX_LENGTH) { in VP8LHashChainFill() 275 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain)); in VP8LHashChainFill() 276 pos += len - MAX_LENGTH; in VP8LHashChainFill() 277 len = MAX_LENGTH; in VP8LHashChainFill() 340 if (best_length == MAX_LENGTH) pos = min_pos - 1; in VP8LHashChainFill() 363 assert(best_length <= MAX_LENGTH); in VP8LHashChainFill() 379 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill() 380 base_position + MAX_LENGTH < max_base_position) { in VP8LHashChainFill() 383 if (best_length < MAX_LENGTH) { in VP8LHashChainFill() [all …]
|
D | backward_references_cost_enc.c | 190 double cost_cache_[MAX_LENGTH]; // Contains the GetLengthCost(cost_model, k). 254 const int cost_cache_size = (pix_count > MAX_LENGTH) ? MAX_LENGTH : pix_count; in CostManagerInit() 279 assert(manager->cache_intervals_size_ <= MAX_LENGTH); in CostManagerInit() 324 assert(k >= 0 && k < MAX_LENGTH); in UpdateCost() 476 assert(k >= 0 && k < MAX_LENGTH); in PushInterval() 651 assert(len == MAX_LENGTH || len == pix_count - i); in BackwardReferencesHashChainDistanceOnly()
|
D | backward_references_enc.h | 116 #define MAX_LENGTH ((1 << MAX_LENGTH_BITS) - 1) macro
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | BERConstructedOctetString.java | 14 private static final int MAX_LENGTH = 1000; field in BERConstructedOctetString 109 for (int i = 0; i < string.length; i += MAX_LENGTH) in generateOcts() 113 if (i + MAX_LENGTH > string.length) in generateOcts() 119 end = i + MAX_LENGTH; in generateOcts()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | BERConstructedOctetString.java | 16 private static final int MAX_LENGTH = 1000; field in BERConstructedOctetString 111 for (int i = 0; i < string.length; i += MAX_LENGTH) in generateOcts() 115 if (i + MAX_LENGTH > string.length) in generateOcts() 121 end = i + MAX_LENGTH; in generateOcts()
|
/external/libpng/contrib/tools/ |
D | png-fix-itxt.c | 35 #define MAX_LENGTH 500000 macro 45 unsigned char buf[MAX_LENGTH]; in main() 77 if (length >= MAX_LENGTH-12) in main() 106 if (length >= MAX_LENGTH-12) in main()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ncnvtst.c | 30 #define MAX_LENGTH 999 macro 707 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8() 708 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8() 714 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF8() 715 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8() 778 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32() 779 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32() 785 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF32() 786 && offset32 < (MAX_LENGTH/sizeof(UChar32) - MAX_UTF32_LEN)) in TestRegressionUTF32() 928 TestWithBufferSize(MAX_LENGTH, 1); in TestFlushInternalBuffer() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/tags/ |
D | TagKeyTest.java | 36 assertThat(TagKey.MAX_LENGTH).isEqualTo(255); in testMaxLength() 46 char[] chars = new char[TagKey.MAX_LENGTH]; in create_AllowTagKeyNameWithMaxLength() 54 char[] chars = new char[TagKey.MAX_LENGTH + 1]; in create_DisallowTagKeyNameOverMaxLength()
|
D | TagValueTest.java | 36 assertThat(TagValue.MAX_LENGTH).isEqualTo(255); in testMaxLength() 46 char[] chars = new char[TagValue.MAX_LENGTH]; in create_AllowTagValueWithMaxLength() 54 char[] chars = new char[TagValue.MAX_LENGTH + 1]; in create_DisallowTagValueOverMaxLength()
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
D | TagValue.java | 40 public static final int MAX_LENGTH = 255; field in TagValue 77 return value.length() <= MAX_LENGTH && StringUtils.isPrintableString(value); in isValid()
|
D | TagKey.java | 43 public static final int MAX_LENGTH = 255; field in TagKey 82 return !name.isEmpty() && name.length() <= MAX_LENGTH && StringUtils.isPrintableString(name); in isValid()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessagePattern.java | 729 private static final int MAX_LENGTH=0xffff; field in MessagePattern.Part 962 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg() 970 if(length>Part.MAX_LENGTH) { in parseArg() 1004 if(length>Part.MAX_LENGTH) { in parseArg() 1073 if(length>Part.MAX_LENGTH) { in parseSimpleStyle() 1102 if(length>Part.MAX_LENGTH) { in parseChoiceStyle() 1172 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle() 1204 if((index-valueIndex)>Part.MAX_LENGTH) { in parsePluralOrSelectStyle() 1213 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
|
D | UnicodeSet.java | 317 private static final int MAX_LENGTH = HIGH + 1; field in UnicodeSet 2941 if (newCapacity > MAX_LENGTH) { in nextCapacity() 2942 newCapacity = MAX_LENGTH; in nextCapacity() 2949 if (newLen > MAX_LENGTH) { in ensureCapacity() 2950 newLen = MAX_LENGTH; in ensureCapacity() 2961 if (newLen > MAX_LENGTH) { in ensureBufferCapacity() 2962 newLen = MAX_LENGTH; in ensureBufferCapacity()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePattern.java | 788 private static final int MAX_LENGTH=0xffff; field in MessagePattern.Part 1033 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg() 1041 if(length>Part.MAX_LENGTH) { in parseArg() 1075 if(length>Part.MAX_LENGTH) { in parseArg() 1144 if(length>Part.MAX_LENGTH) { in parseSimpleStyle() 1173 if(length>Part.MAX_LENGTH) { in parseChoiceStyle() 1243 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle() 1275 if((index-valueIndex)>Part.MAX_LENGTH) { in parsePluralOrSelectStyle() 1284 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
|
D | UnicodeSet.java | 319 private static final int MAX_LENGTH = HIGH + 1; field in UnicodeSet 3014 if (newCapacity > MAX_LENGTH) { in nextCapacity() 3015 newCapacity = MAX_LENGTH; in nextCapacity() 3022 if (newLen > MAX_LENGTH) { in ensureCapacity() 3023 newLen = MAX_LENGTH; in ensureCapacity() 3034 if (newLen > MAX_LENGTH) { in ensureBufferCapacity() 3035 newLen = MAX_LENGTH; in ensureBufferCapacity()
|
/external/icu/icu4c/source/common/ |
D | messagepattern.cpp | 558 if(length>Part::MAX_LENGTH || number>Part::MAX_VALUE) { in parseArg() 567 if(length>Part::MAX_LENGTH) { in parseArg() 610 if(length>Part::MAX_LENGTH) { in parseArg() 686 if(length>Part::MAX_LENGTH) { in parseSimpleStyle() 725 if(length>Part::MAX_LENGTH) { in parseChoiceStyle() 808 if(length>Part::MAX_LENGTH) { in parsePluralOrSelectStyle() 843 if((index-valueIndex)>Part::MAX_LENGTH) { in parsePluralOrSelectStyle() 857 if(length>Part::MAX_LENGTH) { in parsePluralOrSelectStyle()
|
D | uniset.cpp | 58 constexpr int32_t MAX_LENGTH = UNICODESET_HIGH + 1; variable 1645 if (newCapacity > MAX_LENGTH) { in nextCapacity() 1646 newCapacity = MAX_LENGTH; in nextCapacity() 1653 if (newLen > MAX_LENGTH) { in ensureCapacity() 1654 newLen = MAX_LENGTH; in ensureCapacity() 1676 if (newLen > MAX_LENGTH) { in ensureBufferCapacity() 1677 newLen = MAX_LENGTH; in ensureBufferCapacity()
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 107 private static final int MAX_LENGTH = 253; field in InternetDomainName 149 checkArgument(name.length() <= MAX_LENGTH, in InternetDomainName()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | UTF8.java | 149 static int MAX_LENGTH = 4; field in UTF8
|
/external/icu/icu4c/source/common/unicode/ |
D | messagepattern.h | 820 static const int32_t MAX_LENGTH=0xffff; variable
|