Lines Matching defs:string
14 #include "src/objects/string-inl.h"
92 void AddString(Handle<String> string);
179 // We make a rough estimate to find out if the current string can be
180 // serialized without allocating a new string part. The worst case length of
181 // an escaped character is 6. Shifting the remaining string length right by 3
192 void AppendString(Handle<String> string);
211 NoExtend(String string, int offset,
213 DCHECK(string.IsSeqOneByteString() || string.IsSeqTwoByteString());
216 SeqOneByteString::cast(string).GetChars(no_gc) + offset);
219 SeqTwoByteString::cast(string).GetChars(no_gc) + offset);
223 string_ = string;
263 NoExtendString(Handle<String> string, int required_length)
264 : NoExtend<DestChar>(string, 0), string_(string) {
265 DCHECK(string->length() >= required_length);
269 Handle<SeqString> string = Handle<SeqString>::cast(string_);
271 Handle<String> result = SeqString::Truncate(string, length);
307 V8_INLINE void set_accumulator(Handle<String> string) {
308 accumulator_.PatchValue(*string);
313 V8_INLINE void set_current_part(Handle<String> string) {
314 current_part_.PatchValue(*string);
332 void AppendStringByCopy(Handle<String> string);
333 bool CanAppendByCopy(Handle<String> string);