Lines Matching refs:pRun
128 const sal_Unicode* pRun = rLine.GetBuffer(); in GetCommandLineToken() local
131 while( *pRun && nActualToken <= nToken ) in GetCommandLineToken()
133 while( *pRun && isSpace( *pRun ) ) in GetCommandLineToken()
134 pRun++; in GetCommandLineToken()
136 while( *pRun && ! isSpace( *pRun ) ) in GetCommandLineToken()
138 if( *pRun == '\\' ) in GetCommandLineToken()
141 pRun++; in GetCommandLineToken()
142 *pLeap = *pRun; in GetCommandLineToken()
144 if( *pRun ) in GetCommandLineToken()
145 pRun++; in GetCommandLineToken()
147 else if( *pRun == '`' ) in GetCommandLineToken()
148 CopyUntil( pLeap, pRun, '`' ); in GetCommandLineToken()
149 else if( *pRun == '\'' ) in GetCommandLineToken()
150 CopyUntil( pLeap, pRun, '\'' ); in GetCommandLineToken()
151 else if( *pRun == '"' ) in GetCommandLineToken()
152 CopyUntil( pLeap, pRun, '"' ); in GetCommandLineToken()
155 *pLeap = *pRun; in GetCommandLineToken()
157 pRun++; in GetCommandLineToken()
179 const char* pRun = rLine.GetBuffer(); in GetCommandLineToken() local
182 while( *pRun && nActualToken <= nToken ) in GetCommandLineToken()
184 while( *pRun && isSpace( *pRun ) ) in GetCommandLineToken()
185 pRun++; in GetCommandLineToken()
187 while( *pRun && ! isSpace( *pRun ) ) in GetCommandLineToken()
189 if( *pRun == '\\' ) in GetCommandLineToken()
192 pRun++; in GetCommandLineToken()
193 *pLeap = *pRun; in GetCommandLineToken()
195 if( *pRun ) in GetCommandLineToken()
196 pRun++; in GetCommandLineToken()
198 else if( *pRun == '`' ) in GetCommandLineToken()
199 CopyUntil( pLeap, pRun, '`' ); in GetCommandLineToken()
200 else if( *pRun == '\'' ) in GetCommandLineToken()
201 CopyUntil( pLeap, pRun, '\'' ); in GetCommandLineToken()
202 else if( *pRun == '"' ) in GetCommandLineToken()
203 CopyUntil( pLeap, pRun, '"' ); in GetCommandLineToken()
206 *pLeap = *pRun; in GetCommandLineToken()
208 pRun++; in GetCommandLineToken()
228 const sal_Unicode *pRun = rLine.GetBuffer(); in GetCommandLineTokenCount() local
231 while( *pRun ) in GetCommandLineTokenCount()
233 while( *pRun && isSpace( *pRun ) ) in GetCommandLineTokenCount()
234 pRun++; in GetCommandLineTokenCount()
235 if( ! *pRun ) in GetCommandLineTokenCount()
237 while( *pRun && ! isSpace( *pRun ) ) in GetCommandLineTokenCount()
239 if( *pRun == '\\' ) in GetCommandLineTokenCount()
242 pRun++; in GetCommandLineTokenCount()
243 if( *pRun ) in GetCommandLineTokenCount()
244 pRun++; in GetCommandLineTokenCount()
246 else if( *pRun == '`' ) in GetCommandLineTokenCount()
248 do pRun++; while( *pRun && *pRun != '`' ); in GetCommandLineTokenCount()
249 if( *pRun ) in GetCommandLineTokenCount()
250 pRun++; in GetCommandLineTokenCount()
252 else if( *pRun == '\'' ) in GetCommandLineTokenCount()
254 do pRun++; while( *pRun && *pRun != '\'' ); in GetCommandLineTokenCount()
255 if( *pRun ) in GetCommandLineTokenCount()
256 pRun++; in GetCommandLineTokenCount()
258 else if( *pRun == '"' ) in GetCommandLineTokenCount()
260 do pRun++; while( *pRun && *pRun != '"' ); in GetCommandLineTokenCount()
261 if( *pRun ) in GetCommandLineTokenCount()
262 pRun++; in GetCommandLineTokenCount()
265 pRun++; in GetCommandLineTokenCount()
279 const char *pRun = rLine.GetBuffer(); in GetCommandLineTokenCount() local
282 while( *pRun ) in GetCommandLineTokenCount()
284 while( *pRun && isSpace( *pRun ) ) in GetCommandLineTokenCount()
285 pRun++; in GetCommandLineTokenCount()
286 if( ! *pRun ) in GetCommandLineTokenCount()
288 while( *pRun && ! isSpace( *pRun ) ) in GetCommandLineTokenCount()
290 if( *pRun == '\\' ) in GetCommandLineTokenCount()
293 pRun++; in GetCommandLineTokenCount()
294 if( *pRun ) in GetCommandLineTokenCount()
295 pRun++; in GetCommandLineTokenCount()
297 else if( *pRun == '`' ) in GetCommandLineTokenCount()
299 do pRun++; while( *pRun && *pRun != '`' ); in GetCommandLineTokenCount()
300 if( *pRun ) in GetCommandLineTokenCount()
301 pRun++; in GetCommandLineTokenCount()
303 else if( *pRun == '\'' ) in GetCommandLineTokenCount()
305 do pRun++; while( *pRun && *pRun != '\'' ); in GetCommandLineTokenCount()
306 if( *pRun ) in GetCommandLineTokenCount()
307 pRun++; in GetCommandLineTokenCount()
309 else if( *pRun == '"' ) in GetCommandLineTokenCount()
311 do pRun++; while( *pRun && *pRun != '"' ); in GetCommandLineTokenCount()
312 if( *pRun ) in GetCommandLineTokenCount()
313 pRun++; in GetCommandLineTokenCount()
316 pRun++; in GetCommandLineTokenCount()
331 const sal_Unicode *pRun = rLine.GetBuffer(); in WhitespaceToSpace() local
334 while( *pRun ) in WhitespaceToSpace()
336 if( *pRun && isSpace( *pRun ) ) in WhitespaceToSpace()
340 pRun++; in WhitespaceToSpace()
342 while( *pRun && isSpace( *pRun ) ) in WhitespaceToSpace()
343 pRun++; in WhitespaceToSpace()
344 while( *pRun && ! isSpace( *pRun ) ) in WhitespaceToSpace()
346 if( *pRun == '\\' ) in WhitespaceToSpace()
349 pRun++; in WhitespaceToSpace()
350 *pLeap = *pRun; in WhitespaceToSpace()
352 if( *pRun ) in WhitespaceToSpace()
353 pRun++; in WhitespaceToSpace()
355 else if( bProtect && *pRun == '`' ) in WhitespaceToSpace()
356 CopyUntil( pLeap, pRun, '`', sal_True ); in WhitespaceToSpace()
357 else if( bProtect && *pRun == '\'' ) in WhitespaceToSpace()
358 CopyUntil( pLeap, pRun, '\'', sal_True ); in WhitespaceToSpace()
359 else if( bProtect && *pRun == '"' ) in WhitespaceToSpace()
360 CopyUntil( pLeap, pRun, '"', sal_True ); in WhitespaceToSpace()
363 *pLeap = *pRun; in WhitespaceToSpace()
365 ++pRun; in WhitespaceToSpace()
388 const char *pRun = rLine.GetBuffer(); in WhitespaceToSpace() local
391 while( *pRun ) in WhitespaceToSpace()
393 if( *pRun && isSpace( *pRun ) ) in WhitespaceToSpace()
397 pRun++; in WhitespaceToSpace()
399 while( *pRun && isSpace( *pRun ) ) in WhitespaceToSpace()
400 pRun++; in WhitespaceToSpace()
401 while( *pRun && ! isSpace( *pRun ) ) in WhitespaceToSpace()
403 if( *pRun == '\\' ) in WhitespaceToSpace()
406 pRun++; in WhitespaceToSpace()
407 *pLeap = *pRun; in WhitespaceToSpace()
409 if( *pRun ) in WhitespaceToSpace()
410 pRun++; in WhitespaceToSpace()
412 else if( bProtect && *pRun == '`' ) in WhitespaceToSpace()
413 CopyUntil( pLeap, pRun, '`', sal_True ); in WhitespaceToSpace()
414 else if( bProtect && *pRun == '\'' ) in WhitespaceToSpace()
415 CopyUntil( pLeap, pRun, '\'', sal_True ); in WhitespaceToSpace()
416 else if( bProtect && *pRun == '"' ) in WhitespaceToSpace()
417 CopyUntil( pLeap, pRun, '"', sal_True ); in WhitespaceToSpace()
420 *pLeap = *pRun; in WhitespaceToSpace()
422 ++pRun; in WhitespaceToSpace()