Lines Matching refs:aBuffer
123 …Sequence< ::rtl::OUString > > LockFileCommon::ParseList( const uno::Sequence< sal_Int8 >& aBuffer ) in ParseList() argument
129 while ( nCurPos < aBuffer.getLength() ) in ParseList()
133 aResult[nCurEntry] = ParseEntry( aBuffer, nCurPos ); in ParseList()
142 …:OUString > LockFileCommon::ParseEntry( const uno::Sequence< sal_Int8 >& aBuffer, sal_Int32& io_nC… in ParseEntry() argument
148 aResult[nInd] = ParseName( aBuffer, io_nCurPos ); in ParseEntry()
149 if ( io_nCurPos >= aBuffer.getLength() in ParseEntry()
150 || ( nInd < LOCKFILE_ENTRYSIZE - 1 && aBuffer[io_nCurPos++] != ',' ) in ParseEntry()
151 || ( nInd == LOCKFILE_ENTRYSIZE - 1 && aBuffer[io_nCurPos++] != ';' ) ) in ParseEntry()
159 ::rtl::OUString LockFileCommon::ParseName( const uno::Sequence< sal_Int8 >& aBuffer, sal_Int32& io_… in ParseName() argument
167 if ( io_nCurPos >= aBuffer.getLength() ) in ParseName()
172 … if ( aBuffer[io_nCurPos] == ',' || aBuffer[io_nCurPos] == ';' || aBuffer[io_nCurPos] == '\\' ) in ParseName()
173 aResult.append( (sal_Char)aBuffer[io_nCurPos] ); in ParseName()
180 else if ( aBuffer[io_nCurPos] == ',' || aBuffer[io_nCurPos] == ';' ) in ParseName()
184 if ( aBuffer[io_nCurPos] == '\\' ) in ParseName()
187 aResult.append( (sal_Char)aBuffer[io_nCurPos] ); in ParseName()
199 ::rtl::OUStringBuffer aBuffer; in EscapeCharacters()
204 aBuffer.append( (sal_Unicode)'\\' ); in EscapeCharacters()
205 aBuffer.append( pStr[nInd] ); in EscapeCharacters()
208 return aBuffer.makeStringAndClear(); in EscapeCharacters()