• Home
  • Raw
  • Download

Lines Matching refs:b1

136     uint32_t* b1 = b1Stack;  in convertToPuny()  local
143 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); in convertToPuny()
147 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); in convertToPuny()
148 if(b1==NULL){ in convertToPuny()
155 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); in convertToPuny()
163 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
176 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
190 if(b1Stack != b1){ in convertToPuny()
191 uprv_free(b1); in convertToPuny()
216 char* b1 = b1Stack; in convertFromPuny() local
219 convertUCharsToASCII(src, b1,srcLength); in convertFromPuny()
225 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
233 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
244 if(b1Stack != b1){ in convertFromPuny()
245 uprv_free(b1); in convertFromPuny()
272 UChar *b1 = b1Stack, *b2 = b2Stack; in idnaref_toASCII() local
299 b1[b1Len++] = src[j]; in idnaref_toASCII()
309 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status); in idnaref_toASCII()
314 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toASCII()
315 if(b1==NULL){ in idnaref_toASCII()
322 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toASCII()
338 if(b1[j] > 0x7F){// check if output of usprep_prepare is all ASCII in idnaref_toASCII()
340 …}else if(prep->isLDHChar(b1[j])==FALSE){ // if the char is in ASCII range verify that it is an LD… in idnaref_toASCII()
348 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ in idnaref_toASCII()
355 u_memmove(dest, b1, b1Len); in idnaref_toASCII()
363 if(!startsWithPrefix(b1,b1Len)){ in idnaref_toASCII()
368 b2Len = convertToPuny(b1,b1Len, b2,b2Capacity,*status); in idnaref_toASCII()
381 b2Len = convertToPuny(b1, b1Len, b2, b2Len, *status); in idnaref_toASCII()
411 if(b1 != b1Stack){ in idnaref_toASCII()
412 uprv_free(b1); in idnaref_toASCII()
445 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; in idnaref_toUnicode() local
499 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status); in idnaref_toUnicode()
503 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toUnicode()
504 if(b1==NULL){ in idnaref_toUnicode()
511 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toUnicode()
521 u_memmove(b1, src, srcLength); in idnaref_toUnicode()
524 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in idnaref_toUnicode()
525 if(b1==NULL){ in idnaref_toUnicode()
529 u_memmove(b1, src, srcLength); in idnaref_toUnicode()
537 b1Prime = b1 + ACE_PREFIX_LENGTH; in idnaref_toUnicode()
583 if(compareCaseInsensitiveASCII(b1, b1Len, b3, b3Len) !=0){ in idnaref_toUnicode()
624 if(b1 != b1Stack){ in idnaref_toUnicode()
625 uprv_free(b1); in idnaref_toUnicode()
712 UChar *b1 = b1Stack; in idnaref_IDNToASCII() local
740 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
746 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
747 if(b1==NULL){ in idnaref_IDNToASCII()
754 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
766 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToASCII()
790 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
796 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
797 if(b1==NULL){ in idnaref_IDNToASCII()
804 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
815 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToASCII()
836 if(b1 != b1Stack){ in idnaref_IDNToASCII()
837 uprv_free(b1); in idnaref_IDNToASCII()
868 UChar *b1 = b1Stack; in idnaref_IDNToUnicode() local
895 b1Len = idnaref_toUnicode(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToUnicode()
901 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
902 if(b1==NULL){ in idnaref_IDNToUnicode()
909 b1Len = idnaref_toUnicode( labelStart, labelLen, b1, b1Len, in idnaref_IDNToUnicode()
920 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToUnicode()
947 b1Len = idnaref_toUnicode( labelStart,labelLen, b1, b1Capacity, in idnaref_IDNToUnicode()
953 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
954 if(b1==NULL){ in idnaref_IDNToUnicode()
961 b1Len = idnaref_toUnicode( labelStart, labelLen, b1, b1Len, in idnaref_IDNToUnicode()
972 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToUnicode()
992 if(b1 != b1Stack){ in idnaref_IDNToUnicode()
993 uprv_free(b1); in idnaref_IDNToUnicode()
1012 UChar *b1 = b1Stack, *b2 = b2Stack; in idnaref_compare() local
1018 b1Len = idnaref_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in idnaref_compare()
1022 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_compare()
1023 if(b1==NULL){ in idnaref_compare()
1030 b1Len = idnaref_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in idnaref_compare()
1050 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len); in idnaref_compare()
1053 if(b1 != b1Stack){ in idnaref_compare()
1054 uprv_free(b1); in idnaref_compare()