Lines Matching refs:str
109 void Log::MessageBuilder::AppendString(String str,
111 if (str.is_null()) return;
114 PtrComprCageBase cage_base = GetPtrComprCageBase(str);
115 SharedStringAccessGuardIfNeeded access_guard(str);
116 int length = str.length();
119 uint16_t c = str.Get(i, cage_base, access_guard);
129 void Log::MessageBuilder::AppendString(base::Vector<const char> str) {
130 for (auto i = str.begin(); i < str.end(); i++) AppendCharacter(*i);
133 void Log::MessageBuilder::AppendString(const char* str) {
134 if (str == nullptr) return;
135 AppendString(str, strlen(str));
138 void Log::MessageBuilder::AppendString(const char* str, size_t length,
140 if (str == nullptr) return;
143 DCHECK_IMPLIES(is_one_byte, str[i] != '\0');
144 AppendCharacter(str[i]);
149 AppendTwoByteCharacter(str[i], str[i + 1]);
205 void Log::MessageBuilder::AppendSymbolNameDetails(String str,
207 if (str.is_null()) return;
211 int limit = str.length();
214 os << (str.IsOneByteRepresentation() ? 'a' : '2');
215 if (StringShape(str).IsExternal()) os << 'e';
216 if (StringShape(str).IsInternalized()) os << '#';
217 os << ':' << str.length() << ':';
219 AppendString(str, limit);