Lines Matching refs:string
29 #include <string>
112 // silent suppressed the "PASS" string that is otherwise printed after
116 std::function<void(const std::string&)> comment_callback;
124 std::function<void(const std::string &)> comment_callback,
141 const std::string &GetType();
143 const std::string &GetParameter();
146 bool HasAttribute(const std::string &key);
151 bool GetAttribute(std::string *out_value, const std::string &key);
155 const std::string &GetAttributeOrDie(const std::string &key);
158 // string. On success, it writes the result to |*out| and returns
160 // be either a hexadecimal string or a quoted ASCII string. It returns true on
162 bool GetBytes(std::vector<uint8_t> *out, const std::string &key);
174 bool HasInstruction(const std::string &key);
177 // |*out_value| to the value (empty string if the instruction has no value)
180 bool GetInstruction(std::string *out_value, const std::string &key);
186 const std::string &CurrentTestToString() const;
190 void InjectInstruction(const std::string &key, const std::string &value);
198 void OnKeyUsed(const std::string &key);
199 void OnInstructionUsed(const std::string &key);
208 std::string type_;
210 std::string parameter_;
212 std::map<std::string, std::string> attributes_;
214 std::map<std::string, std::string> instructions_;
217 std::set<std::string> unused_attributes_;
220 std::set<std::string> unused_instructions_;
222 std::string current_test_;
230 std::function<void(const std::string&)> comment_callback_;
240 // attribute is the reason string of the expected OpenSSL error code.