• Home
  • Raw
  • Download

Lines Matching refs:npos

51   if (found == string::npos || found == 0)  in FindCommandLineFlag()
52 return string::npos; in FindCommandLineFlag()
59 if (index == string::npos) in FindCommandLineFlagWithArg()
64 while (index != string::npos) { in FindCommandLineFlagWithArg()
82 if (index == string::npos) in GetGomaccPosForAndroidCompileCommand()
83 return string::npos; in GetGomaccPosForAndroidCompileCommand()
88 return pos == string::npos ? string::npos : pos + index; in GetGomaccPosForAndroidCompileCommand()
91 return string::npos; in GetGomaccPosForAndroidCompileCommand()
93 return string::npos; in GetGomaccPosForAndroidCompileCommand()
96 return string::npos; in GetGomaccPosForAndroidCompileCommand()
100 return rest.find(" -c ") != string::npos ? 0 : string::npos; in GetGomaccPosForAndroidCompileCommand()
104 if ((FindCommandLineFlag(cmd, " -MD") == string::npos && in GetDepfileFromCommandImpl()
105 FindCommandLineFlag(cmd, " -MMD") == string::npos) || in GetDepfileFromCommandImpl()
106 FindCommandLineFlag(cmd, " -c") == string::npos) { in GetDepfileFromCommandImpl()
133 if (cmd->find("bin/llvm-rs-cc ") != string::npos) { in GetDepfileFromCommand()
143 if (cmd->find(p) != string::npos) { in GetDepfileFromCommand()
146 if (found == string::npos) { in GetDepfileFromCommand()
158 if (cmd->find(as) != string::npos) { in GetDepfileFromCommand()
438 if (pos != string::npos) { in GenShellScript()
442 } else if (translated.find("/gomacc") != string::npos) { in GenShellScript()
524 if (s.find_first_of("$: ") == string::npos) in EscapeNinja()