Lines Matching defs:original
896 // Given a permuted argument, find it's position in the original Args vector.
898 const Args &original) {
900 original, [arg](const Args::ArgEntry &D) { return D.c_str() == arg; });
903 // Given a permuted argument, find it's index in the original Args vector.
904 static size_t FindOriginalIndex(const char *arg, const Args &original) {
905 return std::distance(original.begin(), FindOriginalIter(arg, original));
908 // Construct a new Args object, consisting of the entries from the original
911 const Args &original) {
914 auto pos = FindOriginalIter(arg, original);
915 assert(pos != original.end());