Lines Matching refs:b2Len
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, b2Len, b1PrimeLen, b3Len, in _internal_toUnicode() local
496 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode()
501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
509 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Len, caseFlags, status); in _internal_toUnicode()
514 b3Len = uidna_toASCII(b2, b2Len, b3, b3Capacity, options, parseError, status); in _internal_toUnicode()
527 b3Len = uidna_toASCII(b2,b2Len,b3,b3Len,options,parseError, status); in _internal_toUnicode()
543 reqLength = b2Len; in _internal_toUnicode()
544 if(b2Len <= destCapacity) { in _internal_toUnicode()
545 uprv_memmove(dest, b2, b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
872 int32_t b1Len, b2Len, b1Capacity = MAX_IDN_BUFFER_SIZE, b2Capacity = MAX_IDN_BUFFER_SIZE; in uidna_compare() local
892 b2Len = uidna_IDNToASCII(s2,length2, b2,b2Capacity, options, &parseError, status); in uidna_compare()
895 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in uidna_compare()
903 b2Len = uidna_IDNToASCII(s2, length2, b2, b2Len, options, &parseError, status); in uidna_compare()
907 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len); in uidna_compare()