Lines Matching defs:ubuf
2798 UniChar* ubuf = NULL ;
2811 ubuf = (UniChar*) malloc( byteBufferLen + 2 ) ;
2813 ubuf = (UniChar*) (buf ? buf : tbuf) ;
2821 (TextPtr) ubuf, byteBufferLen, &byteOutLen);
2827 ubuf[byteOutLen / sizeof( UniChar ) ] = 0 ;
2829 res = converter.MB2WC( (buf ? buf : tbuf), (const char*)ubuf, n ) ;
2830 free( ubuf ) ;
2861 UniChar* ubuf = NULL ;
2867 ubuf = (UniChar*) malloc( byteInLen + 2 ) ;
2868 converter.WC2MB( (char*) ubuf, psz, unicharlen + 2 ) ;
2870 ubuf = (UniChar*) psz ;
2878 m_WC2MB_converter, (ConstTextPtr) ubuf, byteInLen, &byteInLen,
2883 free( ubuf ) ;
2968 UniChar* ubuf = NULL ;
2974 ubuf = (UniChar*) malloc( byteInLen + 2 ) ;
2975 converter.WC2MB( (char*) ubuf, psz, unicharlen + 2 ) ;
2977 ubuf = (UniChar*) psz ;
2980 // ubuf is a non-decomposed UniChar buffer
2990 ConvertFromUnicodeToText( m_uni , byteInLen , ubuf ,
3003 free( ubuf ) ;
3026 UniChar* ubuf = NULL ;
3039 ubuf = (UniChar*) malloc( byteBufferLen + 2 ) ;
3041 ubuf = (UniChar*) (buf ? buf : tbuf) ;
3061 kUnicodeDefaultDirectionMask, 0, NULL, NULL, NULL, dcubuflen , &dcubufread , &dcubufwritten , ubuf ) ;
3066 ubuf[byteOutLen / sizeof( UniChar ) ] = 0 ;
3071 res = converter.MB2WC( (buf ? buf : tbuf), (const char*)ubuf, n ) ;
3072 free( ubuf ) ;