Home
last modified time | relevance | path

Searched refs:MAX_LENGTH (Results 1 – 16 of 16) sorted by relevance

/external/brotli/java/org/brotli/dec/
DHuffman.java20 private static final int MAX_LENGTH = 15; field in Huffman
54 while (len < MAX_LENGTH) { in nextTableBitSize()
73 int[] count = new int[MAX_LENGTH + 1]; // Number of codes of each length. in buildHuffmanTable()
74 int[] offset = new int[MAX_LENGTH + 1]; // Offsets in sorted table for each length. in buildHuffmanTable()
84 for (int len = 1; len < MAX_LENGTH; len++) { in buildHuffmanTable()
100 if (offset[MAX_LENGTH] == 1) { in buildHuffmanTable()
121 for (int len = rootBits + 1, step = 2; len <= MAX_LENGTH; len++, step <<= 1) { in buildHuffmanTable()
/external/freetype/src/base/
Dftinit.c231 #define MAX_LENGTH 128 macro
242 char module_name[MAX_LENGTH + 1]; in FT_Set_Default_Properties()
243 char property_name[MAX_LENGTH + 1]; in FT_Set_Default_Properties()
244 char property_value[MAX_LENGTH + 1]; in FT_Set_Default_Properties()
261 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties()
274 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties()
287 for ( i = 0; i < MAX_LENGTH; i++ ) in FT_Set_Default_Properties()
/external/ltp/testcases/kernel/syscalls/sethostname/
Dsethostname02.c85 #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];
Dsethostname01.c74 #define MAX_LENGTH __NEW_UTS_LEN macro
81 static char hname[MAX_LENGTH]; /* host name */
Dsethostname03.c78 #define MAX_LENGTH __NEW_UTS_LEN macro
84 static char hname[MAX_LENGTH];
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c28 #define MAX_LENGTH 999 macro
705 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8()
706 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8()
712 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF8()
713 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8()
718 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh); in TestRegressionUTF8()
719 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh); in TestRegressionUTF8()
776 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
777 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
783 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF32()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DBERConstructedOctetString.java14 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()
DBEROctetString.java11 private static final int MAX_LENGTH = 1000; field in BEROctetString
95 for (int i = 0; i < string.length; i += MAX_LENGTH) in generateOcts()
99 if (i + MAX_LENGTH > string.length) in generateOcts()
105 end = i + MAX_LENGTH; in generateOcts()
/external/libpng/contrib/tools/
Dpng-fix-itxt.c35 #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/webp/src/enc/
Dbackward_references_enc.c41 #define MAX_LENGTH ((1 << MAX_LENGTH_BITS) - 1) macro
243 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength()
292 if (len > MAX_LENGTH) { in VP8LHashChainFill()
297 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain)); in VP8LHashChainFill()
298 pos += len - MAX_LENGTH; in VP8LHashChainFill()
299 len = MAX_LENGTH; in VP8LHashChainFill()
362 if (best_length == MAX_LENGTH) pos = min_pos - 1; in VP8LHashChainFill()
385 assert(best_length <= MAX_LENGTH); in VP8LHashChainFill()
401 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill()
402 base_position + MAX_LENGTH < max_base_position) { in VP8LHashChainFill()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java729 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()
/external/messageformat/java/com/ibm/icu/text/
DMessagePattern.java785 private static final int MAX_LENGTH=0xffff; field in MessagePattern.Part
1027 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg()
1035 if(length>Part.MAX_LENGTH) { in parseArg()
1069 if(length>Part.MAX_LENGTH) { in parseArg()
1138 if(length>Part.MAX_LENGTH) { in parseSimpleStyle()
1167 if(length>Part.MAX_LENGTH) { in parseChoiceStyle()
1237 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1269 if((index-valueIndex)>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1278 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java788 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()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java107 private static final int MAX_LENGTH = 253; field in InternetDomainName
149 checkArgument(name.length() <= MAX_LENGTH, in InternetDomainName()
/external/icu/icu4c/source/common/
Dmessagepattern.cpp558 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()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h820 static const int32_t MAX_LENGTH=0xffff; variable