Lines Matching defs:object
11 // This file exposes a d8.test.fast_c_api object, which adds testing facility
12 // for writing mjsunit tests that exercise fast API calls. The fast_c_api object
16 // The fast_c_api object also supports querying the number of fast/slow calls
105 // Note: FastCApiObject::instance() returns the reference of an object
596 Local<Object> object = arg.As<Object>();
597 if (!IsValidApiObject(object)) return false;
601 *reinterpret_cast<internal::Address*>(*object));
607 ->IsLeafTemplateForApiObject(object);
626 Local<Object> object = args[1].As<Object>();
627 if (!IsValidApiObject(object)) {
632 ->IsLeafTemplateForApiObject(object);
673 static bool IsValidApiObject(Local<Object> object) {
674 i::Address addr = *reinterpret_cast<i::Address*>(*object);
680 static FastCApiObject* UnwrapObject(Local<Object> object) {
681 if (!IsValidApiObject(object)) {
685 object->GetAlignedPointerFromInternalField(kV8WrapperObjectIndex));
700 // The object is statically initialized for simplicity, typically the embedder