Lines Matching refs:AStr

78   function Search(AStr: Pchar; ALen : longint) : boolean; virtual;

79 function SearchNext( AStr: Pchar; ALen : longint) : boolean; virtual;
80 function SearchOfs ( AStr: Pchar; ALen, AOfs : longint) : boolean; virtual;
83 function GetSubStr(ANom: integer; AStr: Pchar) : string; virtual;
84 function GetFullStr(AStr: Pchar) : string; virtual;
85 function GetReplStr(AStr: Pchar; const ARepl: string) : string; virtual;
86 function GetPreSubStr(AStr: Pchar) : string; virtual;
87 function GetPostSubStr(AStr: Pchar) : string; virtual;
514 function TpcRegExp.SearchNext( AStr: Pchar; ALen : longint ) : boolean;
520 MatchesCount:=pcre_exec( RegExpC, RegExpExt, AStr, ALen, PMatchArray(Matches)^[1],
522 MatchesCount:=pcre_exec( RegExpC, RegExpExt, AStr, ALen, 0,
530 function TpcRegExp.Search( AStr: Pchar; ALen : longint):boolean;
533 Search:=SearchNext(AStr,ALen);
537 function TpcRegExp.SearchOfs( AStr: Pchar; ALen, AOfs: longint ) : boolean;
543 MatchesCount:=pcre_exec( RegExpC, RegExpExt, AStr, ALen, AOfs,
568 function TpcRegExp.GetSubStr(ANom: integer; AStr: Pchar):string;
577 Move(AStr[pos], s[1], len);
582 function TpcRegExp.GetPreSubStr(AStr: Pchar):string;
594 Move(AStr[1],s[1],l);
600 function TpcRegExp.GetPostSubStr(AStr: Pchar):string;
614 Move(AStr[PMatchArray(Matches)^[ANom+1]],s[1],l);
621 function TpcRegExp.GetFullStr(AStr: Pchar):string;
626 GetFullStr:=GetSubStr(0,AStr);
629 function TpcRegExp.GetReplStr(AStr: Pchar; const ARepl: string):string;
648 '0' : s:=s+GetFullStr(AStr);
649 '1'..'9' : s:=s+GetSubStr(ord(ARepl[i+1])-ord('0'),AStr);
662 '&' : s:=s+GetFullStr(AStr);
663 '1'..'9' : s:=s+GetSubStr(ord(ARepl[i+1])-ord('0'),AStr);
664 '`' : s:=s+GetPreSubStr(AStr);
665 #39 : s:=s+GetPostSubStr(AStr);
773 pcGrepMatch:=PpcRE^.Search(pchar(AStr),Length(AStr));
782 if PpcRE^.Search(pchar(AStr),Length(AStr)) then
783 pcGrepSub:=PpcRE^.GetReplStr(pchar(AStr),ARepl)
794 pcFastGrepMatch:=PpcRE^.Search(pchar(AStr),Length(AStr));
802 if PpcRE^.Search(pchar(AStr),Length(AStr)) then
803 pcFastGrepSub:=PpcRE^.GetReplStr(pchar(AStr),ARepl)