Lines Matching refs:result

590   Handle<ResultSeqString> result = Handle<ResultSeqString>::cast(untyped_res);
596 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos,
603 String::WriteToFlat(*replacement, result->GetChars(no_gc) + result_pos, 0,
612 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos,
621 return *result;
663 // Guessing the number of parts that the final result string is built
821 Handle<JSArray> result = isolate->factory()->NewJSArrayWithElements(
823 return *result;
847 Handle<JSArray> result =
851 DCHECK(result->HasObjectElements());
853 Handle<FixedArray> elements(FixedArray::cast(result->elements()), isolate);
869 if (result->HasObjectElements()) {
878 return *result;
1137 // Create the groups object (see also the RegExp result creation in
1332 // Cache the result and copy the FixedArray into a COW array.
1438 Object result =
1441 return handle(String::cast(result), isolate);
1443 Object result =
1446 return handle(String::cast(result), isolate);
1450 Object result = StringReplaceGlobalRegExpWithString(
1452 if (result.IsString()) {
1453 return handle(String::cast(result), isolate);
1480 Object result;
1482 result = SearchRegExpMultiple<false>(isolate, subject, regexp,
1485 result = SearchRegExpMultiple<true>(isolate, subject, regexp,
1489 return result;
1702 Handle<Object> result;
1704 isolate, result, RegExpUtils::RegExpExec(isolate, splitter, string,
1707 if (!result->IsNull(isolate)) return *factory->NewJSArray(0);
1724 Handle<Object> result;
1726 isolate, result, RegExpUtils::RegExpExec(isolate, splitter, string,
1729 if (result->IsNull(isolate)) {
1764 Object::GetProperty(isolate, result,
1774 isolate, capture, Object::GetElement(isolate, result, i));
1821 Handle<Object> result;
1823 isolate, result,
1826 return *result;
1852 Handle<Object> result;
1854 isolate, result, RegExpUtils::RegExpExec(isolate, recv, string,
1857 if (result->IsNull(isolate)) break;
1859 results.emplace_back(result);
1864 Object::GetElement(isolate, result, 0));
1880 for (const auto& result : results) {
1885 Object::GetProperty(isolate, result, factory->length_string()));
1895 Object::GetElement(isolate, result, 0));
1906 Object::GetProperty(isolate, result, factory->index_string()));
1919 isolate, capture, Object::GetElement(isolate, result, n));
1931 Object::GetProperty(isolate, result, factory->groups_string()));