• 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()
205 char* b1 = b1Stack; in convertFromPuny() local
208 convertUCharsToASCII(src, b1,srcLength); in convertFromPuny()
214 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
222 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
233 if(b1Stack != b1){ in convertFromPuny()
234 uprv_free(b1); in convertFromPuny()
261 UChar *b1 = b1Stack, *b2 = b2Stack; in idnaref_toASCII() local
288 b1[b1Len++] = src[j]; in idnaref_toASCII()
298 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status); in idnaref_toASCII()
303 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toASCII()
304 if(b1==NULL){ in idnaref_toASCII()
311 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toASCII()
327 if(b1[j] > 0x7F){// check if output of usprep_prepare is all ASCII in idnaref_toASCII()
329 …}else if(prep->isLDHChar(b1[j])==FALSE){ // if the char is in ASCII range verify that it is an LD… in idnaref_toASCII()
337 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ in idnaref_toASCII()
344 u_memmove(dest, b1, b1Len); in idnaref_toASCII()
352 if(!startsWithPrefix(b1,b1Len)){ in idnaref_toASCII()
357 b2Len = convertToPuny(b1,b1Len, b2,b2Capacity,*status); in idnaref_toASCII()
370 b2Len = convertToPuny(b1, b1Len, b2, b2Len, *status); in idnaref_toASCII()
400 if(b1 != b1Stack){ in idnaref_toASCII()
401 uprv_free(b1); in idnaref_toASCII()
434 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; in idnaref_toUnicode() local
488 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status); in idnaref_toUnicode()
492 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toUnicode()
493 if(b1==NULL){ in idnaref_toUnicode()
500 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toUnicode()
510 u_memmove(b1, src, srcLength); in idnaref_toUnicode()
513 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in idnaref_toUnicode()
514 if(b1==NULL){ in idnaref_toUnicode()
518 u_memmove(b1, src, srcLength); in idnaref_toUnicode()
526 b1Prime = b1 + ACE_PREFIX_LENGTH; in idnaref_toUnicode()
572 if(compareCaseInsensitiveASCII(b1, b1Len, b3, b3Len) !=0){ in idnaref_toUnicode()
613 if(b1 != b1Stack){ in idnaref_toUnicode()
614 uprv_free(b1); in idnaref_toUnicode()
701 UChar *b1 = b1Stack; in idnaref_IDNToASCII() local
729 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
735 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
736 if(b1==NULL){ in idnaref_IDNToASCII()
743 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
755 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToASCII()
779 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
785 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
786 if(b1==NULL){ in idnaref_IDNToASCII()
793 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
804 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToASCII()
825 if(b1 != b1Stack){ in idnaref_IDNToASCII()
826 uprv_free(b1); in idnaref_IDNToASCII()
857 UChar *b1 = b1Stack; in idnaref_IDNToUnicode() local
884 b1Len = idnaref_toUnicode(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToUnicode()
890 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
891 if(b1==NULL){ in idnaref_IDNToUnicode()
898 b1Len = idnaref_toUnicode( labelStart, labelLen, b1, b1Len, in idnaref_IDNToUnicode()
909 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToUnicode()
936 b1Len = idnaref_toUnicode( labelStart,labelLen, b1, b1Capacity, in idnaref_IDNToUnicode()
942 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
943 if(b1==NULL){ in idnaref_IDNToUnicode()
950 b1Len = idnaref_toUnicode( labelStart, labelLen, b1, b1Len, in idnaref_IDNToUnicode()
961 u_memmove(dest+reqLength, b1, b1Len); in idnaref_IDNToUnicode()
981 if(b1 != b1Stack){ in idnaref_IDNToUnicode()
982 uprv_free(b1); in idnaref_IDNToUnicode()
1001 UChar *b1 = b1Stack, *b2 = b2Stack; in idnaref_compare() local
1007 b1Len = idnaref_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in idnaref_compare()
1011 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_compare()
1012 if(b1==NULL){ in idnaref_compare()
1019 b1Len = idnaref_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in idnaref_compare()
1039 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len); in idnaref_compare()
1042 if(b1 != b1Stack){ in idnaref_compare()
1043 uprv_free(b1); in idnaref_compare()