Lines Matching refs:result
161 bool ComparisonResultToBool(Operation op, ComparisonResult result) {
164 return result == ComparisonResult::kLessThan;
166 return result == ComparisonResult::kLessThan ||
167 result == ComparisonResult::kEqual;
169 return result == ComparisonResult::kGreaterThan;
171 return result == ComparisonResult::kGreaterThan ||
172 result == ComparisonResult::kEqual;
224 auto result = isolate->factory()->NewHeapNumberWithHoleNaN();
226 result->set_value_as_bits(kHoleNanInt64, kRelaxedStore);
229 result->set_value_as_bits(
232 result->set_value(object->Number(), kRelaxedStore);
234 return result;
283 Handle<JSObject> result = isolate->factory()->NewJSObject(constructor);
284 Handle<JSPrimitiveWrapper>::cast(result)->set_value(*object);
285 return result;
486 Handle<String> result;
487 if (maybe_string.ToHandle(&result)) return result;
697 ComparisonResult Reverse(ComparisonResult result) {
698 if (result == ComparisonResult::kLessThan) {
701 if (result == ComparisonResult::kGreaterThan) {
704 return result;
729 ComparisonResult result;
730 if (maybe_result.To(&result)) {
731 return Just(Reverse(result));
952 Maybe<bool> result = JSReceiver::HasInPrototypeChain(
954 if (result.IsNothing()) return MaybeHandle<Object>();
955 return isolate->factory()->ToBoolean(result.FromJust());
977 Handle<Object> result;
979 isolate, result,
982 return isolate->factory()->ToBoolean(result->BooleanValue(isolate));
993 Handle<Object> result;
995 isolate, result, Object::OrdinaryHasInstance(isolate, callable, object),
997 return result;
1155 MaybeHandle<Object> result =
1159 return result;
1163 Handle<Object> result;
1165 it->isolate(), result,
1167 if (done) return result;
1218 MaybeHandle<Object> result = Object::GetProperty(&it);
1220 return result;
1229 MaybeHandle<Object> result =
1231 if (result.is_null()) {
1232 return result;
1437 Handle<Object> result = args.CallAccessorGetter(info, name);
1439 if (result.is_null()) return isolate->factory()->undefined_value();
1440 Handle<Object> reboxed_result = handle(*result, isolate);
1444 isolate, receiver, holder, name, result),
1550 Handle<Object> result = args.CallAccessorSetter(info, name, value);
1551 // In the case of AccessorNameSetterCallback, we know that the result value
1552 // cannot have been set, so the result of Call will be null. In the case of
1553 // AccessorNameBooleanSetterCallback, the result will either be null
1556 if (result.is_null()) return Just(true);
1557 DCHECK(result->BooleanValue(isolate) ||
1559 return Just(result->BooleanValue(isolate));
2513 Maybe<bool> result =
2515 if (result.IsNothing() || result.FromJust()) return result;
2631 Maybe<bool> result =
2633 if (found) return result;
2649 Maybe<bool> result =
2651 if (found) return result;
3169 MaybeHandle<Object> result =
3172 if (result.is_null()) {
3467 bool result = actual_new_len == new_len;
3468 if (!result) {
3475 return Just(result);
3639 Handle<SwissNameDictionary> result =
3641 if (!dict.is_identical_to(result)) proxy->SetProperties(*result);
3644 Handle<NameDictionary> result =
3646 if (!dict.is_identical_to(result)) proxy->SetProperties(*result);
4094 Handle<FixedArray> result = isolate->factory()->NewFixedArray(length);
4096 array->CopyTo(kFirstIndex, *result, 0, length);
4097 return result;
4397 Handle<RegExpMatchInfo> result = Handle<RegExpMatchInfo>::cast(
4399 result->SetNumberOfCaptureRegisters(capture_register_count);
4400 return result;
6217 int result = 0;
6224 if ((attr & ONLY_ENUMERABLE) == 0) result++;
6226 return result;