Home
last modified time | relevance | path

Searched refs:b2Len (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Didnaref.cpp139 int32_t b2Len =MAX_LABEL_BUFFER_SIZE ; in convertToPuny() local
163 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
168 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); in convertToPuny()
176 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
183 if(b2Len < destCapacity){ in convertToPuny()
184 convertASCIIToUChars(b2,dest,b2Len); in convertToPuny()
198 return b2Len; in convertToPuny()
212 int32_t b2Len =MAX_LABEL_BUFFER_SIZE; in convertFromPuny() local
214 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
217 b2 = (uint32_t*) uprv_malloc(b2Len * sizeof(uint32_t)); in convertFromPuny()
[all …]
/external/icu/icu4c/source/common/
Duidna.cpp208 int32_t b1Len=0, b2Len, in _internal_toASCII() local
338 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII()
343 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
351 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII()
360 reqLength = b2Len+ACE_PREFIX_LENGTH; in _internal_toASCII()
369 u_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len); in _internal_toASCII()
413 int32_t b1Len = 0, b2Len, b1PrimeLen, b3Len, in _internal_toUnicode() local
497 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode()
502 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
510 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Len, caseFlags, status); in _internal_toUnicode()
[all …]
Dusprep.cpp711 int32_t b2Len = s2.length(); in usprep_prepare() local
716 for(int32_t b2Index=0; b2Index<b2Len;){ in usprep_prepare()
718 U16_NEXT(b2, b2Index, b2Len, ch); in usprep_prepare()
731 uprv_syntaxError(b2, b2Index-U16_LENGTH(ch), b2Len, parseError); in usprep_prepare()
754 uprv_syntaxError(b2,(rtlPos>ltrPos) ? rtlPos : ltrPos, b2Len, parseError); in usprep_prepare()
764 uprv_syntaxError(b2, rtlPos, b2Len, parseError); in usprep_prepare()
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c55 int32_t b1Len=0, b2Len=0, b3Len=0, in nfs4_prepare() local
94 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
97 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); in nfs4_prepare()
102 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
106 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
115 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()