Lines Matching refs:pSource

135 	const sal_Int8 *pSource = seq.getArray();  in removeEncoding()  local
136 if( ! strncmp( (const char * ) pSource , "<?xml" , 4) ) in removeEncoding()
140 OString str( (sal_Char * ) pSource , seq.getLength() ); in removeEncoding()
180 const sal_Int8 *pSource = seq.getConstArray(); in isEncodingRecognizable() local
188 if( ! strncmp( (const char * ) pSource , "<?xml" , 4 ) ) { in isEncodingRecognizable()
192 else if( ('<' == pSource[0] || '<' == pSource[2] ) && in isEncodingRecognizable()
193 ( ('?' == pSource[4] || '?' == pSource[6] ) ) ) in isEncodingRecognizable()
198 else if( ( '<' == pSource[1] || '<' == pSource[3] ) && in isEncodingRecognizable()
199 ( '?' == pSource[5] || '?' == pSource[7] ) ) in isEncodingRecognizable()
210 if( '>' == pSource[ i ] ) in isEncodingRecognizable()
224 const sal_uInt8 *pSource = reinterpret_cast<const sal_uInt8*>( seq.getConstArray() ); in scanForEncoding() local
233 if( ! strncmp( (const char * ) pSource , "<?xml" , 4 ) ) { in scanForEncoding()
236 OString str( (const sal_Char *) pSource , seq.getLength() ); in scanForEncoding()
266 else if( 0xFE == pSource[0] && in scanForEncoding()
267 0xFF == pSource[1] ) { in scanForEncoding()
272 else if( 0xFF == pSource[0] && in scanForEncoding()
273 0xFE == pSource[1] ) { in scanForEncoding()
278 else if( 0x00 == pSource[0] && 0x3c == pSource[1] && 0x00 == pSource[2] && 0x3f == pSource[3] ) { in scanForEncoding()
290 else if( 0x3c == pSource[0] && 0x00 == pSource[1] && 0x3f == pSource[2] && 0x00 == pSource[3] ) { in scanForEncoding()
301 else if( 0xEF == pSource[0] && in scanForEncoding()
302 0xBB == pSource[1] && in scanForEncoding()
303 0xBF == pSource[2] ) in scanForEncoding()
311 else if( 0x00 == pSource[0] && 0x00 == pSource[1] && 0x00 == pSource[2] && 0x3c == pSource[3] ) { in scanForEncoding()
315 else if( 0x3c == pSource[0] && 0x00 == pSource[1] && 0x00 == pSource[2] && 0x00 == pSource[3] ) { in scanForEncoding()
319 else if( 0x4c == pSource[0] && 0x6f == pSource[1] && in scanForEncoding()
320 0xa7 == static_cast<unsigned char> (pSource[2]) && in scanForEncoding()
321 0x94 == static_cast<unsigned char> (pSource[3]) ) { in scanForEncoding()