| 10189 | } |
| 10190 | |
| 10191 | void ReturnLoopFilePath(ResultToken &aResultToken, LPTSTR aPattern, LPTSTR aPrefix, size_t aPrefixLen, LPTSTR aSuffix, size_t aSuffixLen) |
| 10192 | { |
| 10193 | if (!TokenSetResult(aResultToken, nullptr, aPrefixLen + aSuffixLen)) |
| 10194 | return; |
| 10195 | aResultToken.symbol = SYM_STRING; |
| 10196 | LPTSTR buf = aResultToken.marker; |
| 10197 | tmemcpy(buf, aPrefix, aPrefixLen); |
| 10198 | tmemcpy(buf + aPrefixLen, aSuffix, aSuffixLen + 1); // +1 for \0. |
| 10199 | FixLoopFilePath(buf, aPattern); |
| 10200 | aResultToken.marker_length = -1; // Let caller determine actual length. |
| 10201 | } |
| 10202 | |
| 10203 | BIV_DECL_R(BIV_LoopFilePath) |
| 10204 | { |
no test coverage detected