Lines Matching defs:numChars
622 int numChars = 0 ;
626 numChars = dataSize / sizeof( UniChar) + 1;
629 if ( (size_t) numChars * 2 > sizeof(buf) )
630 charBuf = new UniChar[ numChars ] ;
634 uniChars = new wchar_t[ numChars ] ;
636 charBuf[ numChars - 1 ] = 0;
639 /* memcpy( uniChars , charBuf , numChars * 2 ) ;*/ // is there any point in copying charBuf over itself? (in fact, memcpy isn't even guaranteed to work correctly if the source and destination ranges overlap...)
643 numChars = converter.MB2WC( uniChars , (const char*)charBuf , numChars ) ;
653 for (int pos=0 ; pos < numChars ; pos++)
712 for (int pos=0 ; pos < numChars ; pos++)