Home
last modified time | relevance | path

Searched refs:command_ (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dcommand_parser.h25 command_ = copy_command_; in CommandParser()
45 const std::string_view* operator->() const { return &command_; }
46 const std::string_view& operator*() const { return command_; }
47 bool operator==(const std::string &rhs) const { return command_ == rhs; }
48 std::string_view::const_reference& operator[](int index) const { return command_[index]; }
52 std::string_view command_; variable
61 auto pos = command_.find('='); in SkipPrefix()
63 command_.remove_prefix(std::min(pos + 1, command_.size())); in SkipPrefix()
72 android::base::ConsumePrefix(&command_, std::string_view("AT")); in SkipPrefixAT()
80 auto pos = command_.find(','); in SkipComma()
[all …]
Dcommand_parser.cpp29 auto fpos = command_.find('\"'); in GetNextStr()
34 auto spos = command_.find('\"', fpos + 1); in GetNextStr()
36 command_ = command_.substr(fpos + 1); in GetNextStr()
40 auto str = command_.substr(fpos + 1, (spos - fpos - 1)); in GetNextStr()
41 command_ = command_.substr(spos + 1); in GetNextStr()
52 auto pos = command_.find(flag); in GetNextStr()
53 auto str = command_.substr(0, pos); in GetNextStr()
55 command_.remove_prefix(std::min(pos, command_.size())); in GetNextStr()
100 if (command_.empty()) { in GetNextInt()
116 if (command_.empty()) { in GetNextHexInt()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h156 command_.push_back(executable); in subprocess_stopper_()
181 command_.push_back(ss.str()); in AddParameter()
201 return command_[0]; in GetShortName()
205 std::vector<std::string> command_;
Dsubprocess.cpp225 auto cmd = ToCharPointers(command_); in Start()