Lines Matching defs:object

24 #include "include/v8-primitive-object.h"
47 #include "src/objects/primitive-heap-object.h"
84 #include "src/objects/heap-object.h"
521 size_t SnapshotCreator::AddData(i::Address object) {
522 DCHECK_NE(object, i::kNullAddress);
527 i::Handle<i::Object> obj(i::Object(object), isolate);
541 size_t SnapshotCreator::AddData(Local<Context> context, i::Address object) {
542 DCHECK_NE(object, i::kNullAddress);
547 i::Handle<i::Object> obj(i::Object(object), isolate);
892 i::Object object = *Utils::OpenHandle(value);
894 isolate->eternal_handles()->Create(isolate, object, &index);
1593 // Ensure that the object template has a constructor. If no
3284 i::Handle<i::Object> object = Utils::OpenHandle(*json_object);
3291 !i::JsonStringify(isolate, object, replacer, gap_string).ToHandle(&maybe);
3303 Local<Object> object) {
3307 Utils::OpenHandle(*object)));
3374 i::Handle<i::Object> object = Utils::OpenHandle(*value);
3375 Maybe<bool> result = private_->serializer.WriteObject(object);
3544 i::Handle<i::Object> object = Utils::OpenHandle(this);
3545 bool result = object->IsUndefined();
3551 i::Handle<i::Object> object = Utils::OpenHandle(this);
3552 bool result = object->IsNull();
3558 i::Object object = *Utils::OpenHandle(this);
3559 if (object.IsSmi()) return false;
3560 return object.IsTrue();
3564 i::Object object = *Utils::OpenHandle(this);
3565 if (object.IsSmi()) return false;
3566 return object.IsFalse();
4257 v8::Local<v8::Object> object) {
4262 auto right = Utils::OpenHandle(*object);
5085 const PersistentBase<Object>& object) {
5086 auto self = Utils::OpenHandle(object.val_);
6313 // Create a fresh template for the global proxy object.
6651 i::Object object = list.get(int_index);
6652 if (!object.IsTheHole(isolate)) {
6660 return i::Handle<i::Object>(object, isolate).location();
6733 i::Handle<i::JSObject> object;
6736 .ToHandle(&object)) {
6742 return Utils::ToLocal(scope.CloseAndEscape(object));
6752 // If it's a global proxy, then test with the global object. Note that the
6753 // inner global object may not necessarily be a JSGlobalObject.
6768 i::Object object = *Utils::OpenHandle(*value);
6771 return self->IsLeafTemplateForApiObject(object);
6975 // SupportsExternalization already checked that the object is writable.
7002 // SupportsExternalization already checked that the object is writable.
7112 "v8::Object::New", "prototype must be null or object")) {
7124 // (see http://bit.ly/v8-fast-object-create-cpp for the motivation).
9721 i::Handle<i::JSReceiver> object = Utils::OpenHandle(this);
9722 i::Isolate* isolate = object->GetIsolate();
9725 if (object->IsJSWeakCollection()) {
9726 *is_key_value = object->IsJSWeakMap();
9728 i::Handle<i::JSWeakCollection>::cast(object), 0));
9730 if (object->IsJSMapIterator()) {
9731 i::Handle<i::JSMapIterator> it = i::Handle<i::JSMapIterator>::cast(object);
9739 if (object->IsJSSetIterator()) {
9740 i::Handle<i::JSSetIterator> it = i::Handle<i::JSSetIterator>::cast(object);