Home
last modified time | relevance | path

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

/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/icu/icu4c/source/test/cintltst/
Dncnvtst.c26 #define MAX_LENGTH 999 macro
709 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8()
710 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8()
716 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF8()
717 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8()
722 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh); in TestRegressionUTF8()
723 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh); in TestRegressionUTF8()
780 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
781 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
787 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF32()
[all …]
/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/opencv3/3rdparty/openexr/IlmImf/
DImfName.h83 static const int MAX_LENGTH = SIZE - 1; variable
103 strncpy (_text, text, MAX_LENGTH);
119 _text [MAX_LENGTH] = 0; in Name()
DImfChannelListAttribute.cpp117 Xdr::read <StreamIO> (is, Name::MAX_LENGTH, name); in readValueFrom()
DImfHeader.cpp992 Xdr::read <StreamIO> (is, Name::MAX_LENGTH, name); in readFrom()
1006 Xdr::read <StreamIO> (is, Name::MAX_LENGTH, typeName); in readFrom()
/external/opencv3/3rdparty/libwebp/enc/
Dbackward_references.c34 #define MAX_LENGTH 4096 macro
216 if (curr_length >= MAX_LENGTH) { in HashChainFindCopy()
232 while (length >= MAX_LENGTH) { in PushBackCopy()
233 refs->refs[size++] = PixOrCopyCreateCopy(1, MAX_LENGTH); in PushBackCopy()
234 length -= MAX_LENGTH; in PushBackCopy()
295 if (maxlen > MAX_LENGTH) { in BackwardReferencesHashChain()
296 maxlen = MAX_LENGTH; in BackwardReferencesHashChain()
311 if (maxlen > MAX_LENGTH) { in BackwardReferencesHashChain()
312 maxlen = MAX_LENGTH; in BackwardReferencesHashChain()
333 if (len >= MAX_LENGTH) { in BackwardReferencesHashChain()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java727 private static final int MAX_LENGTH=0xffff; field in MessagePattern.Part
957 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg()
965 if(length>Part.MAX_LENGTH) { in parseArg()
999 if(length>Part.MAX_LENGTH) { in parseArg()
1068 if(length>Part.MAX_LENGTH) { in parseSimpleStyle()
1097 if(length>Part.MAX_LENGTH) { in parseChoiceStyle()
1167 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1199 if((index-valueIndex)>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1208 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java786 private static final int MAX_LENGTH=0xffff; field in MessagePattern.Part
1028 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg()
1036 if(length>Part.MAX_LENGTH) { in parseArg()
1070 if(length>Part.MAX_LENGTH) { in parseArg()
1139 if(length>Part.MAX_LENGTH) { in parseSimpleStyle()
1168 if(length>Part.MAX_LENGTH) { in parseChoiceStyle()
1238 if(length>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1270 if((index-valueIndex)>Part.MAX_LENGTH) { in parsePluralOrSelectStyle()
1279 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/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.cpp556 if(length>Part::MAX_LENGTH || number>Part::MAX_VALUE) { in parseArg()
565 if(length>Part::MAX_LENGTH) { in parseArg()
608 if(length>Part::MAX_LENGTH) { in parseArg()
684 if(length>Part::MAX_LENGTH) { in parseSimpleStyle()
723 if(length>Part::MAX_LENGTH) { in parseChoiceStyle()
806 if(length>Part::MAX_LENGTH) { in parsePluralOrSelectStyle()
841 if((index-valueIndex)>Part::MAX_LENGTH) { in parsePluralOrSelectStyle()
855 if(length>Part::MAX_LENGTH) { in parsePluralOrSelectStyle()
/external/webp/src/enc/
Dbackward_references.c34 #define MAX_LENGTH 4096 macro
261 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength()
271 assert(len <= MAX_LENGTH); in HashChainFindOffset()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h818 static const int32_t MAX_LENGTH=0xffff; variable