Searched refs:b2Len (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | idnaref.cpp | 137 int32_t b2Len =MAX_LABEL_BUFFER_SIZE ; in convertToPuny() local 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 166 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); in convertToPuny() 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 181 if(b2Len < destCapacity){ in convertToPuny() 182 convertASCIIToUChars(b2,dest,b2Len); in convertToPuny() 196 return b2Len; in convertToPuny() 210 int32_t b2Len =MAX_LABEL_BUFFER_SIZE; in convertFromPuny() local 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny() 215 b2 = (uint32_t*) uprv_malloc(b2Len * sizeof(uint32_t)); in convertFromPuny() [all …]
|
/external/icu/icu4c/source/common/ |
D | uidna.cpp | 206 int32_t b1Len=0, b2Len, in _internal_toASCII() local 336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII() 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII() 358 reqLength = b2Len+ACE_PREFIX_LENGTH; in _internal_toASCII() 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 411 int32_t b1Len = 0, b2Len, b1PrimeLen, b3Len, in _internal_toUnicode() local 495 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode() 500 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode() 508 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Len, caseFlags, status); in _internal_toUnicode() [all …]
|
D | usprep.cpp | 711 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(b1, 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/ |
D | nfsprep.c | 53 int32_t b1Len=0, b2Len=0, b3Len=0, in nfs4_prepare() local 92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); in nfs4_prepare() 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); in nfs4_prepare() 100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); in nfs4_prepare() 104 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare() 113 u_strToUTF8(b3,b3Capacity, &b3Len, b2, b2Len, status); in nfs4_prepare()
|