Lines Matching refs:pStr
52 char * RscChar::MakeUTF8( char * pStr, sal_uInt16 nTextEncoding ) in MakeUTF8() argument
54 sal_Size nMaxUniCodeBuf = strlen( pStr ) + 1; in MakeUTF8()
66 if( *pStr == '\\' ) in MakeUTF8()
68 ++pStr; in MakeUTF8()
69 switch( *pStr ) in MakeUTF8()
106 if( '0' <= *pStr && '7' >= *pStr ) in MakeUTF8()
110 while( '0' <= *pStr && '7' >= *pStr && i != 3 ) in MakeUTF8()
112 nChar = nChar * 8 + (sal_uInt8)*pStr - (sal_uInt8)'0'; in MakeUTF8()
113 ++pStr; in MakeUTF8()
123 pStr--; in MakeUTF8()
125 else if( 'x' == *pStr ) in MakeUTF8()
129 ++pStr; in MakeUTF8()
130 while( isxdigit( *pStr ) && i != 2 ) in MakeUTF8()
132 if( isdigit( *pStr ) ) in MakeUTF8()
133 nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'0'; in MakeUTF8()
134 else if( isupper( *pStr ) ) in MakeUTF8()
135 nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'A' +10; in MakeUTF8()
137 nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'a' +10; in MakeUTF8()
138 ++pStr; in MakeUTF8()
142 pStr--; in MakeUTF8()
145 c = *pStr; in MakeUTF8()
150 c = *pStr; in MakeUTF8()
152 cOld = *pStr; in MakeUTF8()
153 pStr++; in MakeUTF8()