Lines Matching refs:cons_string

320 void AccumulateStats(ConsString* cons_string, ConsStringStats* stats) {  in AccumulateStats()  argument
321 int left_length = cons_string->first()->length(); in AccumulateStats()
322 int right_length = cons_string->second()->length(); in AccumulateStats()
323 CHECK(cons_string->length() == left_length + right_length); in AccumulateStats()
325 bool left_is_cons = cons_string->first()->IsConsString(); in AccumulateStats()
328 AccumulateStats(ConsString::cast(cons_string->first()), stats); in AccumulateStats()
335 if (cons_string->second()->IsConsString()) { in AccumulateStats()
337 AccumulateStats(ConsString::cast(cons_string->second()), stats); in AccumulateStats()
349 void AccumulateStats(Handle<String> cons_string, ConsStringStats* stats) { in AccumulateStats() argument
351 if (cons_string->IsConsString()) { in AccumulateStats()
352 return AccumulateStats(ConsString::cast(*cons_string), stats); in AccumulateStats()
355 stats->chars_ += cons_string->length(); in AccumulateStats()
360 ConsString* cons_string, ConsStringStats* stats) { in AccumulateStatsWithOperator() argument
361 ConsStringIterator iter(cons_string); in AccumulateStatsWithOperator()
604 String* flat_string, String* cons_string) { in VerifyCharacterStream() argument
607 CHECK(cons_string->IsConsString()); in VerifyCharacterStream()
618 StringCharacterStream cons_stream(cons_string, offset); in VerifyCharacterStream()
661 Handle<String> cons_string = build(i, &data); in TestStringCharacterStream() local
663 AccumulateStats(cons_string, &cons_string_stats); in TestStringCharacterStream()
669 VerifyConsString(cons_string, &data); in TestStringCharacterStream()
674 VerifyCharacterStream(flat_string_ptr, *cons_string); in TestStringCharacterStream()