Home
last modified time | relevance | path

Searched refs:MAX_LENGTH (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DHuffman.java14 private static final int MAX_LENGTH = 15; field in Huffman
48 while (len < MAX_LENGTH) { in nextTableBitSize()
70 int[] count = new int[MAX_LENGTH + 1]; // Number of codes of each length. in buildHuffmanTable()
71 int[] offset = new int[MAX_LENGTH + 1]; // Offsets in sorted table for each length. in buildHuffmanTable()
81 for (int len = 1; len < MAX_LENGTH; len++) { in buildHuffmanTable()
97 if (offset[MAX_LENGTH] == 1) { in buildHuffmanTable()
119 for (int len = rootBits + 1, step = 2; len <= MAX_LENGTH; len++, step <<= 1) { in buildHuffmanTable()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftinit.c107 #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()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dbackward_references_enc.c253 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength()
302 if (len > MAX_LENGTH) { in VP8LHashChainFill()
303 // Skip the pixels that match for distance=1 and length>MAX_LENGTH in VP8LHashChainFill()
307 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain)); in VP8LHashChainFill()
308 pos += len - MAX_LENGTH; in VP8LHashChainFill()
309 len = MAX_LENGTH; in VP8LHashChainFill()
372 if (best_length == MAX_LENGTH) pos = min_pos - 1; in VP8LHashChainFill()
395 assert(best_length <= MAX_LENGTH); in VP8LHashChainFill()
411 if (best_length == MAX_LENGTH in VP8LHashChainFill()
[all...]
H A Dbackward_references_cost_enc.c150 // the cost for the MAX_LENGTH following pixels computed. Those following pixels
151 // at index index_ + k (k from 0 to MAX_LENGTH) have a cost of:
154 // array of size MAX_LENGTH.
155 // Instead of performing MAX_LENGTH comparisons per pixel, we keep track of the
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()
277 // different cost, hence MAX_LENGTH but that is impossible with the current in CostManagerInit()
279 assert(manager->cache_intervals_size_ <= MAX_LENGTH); in CostManagerInit()
324 assert(k >= 0 && k < MAX_LENGTH); in UpdateCost()
[all...]
H A Dbackward_references_enc.h117 #define MAX_LENGTH ((1 << MAX_LENGTH_BITS) - 1) macro
128 // defined in MaxFindCopyLength with MAX_LENGTH=4096.
/third_party/skia/third_party/externals/libpng/contrib/tools/
H A Dpng-fix-itxt.c28 * rebuild png-fix-itxt with a larger values of MAX_LENGTH (or a smaller value
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()
/third_party/icu/icu4c/source/test/cintltst/
H A Dncnvtst.c31 #define MAX_LENGTH 999 macro
696 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8()
697 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8()
703 && offset16 < ((int32_t)(MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN)) in TestRegressionUTF8()
704 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8()
767 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
768 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
774 && offset16 < ((int32_t)(MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN)) in TestRegressionUTF32()
775 && offset32 < ((int32_t)(MAX_LENGTH/sizeof(UChar32) - MAX_UTF32_LEN))) in TestRegressionUTF32()
917 TestWithBufferSize(MAX_LENGTH, in TestFlushInternalBuffer()
[all...]
/third_party/lame/libmp3lame/
H A Dbitstream.c49 * ourselves to MAX_LENGTH-2 just to be on the safe side */
50 #define MAX_LENGTH 32 macro
158 assert(j < MAX_LENGTH - 2); in putbits2()
178 assert(j < MAX_LENGTH); /* 32 too large on 32 bit machines */ in putbits2()
179 assert(bs->buf_bit_idx < MAX_LENGTH); in putbits2()
193 assert(j < MAX_LENGTH - 2); in putbits_noheaders()
209 assert(j < MAX_LENGTH); /* 32 too large on 32 bit machines */ in putbits_noheaders()
210 assert(bs->buf_bit_idx < MAX_LENGTH); in putbits_noheaders()
278 assert(j < MAX_LENGTH); /* >> 32 too large for 32 bit machines */ in writeheader()
623 assert(cbits <= MAX_LENGTH); in Huffmancode()
[all...]
/third_party/icu/icu4c/source/common/
H A 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()
H A Duniset.cpp40 constexpr int32_t MAX_LENGTH = UNICODESET_HIGH + 1; variable
1634 if (newCapacity > MAX_LENGTH) {
1635 newCapacity = MAX_LENGTH;
1642 if (newLen > MAX_LENGTH) {
1643 newLen = MAX_LENGTH;
1665 if (newLen > MAX_LENGTH) {
1666 newLen = MAX_LENGTH;
/third_party/node/deps/icu-small/source/common/
H A 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()
H A Duniset.cpp40 constexpr int32_t MAX_LENGTH = UNICODESET_HIGH + 1; variable
1634 if (newCapacity > MAX_LENGTH) {
1635 newCapacity = MAX_LENGTH;
1642 if (newLen > MAX_LENGTH) {
1643 newLen = MAX_LENGTH;
1665 if (newLen > MAX_LENGTH) {
1666 newLen = MAX_LENGTH;
/third_party/skia/third_party/externals/icu/source/common/
H A 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()
H A Duniset.cpp40 constexpr int32_t MAX_LENGTH = UNICODESET_HIGH + 1; variable
1635 if (newCapacity > MAX_LENGTH) {
1636 newCapacity = MAX_LENGTH;
1643 if (newLen > MAX_LENGTH) {
1644 newLen = MAX_LENGTH;
1666 if (newLen > MAX_LENGTH) {
1667 newLen = MAX_LENGTH;
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DUTF8.java149 static int MAX_LENGTH = 4; field in UTF8
/third_party/node/deps/npm/node_modules/safer-buffer/
H A Dsafer.js70 MAX_LENGTH: safer.kMaxLength
/third_party/backends/backend/
H A Dkvs20xx_opt.c110 #define MAX_LENGTH 355 macro
112 static SANE_Range tl_y_range = { 0, MAX_LENGTH - MIN_LENGTH, 0 };
114 static SANE_Range br_y_range = { MIN_LENGTH, MAX_LENGTH, 0 };
H A Dkvs40xx_opt.c180 #define MAX_LENGTH 432 macro
186 static SANE_Range tl_y_range = { 0, MAX_LENGTH - MIN_LENGTH, 0 };
188 static SANE_Range br_y_range = { MIN_LENGTH, MAX_LENGTH, 0 };
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeSet.java323 private static final int MAX_LENGTH = HIGH + 1; field in UnicodeSet
3055 if (newCapacity > MAX_LENGTH) { in nextCapacity()
3056 newCapacity = MAX_LENGTH; in nextCapacity()
3063 if (newLen > MAX_LENGTH) { in ensureCapacity()
3064 newLen = MAX_LENGTH; in ensureCapacity()
3075 if (newLen > MAX_LENGTH) { in ensureBufferCapacity()
3076 newLen = MAX_LENGTH; in ensureBufferCapacity()
H A 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUnicodeSet.java317 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()
H A 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()
/third_party/icu/icu4c/source/common/unicode/
H A Dmessagepattern.h822 static const int32_t MAX_LENGTH=0xffff; member in MessagePattern::Part
/third_party/node/deps/icu-small/source/common/unicode/
H A Dmessagepattern.h822 static const int32_t MAX_LENGTH=0xffff; member in MessagePattern::Part
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dmessagepattern.h822 static const int32_t MAX_LENGTH=0xffff; member in MessagePattern::Part

Completed in 56 milliseconds

12