Home | History | Annotate | Download | only in Shell

Lines Matching refs:CurrentLocation

234   CONST CHAR16        *CurrentLocation;

253 for (CurrentLocation = Buffer,TempString = NULL
254 ; CurrentLocation != NULL && *CurrentLocation != CHAR_NULL
255 ; CurrentLocation=StrStr(CurrentLocation, L"\r\n"),TempString = NULL
257 while(CurrentLocation[0] == L'\r' || CurrentLocation[0] == L'\n') {
258 CurrentLocation++;
260 if (CurrentLocation[0] == L'#') {
266 if (StrnCmp(CurrentLocation, L".TH", 3) == 0) {
272 if (StrnCmp(CurrentLocation, L".SH ", 4) == 0) {
279 CurrentLocation += 4;
283 if (StrLen(CurrentLocation)!=0) {
284 TempString2 = StrStr(CurrentLocation, L" ");
285 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\r"));
286 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\n"));
288 TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - CurrentLocation);
306 if (StrLen(CurrentLocation)!=0) {
307 TempString2 = StrStr(CurrentLocation, L"\r");
308 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\n"));
310 TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - CurrentLocation);
482 CHAR16 *CurrentLocation;
520 CurrentLocation = StrStr(*Buffer, TitleString);
521 if (CurrentLocation == NULL){
528 for (CurrentLocation += StrLen(TitleString)
529 ; *CurrentLocation == L' ' || *CurrentLocationCurrentLocation == L'1' || *CurrentLocation == L'\"'
530 ; CurrentLocation++);
532 TitleEnd = StrStr(CurrentLocation, L"\"");
542 StrnCpyS(*BriefDesc, (*BriefSize)/sizeof(CHAR16), CurrentLocation, TitleEnd-CurrentLocation);
546 for (CurrentLocation = TitleEnd
547 ; *CurrentLocation != L'\n'
548 ; CurrentLocation++);
550 ; *CurrentLocation == L' ' || *CurrentLocation == L'\n' || *CurrentLocation == L'\r'
551 ; CurrentLocation++);
552 *Buffer = CurrentLocation;