Lines Matching refs:string
27 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands;
31 static int fakeExecIptablesRestore(IptablesTarget target, const std::string& commands);
32 static int fakeExecIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
33 std::string *output);
34 static int fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table,
35 const std::string& commands, std::string *output);
37 void expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds);
44 static void addIptablesRestoreOutput(std::string contents) {
48 static void addIptablesRestoreOutput(std::string contents1, std::string contents2) {
58 static std::vector<std::string> sCmds;
61 static std::deque<std::string> sPopenContents;
62 static std::deque<std::string> sIptablesRestoreOutput;