dlls, tools: transferring strlen calls out of bounds loops

This is more code refactoring than micro-optimization. Modern compilers may skip optimizations in some places, so we strictly make it clear to them that we need common variable to determine const result strlen() function.

Merge request reports

Loading