Lines Matching refs:index
901 size_t index = command.find(rspfile);
902 if (index == 0 || index == string::npos ||
903 (command[index - 1] != '@' &&
904 command.find("--option-file=") != index - 14 &&
905 command.find("-f ") != index - 3))
915 if (command[index - 1] == '@') {
916 command.replace(index - 1, rspfile.length() + 1, rspfile_content);
917 } else if (command.find("-f ") == index - 3) {
918 command.replace(index - 3, rspfile.length() + 3, rspfile_content);
920 command.replace(index - 14, rspfile.length() + 14, rspfile_content);