Lines Matching refs:b2Len
137 int32_t b2Len =MAX_LABEL_BUFFER_SIZE ;
161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2);
166 b2 = (char*) uprv_malloc( b2Len * sizeof(char));
174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2);
181 if(b2Len < destCapacity){
182 convertASCIIToUChars(b2,dest,b2Len);
196 return b2Len;
210 int32_t b2Len =MAX_LABEL_BUFFER_SIZE;
212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags);
215 b2 = (uint32_t*) uprv_malloc(b2Len * sizeof(uint32_t));
220 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags);
228 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status);
260 int32_t b1Len=0, b2Len=0,
353 b2Len = convertToPuny(b1,b1Len, b2,b2Capacity,*status);
354 //b2Len = u_strToPunycode(b2,b2Capacity,b1,b1Len, caseFlags, status);
358 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
366 b2Len = convertToPuny(b1, b1Len, b2, b2Len, *status);
367 //b2Len = u_strToPunycode(b2,b2Len,b1,b1Len, caseFlags, status);
374 reqLength = b2Len+ACE_PREFIX_LENGTH;
383 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR);
431 int32_t b1Len, b2Len, b1PrimeLen, b3Len,
526 b2Len = convertFromPuny(b1Prime,b1PrimeLen, b2, b2Capacity, *status);
527 //b2Len = u_strFromPunycode(b2, b2Capacity,b1Prime,b1PrimeLen, caseFlags, status);
532 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
540 b2Len = convertFromPuny(b1Prime,b1PrimeLen, b2, b2Len, *status);
541 //b2Len = u_strFromPunycode(b2, b2Len,b1Prime,b1PrimeLen,caseFlags, status);
546 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status);
559 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status);
574 reqLength = b2Len;
575 if(b2Len <= destCapacity) {
576 uprv_memmove(dest, b2, b2Len * U_SIZEOF_UCHAR);
998 int32_t b1Len, b2Len, b1Capacity = MAX_IDN_BUFFER_SIZE, b2Capacity = MAX_IDN_BUFFER_SIZE;
1019 b2Len = idnaref_IDNToASCII(s2,length2,b2,b2Capacity,options, &parseError, status);
1023 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
1031 b2Len = idnaref_IDNToASCII(s2,length2,b2,b2Len,options, &parseError, status);
1035 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len);