Searched refs:non_special_chars (Results 1 – 2 of 2) sorted by relevance
451 size_t non_special_chars = ::strcspn(p, "\\"); in EncodeEscapeSequences() local452 if (non_special_chars > 0) { in EncodeEscapeSequences()453 dst.append(p, non_special_chars); in EncodeEscapeSequences()454 p += non_special_chars; in EncodeEscapeSequences()
2028 const size_t non_special_chars = format.find_first_of("${}\\"); in ParseInternal() local2030 if (non_special_chars == llvm::StringRef::npos) { in ParseInternal()2036 if (non_special_chars > 0) { in ParseInternal()2039 parent_entry.AppendText(format.substr(0, non_special_chars)); in ParseInternal()2040 format = format.drop_front(non_special_chars); in ParseInternal()