/third_party/cef/tests/ceftests/ |
D | browser_info_map_unittest.cc | 12 struct MyObject { struct 13 MyObject(int val = 0) : member(val) {} in MyObject() function 20 static void Destruct(MyObject info) { g_destruct_ct++; } in Destruct() 23 typedef CefBrowserInfoMap<int, MyObject, MyObjectTraits> MyObjectMap; 96 MyObject obj1(1); in TEST() 101 MyObject obj2(2); in TEST() 106 MyObject obj3(3); in TEST() 131 MyObject obj1(1); in TEST() 137 MyObject obj2(2); in TEST() 143 MyObject obj3(3); in TEST() [all …]
|
/third_party/node/test/js-native-api/6_object_wrap/ |
D | 6_object_wrap.cc | 4 napi_ref MyObject::constructor; 6 MyObject::MyObject(double value) in MyObject() function in MyObject 9 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 11 void MyObject::Destructor( in Destructor() 13 MyObject* obj = static_cast<MyObject*>(nativeObject); in Destructor() 17 void MyObject::Init(napi_env env, napi_value exports) { in Init() 38 napi_value MyObject::New(napi_env env, napi_callback_info info) { in New() 59 MyObject* obj = new MyObject(value); in New() 65 MyObject::Destructor, in New() 85 napi_value MyObject::GetValue(napi_env env, napi_callback_info info) { in GetValue() [all …]
|
D | test.js | 10 addon.MyObject.prototype, 'value'); 12 addon.MyObject.prototype, 'valueReadonly'); 14 addon.MyObject.prototype, 'plusOne'); 32 const obj = new addon.MyObject(9);
|
D | myobject.h | 6 class MyObject { 12 explicit MyObject(double value_ = 0); 13 ~MyObject();
|
/third_party/node/test/js-native-api/7_factory_wrap/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() function in MyObject 8 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 10 void MyObject::Destructor(napi_env env, in Destructor() 14 MyObject* obj = static_cast<MyObject*>(nativeObject); in Destructor() 18 napi_value MyObject::GetFinalizeCount(napi_env env, napi_callback_info info) { in GetFinalizeCount() 24 napi_ref MyObject::constructor; 26 napi_status MyObject::Init(napi_env env) { in Init() 43 napi_value MyObject::New(napi_env env, napi_callback_info info) { in New() 52 MyObject* obj = new MyObject(); in New() 64 MyObject::Destructor, in New() [all …]
|
D | myobject.h | 6 class MyObject { 16 MyObject(); 17 ~MyObject();
|
D | 7_factory_wrap.cc | 11 NAPI_CALL(env, MyObject::NewInstance(env, args[0], &instance)); in CreateObject() 18 NAPI_CALL(env, MyObject::Init(env)); in Init() 21 DECLARE_NAPI_GETTER("finalizeCount", MyObject::GetFinalizeCount), in Init()
|
/third_party/node/test/js-native-api/8_passing_wrapped/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() function in MyObject 8 MyObject::~MyObject() { in ~MyObject() 13 void MyObject::Destructor( in Destructor() 15 MyObject* obj = static_cast<MyObject*>(nativeObject); in Destructor() 19 napi_ref MyObject::constructor; 21 napi_status MyObject::Init(napi_env env) { in Init() 35 napi_value MyObject::New(napi_env env, napi_callback_info info) { in New() 41 MyObject* obj = new MyObject(); in New() 60 MyObject::Destructor, in New() 67 napi_status MyObject::NewInstance(napi_env env, in NewInstance()
|
D | 8_passing_wrapped.cc | 13 NAPI_CALL(env, MyObject::NewInstance(env, args[0], &instance)); in CreateObject() 23 MyObject* obj1; in Add() 26 MyObject* obj2; in Add() 43 MyObject::Init(env); in Init()
|
D | myobject.h | 6 class MyObject { 16 MyObject(); 17 ~MyObject();
|
/third_party/openssl/doc/man3/ |
D | ASN1_item_sign.pod | 95 In the following example a 'MyObject' object is signed using the key contained 96 in an EVP_MD_CTX. The signature is written to MyObject.signature. The object is 119 } MyObject; 121 DECLARE_ASN1_FUNCTIONS(MyObject) 132 /* The ASN1 definition of MyObject */ 133 ASN1_SEQUENCE_cb(MyObject, NULL) = { 134 ASN1_EMBED(MyObject, info, MySignInfoObject), 135 ASN1_EMBED(MyObject, sig_alg, X509_ALGOR), 136 ASN1_SIMPLE(MyObject, signature, ASN1_BIT_STRING) 137 } ASN1_SEQUENCE_END_cb(MyObject, MyObject) [all …]
|
/third_party/node/doc/api/ |
D | addons.md | 801 MyObject::Init(exports); 821 class MyObject : public node::ObjectWrap { 826 explicit MyObject(double value = 0); 827 ~MyObject(); 862 MyObject::MyObject(double value) : value_(value) { 865 MyObject::~MyObject() { 868 void MyObject::Init(Local<Object> exports) { 873 addon_data_tpl->SetInternalFieldCount(1); // 1 field for the MyObject::New() 879 tpl->SetClassName(String::NewFromUtf8(isolate, "MyObject").ToLocalChecked()); 888 isolate, "MyObject").ToLocalChecked(), [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | array-species.js | 54 static get [Symbol.species]() { return MyObject; } 57 class MyObject { } class 59 assertEquals(MyObject, 61 assertEquals(MyObject, 63 assertEquals(MyObject, 65 assertEquals(MyObject, 67 assertEquals(MyObject,
|
/third_party/node/test/js-native-api/test_object/ |
D | test.js | 38 function MyObject() { class 43 MyObject.prototype.bar = 44; 44 MyObject.prototype.baz = 45; 46 const obj = new MyObject(); 69 function MyObject() { 75 MyObject.prototype.bar = 45; 76 MyObject.prototype.baz = 46; 77 MyObject.prototype[symbol2] = 47; 79 const obj = new MyObject();
|
/third_party/node/test/js-native-api/test_reference_double_free/ |
D | test.js | 10 { new addon.MyObject(true); } 11 { new addon.MyObject(false); }
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/property_access/ |
D | object_any_type_6.ts | 26 interface MyObject { interface 29 const obj: MyObject = {
|
/third_party/node/test/node-api/test_env_teardown_gc/ |
D | binding.c | 22 static napi_value MyObject(napi_env env, napi_callback_info info) { in MyObject() function 34 env, "MyObject", NAPI_AUTO_LENGTH, MyObject, NULL, 0, NULL, &ctor)); in NAPI_MODULE_INIT()
|
D | test.js | 9 global.it = new binding.MyObject();
|
/third_party/node/doc/guides/ |
D | using-symbols.md | 24 class MyObject { 30 module.exports.MyObject = MyObject;
|
/third_party/jerryscript/docs/ |
D | 03.API-EXAMPLE.md | 891 prop_name = jerry_create_string ((const jerry_char_t *) "MyObject"); 897 /* Now we have a "builtin" object called MyObject with a function called myFunc() 900 * var MyObject = { myFunc : function () { return "some string value"; } } 903 var str = MyObject.myFunc (); \ 963 /* The the 'this_val' is the 'MyObject' from the JS code below */ 1002 MyObject = \ 1022 /* Set the native function as a property of previously created MyObject */ 1032 var str = MyObject.foo (); \ 1034 MyObject.add2x (5); \ 1035 print (MyObject.foo ()); \
|
/third_party/python/Lib/test/ |
D | test_memoryview.py | 230 class MyObject: class 237 o = MyObject() 248 o = MyObject()
|
D | test_concurrent_futures.py | 85 class MyObject(object): class 99 return MyObject() 856 my_object = MyObject()
|
D | test_dict.py | 915 class MyObject(object): class 917 x, y, z, w, o = 1.5, "a", (1, object()), [], MyObject()
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 2592 } MyObject; 2596 .tp_name = "mymod.MyObject", 2597 .tp_basicsize = sizeof(MyObject), 2609 "mymod.MyObject", /* tp_name */ 2610 sizeof(MyObject), /* tp_basicsize */ 2655 } MyObject; 2659 .tp_name = "mymod.MyObject", 2660 .tp_basicsize = sizeof(MyObject), 2662 .tp_weaklistoffset = offsetof(MyObject, weakreflist), 2663 .tp_dictoffset = offsetof(MyObject, inst_dict), [all …]
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 110 MyObject *self = (MyObject *) obj;
|