Lines Matching refs:b1Len

206     int32_t b1Len=0, b2Len,   in _internal_toASCII()  local
244 b1[b1Len++] = src[j]; in _internal_toASCII()
251b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII()
259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
267b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII()
274 if(b1Len == 0){ in _internal_toASCII()
281 for( j=0;j<b1Len;j++){ in _internal_toASCII()
298 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ in _internal_toASCII()
304 uprv_syntaxError(b1,failPos, b1Len,parseError); in _internal_toASCII()
307 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
310 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError); in _internal_toASCII()
318 if(b1Len <= destCapacity){ in _internal_toASCII()
319 uprv_memmove(dest, b1, b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
320 reqLength = b1Len; in _internal_toASCII()
322 reqLength = b1Len; in _internal_toASCII()
327 if(!startsWithPrefix(b1,b1Len)){ in _internal_toASCII()
336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII()
349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII()
372 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
411 int32_t b1Len = 0, b2Len, b1PrimeLen, b3Len, in _internal_toUnicode() local
456b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toUnicode()
460 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
468b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
478 b1Len = srcLength; in _internal_toUnicode()
488 if(startsWithPrefix(b1,b1Len)){ in _internal_toUnicode()
492 b1PrimeLen = b1Len - ACE_PREFIX_LENGTH; in _internal_toUnicode()
535 if(compareCaseInsensitiveASCII(b1, b1Len, b3, b3Len) !=0){ in _internal_toUnicode()
871 int32_t b1Len, b2Len, b1Capacity = MAX_IDN_BUFFER_SIZE, b2Capacity = MAX_IDN_BUFFER_SIZE; in uidna_compare() local
876 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in uidna_compare()
879 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
887 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in uidna_compare()
906 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len); in uidna_compare()