Lines Matching refs:result
111 Handle<SeqTwoByteString> result;
113 isolate, result,
118 CopyChars(result->GetChars(no_gc), one_byte_buffer.data(),
120 CopyChars(result->GetChars(no_gc) + one_byte_buffer.size(),
123 return *result;
150 base::Optional<int> result = Intl::StringLocaleCompare(
153 if (!result.has_value()) {
157 return Smi::FromInt(result.value());
249 Isolate* isolate, String string, SeqString result, int result_length,
252 // We try this twice, once with the assumption that the result is no longer
269 bool ignore_overflow = Converter::kIsToLower || result.IsSeqTwoByteString();
276 result.Set(i, current);
282 result.Set(i, chars[0]);
287 // We've assumed that the result would be as long as the
290 // of the result and try the whole thing again.
293 // memcpy what we already have to the result string. Also,
294 // the result string is the last object allocated we could
297 // result.
326 result.Set(i, chars[j]);
334 return result;
337 // we simple return the result and let the converted string
361 Handle<SeqOneByteString> result =
368 reinterpret_cast<char*>(result->GetChars(no_gc)),
371 // If not ASCII, we discard the result and take the 2 byte path.
373 return has_changed_character ? *result : *s;
376 Handle<SeqString> result; // Same length as input.
378 result = isolate->factory()->NewRawOneByteString(length).ToHandleChecked();
380 result = isolate->factory()->NewRawTwoByteString(length).ToHandleChecked();
383 Object answer = ConvertCaseHelper(isolate, *s, *result, length, mapping);
390 isolate, result, isolate->factory()->NewRawOneByteString(length));
394 isolate, result, isolate->factory()->NewRawTwoByteString(length));
396 return ConvertCaseHelper(isolate, *s, *result, length, mapping);