Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dncnvtst.c25 #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()
779 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
780 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
786 && 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/webp/src/enc/
Dbackward_references.c32 #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/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, "Domain name too long: '%s':", name); in InternetDomainName()
/external/icu4c/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/icu4c/common/unicode/
Dmessagepattern.h817 static const int32_t MAX_LENGTH=0xffff; variable