| 287 | } |
| 288 | |
| 289 | static int HexDigitToInt(const char c) { |
| 290 | if (c >= '0' && c <= '9') { |
| 291 | return c - '0'; |
| 292 | } else if (c >= 'a' && c <= 'f') { |
| 293 | return c - 'a' + 10; |
| 294 | } else if (c >= 'A' && c <= 'F') { |
| 295 | return c - 'A' + 10; |
| 296 | } |
| 297 | return 0; |
| 298 | } |
| 299 | |
| 300 | StatusOr<std::vector<std::string>> SplitArguments(std::string_view in) { |
| 301 | std::vector<std::string> arguments; |