• Home
  • Raw
  • Download

Lines Matching refs:b1

207     UChar  *b1 = b1Stack, *b2 = b2Stack;  in _internal_toASCII()  local
233 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
234 if(b1==NULL){ in _internal_toASCII()
246 b1[b1Len++] = src[j]; in _internal_toASCII()
253 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII()
258 if(b1 != b1Stack){ in _internal_toASCII()
259 uprv_free(b1); in _internal_toASCII()
261 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
262 if(b1==NULL){ in _internal_toASCII()
269 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII()
285 if(b1[j] > 0x7F){ in _internal_toASCII()
287 …}else if(isLDHChar(b1[j])==FALSE){ // if the char is in ASCII range verify that it is an LDH char… in _internal_toASCII()
300 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ in _internal_toASCII()
306 uprv_syntaxError(b1,failPos, b1Len,parseError); in _internal_toASCII()
307 }else if(b1[0] == HYPHEN){ in _internal_toASCII()
309 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
312 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError); in _internal_toASCII()
321 u_memmove(dest, b1, b1Len); in _internal_toASCII()
329 if(!startsWithPrefix(b1,b1Len)){ in _internal_toASCII()
338 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII()
351 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII()
374 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
384 if(b1 != b1Stack){ in _internal_toASCII()
385 uprv_free(b1); in _internal_toASCII()
412 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; in _internal_toUnicode() local
458 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toUnicode()
462 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
463 if(b1==NULL){ in _internal_toUnicode()
470 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
479 b1 = (UChar*) src; in _internal_toUnicode()
490 if(startsWithPrefix(b1,b1Len)){ in _internal_toUnicode()
493 b1Prime = b1 + ACE_PREFIX_LENGTH; in _internal_toUnicode()
537 if(compareCaseInsensitiveASCII(b1, b1Len, b3, b3Len) !=0){ in _internal_toUnicode()
583 if(b1 != b1Stack && b1!=src){ in _internal_toUnicode()
584 uprv_free(b1); in _internal_toUnicode()
872 UChar *b1 = b1Stack, *b2 = b2Stack; in uidna_compare() local
878 b1Len = uidna_IDNToASCII(s1, length1, b1, b1Capacity, options, &parseError, status); in uidna_compare()
881 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
882 if(b1==NULL){ in uidna_compare()
889 b1Len = uidna_IDNToASCII(s1,length1,b1,b1Len, options, &parseError, status); in uidna_compare()
908 result = compareCaseInsensitiveASCII(b1,b1Len,b2,b2Len); in uidna_compare()
911 if(b1 != b1Stack){ in uidna_compare()
912 uprv_free(b1); in uidna_compare()