Home | History | Annotate | Download | only in cmdline

Lines Matching full:npos

241   TokenRange Slice(size_t offset, size_t length = std::string::npos) const {
244 if (length != std::string::npos && offset + length > Size()) {
249 if (length == std::string::npos) {
273 size_t wildcard_idx = std::string::npos;
280 if (wildcard_idx != std::string::npos) {
285 wildcard_idx = std::string::npos;
299 if (next_token_idx == std::string::npos) {
302 } else if (next_token_idx != string_idx && wildcard_idx == std::string::npos) {
315 if (wildcard_idx == std::string::npos) {
350 if (wildcard_idx == std::string::npos) { // No wildcard present