Lines Matching defs:rtf
237 const JSHandle<JSTaggedValue> &rtf)
239 ASSERT_PRINT(rtf->IsJSObject(), "rtf is not a JSObject");
242 bool isInstanceOf = JSFunction::InstanceOf(thread, rtf, env->GetRelativeTimeFormatFunction());
243 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, rtf);
244 if (!rtf->IsJSRelativeTimeFormat() && isInstanceOf) {
246 OperationResult operationResult = JSTaggedValue::GetProperty(thread, rtf, key);
247 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, rtf);
252 if (!rtf->IsJSRelativeTimeFormat()) {
253 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, rtf);
255 return rtf;
493 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "rtf is not initialized");